1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activemodel/test/schema.rb

15 lines
319 B
Ruby
Raw Normal View History

ActiveRecord::Schema.define do
create_table :topics, :force => true do |t|
t.string :title
t.string :author_name
t.text :content
t.boolean :approved, :default => true
t.string :type
end
create_table :developers, :force => true do |t|
t.string :name
t.float :salary
end
end