prepare for deployment
This commit is contained in:
parent
80ff13abd6
commit
17a79b2251
|
@ -0,0 +1,2 @@
|
||||||
|
web: yarn start
|
||||||
|
walletd: node --trace-warnings walletd/index.js
|
|
@ -0,0 +1,7 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# install yarn
|
||||||
|
sudo npm install yarn -g
|
||||||
|
|
||||||
|
# build it
|
||||||
|
yarn build
|
|
@ -28,8 +28,8 @@ const options = {
|
||||||
}
|
}
|
||||||
}),
|
}),
|
||||||
Providers.Email({
|
Providers.Email({
|
||||||
server: process.env.EMAIL_SERVER,
|
server: process.env.LOGIN_EMAIL_SERVER,
|
||||||
from: process.env.EMAIL_FROM,
|
from: process.env.LOGIN_EMAIL_FROM,
|
||||||
profile: profile => {
|
profile: profile => {
|
||||||
return profile
|
return profile
|
||||||
}
|
}
|
||||||
|
|
|
@ -0,0 +1,2 @@
|
||||||
|
-- AlterTable
|
||||||
|
ALTER TABLE "users" ALTER COLUMN "name" DROP NOT NULL;
|
|
@ -14,7 +14,7 @@ model User {
|
||||||
id Int @id @default(autoincrement())
|
id Int @id @default(autoincrement())
|
||||||
createdAt DateTime @default(now()) @map(name: "created_at")
|
createdAt DateTime @default(now()) @map(name: "created_at")
|
||||||
updatedAt DateTime @default(now()) @updatedAt @map(name: "updated_at")
|
updatedAt DateTime @default(now()) @updatedAt @map(name: "updated_at")
|
||||||
name String @unique
|
name String? @unique
|
||||||
email String? @unique
|
email String? @unique
|
||||||
emailVerified DateTime? @map(name: "email_verified")
|
emailVerified DateTime? @map(name: "email_verified")
|
||||||
image String?
|
image String?
|
||||||
|
|
Loading…
Reference in New Issue