rename folders

This commit is contained in:
Christian Werner 2025-03-02 20:47:16 +01:00
parent 41b834dd08
commit 31c1f36744
5 changed files with 34 additions and 0 deletions

13
docker/docker-compose.yml Normal file
View File

@ -0,0 +1,13 @@
services:
db:
image: postgres:16.4
container_name: gandalf_reborn_db
restart: always
shm_size: 128mb
environment:
POSTGRES_PASSWORD: root
POSTGRES_USER: root
POSTGRES_DB: gandalf_reborn
ports:
- "5432:5432"

View File

@ -0,0 +1,3 @@
@echo off
set /p migrationName="Migration Name: "
dotnet ef migrations add %migrationName% --startup-project "../Api" --project "../Data" --context ApplicationContext

View File

@ -0,0 +1,3 @@
@echo off
dotnet ef database drop --force --startup-project "../Api" --project "../Data" --context ApplicationContext
dotnet ef database update --startup-project "../Api" --project "../Data" --context ApplicationContext

View File

@ -0,0 +1,2 @@
@echo off
dotnet ef database update --startup-project "../Api" --project "../Data" --context ApplicationContext

View File

@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="DataSourceManagerImpl" format="xml" multifile-model="true">
<data-source source="LOCAL" name="gandalf_reborn@localhost" uuid="bab9ebb9-1d19-47a6-99eb-3d08d269e026">
<driver-ref>postgresql</driver-ref>
<synchronize>true</synchronize>
<configured-by-url>true</configured-by-url>
<jdbc-driver>org.postgresql.Driver</jdbc-driver>
<jdbc-url>jdbc:postgresql://localhost:5432/gandalf_reborn?logServerErrorDetail=True&amp;password=root&amp;user=root</jdbc-url>
<working-dir>$ProjectFileDir$</working-dir>
</data-source>
</component>
</project>