Sha256: 60266b23269c5a08b192d128ab2d31f938e1305fe0556a001855c9ff5c76e201
Contents?: true
Size: 440 Bytes
Versions: 56
Compression:
Stored size: 440 Bytes
Contents
class CreateCheckoutStatHasUsers < ActiveRecord::Migration[4.2] def self.up create_table :checkout_stat_has_users do |t| t.references :user_checkout_stat, index: true, foreign_key: true, null: false t.references :user, index: true, foreign_key: true, null: false t.integer :checkouts_count, default: 0, null: false t.timestamps end end def self.down drop_table :checkout_stat_has_users end end
Version data entries
56 entries across 56 versions & 4 rubygems