write sample migration structure

This commit is contained in:
geoffrey45 committed 2023-02-07 23:48:59 +03:00
1 parent 0b0ff4218a
commit 1be60f73e4
6 files changed
+41 -2

No files matched your search

+4
View File
@@ -0,0 +1,4 @@
from .sample import SampleMigrationModel
main_db_migrations = [SampleMigrationModel]
+6
View File
@@ -0,0 +1,6 @@
class SampleMigrationModel:
version = 1
@staticmethod
def migrate():
print("executing sample main db migration")