jdabtieu / CTFOJ

Lightweight CTF judge platform for capture-the-flag (CTF) clubs
GNU Affero General Public License v3.0
10 stars 5 forks source link

[TESTING] Change conftest.py to use INSTALL.py SQL schema #242

Closed jdabtieu closed 11 months ago

jdabtieu commented 11 months ago

Currently there are two sets of SQL schema, one in INSTALL.sh and another in conftest.py. This is kinda bad and there should only be one schema that both use.

Easy fix is to bring the create table commands from INSTALL.sh into another file and have both conftest and INSTALL read from that to create tables.