Sha256: 463787e8c62198609fa218e02ba6ff919964cb60735a72d8f8baf71fc6355741

Contents?: true

Size: 327 Bytes

Versions: 117

Compression:

Stored size: 327 Bytes

Contents

class CreateCirculationStatuses < ActiveRecord::Migration[4.2]
  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

117 entries across 117 versions & 12 rubygems

Version Path
enju_biblio-0.3.2 spec/dummy/db/migrate/132_create_circulation_statuses.rb
enju_library-0.3.2 spec/dummy/db/migrate/132_create_circulation_statuses.rb
enju_seed-0.3.2 spec/dummy/db/migrate/132_create_circulation_statuses.rb
enju_ndl-0.3.1 spec/dummy/db/migrate/132_create_circulation_statuses.rb
enju_seed-0.3.1 spec/dummy/db/migrate/132_create_circulation_statuses.rb
enju_circulation-0.3.1 db/migrate/132_create_circulation_statuses.rb
enju_leaf-1.3.1 spec/dummy/db/migrate/132_create_circulation_statuses.rb
enju_biblio-0.3.1 spec/dummy/db/migrate/132_create_circulation_statuses.rb
enju_oai-0.3.0 spec/dummy/db/migrate/132_create_circulation_statuses.rb
enju_library-0.3.1 spec/dummy/db/migrate/132_create_circulation_statuses.rb
enju_event-0.3.1 spec/dummy/db/migrate/132_create_circulation_statuses.rb
enju_bookmark-0.3.0 spec/dummy/db/migrate/132_create_circulation_statuses.rb
enju_leaf-1.3.0 spec/dummy/db/migrate/132_create_circulation_statuses.rb
enju_ndl-0.3.0 spec/dummy/db/migrate/132_create_circulation_statuses.rb
enju_circulation-0.3.0 db/migrate/132_create_circulation_statuses.rb
enju_event-0.3.0 spec/dummy/db/migrate/132_create_circulation_statuses.rb
enju_biblio-0.3.0 spec/dummy/db/migrate/132_create_circulation_statuses.rb
enju_library-0.3.0 spec/dummy/db/migrate/132_create_circulation_statuses.rb
enju_seed-0.3.0 spec/dummy/db/migrate/132_create_circulation_statuses.rb
enju_ndl-0.3.0.rc.1 spec/dummy/db/migrate/132_create_circulation_statuses.rb