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

17 lines
295 B
Ruby

# -*- encoding : utf-8 -*-
class CreateHtmlContents < ActiveRecord::Migration
def self.up
create_table :html_contents do |t|
t.text :content
t.string :style
t.string :content_type
t.timestamps
end
end
def self.down
drop_table :html_contents
end
end