diff options
| author | 2022-05-01 22:21:53 +0100 | |
|---|---|---|
| committer | 2022-05-01 22:21:53 +0100 | |
| commit | 98e2cf6b242461dfec6d5983a5a0b175e69401dc (patch) | |
| tree | dfe57ca933cf425b74db09daad4a26f70dd15cda /docs/sql/sqloper/pgsql.sql | |
| parent | Rewrite logging calls to use the new APIs. (diff) | |
Shuffle the sql schemas around a bit.
Diffstat (limited to 'docs/sql/sqloper/pgsql.sql')
| -rw-r--r-- | docs/sql/sqloper/pgsql.sql | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/docs/sql/sqloper/pgsql.sql b/docs/sql/sqloper/pgsql.sql new file mode 100644 index 000000000..954bc84fa --- /dev/null +++ b/docs/sql/sqloper/pgsql.sql @@ -0,0 +1,13 @@ +CREATE TABLE ircd_opers ( + "id" serial NOT NULL, + "name" text NOT NULL, + "password" text NOT NULL, + "hash" text, + "host" text NOT NULL, + "type" text NOT NULL, + "fingerprint" text, + "autologin" smallint NOT NULL DEFAULT 0, + "active" smallint NOT NULL DEFAULT 1 +); +ALTER TABLE ONLY ircd_opers + ADD CONSTRAINT ircd_opers_pkey PRIMARY KEY (id); |
