Auto create Server
AliusDieMorietur opened this issue · 1 comments
AliusDieMorietur commented
We need await pool.query( INSERT INTO "Server" ( "id", "name", "suffix", "ip", "ports" ) VALUES ( $1, 'mylovelyserver', 'suffix', '127.0.0.1', '{"ports": [8001, 8002]}' ), [serverId] );
on db creation
tshemsedinov commented
This should be done from deploy script not a part of model generation