Added: Full Postgres Support
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import pandas as pd
|
||||
import pprint
|
||||
import sys
|
||||
import sys
|
||||
import getpass
|
||||
sys.path.append('../learnlytics/')
|
||||
from dbmodel import *
|
||||
|
||||
@@ -32,7 +33,9 @@ groups = {
|
||||
|
||||
print(df)
|
||||
#init_db('WiSe_24_25.db')
|
||||
init_postgres('postgresql://admin:admin@100.96.135.91/learnlytics')
|
||||
name = getpass.getuser()
|
||||
create_database(name)
|
||||
init_postgres(name, 'postgres.cyperpunk.de', 'dergrumpf', '1P2h3i4lon$%', 5432)
|
||||
db.drop_tables(tables)
|
||||
db.create_tables(tables)
|
||||
# Create Class
|
||||
|
Reference in New Issue
Block a user