schema: make User.password NOT NULL

This commit is contained in:
Simon Ser 2020-03-12 15:23:46 +01:00
parent f3656028f6
commit c732b82976
No known key found for this signature in database
GPG Key ID: 0FDE7BE0E88F5E48
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 (