class CreateRevelryContentContents

Public Instance Methods

change() click to toggle source
# File lib/generators/revelry/content/templates/create_revelry_content_contents.rb, line 2
def change
  create_table :revelry_content_contents do |t|
    t.string :type
    t.string :key
    t.text :content
    t.string :src
    t.string :last_whodunnit
    t.timestamps
  end
end