Sha256: c58331ff728c60866af52bd115bea56076aab4840b2d592ed81e287c3ef5e42e
Contents?: true
Size: 354 Bytes
Versions: 7
Compression:
Stored size: 354 Bytes
Contents
class CreateSongTable < ActiveRecord::Migration[5.0] def up create_table :songs, :id => false do |t| t.string :uuid, :primary => true, :null => false t.string :show_set_uuid t.string :song_ref_uuid t.integer :position t.boolean :segued end add_index :songs, [:uuid, :song_ref_uuid] end def down drop_table :songs end end
Version data entries
7 entries across 7 versions & 1 rubygems