refactor: rename config table to system_config
This commit is contained in:
@@ -80,7 +80,7 @@ public partial class ModelRepository
|
||||
var system = await _db.QueryFirst<PKSystem>(conn, query, "returning *");
|
||||
_logger.Information("Created {SystemId}", system.Id);
|
||||
|
||||
var (q, pms) = ("insert into config (system) values (@system)", new { system = system.Id });
|
||||
var (q, pms) = ("insert into system_config (system) values (@system)", new { system = system.Id });
|
||||
|
||||
if (conn == null)
|
||||
await _db.Execute(conn => conn.QueryAsync(q, pms));
|
||||
|
||||
Reference in New Issue
Block a user