-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add audit fields Signed-off-by: Tyler Auerbeck <tylerauerbeck@users.noreply.github.com> * Add audit to the rest of schemas; Update resolvers Signed-off-by: Tyler Auerbeck <tylerauerbeck@users.noreply.github.com> * Cleanup fields Signed-off-by: Tyler Auerbeck <tylerauerbeck@users.noreply.github.com> * Fix lints Signed-off-by: Tyler Auerbeck <tylerauerbeck@users.noreply.github.com> * Fix lints, pt 2 Signed-off-by: Tyler Auerbeck <tylerauerbeck@users.noreply.github.com> * Fix failing tests Signed-off-by: Tyler Auerbeck <tylerauerbeck@users.noreply.github.com> * Cleanup migrations Signed-off-by: Tyler Auerbeck <tylerauerbeck@users.noreply.github.com> --------- Signed-off-by: Tyler Auerbeck <tylerauerbeck@users.noreply.github.com> Co-authored-by: Tyler Auerbeck <tylerauerbeck@users.noreply.github.com>
- Loading branch information
1 parent
ec08118
commit 8478791
Showing
65 changed files
with
6,782 additions
and
507 deletions.
There are no files selected for viewing
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,23 @@ | ||
-- +goose Up | ||
-- modify "load_balancers" table | ||
ALTER TABLE "load_balancers" ADD COLUMN "created_by" character varying NULL, ADD COLUMN "updated_by" character varying NULL; | ||
-- modify "origins" table | ||
ALTER TABLE "origins" ADD COLUMN "created_by" character varying NULL, ADD COLUMN "updated_by" character varying NULL; | ||
-- modify "pools" table | ||
ALTER TABLE "pools" ADD COLUMN "created_by" character varying NULL, ADD COLUMN "updated_by" character varying NULL; | ||
-- modify "ports" table | ||
ALTER TABLE "ports" ADD COLUMN "created_by" character varying NULL, ADD COLUMN "updated_by" character varying NULL; | ||
-- modify "providers" table | ||
ALTER TABLE "providers" ADD COLUMN "created_by" character varying NULL, ADD COLUMN "updated_by" character varying NULL; | ||
|
||
-- +goose Down | ||
-- reverse: modify "providers" table | ||
ALTER TABLE "providers" DROP COLUMN "updated_by", DROP COLUMN "created_by"; | ||
-- reverse: modify "ports" table | ||
ALTER TABLE "ports" DROP COLUMN "updated_by", DROP COLUMN "created_by"; | ||
-- reverse: modify "pools" table | ||
ALTER TABLE "pools" DROP COLUMN "updated_by", DROP COLUMN "created_by"; | ||
-- reverse: modify "origins" table | ||
ALTER TABLE "origins" DROP COLUMN "updated_by", DROP COLUMN "created_by"; | ||
-- reverse: modify "load_balancers" table | ||
ALTER TABLE "load_balancers" DROP COLUMN "updated_by", DROP COLUMN "created_by"; |
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 |
---|---|---|
@@ -1,5 +1,6 @@ | ||
h1:C2ooKhLvT6ZWxsvbhzwIlh+LWFh+wU+nRN1onsCHlkw= | ||
h1:VbjEjTYQpHluH7ZPRqCN9Xz2sRkWFqFjgcQjf19L/xo= | ||
20230503185445_initial-migration.sql h1:4pqNp2MDBBRdGxU/H5mmZui9oi1SyjIiMVGatajrBeY= | ||
20230615194819_drop_tenant_add_owner.sql h1:KGCsItU0NYhxYEkhZOaMQjfIrBMnek5rxC6D/LhnyCk= | ||
20230629085916_drop_status_and_annotations.sql h1:kvDMoaMEjyoj/aRi6rw4XvCLxGH09vGGLbL0/p5tpPo= | ||
20231017005257_add_origin_weight.sql h1:G0SKQBweZg4S9IvpnoIeVJ05aLSiNb3PWnJcZyo+2fg= | ||
20231017005257_add_origin_weight.sql h1:NuorUbcydDqcyPK8wgwlkQxaH+zGWfVtJW9UPL1Vn+E= | ||
20240207205734_audit-fields.sql h1:cplFCBB7laCP5Y+UAoxIfITMo56Hoc5XIVvgcfGL9o0= |
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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.