Merge pull request #514 from dex-ethics/docs
Minor changes in documentation
This commit is contained in:
@@ -251,7 +251,7 @@ basic_auth.send_validation() returns trigger
|
|||||||
declare
|
declare
|
||||||
tok uuid;
|
tok uuid;
|
||||||
begin
|
begin
|
||||||
select uuid_generate_v4() into tok;
|
select gen_random_uuid() into tok;
|
||||||
insert into basic_auth.tokens (token, token_type, email)
|
insert into basic_auth.tokens (token, token_type, email)
|
||||||
values (tok, 'validation', new.email);
|
values (tok, 'validation', new.email);
|
||||||
perform pg_notify('validate',
|
perform pg_notify('validate',
|
||||||
|
|||||||
@@ -55,7 +55,8 @@ sudo apt-get install -y libpq-dev
|
|||||||
```bash
|
```bash
|
||||||
git clone https://github.com/begriffs/postgrest.git
|
git clone https://github.com/begriffs/postgrest.git
|
||||||
cd postgrest
|
cd postgrest
|
||||||
sudo stack install --install-ghc --local-bin-path /usr/local/bin
|
stack build --install-ghc
|
||||||
|
sudo stack install --allow-different-user --local-bin-path /usr/local/bin
|
||||||
```
|
```
|
||||||
|
|
||||||
* Run the server
|
* Run the server
|
||||||
|
|||||||
Reference in New Issue
Block a user