vita_app/db/migrate/0079_create_break_contents.rb
Nicolas Bally 1d3af87d4c initial
2016-04-28 10:07:08 +02:00

17 lines
293 B
Ruby
Executable File

# -*- encoding : utf-8 -*-
class CreateBreakContents < ActiveRecord::Migration
def self.up
create_table :break_contents do |t|
t.boolean :line
t.integer :height
t.string :style
t.timestamps
end
end
def self.down
drop_table :break_contents
end
end