Sha256: 08d73ab212ef4c4d7b0cfe4031caa77c2e0dc04f4e1f694a594bd03d1d2db9ce
Contents?: true
Size: 396 Bytes
Versions: 3
Compression:
Stored size: 396 Bytes
Contents
class Create<%= 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
3 entries across 3 versions & 1 rubygems