Sha256: 7c51560b50242532d02293f69dd7541089a5919e5f08b6eb42f809cd6dc11ec6
Contents?: true
Size: 680 Bytes
Versions: 53
Compression:
Stored size: 680 Bytes
Contents
class CreateCheckoutStatHasManifestations < ActiveRecord::Migration[4.2] def self.up create_table :checkout_stat_has_manifestations do |t| t.integer :manifestation_checkout_stat_id, null: false t.integer :manifestation_id, 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
53 entries across 53 versions & 9 rubygems