rename model

This commit is contained in:
counterweight 2025-02-11 23:27:51 +01:00
parent 9ed583ecdb
commit a958842bf6
Signed by: counterweight
GPG key ID: 883EDBAA726BD96C
2 changed files with 5 additions and 5 deletions

View file

@ -17,13 +17,13 @@ POSTGRES_CONTAINER_NAME=$(docker compose ps -q postgres | xargs docker inspect -
# Connect to the Postgres container and insert the fake record into the app_invite table
docker exec -i "$POSTGRES_CONTAINER_NAME" psql -v -U "$POSTGRES_USER" -d "$POSTGRES_DB" -h localhost -p 5432 -c "
INSERT INTO app_invite (uuid, inviter_npub, created_at)
INSERT INTO app_invite_created (uuid, inviter_npub, created_at)
VALUES ('$UUID', '$INVITER_NPUB', '$CREATED_AT')
RETURNING *;
"
# Print the generated values
echo "Inserted app_invite Record:"
echo "Inserted app_invite_created Record:"
echo "UUID: $UUID"
echo "Inviter Npub: $INVITER_NPUB"
echo "Created At: $CREATED_AT"