schema: make User.password NOT NULL

git-svn-id: file:///srv/svn/repo/suika/trunk@86 f0ae65fe-ee39-954e-97ec-027ff2717ef4
This commit is contained in:
contact 2020-03-12 14:23:46 +00:00
parent ebad23e080
commit 4b38c644b2
2 changed files with 2 additions and 2 deletions

View File

@ -11,7 +11,7 @@ A user-friendly IRC bouncer.
## Usage
sqlite3 jounce.db <schema.sql
# Insert users, networks, channels to database
go run ./cmd/jouncectl create-user jounce
go run ./cmd/jounce
## Contributing

View File

@ -1,6 +1,6 @@
CREATE TABLE User (
username VARCHAR(255) PRIMARY KEY,
password VARCHAR(255)
password VARCHAR(255) NOT NULL
);
CREATE TABLE Network (