Sha256: a555e9e4d275eaa7c1cc74ef7606ac67323c03502d6cb32d04dddf434de6941b
Contents?: true
Size: 433 Bytes
Versions: 35
Compression:
Stored size: 433 Bytes
Contents
class CreateDiscounts < ActiveRecord::Migration def change create_table :discounts do |t| t.string :code, :null => false t.boolean :active, :null => false, :default => true t.string :promotion_type, :null => false t.text :properties t.integer :event_id, :null => false t.integer :organization_id, :null => false t.integer :user_id, :null => false t.timestamps end end end
Version data entries
35 entries across 35 versions & 1 rubygems