Sha256: 5efaa23fcc87c2ebef881dbe75d8ad62d021d459f94b4dea886260debb8dc868
Contents?: true
Size: 397 Bytes
Versions: 7
Compression:
Stored size: 397 Bytes
Contents
class CreateSongOccurencesTable < ActiveRecord::Migration[5.0] def up create_table :song_occurences, :id => false do |t| t.string :uuid, :primary => true, :null => false t.string :show_uuid t.string :song_ref_uuid t.integer :position end add_index :song_occurences, [:uuid, :song_ref_uuid] end def down drop_table :song_occurences end end
Version data entries
7 entries across 7 versions & 1 rubygems