class CreateContentBuilderImages

Public Instance Methods

change() click to toggle source
# File lib/generators/templates/create_content_builder_image_migration.rb, line 2
def change
  create_table :content_builder_images do |t|
    t.string :image
    t.references :content_builder, index: true, foreign_key: true

    t.timestamps null: false
  end
end