lib/generators/templates/add_caerbannog_messages.rb in caerbannog-0.2.0 vs lib/generators/templates/add_caerbannog_messages.rb in caerbannog-0.2.1
- old
+ new
@@ -1,9 +1,9 @@
class AddCaerbannogMessages < ActiveRecord::Migration
def change
create_table :caerbannog_messages do |t|
- t.string :name, :null => false
- t.text :payload
+ t.string :name, null: false
+ t.text :payload
t.timestamp :created_at
end
end
end