This commit is contained in:
Yapollon 2024-01-16 11:11:47 +01:00
commit 53201c95ee

View File

@ -44,7 +44,7 @@ if __name__ == "__main__":
raise FileNotFoundError
conn = sqlite3.connect("db.sqlite")
for file in os.listdir(migrations_path):
for file in sorted(os.listdir(migrations_path)):
if not file.endswith('.sql'):
continue
with open(os.path.join(os.path.dirname(__file__), 'migrations', file)) as migration: