Sha256: 89f2d0d81760e596d75e68eb4bae73f105b911a6fe9e3185d048d113911c660b

Contents?: true

Size: 172 Bytes

Versions: 4

Compression:

Stored size: 172 Bytes

Contents

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

      t.timestamps
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rails3_pg_deferred_constraints-0.1.0 test/dummy/db/migrate/20110908165716_create_books.rb
rails3_pg_deferred_constraints-0.0.4 test/dummy/db/migrate/20110908165716_create_books.rb
rails3_pg_deferred_constraints-0.0.3 test/dummy/db/migrate/20110908165716_create_books.rb
rails3_pg_deferred_constraints-0.0.2 test/dummy/db/migrate/20110908165716_create_books.rb