Skip to content

Commit

Permalink
Update DB docs
Browse files Browse the repository at this point in the history
  • Loading branch information
theory committed Jan 16, 2024
1 parent b6fdd78 commit f60ae5d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions bin/gendoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
#!/usr/bin/env perl -w

# cpanm --notest Text::MultiMarkdown
# plenv rehash
# /bin/gendoc --title 'PGXN Manager Database API' --toc sql/*.sql | MultiMarkdown.pl pbcopy

use 5.10.0;
use Getopt::Long;
our $VERSION = '0.02';
Expand Down
3 changes: 2 additions & 1 deletion sql/16-user-funcs.sql
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ BEGIN;

-- Utilityt function to create the password salt, so it can be quickly swapped
-- for new algorithms in the future.
CREATE OR REPLACE FUNCTION _salt() RETURNS TEXT LANGUAGE SQL AS $$
CREATE OR REPLACE FUNCTION _salt(
) RETURNS TEXT LANGUAGE SQL AS $$
SELECT gen_salt('bf', 9);
$$;

Expand Down

0 comments on commit f60ae5d

Please sign in to comment.