class CreatePartials

Public Instance Methods

change() click to toggle source
# File lib/ecrire/db/migrate/20131221195338_create_partials.rb, line 2
def change
  create_table :partials do |t|

    t.timestamps null: false
    t.string :title, null: false
    t.text :content
    t.text :stylesheet
    t.text :javascript
  end
end