Sha256: 286d9b5100837fa83e5fa035c00a80d46c2ff739e92f3b53c20a38127be04f98
Contents?: true
Size: 365 Bytes
Versions: 3
Compression:
Stored size: 365 Bytes
Contents
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
Version data entries
3 entries across 3 versions & 1 rubygems