Sha256: 5838d47de76fdc7a69e6f8d5e5b27cb9d54464ebd96039433399976a54739209

Contents?: true

Size: 208 Bytes

Versions: 14

Compression:

Stored size: 208 Bytes

Contents

class CreateChapters < ActiveRecord::Migration
  def change
    create_table :chapters do |t|
      t.string :title
      t.string :introduction
      t.references :book

      t.timestamps
    end
  end
end

Version data entries

14 entries across 7 versions & 1 rubygems

Version Path
data_active-0.0.7 test_apps/book_store_rails_32x/db/migrate/20120422043434_create_chapters.rb
data_active-0.0.7 test_apps/book_store_rails_31x/db/migrate/20120422054008_create_chapters.rb
data_active-0.0.6 test_apps/book_store_rails_32x/db/migrate/20120422043434_create_chapters.rb
data_active-0.0.6 test_apps/book_store_rails_31x/db/migrate/20120422054008_create_chapters.rb
data_active-0.0.5 test_apps/book_store_rails_31x/db/migrate/20120422054008_create_chapters.rb
data_active-0.0.5 test_apps/book_store_rails_32x/db/migrate/20120422043434_create_chapters.rb
data_active-0.0.4 test_apps/book_store_rails_32x/db/migrate/20120422043434_create_chapters.rb
data_active-0.0.4 test_apps/book_store_rails_31x/db/migrate/20120422054008_create_chapters.rb
data_active-0.0.3 test_apps/book_store_rails_32x/db/migrate/20120422043434_create_chapters.rb
data_active-0.0.3 test_apps/book_store_rails_31x/db/migrate/20120422054008_create_chapters.rb
data_active-0.0.2 test_apps/book_store_rails_32x/db/migrate/20120422043434_create_chapters.rb
data_active-0.0.2 test_apps/book_store_rails_31x/db/migrate/20120422054008_create_chapters.rb
data_active-0.0.1 test_apps/book_store_rails_31x/db/migrate/20120422054008_create_chapters.rb
data_active-0.0.1 test_apps/book_store_rails_32x/db/migrate/20120422043434_create_chapters.rb