class <%= migration_name %> < ActiveRecord::Migration def self.up create_table :<%= table_name %> do |t| t.string :from t.string :to t.integer :last_send_attempt, :default => 0 t.text :mail t.datetime :created_on t.integer :priority, :default => 0 end end def self.down drop_table :<%= table_name %> end end