lootaherra tuotanto identifier

This commit is contained in:
Jani Pulkkinen
2025-06-29 15:59:36 +03:00
parent 7a00c82274
commit 3cbb36d252
4 changed files with 10 additions and 2 deletions

2
.env
View File

@@ -1 +1 @@
DATABASE_URL=postgres://postgres:postgres@localhost:6666/lootakalenteri
DATABASE_URL=postgres://postgres:postgres@localhost:5432/lootakalenteri

View File

@@ -6,4 +6,4 @@ file = "src/schema.rs"
custom_type_derives = ["diesel::query_builder::QueryId", "Clone"]
[migrations_directory]
dir = "<koodi kansion koko polku>/lootakalenteri-backend/migrations"
dir = "/var/www/lootakalenteri-backend/migrations"

View File

@@ -0,0 +1,3 @@
-- This file should undo anything in `up.sql`
delete from loota_admin;

View File

@@ -0,0 +1,5 @@
-- Your SQL goes here
delete from loota_admin;
insert into loota_admin (identifier) values ( 'nfBa32sd521');