Fix set followed method (#168)

* Fix set followed rpc method

* Fix get followed squeaks method
This commit is contained in:
Jonathan Zernik 2020-07-29 16:53:52 -07:00 committed by GitHub
parent b39bb94a92
commit 3543f498cc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 103 additions and 30 deletions

View file

@ -28,7 +28,7 @@ CREATE TABLE IF NOT EXISTS profile (
profile_name VARCHAR(64) NOT NULL,
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,
shared BOOLEAN NOT NULL,
followed BOOLEAN NOT NULL,
whitelisted BOOLEAN NOT NULL
);