Sha256: 1de865152310252d544a87e93157a6f65b1b89a5cde5629b58240b493938e51e
Contents?: true
Size: 722 Bytes
Versions: 8
Compression:
Stored size: 722 Bytes
Contents
class CreateCheckoutStatHasManifestations < ActiveRecord::Migration def self.up create_table :checkout_stat_has_manifestations do |t| t.references :manifestation_checkout_stat, index: false, null: false t.references :manifestation, index: false, foreign_key: true, null: false t.integer :checkouts_count t.timestamps end add_index :checkout_stat_has_manifestations, :manifestation_checkout_stat_id, name: 'index_checkout_stat_has_manifestations_on_checkout_stat_id' add_index :checkout_stat_has_manifestations, :manifestation_id, name: 'index_checkout_stat_has_manifestations_on_manifestation_id' end def self.down drop_table :checkout_stat_has_manifestations end end
Version data entries
8 entries across 8 versions & 2 rubygems