Sha256: 3b036464f70e3236eb3eb2ad6cfaf88c992a640fec1902189ecdc437601de05b

Contents?: true

Size: 313 Bytes

Versions: 439

Compression:

Stored size: 313 Bytes

Contents

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

439 entries across 432 versions & 12 rubygems

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