about summary refs log tree commit diff
path: root/web/panettone/src/migrations/3921488651-create-users-table.lisp
diff options
context:
space:
mode:
authorAspen Smith <root@gws.fyi>2024-04-13T14·31-0400
committeraspen <root@gws.fyi>2024-04-19T18·42+0000
commit413441e2f2266db58094bbf305ba736e5586708f (patch)
treee3af48dba4c2e4644ef317c72e987e02243c5cfb /web/panettone/src/migrations/3921488651-create-users-table.lisp
parent594600cd4a253d652ff0dddd914c4fba4465a5e6 (diff)
feat(web/panettone): Create users table r/7963
Create a (currently unused) table to store information about users. I'll
be manually migrating over all the information about users into this
table, then will make a subsequent CL to make the rest of the tables
foreign-key into this table

Change-Id: I1b1c4b50c4a61326df3382809f701947a2caf536
Reviewed-on: https://cl.tvl.fyi/c/depot/+/11411
Autosubmit: aspen <root@gws.fyi>
Tested-by: BuildkiteCI
Reviewed-by: sterni <sternenseemann@systemli.org>
Diffstat (limited to 'web/panettone/src/migrations/3921488651-create-users-table.lisp')
-rw-r--r--web/panettone/src/migrations/3921488651-create-users-table.lisp6
1 files changed, 6 insertions, 0 deletions
diff --git a/web/panettone/src/migrations/3921488651-create-users-table.lisp b/web/panettone/src/migrations/3921488651-create-users-table.lisp
new file mode 100644
index 000000000000..2598ab101e7f
--- /dev/null
+++ b/web/panettone/src/migrations/3921488651-create-users-table.lisp
@@ -0,0 +1,6 @@
+"Add a table to store information about users, load the initial set of users
+from the authentication provider, and change fks for other tables"
+
+(defun up ()
+  (panettone.model:create-table-if-not-exists
+   'panettone.model:user))