Sha256: 06e7f38e54cc1130f0fcb69836a41fc1f287c608729fb96eb6e3bfc52531b5ed

Contents?: true

Size: 313 Bytes

Versions: 428

Compression:

Stored size: 313 Bytes

Contents

class CreateEventCategories < ActiveRecord::Migration
  def self.up
    create_table :event_categories 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 :event_categories
  end
end

Version data entries

428 entries across 423 versions & 10 rubygems

Version Path
enju_library-0.1.0.pre45 spec/dummy/db/migrate/114_create_event_categories.rb
enju_biblio-0.1.0.pre71 spec/dummy/db/migrate/114_create_event_categories.rb
enju_event-0.1.17.pre27 db/migrate/114_create_event_categories.rb
enju_oai-0.1.0.pre20 spec/dummy/db/migrate/114_create_event_categories.rb
enju_circulation-0.1.0.pre49 spec/dummy/db/migrate/114_create_event_categories.rb
enju_leaf-1.1.0.rc22 spec/dummy/db/migrate/114_create_event_categories.rb
enju_library-0.1.0.pre44 spec/dummy/db/migrate/114_create_event_categories.rb
enju_biblio-0.1.0.pre70 spec/dummy/db/migrate/114_create_event_categories.rb
enju_leaf-1.1.0.rc21 spec/dummy/db/migrate/114_create_event_categories.rb
enju_circulation-0.1.0.pre48 spec/dummy/db/migrate/114_create_event_categories.rb
enju_oai-0.1.0.pre19 spec/dummy/db/migrate/114_create_event_categories.rb
enju_biblio-0.1.0.pre69 spec/dummy/db/migrate/114_create_event_categories.rb
enju_oai-0.1.0.pre18 spec/dummy/db/migrate/114_create_event_categories.rb
enju_leaf-1.1.0.rc20 spec/dummy/db/migrate/114_create_event_categories.rb
enju_biblio-0.1.0.pre68 spec/dummy/db/migrate/114_create_event_categories.rb
enju_library-0.1.0.pre43 spec/dummy/db/migrate/114_create_event_categories.rb
enju_circulation-0.1.0.pre47 spec/dummy/db/migrate/114_create_event_categories.rb
enju_biblio-0.1.0.pre67 spec/dummy/db/migrate/114_create_event_categories.rb
enju_library-0.1.0.pre42 spec/dummy/db/migrate/114_create_event_categories.rb
enju_circulation-0.1.0.pre46 spec/dummy/db/migrate/114_create_event_categories.rb