Sha256: b3c96c49d926cab7467dfcddabecd95bf0583585baf32338cb3c4c2e13f07819
Contents?: true
Size: 727 Bytes
Versions: 2
Compression:
Stored size: 727 Bytes
Contents
class CreateCheckoutStatHasManifestations < ActiveRecord::Migration[5.2] 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
2 entries across 2 versions & 2 rubygems