Merge branch 'master' of https://repo.cimeyclust.com/CimeyClust/HabitTracker
This commit is contained in:
commit
53201c95ee
@ -44,7 +44,7 @@ if __name__ == "__main__":
|
|||||||
raise FileNotFoundError
|
raise FileNotFoundError
|
||||||
|
|
||||||
conn = sqlite3.connect("db.sqlite")
|
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'):
|
if not file.endswith('.sql'):
|
||||||
continue
|
continue
|
||||||
with open(os.path.join(os.path.dirname(__file__), 'migrations', file)) as migration:
|
with open(os.path.join(os.path.dirname(__file__), 'migrations', file)) as migration:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user