heylium_app/db/migrate/0079_create_break_contents.rb
Nicolas Bally 8e18de4077 initial
2016-08-03 00:22:29 +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