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.107 db/migrate/20160322040604_add_owner_id_to_sites.rb
jobshop-0.0.101 db/migrate/20160322040604_add_owner_id_to_sites.rb
jobshop-0.0.67 db/migrate/20160322040604_add_owner_id_to_sites.rb
jobshop-0.0.61 db/migrate/20160322040604_add_owner_id_to_sites.rb
jobshop-0.0.59 db/migrate/20160322040604_add_owner_id_to_sites.rb
jobshop-0.0.53 db/migrate/20160322040604_add_owner_id_to_sites.rb
jobshop-0.0.41 db/migrate/20160322040604_add_owner_id_to_sites.rb
jobshop-0.0.37 db/migrate/20160322040604_add_owner_id_to_sites.rb
jobshop-0.0.29 db/migrate/20160322040604_add_owner_id_to_sites.rb
jobshop-0.0.23 db/migrate/20160322040604_add_owner_id_to_sites.rb
jobshop-0.0.16 db/migrate/20160322040604_add_owner_id_to_sites.rb
jobshop-0.0.15 db/migrate/20160322040604_add_owner_id_to_sites.rb
jobshop-0.0.14 db/migrate/20160322040604_add_owner_id_to_sites.rb
jobshop-0.0.13 db/migrate/20160322040604_add_owner_id_to_sites.rb
jobshop-0.0.12 db/migrate/20160322040604_add_owner_id_to_sites.rb
jobshop-0.0.11 db/migrate/20160322040604_add_owner_id_to_sites.rb
jobshop-0.0.10 db/migrate/20160322040604_add_owner_id_to_sites.rb
jobshop-0.0.9 db/migrate/20160322040604_add_owner_id_to_sites.rb
jobshop-0.0.7 db/migrate/20160322040604_add_owner_id_to_sites.rb
jobshop-0.0.6 db/migrate/20160322040604_add_owner_id_to_sites.rb