rewrite migrations

+ delete older migrations ... oops
+ change migratrions from "migrations" to "dbmigrations"
+ restructure migrations, order them based on release version
+ add a utils/decorators.py file with a coroutine decorator
This commit is contained in:
mungai-njoroge
2023-07-29 06:46:28 +03:00
parent a0c51d5f82
commit 93de3d2f0c
19 changed files with 327 additions and 288 deletions
+1
View File
@@ -25,3 +25,4 @@ def date_string_to_time_passed(prev_date: str) -> str:
now = pendulum.now()
return now.subtract(seconds=seconds).diff_for_humans()