Sha256: 9e63149820f8877453abb998ec09854ae6bf6ce323633b002db2f3c0f38bfe56
Contents?: true
Size: 490 Bytes
Versions: 1
Compression:
Stored size: 490 Bytes
Contents
# frozen_string_literals: true require "jobshop/helpers/migration.rb" class CreateOrganizations < ActiveRecord::Migration[5.2] include Jobshop::Helpers::Migration def change create_table :jobshop_organizations, id: false do |t| t.uuid :organization_id, null: false, default: "gen_random_uuid()" t.index :organization_id, unique: true, name: :idx_jobshop_organizations_pkey t.timestamps end idx_table_name_pkey :jobshop_organizations end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
jobshop-0.0.167 | db/migrate/20171216021339_create_organizations.rb |