Skip to content

Commit

Permalink
configure sqlite path
Browse files Browse the repository at this point in the history
  • Loading branch information
Fogapod committed May 1, 2024
1 parent 5b1b0ad commit 8431207
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/migrate_postgres_to_sqlite.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ async def main() -> None:
password=input("password: "),
database=input("database: "),
)
conn = sqlite3.connect("pink.db")

sqlite_path = input("sqlite path: ")
conn = sqlite3.connect(sqlite_path)
db = conn.cursor()

with Path("schema.sql").open() as f:
Expand Down

0 comments on commit 8431207

Please sign in to comment.