karim_app/db/migrate/20151214131745_add_margins_to_image_contents.rb
Nicolas Bally a0a3cfd6fe initial
2018-06-11 01:40:28 +02:00

9 lines
303 B
Ruby

class AddMarginsToImageContents < ActiveRecord::Migration
def change
add_column :image_contents, :margin_top, :integer
add_column :image_contents, :margin_left, :integer
add_column :image_contents, :margin_right, :integer
add_column :image_contents, :margin_bottom, :integer
end
end