Sha256: bf44005b4294f7c1edbd193542ebdee9adb288b4f69e131db1d5ad61880cb9a8

Contents?: true

Size: 225 Bytes

Versions: 24

Compression:

Stored size: 225 Bytes

Contents

class AddOwnerIdToSites < ActiveRecord::Migration[5.0]
  def change
    add_column :jobshop_sites, :owner_id, :uuid
    add_foreign_key :jobshop_sites, :jobshop_users, column: "owner_id",
      on_delete: :restrict
  end
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
jobshop-0.0.5 db/migrate/20160322040604_add_owner_id_to_sites.rb
jobshop-0.0.4.2p4 db/migrate/20160322040604_add_owner_id_to_sites.rb
jobshop-0.0.4.1p4 db/migrate/20160322040604_add_owner_id_to_sites.rb
jobshop-0.0.4.0p13 db/migrate/20160322040604_add_owner_id_to_sites.rb