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_biblio-0.2.0.beta.4 spec/dummy/db/migrate/114_create_event_categories.rb
enju_event-0.2.0.beta.4 db/migrate/114_create_event_categories.rb
enju_circulation-0.2.0.beta.4 spec/dummy/db/migrate/114_create_event_categories.rb
enju_ndl-0.2.0.beta.3 spec/dummy/db/migrate/114_create_event_categories.rb
enju_oai-0.2.0.beta.4 spec/dummy/db/migrate/114_create_event_categories.rb
enju_bookmark-0.2.0.beta.5 spec/dummy/db/migrate/114_create_event_categories.rb
enju_circulation-0.2.0.beta.3 spec/dummy/db/migrate/114_create_event_categories.rb
enju_library-0.2.0.beta.9 spec/dummy/db/migrate/114_create_event_categories.rb
enju_leaf-1.2.0.beta.3 spec/dummy/db/migrate/114_create_event_categories.rb
enju_bookmark-0.2.0.beta.3 spec/dummy/db/migrate/114_create_event_categories.rb
enju_library-0.2.0.beta.8 spec/dummy/db/migrate/114_create_event_categories.rb
enju_library-0.2.0.beta.7 spec/dummy/db/migrate/114_create_event_categories.rb
enju_library-0.2.0.beta.6 spec/dummy/db/migrate/114_create_event_categories.rb
enju_event-0.2.0.beta.3 db/migrate/114_create_event_categories.rb
enju_biblio-0.2.0.beta.3 spec/dummy/db/migrate/114_create_event_categories.rb
enju_oai-0.2.0.beta.2 spec/dummy/db/migrate/114_create_event_categories.rb
enju_library-0.2.0.beta.5 spec/dummy/db/migrate/114_create_event_categories.rb
enju_ndl-0.2.0.beta.2 spec/dummy/db/migrate/114_create_event_categories.rb
enju_library-0.2.0.beta.4 spec/dummy/db/migrate/114_create_event_categories.rb
enju_circulation-0.2.0.beta.2 spec/dummy/db/migrate/114_create_event_categories.rb