【文件属性】:
文件名称:hasura-auth::locked_with_key:Hasura身份验证:locked_with_key:
文件大小:104KB
文件格式:ZIP
更新时间:2021-05-02 16:12:29
TypeScript
Hasura Auth [WIP]
受到启发
设置
为用户管理创建表和初始状态。
CREATE EXTENSION IF NOT EXISTS citext WITH SCHEMA public;
CREATE TABLE " role " (
name text NOT NULL PRIMARY KEY ,
created_at timestamp with time zone NOT NULL DEFAULT now()
);
INSERT INTO " role " ( " name " ) VALUES ( ' user ' );
CREATE TABLE " organization " (
id uuid DEFAULT gen_random_uuid() NOT NULL CONSTRAINT organization_pkey PRIMARY KEY ,
【文件预览】:
hasura-auth-master
----wait-for(1KB)
----.dockerignore(136B)
----.env(448B)
----yarn.lock(187KB)
----src()
--------resolvers.ts(6KB)
--------app.ts(2KB)
--------typeDefs.ts(1KB)
--------auth-tools.ts(1KB)
--------index.ts(187B)
--------vars.ts(1KB)
--------__tests__()
--------hasura()
--------custom-logic.ts(193B)
----docker-compose.development.yaml(287B)
----Dockerfile(194B)
----examples()
--------with-docker-compose()
----tsconfig.json(5KB)
----LICENSE(1KB)
----jest.config.js(257B)
----.prettierrc(68B)
----tslint.json(1KB)
----.env.test(239B)
----README.md(5KB)
----docker-compose.yaml(1KB)
----.gitignore(1KB)
----package.json(2KB)