Sha256: b7e9a682fdec63927dad938dd9b51fbd041c9f5734f18e4540213a9f9f5db7ab

Contents?: true

Size: 261 Bytes

Versions: 9

Compression:

Stored size: 261 Bytes

Contents

class CreateQuestionCategories < ActiveRecord::Migration
  def self.up
    create_table :question_categories do |t|
      t.string  :name
      t.integer :position

      t.timestamps
    end
  end

  def self.down
    drop_table :question_categories
  end
end

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
spree-faq-2.4.0 db/migrate/20090526213550_create_question_categories.rb
spree-faq-2.3.0 db/migrate/20090526213550_create_question_categories.rb
spree-faq-2.2.1 db/migrate/20090526213550_create_question_categories.rb
spree-faq-2.1.1 db/migrate/20090526213550_create_question_categories.rb
spree-faq-2.0.1 db/migrate/20090526213550_create_question_categories.rb
spree-faq-2.2.0 db/migrate/20090526213550_create_question_categories.rb
spree-faq-2.1.0 db/migrate/20090526213550_create_question_categories.rb
spree-faq-2.0.0 db/migrate/20090526213550_create_question_categories.rb
spree_faq-3.0.3 lib/generators/templates/db/migrate/20090526213550_create_question_categories.rb