Sha256: 17596a948e8ca54cc891a3b7a6298aadbb85a0108b5c036998e7f27845fb1aac

Contents?: true

Size: 300 Bytes

Versions: 2

Compression:

Stored size: 300 Bytes

Contents

class CreateShowSetTable < ActiveRecord::Migration
	
	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
		end
	end

	def down
		drop_table :show_sets
	end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
gdshowsdb-0.9.1 lib/gdshowsdb/db/migrations/004_create_show_set_table.rb
gdshowsdb-0.9.0 lib/gdshowsdb/db/migrations/004_create_show_set_table.rb