Sha256: e854a15602eb5f423660e02a1b958a2013d9838663351f5c208e8347da7ed8a5

Contents?: true

Size: 517 Bytes

Versions: 5

Compression:

Stored size: 517 Bytes

Contents

class CreateHelpTopics < ActiveRecord::Migration
  def up
    create_table "help_topics" do |t|
      t.string   "language",   :default => "en", :null => false
      t.string   "slug",                         :null => false
      t.string   "title",                        :null => false
      t.datetime "created_at"
      t.datetime "updated_at"
      t.text     "content"
    end

    add_index "help_topics", ["title"], :name => "index_help_topics_on_title"
  end

  def down
    drop_table :help_topics
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
forge-cli-0.0.10 lib/forge/db/migrate/20130404142157_create_help_topics.rb
forge-cli-0.0.9 lib/forge/db/migrate/20130404142157_create_help_topics.rb
forge-cli-0.0.8 lib/forge/db/migrate/20130404142157_create_help_topics.rb
forge-cli-0.0.7 lib/forge/db/migrate/20130404142157_create_help_topics.rb
forge-cli-0.0.6 lib/forge/db/migrate/20130404142157_create_help_topics.rb