-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into dependabot/bundler/redis-5.2.0
- Loading branch information
Showing
192 changed files
with
6,177 additions
and
1,893 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
db/migrate/20240411152758_drop_data_in_personal_information_log.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
class DropDataInPersonalInformationLog < ActiveRecord::Migration[7.1] | ||
def change | ||
safety_assured { remove_column :personal_information_logs, :data, :jsonb } | ||
end | ||
end |
40 changes: 40 additions & 0 deletions
40
db/migrate/20240411153910_create_accredited_individuals.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
# frozen_string_literal: true | ||
|
||
class CreateAccreditedIndividuals < ActiveRecord::Migration[7.1] | ||
def change | ||
create_table :accredited_individuals, id: :uuid do |t| | ||
t.uuid :ogc_id, null: false | ||
t.string :registration_number, null: false | ||
t.string :poa_code, limit: 3, index: true | ||
t.string :individual_type, null: false | ||
t.string :first_name | ||
t.string :middle_initial | ||
t.string :last_name | ||
t.string :full_name, index: true | ||
t.string :email | ||
t.string :phone | ||
t.string :address_type | ||
t.string :address_line1 | ||
t.string :address_line2 | ||
t.string :address_line3 | ||
t.string :city | ||
t.string :country_code_iso3 | ||
t.string :country_name | ||
t.string :county_name | ||
t.string :county_code | ||
t.string :international_postal_code | ||
t.string :province | ||
t.string :state_code | ||
t.string :zip_code | ||
t.string :zip_suffix | ||
t.jsonb :raw_address | ||
t.float :lat | ||
t.float :long | ||
t.geography :location, limit: { srid: 4326, type: 'st_point', geographic: true } | ||
t.timestamps | ||
|
||
t.index :location, using: :gist | ||
t.index %i[ registration_number individual_type ], name: 'index_on_reg_num_and_type_for_accredited_individuals', unique: true | ||
end | ||
end | ||
end |
33 changes: 33 additions & 0 deletions
33
db/migrate/20240411160306_create_accredited_organizations.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# frozen_string_literal: true | ||
|
||
class CreateAccreditedOrganizations < ActiveRecord::Migration[7.1] | ||
def change | ||
create_table :accredited_organizations, id: :uuid do |t| | ||
t.uuid :ogc_id, null: false | ||
t.string :poa_code, limit: 3, null: false, index: { unique: true } | ||
t.string :name, index: true | ||
t.string :phone | ||
t.string :address_type | ||
t.string :address_line1 | ||
t.string :address_line2 | ||
t.string :address_line3 | ||
t.string :city | ||
t.string :country_code_iso3 | ||
t.string :country_name | ||
t.string :county_name | ||
t.string :county_code | ||
t.string :international_postal_code | ||
t.string :province | ||
t.string :state_code | ||
t.string :zip_code | ||
t.string :zip_suffix | ||
t.jsonb :raw_address | ||
t.float :lat | ||
t.float :long | ||
t.geography :location, limit: { srid: 4326, type: 'st_point', geographic: true } | ||
t.timestamps | ||
|
||
t.index :location, using: :gist | ||
end | ||
end | ||
end |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.