HEX
Server: Apache
System: Windows NT MAGNETO-ARM 10.0 build 22000 (Windows 10) AMD64
User: Michel (0)
PHP: 7.4.7
Disabled: NONE
Upload Files
File: C:/Ruby27-x64/lib/ruby/gems/2.7.0/doc/activerecord-7.0.4.2/ri/ActiveRecord/Schema/cdesc-Schema.ri
U:RDoc::NormalClass[iI"Schema:ETI"ActiveRecord::Schema;TI"%ActiveRecord::Migration::Current;To:RDoc::Markup::Document:@parts[o;;[
S:RDoc::Markup::Heading:
leveli:	textI"Active Record \Schema;To:RDoc::Markup::BlankLineo:RDoc::Markup::Paragraph;[	I"JAllows programmers to programmatically define a schema in a portable ;TI"LDSL. This means you can define tables, indexes, etc. without using SQL ;TI"Edirectly, so your applications can more easily support multiple ;TI"databases.;T@o;
;[I"Usage:;T@o:RDoc::Markup::Verbatim;[I")ActiveRecord::Schema[7.0].define do
;TI"$  create_table :authors do |t|
;TI"%    t.string :name, null: false
;TI"  end
;TI"
;TI"*  add_index :authors, :name, :unique
;TI"
;TI""  create_table :posts do |t|
;TI"+    t.integer :author_id, null: false
;TI"    t.string :subject
;TI"    t.text :body
;TI",    t.boolean :private, default: false
;TI"  end
;TI"
;TI"$  add_index :posts, :author_id
;TI"	end
;T:@format0o;
;[I"KActiveRecord::Schema is only supported by database adapters that also ;TI"=support migrations, the two features being very similar.;T:
@fileI" lib/active_record/schema.rb;T:0@omit_headings_from_table_of_contents_below0;0;0[[[[I"Definition;To;;[;@0;0I" lib/active_record/schema.rb;T[I"Definition;To;;[;@0;0@8[[I"
class;T[[:public[[I"[];T@8[:protected[[:private[[I"
instance;T[[;[[;[[;[[[U:RDoc::Context::Section[i0o;;[;0;0[@0I"ActiveRecord;TcRDoc::NormalModule