Sha256: c48b3f0d34f56ff3c48f9b4e9d3e67ef54c18ae109f681b703f72c824fd23c8e
Contents?: true
Size: 680 Bytes
Versions: 1
Compression:
Stored size: 680 Bytes
Contents
class CreateCheckoutStatHasManifestations < ActiveRecord::Migration[5.1] 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
enju_seed-0.4.0.beta.1 | spec/dummy/db/migrate/20081212075554_create_checkout_stat_has_manifestations.rb |