Skip to content

Commit 8e622ed

Browse files
committed
PostgreSQL testing credentials
1 parent c895603 commit 8e622ed

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

config/testing.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
ADMINS = frozenset(['[email protected]'])
99

10-
SQLALCHEMY_DATABASE_URI = 'postgres://postgres:postgres@localhost/hwut_testing'
10+
SQLALCHEMY_DATABASE_URI = 'postgres://hwut_testing:hwut_testing@localhost/hwut_testing'
1111
DATABASE_CONNECT_OPTIONS = {}
1212

1313
SQLALCHEMY_TRACK_MODIFICATIONS = True

hwut_server/models/jobs.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ class Jobs(db.Model):
1010
created = db.Column(db.TIMESTAMP, nullable=False)
1111
uploaded = db.Column(db.TIMESTAMP, nullable=False)
1212
name = db.Column(db.Text)
13-
executable_file = relationship("ExecutableFile", cascade="all,delete", backref="parent")
13+
#executable_file = relationship("ExecutableFile", cascade="all,delete", backref="parent")
1414

1515
def __init__(self, created, uploaded, name):
1616
# 'id' auto increment

0 commit comments

Comments
 (0)