Sha256: bbd600f0aa61792453cac7f661f12d1940624f68b45e9b525a6dffd0ed961822

Contents?: true

Size: 186 Bytes

Versions: 1

Compression:

Stored size: 186 Bytes

Contents

class CreateBooks < ActiveRecord::Migration
  def change
    create_table :books do |t|
      t.string :name
      t.integer :author_id

      t.timestamps null: false
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
has_default_association-0.0.1 test/dummy/db/migrate/20150815045153_create_books.rb