mirror of
https://github.com/github/rails.git
synced 2026-02-06 20:25:28 -05:00
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8659 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
12 lines
359 B
Ruby
12 lines
359 B
Ruby
ActiveRecord::Schema.define do
|
|
|
|
# adapter name is checked because we are under a transition of
|
|
# moving the sql files under activerecord/test/fixtures/db_definitions
|
|
# to this file, schema.rb.
|
|
if adapter_name == "MySQL"
|
|
Course.connection.create_table :courses, :force => true do |t|
|
|
t.column :name, :string, :null => false
|
|
end
|
|
end
|
|
end
|