Sha256: bd5c7090b7e6de80cc9ff590653a6343f3c12abd982d4d3727a748849eb000b6

Contents?: true

Size: 325 Bytes

Versions: 458

Compression:

Stored size: 325 Bytes

Contents

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

458 entries across 451 versions & 12 rubygems

Version Path
enju_leaf-1.2.2 spec/dummy/db/migrate/132_create_circulation_statuses.rb
enju_library-0.2.5 spec/dummy/db/migrate/132_create_circulation_statuses.rb
enju_biblio-0.2.5 spec/dummy/db/migrate/132_create_circulation_statuses.rb
enju_bookmark-0.2.2 spec/dummy/db/migrate/132_create_circulation_statuses.rb
enju_event-0.2.3 spec/dummy/db/migrate/132_create_circulation_statuses.rb
enju_seed-0.2.3 spec/dummy/db/migrate/132_create_circulation_statuses.rb
enju_biblio-0.2.4 spec/dummy/db/migrate/132_create_circulation_statuses.rb
enju_library-0.2.4 spec/dummy/db/migrate/132_create_circulation_statuses.rb
enju_event-0.2.2 spec/dummy/db/migrate/132_create_circulation_statuses.rb
enju_bookmark-0.2.1 spec/dummy/db/migrate/132_create_circulation_statuses.rb
enju_biblio-0.2.3 spec/dummy/db/migrate/132_create_circulation_statuses.rb
enju_library-0.2.3 spec/dummy/db/migrate/132_create_circulation_statuses.rb
enju_seed-0.2.2 spec/dummy/db/migrate/132_create_circulation_statuses.rb
enju_ndl-0.2.3 spec/dummy/db/migrate/132_create_circulation_statuses.rb
enju_ndl-0.2.2 spec/dummy/db/migrate/132_create_circulation_statuses.rb
enju_grid-0.2.0 spec/dummy/db/migrate/132_create_circulation_statuses.rb
enju_biblio-0.2.2 spec/dummy/db/migrate/132_create_circulation_statuses.rb
enju_ndl-0.2.1 spec/dummy/db/migrate/132_create_circulation_statuses.rb
enju_event-0.2.1 spec/dummy/db/migrate/132_create_circulation_statuses.rb
enju_leaf-1.2.1 spec/dummy/db/migrate/132_create_circulation_statuses.rb