This commit is contained in:
Yax 2022-04-27 03:12:01 +02:00
parent c75fa2f669
commit 8e51d7b745
4 changed files with 124 additions and 4 deletions

View file

@ -7,7 +7,8 @@ connection = sqlite3.connect("db.sqlite")
cursor = connection.cursor()
# What script performs:
# - first, remove site table: crash here if table doesn't exist (compatibility test without effort)
# - first, remove site table: crash here if table doesn't exist
# (compatibility test without effort)
# - remove site_id column from comment table
script = """
PRAGMA foreign_keys = OFF;