basic_app/db/migrate/20200701135523_add_stuff_to_block_contents.rb
Nicolas Bally 4c750c08b0 suite
2020-07-01 18:14:53 +02:00

9 lines
332 B
Ruby

class AddStuffToBlockContents < ActiveRecord::Migration[6.0]
def change
add_column :block_contents, :html_id, :string
add_column :block_contents, :html_class, :string
add_column :block_contents, :html_style, :string
add_column :block_contents, :html_ratio, :decimal, :precision => 10, :scale => 4
end
end