Sha256: 235105084e37a61ff450352669dfd9f8eeeb1d558f1fa6bd4e714f938a0fbeec

Contents?: true

Size: 315 Bytes

Versions: 116

Compression:

Stored size: 315 Bytes

Contents

class CreateUseRestrictions < ActiveRecord::Migration[4.2]
  def self.up
    create_table :use_restrictions 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 :use_restrictions
  end
end

Version data entries

116 entries across 116 versions & 11 rubygems

Version Path
enju_biblio-0.3.18 spec/dummy/db/migrate/127_create_use_restrictions.rb
enju_biblio-0.3.17 spec/dummy/db/migrate/127_create_use_restrictions.rb
enju_biblio-0.3.16 spec/dummy/db/migrate/127_create_use_restrictions.rb
enju_circulation-0.3.11 db/migrate/127_create_use_restrictions.rb
enju_biblio-0.3.15 spec/dummy/db/migrate/127_create_use_restrictions.rb
enju_library-0.3.11 spec/dummy/db/migrate/127_create_use_restrictions.rb
enju_ndl-0.3.3 spec/dummy/db/migrate/127_create_use_restrictions.rb
enju_circulation-0.3.10 db/migrate/127_create_use_restrictions.rb
enju_leaf-1.3.6 spec/dummy/db/migrate/127_create_use_restrictions.rb
enju_library-0.3.10 spec/dummy/db/migrate/127_create_use_restrictions.rb
enju_biblio-0.3.14 spec/dummy/db/migrate/127_create_use_restrictions.rb
enju_bookmark-0.3.2 spec/dummy/db/migrate/127_create_use_restrictions.rb
enju_seed-0.3.6 spec/dummy/db/migrate/127_create_use_restrictions.rb
enju_biblio-0.3.13 spec/dummy/db/migrate/127_create_use_restrictions.rb
enju_circulation-0.3.9 db/migrate/127_create_use_restrictions.rb
enju_leaf-1.3.5 spec/dummy/db/migrate/127_create_use_restrictions.rb
enju_biblio-0.3.12 spec/dummy/db/migrate/127_create_use_restrictions.rb
enju_oai-0.3.1 spec/dummy/db/migrate/127_create_use_restrictions.rb
enju_biblio-0.3.11 spec/dummy/db/migrate/127_create_use_restrictions.rb
enju_library-0.3.9 spec/dummy/db/migrate/127_create_use_restrictions.rb