Sha256: d50fd5989025ce87f68a0d6dcd3dd226dfff4c6858c5b26cdb4626d819e19232

Contents?: true

Size: 327 Bytes

Versions: 1

Compression:

Stored size: 327 Bytes

Contents

class CreateCirculationStatuses < ActiveRecord::Migration[5.0]
  def self.up
    create_table :circulation_statuses 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 :circulation_statuses
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
enju_seed-0.3.0.beta.4 spec/dummy/db/migrate/132_create_circulation_statuses.rb