summaryrefslogtreecommitdiff
path: root/sql/types/auth.registrations_t.sql
diff options
context:
space:
mode:
authorckonstanski <carlos.konstanski@olo.com>2024-05-25 18:03:25 -0600
committerckonstanski <carlos.konstanski@olo.com>2024-05-25 18:03:25 -0600
commitb8423f4d05c75094b7b9d09c6f0bb353acc9be1c (patch)
tree3732f71f84191b26f038130c2220fb502d738251 /sql/types/auth.registrations_t.sql
initial commit
Diffstat (limited to 'sql/types/auth.registrations_t.sql')
-rw-r--r--sql/types/auth.registrations_t.sql12
1 files changed, 12 insertions, 0 deletions
diff --git a/sql/types/auth.registrations_t.sql b/sql/types/auth.registrations_t.sql
new file mode 100644
index 0000000..cde66d0
--- /dev/null
+++ b/sql/types/auth.registrations_t.sql
@@ -0,0 +1,12 @@
+drop type auth.registrations_t cascade;
+
+create type auth.registrations_t as (
+ id bigint,
+ hash text,
+ first_name character varying,
+ last_name character varying,
+ email character varying,
+ role_groups text,
+ created timestamp without time zone,
+ valid_for interval
+);