class CreateRcmsMentionsTables

Public Class Methods

down() click to toggle source
# File lib/generators/templates_mentions/migration.rb, line 13
def self.down
  drop_table :rcms_mentions
end
up() click to toggle source
# File lib/generators/templates_mentions/migration.rb, line 2
def self.up
  create_table :rcms_mentions do |t|
    t.string :username
    t.string :email
    t.boolean :is_published
    t.text :text

    t.timestamps
  end
end