Skip to content
Permalink
Browse files
Add script to empty tests table
  • Loading branch information
Pieter committed Jul 25, 2020
1 parent d18698a commit 2f0e1ad60e6518174e925c0981dc308abf08652c
Showing 1 changed file with 8 additions and 0 deletions.
@@ -0,0 +1,8 @@
#!/usr/bin/python3

import sqlite3

con = sqlite3.connect("/var/www/db/havedane.net.sqlite3")
cur = con.cursor()
cur.execute("DELETE FROM tests")
con.commit()

0 comments on commit 2f0e1ad

Please sign in to comment.