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_seed-0.3.4 spec/dummy/db/migrate/132_create_circulation_statuses.rb
enju_biblio-0.3.8 spec/dummy/db/migrate/132_create_circulation_statuses.rb
enju_library-0.3.7 spec/dummy/db/migrate/132_create_circulation_statuses.rb
enju_event-0.3.3 spec/dummy/db/migrate/132_create_circulation_statuses.rb
enju_circulation-0.3.7 db/migrate/132_create_circulation_statuses.rb
enju_library-0.3.6 spec/dummy/db/migrate/132_create_circulation_statuses.rb
enju_biblio-0.3.7 spec/dummy/db/migrate/132_create_circulation_statuses.rb
enju_biblio-0.3.6 spec/dummy/db/migrate/132_create_circulation_statuses.rb
enju_seed-0.4.0.rc.1 spec/dummy/db/migrate/132_create_circulation_statuses.rb
enju_library-0.4.0.beta.4 spec/dummy/db/migrate/132_create_circulation_statuses.rb
enju_circulation-0.4.0.beta.4 db/migrate/132_create_circulation_statuses.rb
enju_circulation-0.4.0.beta.3 db/migrate/132_create_circulation_statuses.rb
enju_seed-0.4.0.beta.3 spec/dummy/db/migrate/132_create_circulation_statuses.rb
enju_biblio-0.4.0.beta.2 spec/dummy/db/migrate/132_create_circulation_statuses.rb
enju_library-0.4.0.beta.3 spec/dummy/db/migrate/132_create_circulation_statuses.rb
enju_circulation-0.3.6 db/migrate/132_create_circulation_statuses.rb
enju_circulation-0.4.0.beta.2 db/migrate/132_create_circulation_statuses.rb
enju_library-0.4.0.beta.2 spec/dummy/db/migrate/132_create_circulation_statuses.rb
enju_ndl-0.4.0.beta.1 spec/dummy/db/migrate/132_create_circulation_statuses.rb
enju_circulation-0.4.0.beta.1 db/migrate/132_create_circulation_statuses.rb