Sha256: 2e03e77435f3c58ac0fd99e0f5583cd3e47299e95ed17d582587c46a59402e11
Contents?: true
Size: 359 Bytes
Versions: 16
Compression:
Stored size: 359 Bytes
Contents
class CreateBooks < ActiveRecord::Migration def self.up create_table :books do |t| t.integer :author_id t.string :title t.integer :exemplars t.boolean :digitized, :default => false t.text :notes t.string :tags t.integer :rating t.timestamps end end def self.down drop_table :books end end
Version data entries
16 entries across 16 versions & 2 rubygems