schema: make User.password NOT NULL
This commit is contained in:
parent
f3656028f6
commit
c732b82976
@ -11,7 +11,7 @@ A user-friendly IRC bouncer.
|
|||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
sqlite3 jounce.db <schema.sql
|
sqlite3 jounce.db <schema.sql
|
||||||
# Insert users, networks, channels to database
|
go run ./cmd/jouncectl create-user jounce
|
||||||
go run ./cmd/jounce
|
go run ./cmd/jounce
|
||||||
|
|
||||||
## Contributing
|
## Contributing
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
CREATE TABLE User (
|
CREATE TABLE User (
|
||||||
username VARCHAR(255) PRIMARY KEY,
|
username VARCHAR(255) PRIMARY KEY,
|
||||||
password VARCHAR(255)
|
password VARCHAR(255) NOT NULL
|
||||||
);
|
);
|
||||||
|
|
||||||
CREATE TABLE Network (
|
CREATE TABLE Network (
|
||||||
|
Loading…
Reference in New Issue
Block a user