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_leaf-1.2.2 spec/dummy/db/migrate/114_create_event_categories.rb
enju_library-0.2.5 spec/dummy/db/migrate/114_create_event_categories.rb
enju_biblio-0.2.5 spec/dummy/db/migrate/114_create_event_categories.rb
enju_bookmark-0.2.2 spec/dummy/db/migrate/114_create_event_categories.rb
enju_event-0.2.3 db/migrate/114_create_event_categories.rb
enju_circulation-0.2.5 spec/dummy/db/migrate/114_create_event_categories.rb
enju_biblio-0.2.4 spec/dummy/db/migrate/114_create_event_categories.rb
enju_library-0.2.4 spec/dummy/db/migrate/114_create_event_categories.rb
enju_event-0.2.2 db/migrate/114_create_event_categories.rb
enju_circulation-0.2.4 spec/dummy/db/migrate/114_create_event_categories.rb
enju_bookmark-0.2.1 spec/dummy/db/migrate/114_create_event_categories.rb
enju_circulation-0.2.3 spec/dummy/db/migrate/114_create_event_categories.rb
enju_biblio-0.2.3 spec/dummy/db/migrate/114_create_event_categories.rb
enju_library-0.2.3 spec/dummy/db/migrate/114_create_event_categories.rb
enju_ndl-0.2.3 spec/dummy/db/migrate/114_create_event_categories.rb
enju_ndl-0.2.2 spec/dummy/db/migrate/114_create_event_categories.rb
enju_biblio-0.2.2 spec/dummy/db/migrate/114_create_event_categories.rb
enju_circulation-0.2.2 spec/dummy/db/migrate/114_create_event_categories.rb
enju_ndl-0.2.1 spec/dummy/db/migrate/114_create_event_categories.rb
enju_event-0.2.1 db/migrate/114_create_event_categories.rb