# -*- encoding : utf-8 -*-
class CreateHtmlContents < ActiveRecord::Migration
  def self.up
    create_table :html_contents do |t|
      t.text :content
      t.string :style
      t.timestamps
    end
    
    ContentType.create(:slug => "HtmlContent", :name => "Code HTML")
  end

  def self.down
    drop_table :html_contents
  end
end