Add profile whitelist (#160)

* Add whitelisted field to profile table

* Fix adding whitelisted field to profile, itest passes now
This commit is contained in:
Jonathan Zernik 2020-07-28 02:05:33 -07:00 committed by GitHub
parent b207469046
commit 06e642b19c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 13 additions and 4 deletions

View file

@ -29,5 +29,6 @@ CREATE TABLE IF NOT EXISTS profile (
private_key bytea,
address VARCHAR(35) UNIQUE NOT NULL, -- Maximum length of a bitcoin address is 35.
sharing BOOLEAN NOT NULL,
following BOOLEAN NOT NULL
following BOOLEAN NOT NULL,
whitelisted BOOLEAN NOT NULL
);