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_circulation-0.0.8 spec/dummy/db/migrate/114_create_event_categories.rb
enju_circulation-0.0.7 spec/dummy/db/migrate/114_create_event_categories.rb
enju_event-0.0.5 db/migrate/114_create_event_categories.rb
enju_circulation-0.0.6 spec/dummy/db/migrate/114_create_event_categories.rb
enju_event-0.0.4 db/migrate/114_create_event_categories.rb
enju_circulation-0.0.4 spec/dummy/db/migrate/114_create_event_categories.rb
enju_event-0.0.3 db/migrate/114_create_event_categories.rb
enju_circulation-0.0.3 spec/dummy/db/migrate/114_create_event_categories.rb