Sha256: 0e666770234a109fe89d6ff6679ccba92da2bb195bd1739988c0239e9fd4de75

Contents?: true

Size: 341 Bytes

Versions: 3

Compression:

Stored size: 341 Bytes

Contents

class CreateCheckoutTypes < ActiveRecord::Migration
  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

3 entries across 3 versions & 1 rubygems

Version Path
enju_seed-0.3.0.beta.3 spec/dummy/db/migrate/20081030023412_create_checkout_types.rb
enju_seed-0.3.0.beta.2 spec/dummy/db/migrate/20081030023412_create_checkout_types.rb
enju_seed-0.3.0.beta.1 spec/dummy/db/migrate/20081030023412_create_checkout_types.rb