Sha256: 7cb0d923c4312fce7bcf59b0431c7607c01b7739ccb9bf3a9a5a8703d330d00f
Contents?: true
Size: 366 Bytes
Versions: 3
Compression:
Stored size: 366 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 t.index :uuid, unique: true t.index :song_ref_uuid end end def down drop_table :songs end end
Version data entries
3 entries across 3 versions & 1 rubygems