Sha256: cea6288d6f2c3509d9ace80eed0bfcba868fe73faff8c573fe50a0c1763392a5

Contents?: true

Size: 235 Bytes

Versions: 14

Compression:

Stored size: 235 Bytes

Contents

class CreateDiscounts < ActiveRecord::Migration
  def change
    create_table :discounts do |t|

      t.string :name
      t.integer :amount
      t.references :event

      t.datetime :deleted_at
      t.timestamps
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
lazy_crud-0.9.8.4 spec/support/rails_app/db/migrate/20150104171110_create_discounts.rb
lazy_crud-0.9.8.3 spec/support/rails_app/db/migrate/20150104171110_create_discounts.rb
lazy_crud-0.9.8.2 spec/support/rails_app/db/migrate/20150104171110_create_discounts.rb
lazy_crud-0.9.8.1 spec/support/rails_app/db/migrate/20150104171110_create_discounts.rb
lazy_crud-0.9.8.0 spec/support/rails_app/db/migrate/20150104171110_create_discounts.rb
lazy_crud-0.9.7.1 spec/support/rails_app/db/migrate/20150104171110_create_discounts.rb
lazy_crud-0.9.7 spec/support/rails_app/db/migrate/20150104171110_create_discounts.rb
lazy_crud-0.9.6 spec/support/rails_app/db/migrate/20150104171110_create_discounts.rb
lazy_crud-0.9.5 spec/support/rails_app/db/migrate/20150104171110_create_discounts.rb
lazy_crud-0.9.4 spec/support/rails_app/db/migrate/20150104171110_create_discounts.rb
lazy_crud-0.9.3 spec/support/rails_app/db/migrate/20150104171110_create_discounts.rb
lazy_crud-0.9.2 spec/support/rails_app/db/migrate/20150104171110_create_discounts.rb
lazy_crud-0.9.1 spec/support/rails_app/db/migrate/20150104171110_create_discounts.rb
lazy_crud-0.9.0 spec/support/rails_app/db/migrate/20150104171110_create_discounts.rb