Sha256: 80e6af0d1791ccd80e15a96a9e0e54d2f0eda112ca7397abad8932d6a5e3285f
Contents?: true
Size: 311 Bytes
Versions: 2
Compression:
Stored size: 311 Bytes
Contents
class CreateSongRefTable < ActiveRecord::Migration def up create_table :song_refs, :id => false do |t| t.string :uuid, :primary => true, :null => false t.string :name t.string :slug end add_index :song_refs, [:uuid, :name, :slug] end def down drop_table :song_refs end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
gdshowsdb-0.9.1 | lib/gdshowsdb/db/migrations/001_create_song_ref_table.rb |
gdshowsdb-0.9.0 | lib/gdshowsdb/db/migrations/001_create_song_ref_table.rb |