heylium_app/db/migrate/20151214131745_add_margins_to_image_contents.rb
Nicolas Bally 8e18de4077 initial
2016-08-03 00:22:29 +02:00

9 lines
303 B
Ruby
Executable File

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