Max Mannstein e6671d19fb Add PaymentType column to Walks table in migration 20250706144607
- Introduced a new column 'PaymentType' of type INTEGER to the 'Walks' table.
- Set default value for 'PaymentType' to 0.
- Implemented migration methods to handle the addition and removal of the column.
2025-07-14 14:01:34 +02:00

37 lines
968 B
Plaintext

migrations:
dotnet ef migrations add XXX --project gehGassiApp.Data --startup-project gehGassiApp.DbConfig
dotnet ef database update --project gehGassiApp.Data --startup-project gehGassiApp.DbConfig
add-migration xxx -Project gehGassiApp.Data -StartupProject gehGassiApp.DbConfig
add-migration Initial -Project gehGassiApp.Data -StartupProject gehGassiApp.DbConfig
remove-migration -Project gehGassiApp.Data -StartupProject gehGassiApp.DbConfig
update-database -Project gehGassiApp.Data -StartupProject gehGassiApp.DbConfig
DB kopieren
https://libinjoseph.com/2019/access-your-sqlite/
com.creativebits.gmft.mobile
"/data/user/0/com.gehgassi.gehgassi/files/database.db"
adb shell
run-as com.gehgassi.gehgassi
cd files
ls
cp database.db /sdcard/database.db
exit
exit
adb pull /sdcard/database.db d:\Temp
Kopieren der aktuellen Version auf einen Folder im Emulator
adb push "D:\AndroidArchives\com.gehgassi.gehgassi_32.apk" /storage/emulated/0/Download