Sha256: d91dda93ab9c906ea0e1e6956e97cf1e34f4eedd1e70dfc91162a8369b86bc44

Contents?: true

Size: 303 Bytes

Versions: 71

Compression:

Stored size: 303 Bytes

Contents

class CreateCarrierTypes < ActiveRecord::Migration
  def self.up
    create_table :carrier_types do |t|
      t.string :name, :null => false
      t.text :display_name
      t.text :note
      t.integer :position
      t.timestamps
    end
  end

  def self.down
    drop_table :carrier_types
  end
end

Version data entries

71 entries across 71 versions & 3 rubygems

Version Path
enju_circulation-0.0.9 spec/dummy/db/migrate/073_create_carrier_types.rb
enju_circulation-0.0.8 spec/dummy/db/migrate/073_create_carrier_types.rb
enju_subject-0.0.6 spec/dummy/db/migrate/073_create_carrier_types.rb
enju_circulation-0.0.7 spec/dummy/db/migrate/073_create_carrier_types.rb
enju_subject-0.0.5 spec/dummy/db/migrate/073_create_carrier_types.rb
enju_bookmark-0.0.4 spec/dummy/db/migrate/073_create_carrier_types.rb
enju_circulation-0.0.6 spec/dummy/db/migrate/073_create_carrier_types.rb
enju_bookmark-0.0.3 spec/dummy/db/migrate/073_create_carrier_types.rb
enju_circulation-0.0.4 spec/dummy/db/migrate/073_create_carrier_types.rb
enju_circulation-0.0.3 spec/dummy/db/migrate/073_create_carrier_types.rb
enju_subject-0.0.4 spec/dummy/db/migrate/073_create_carrier_types.rb