diff --git a/.gitignore b/.gitignore index 0256955..ae9d7f6 100644 --- a/.gitignore +++ b/.gitignore @@ -195,7 +195,7 @@ pytestdebug.log # Django stuff: *.log local_settings.py -db.sqlite3 +db/ db.sqlite3-journal # Flask stuff: @@ -272,4 +272,4 @@ dmypy.json # End of https://www.toptal.com/developers/gitignore/api/osx,pycharm,python .idea -db/ +static/ diff --git a/migration.py b/migration.py index 23a78ae..b716f61 100644 --- a/migration.py +++ b/migration.py @@ -2,8 +2,8 @@ import sqlite3 def main(): - writefreely = sqlite3.connect("writefreely.db") - db = sqlite3.connect("db.sqlite3") + writefreely = sqlite3.connect("db/writefreely.db") + db = sqlite3.connect("db/db.sqlite3") writefreely_c = writefreely.cursor() db_c = db.cursor() writefreely_c.execute(