Sha256: f235a2e7c95cb2886d8a98eb998bbbec5a063eb484bd76e805706185dd8d515a

Contents?: true

Size: 305 Bytes

Versions: 7

Compression:

Stored size: 305 Bytes

Contents

class CreateShowSetTable < ActiveRecord::Migration[5.0]
	
	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

7 entries across 7 versions & 1 rubygems

Version Path
gdshowsdb-3.0.0 lib/gdshowsdb/db/migrations/004_create_show_set_table.rb
gdshowsdb-2.1.0 lib/gdshowsdb/db/migrations/004_create_show_set_table.rb
gdshowsdb-2.0.0 lib/gdshowsdb/db/migrations/004_create_show_set_table.rb
gdshowsdb-1.0.3 lib/gdshowsdb/db/migrations/004_create_show_set_table.rb
gdshowsdb-1.0.2 lib/gdshowsdb/db/migrations/004_create_show_set_table.rb
gdshowsdb-1.0.1 lib/gdshowsdb/db/migrations/004_create_show_set_table.rb
gdshowsdb-1.0.0 lib/gdshowsdb/db/migrations/004_create_show_set_table.rb