postgresai 0.18.0-dev.13 → 0.18.0-dev.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +16 -6
- package/dist/bin/postgres-ai.js +675 -79
- package/dist/sql/01.role.sql +1 -3
- package/package.json +1 -1
- package/sql/01.role.sql +1 -3
package/dist/sql/01.role.sql
CHANGED
|
@@ -6,12 +6,10 @@
|
|
|
6
6
|
-- if not exists (select 1 from pg_catalog.pg_roles where rolname = '...') then
|
|
7
7
|
-- begin
|
|
8
8
|
-- create user "..." with password '...';
|
|
9
|
-
-- exception when duplicate_object then
|
|
9
|
+
-- exception when duplicate_object or unique_violation then
|
|
10
10
|
-- null;
|
|
11
11
|
-- end;
|
|
12
12
|
-- end if;
|
|
13
13
|
-- alter user "..." with password '...';
|
|
14
14
|
-- end $$;
|
|
15
15
|
{{ROLE_STMT}}
|
|
16
|
-
|
|
17
|
-
|
package/package.json
CHANGED
package/sql/01.role.sql
CHANGED
|
@@ -6,12 +6,10 @@
|
|
|
6
6
|
-- if not exists (select 1 from pg_catalog.pg_roles where rolname = '...') then
|
|
7
7
|
-- begin
|
|
8
8
|
-- create user "..." with password '...';
|
|
9
|
-
-- exception when duplicate_object then
|
|
9
|
+
-- exception when duplicate_object or unique_violation then
|
|
10
10
|
-- null;
|
|
11
11
|
-- end;
|
|
12
12
|
-- end if;
|
|
13
13
|
-- alter user "..." with password '...';
|
|
14
14
|
-- end $$;
|
|
15
15
|
{{ROLE_STMT}}
|
|
16
|
-
|
|
17
|
-
|