samihsoylu / journal

Journal is a privacy first, self hosted digital log book. It is designed to be accessible anywhere you go, allowing you to organize your thoughts, feelings and opinions in one place.
GNU General Public License v3.0
66 stars 5 forks source link

Refactor migrations to exclude ORM usage, resolving errors caused by … #37

Closed samihsoylu closed 9 months ago

samihsoylu commented 9 months ago

…evolving Entity structures

Updated the migration approach to avoid using the ORM, as it was leading to issues when Entity structures were modified. Specifically, when the ORM was used to select data from the database, it triggered errors if a column was missing, yet this column was intended to be added in a subsequent migration. This change ensures more robust and error-free migrations.