summaryrefslogtreecommitdiff
path: root/query
diff options
context:
space:
mode:
authorKyren223 <Kyren223@proton.me>2024-11-26 11:35:56 +0200
committerKyren223 <Kyren223@proton.me>2024-11-26 11:35:56 +0200
commit49ea3d630ba72a68cd55d9bdb2d9af30b062c6a4 (patch)
tree923e124d187988e7cb2f2a071bbd071405267425 /query
parent3cea06b99197778c80226de40b2acae734422834 (diff)
Network table schema bg_hex_color cannot be null
Diffstat (limited to 'query')
-rw-r--r--query/networks.sql3
1 files changed, 2 insertions, 1 deletions
diff --git a/query/networks.sql b/query/networks.sql
index 7a6ccc4..9ff350e 100644
--- a/query/networks.sql
+++ b/query/networks.sql
@@ -11,7 +11,8 @@ INSERT INTO networks (
id, owner_id, name, is_public,
icon, bg_hex_color, fg_hex_color
) VALUES (
- ?, ?, ?, ?, ?, ?, ?
+ ?, ?, ?, ?,
+ ?, ?, ?
)
RETURNING *;