+ Badges introduction to database schemas

+ Adding some default empty list values where applicable
neighbors now has a default value of '[]' to enforce the "empty list" constraint on that field
This commit is contained in:
shockrah
2021-05-17 15:50:53 -07:00
parent e5e0875037
commit 36dbc8dd1e
5 changed files with 12 additions and 1 deletions

View File

@@ -6,5 +6,5 @@ CREATE TABLE IF NOT EXISTS `neighbors`(
`wsurl` VARCHAR(512),
`name` VARCHAR(512) NOT NULL,
`description` VARCHAR(1024),
`tags` VARCHAR(1024)
`tags` VARCHAR(1024) DEFAULT '[]'
);