Sha256: b266b4773f1d4cf3a0c91c4d2b71799bc7e5a3c73e568c18da63f4abc2847238
Contents?: true
Size: 390 Bytes
Versions: 4
Compression:
Stored size: 390 Bytes
Contents
class <%= migration_class_name.gsub(/::/, '') %> < ActiveRecord::Migration def self.up create_table :<%= table_name %> do |t| t.column :from, :string t.column :to, :string t.column :last_send_attempt, :integer, :default => 0 t.column :mail, :text t.column :created_on, :datetime end end def self.down drop_table :<%= table_name %> end end
Version data entries
4 entries across 4 versions & 2 rubygems