We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2b1db37 commit db5cdbcCopy full SHA for db5cdbc
scripts/migrate_to_sqlite
@@ -16,11 +16,11 @@ if __name__ == "__main__":
16
17
merged_files = [
18
x
19
- for x in Path("data").glob("merged_*.csv")
+ for x in sorted(Path("data").glob("merged_*.csv"))
20
if x.name.find("refer") == -1
21
]
22
if merged_files:
23
- model_list = [Clone, Traffic, Paths]
+ model_list = [Clone, Paths, Traffic]
24
for file, model in zip(merged_files, model_list):
25
db.migrate_csv(file, model=model, engine=engine)
26
else:
0 commit comments