1 ActiveRecord::Schema.define do
3 # adapter name is checked because we are under a transition of
4 # moving the sql files under activerecord/test/fixtures/db_definitions
5 # to this file, schema.rb.
6 if adapter_name == "MySQL"
7 Course.connection.create_table :courses, :force => true do |t|
8 t.column :name, :string, :null => false