1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activerecord/test/schema/schema2.rb
Frederick Cheung a4fc93c3a9 Use schema.rb for all databases
Move adapter specific schema into their own files

Signed-off-by: Michael Koziarski <michael@koziarski.com>
2008-04-22 13:55:13 +12:00

6 lines
151 B
Ruby

ActiveRecord::Schema.define do
Course.connection.create_table :courses, :force => true do |t|
t.column :name, :string, :null => false
end
end