mirror of
https://gitlab.com/mobicoop/v3/service/auth.git
synced 2026-01-02 19:02:40 +00:00
crate/update/validate auth
This commit is contained in:
10
prisma/migrations/20221215102603_init/migration.sql
Normal file
10
prisma/migrations/20221215102603_init/migration.sql
Normal file
@@ -0,0 +1,10 @@
|
||||
-- CreateTable
|
||||
CREATE TABLE "auth" (
|
||||
"uuid" UUID NOT NULL,
|
||||
"username" TEXT NOT NULL,
|
||||
"password" TEXT NOT NULL,
|
||||
"createdAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
||||
"updatedAt" TIMESTAMP(3) NOT NULL,
|
||||
|
||||
CONSTRAINT "auth_pkey" PRIMARY KEY ("uuid")
|
||||
);
|
||||
3
prisma/migrations/migration_lock.toml
Normal file
3
prisma/migrations/migration_lock.toml
Normal file
@@ -0,0 +1,3 @@
|
||||
# Please do not edit this file manually
|
||||
# It should be added in your version-control system (i.e. Git)
|
||||
provider = "postgresql"
|
||||
Reference in New Issue
Block a user