Payroll schema updates.

This commit is contained in:
Patrick Fic
2023-04-25 09:33:17 -07:00
parent 57b27f73c3
commit 4c5a2cefe9
5 changed files with 15 additions and 0 deletions

View File

@@ -5252,6 +5252,7 @@
- ciecacode
- clockoff
- clockon
- commited_by
- committed_at
- cost_center
- created_at
@@ -5274,6 +5275,7 @@
- ciecacode
- clockoff
- clockon
- commited_by
- committed_at
- cost_center
- created_at
@@ -5305,6 +5307,7 @@
- ciecacode
- clockoff
- clockon
- commited_by
- committed_at
- cost_center
- created_at

View File

@@ -0,0 +1,4 @@
-- Could not auto-generate a down migration.
-- Please write an appropriate down migration for the SQL below:
-- alter table "public"."timetickets" add column "commited_by" text
-- null;

View File

@@ -0,0 +1,2 @@
alter table "public"."timetickets" add column "commited_by" text
null;

View File

@@ -0,0 +1 @@
alter table "public"."timetickets" drop constraint "timetickets_commited_by_fkey";

View File

@@ -0,0 +1,5 @@
alter table "public"."timetickets"
add constraint "timetickets_commited_by_fkey"
foreign key ("commited_by")
references "public"."users"
("email") on update restrict on delete restrict;