add sql support

This commit is contained in:
2023-10-03 21:02:33 +02:00
parent 17ab0b1840
commit e794fc6032
7 changed files with 50 additions and 4 deletions

10
init_db.py Executable file
View File

@@ -0,0 +1,10 @@
#!/usr/bin/env python3
from freeriders import db
print('[i] Trying to create databse...')
try:
db.create_all()
print('[+] Success you can proceed with deployment!')
except:
print('[-] Creating db failed :/')