Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: d6492e6927
Fetching contributors…

Cannot retrieve contributors at this time

21 lines (18 sloc) 0.549 kB
ActiveRecord::Schema.define(:version => 0) do
create_table :people, :force => true do |t|
t.column :name, :string
t.column :type, :string
t.column :password, :string
t.column :admin, :boolean, :default => false
end
create_table :posts, :force => true do |t|
t.column :title, :string
t.column :body, :text
t.column :published, :boolean, :default => true
end
create_table :comments, :force => true do |t|
t.column :post_id, :integer
t.column :author_id, :integer
t.column :body, :text
end
end
Jump to Line
Something went wrong with that request. Please try again.