Sha256: fd0c8e49f17fe6343da6a582397fcfef1b1266889e5ada8ae4963c88756599e2

Contents?: true

Size: 225 Bytes

Versions: 3

Compression:

Stored size: 225 Bytes

Contents

class CreateBooks < ActiveRecord::Migration
  def change
    create_table :books do |t|
      t.string :title
      t.integer :edition
      t.integer :price
      t.datetime :released_at
      t.timestamps
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ar_default_values-0.5.2 spec/dummy/db/migrate/20141010061040_create_books.rb
ar_default_values-0.5.1 spec/dummy/db/migrate/20141010061040_create_books.rb
ar_default_values-0.5.0 spec/dummy/db/migrate/20141010061040_create_books.rb