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_bookmark-0.0.19 spec/dummy/db/migrate/073_create_carrier_types.rb
enju_bookmark-0.0.18 spec/dummy/db/migrate/073_create_carrier_types.rb
enju_subject-0.0.15 spec/dummy/db/migrate/073_create_carrier_types.rb
enju_circulation-0.0.47 spec/dummy/db/migrate/073_create_carrier_types.rb
enju_circulation-0.0.46 spec/dummy/db/migrate/073_create_carrier_types.rb
enju_bookmark-0.0.17 spec/dummy/db/migrate/073_create_carrier_types.rb
enju_bookmark-0.0.16 spec/dummy/db/migrate/073_create_carrier_types.rb
enju_circulation-0.0.45 spec/dummy/db/migrate/073_create_carrier_types.rb
enju_bookmark-0.0.15 spec/dummy/db/migrate/073_create_carrier_types.rb
enju_subject-0.0.14 spec/dummy/db/migrate/073_create_carrier_types.rb
enju_bookmark-0.0.14 spec/dummy/db/migrate/073_create_carrier_types.rb
enju_bookmark-0.0.13 spec/dummy/db/migrate/073_create_carrier_types.rb
enju_circulation-0.0.43 spec/dummy/db/migrate/073_create_carrier_types.rb
enju_bookmark-0.0.12 spec/dummy/db/migrate/073_create_carrier_types.rb
enju_subject-0.0.13 spec/dummy/db/migrate/073_create_carrier_types.rb
enju_circulation-0.0.42 spec/dummy/db/migrate/073_create_carrier_types.rb
enju_circulation-0.0.41 spec/dummy/db/migrate/073_create_carrier_types.rb
enju_circulation-0.0.40 spec/dummy/db/migrate/073_create_carrier_types.rb
enju_bookmark-0.0.11 spec/dummy/db/migrate/073_create_carrier_types.rb
enju_circulation-0.0.39 spec/dummy/db/migrate/073_create_carrier_types.rb