Class: CreatePartials
- Inherits:
-
ActiveRecord::Migration
- Object
- ActiveRecord::Migration
- CreatePartials
- Defined in:
- lib/ecrire/db/migrate/20131221195338_create_partials.rb
Instance Method Summary collapse
Instance Method Details
#change ⇒ Object
2 3 4 5 6 7 8 9 10 11 |
# File 'lib/ecrire/db/migrate/20131221195338_create_partials.rb', line 2 def change create_table :partials do |t| t. t.string :title, null: false t.text :content t.text :stylesheet t.text :javascript end end |