Sha256: d310a6867f5f941931475446b20d62e2ab2a51f3aff5b293f08ea8367d61af2b
Contents?: true
Size: 392 Bytes
Versions: 3
Compression:
Stored size: 392 Bytes
Contents
class CreateShowSetTable < ActiveRecord::Migration[5.0] def up create_table :show_sets, :id => false do |t| t.string :uuid, :primary => true, :null => false t.string :show_uuid t.integer :position t.boolean :encore, :default => false t.index :uuid, unique: true t.index [:uuid, :show_uuid, :position], unique: true end end def down drop_table :show_sets end end
Version data entries
3 entries across 3 versions & 1 rubygems