lib/generators/parole/templates/migration.rb in parole-0.1 vs lib/generators/parole/templates/migration.rb in parole-0.1.1
- old
+ new
@@ -1,10 +1,10 @@
class AddParole < ActiveRecord::Migration
def self.up
create_table :comments do |t|
t.references :commentable, polymorphic: true
t.references :commenter, polymorphic: true
- t.string :role, default: 'comment'
+ t.string :role
t.text :comment
t.timestamps
end