Sha256: 1d32dd9b660bb2a7ba2a99e41c127bed52675686bfc264261ef89902ad731f34

Contents?: true

Size: 346 Bytes

Versions: 2

Compression:

Stored size: 346 Bytes

Contents

class CreateCheckoutTypes < ActiveRecord::Migration[5.2]
  def self.up
    create_table :checkout_types do |t|
      t.string :name, null: false
      t.text :display_name
      t.text :note
      t.integer :position

      t.timestamps
    end
    add_index :checkout_types, :name
  end

  def self.down
    drop_table :checkout_types
  end
end

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
enju_inventory-0.4.0.rc.1 spec/dummy/db/migrate/20081030023412_create_checkout_types.rb
enju_circulation-0.4.0.rc.1 db/migrate/20081030023412_create_checkout_types.rb