Sha256: de8e4b3ddcd1514ef2a3497ac6914c3dee3ce241f6e72445b180f0dbdfb0d6a1
Contents?: true
Size: 488 Bytes
Versions: 22
Compression:
Stored size: 488 Bytes
Contents
class CreateDiscoAppApplicationCharges < ActiveRecord::Migration def change create_table :disco_app_application_charges do |t| t.integer :shop_id, limit: 8 t.integer :subscription_id, limit: 8 t.integer :status, default: 0 t.timestamps null: false end add_foreign_key :disco_app_application_charges, :disco_app_shops, column: :shop_id add_foreign_key :disco_app_application_charges, :disco_app_subscriptions, column: :subscription_id end end
Version data entries
22 entries across 22 versions & 1 rubygems