@cedarjs/cli 4.0.0-canary.13809 → 4.0.0-canary.13810

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.
@@ -56,11 +56,13 @@ DECLARE
56
56
  cmd record;
57
57
  schema_name text;
58
58
  table_name text;
59
+ ident_parts text[];
59
60
  BEGIN
60
61
  FOR cmd IN SELECT * FROM pg_event_trigger_ddl_commands() LOOP
61
62
  IF cmd.object_type = 'table' THEN
62
63
  schema_name := cmd.schema_name;
63
- table_name := regexp_replace(cmd.object_identity, '^.*\\.', '');
64
+ ident_parts := parse_ident(cmd.object_identity);
65
+ table_name := ident_parts[array_length(ident_parts, 1)];
64
66
 
65
67
  IF schema_name IS NULL THEN
66
68
  CONTINUE;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cedarjs/cli",
3
- "version": "4.0.0-canary.13809+f4d5684a29",
3
+ "version": "4.0.0-canary.13810+aff439035d",
4
4
  "description": "The CedarJS Command Line",
5
5
  "repository": {
6
6
  "type": "git",
@@ -33,16 +33,16 @@
33
33
  "dependencies": {
34
34
  "@babel/parser": "7.29.2",
35
35
  "@babel/preset-typescript": "7.28.5",
36
- "@cedarjs/api-server": "4.0.0-canary.13809",
37
- "@cedarjs/cli-helpers": "4.0.0-canary.13809",
38
- "@cedarjs/fastify-web": "4.0.0-canary.13809",
39
- "@cedarjs/internal": "4.0.0-canary.13809",
40
- "@cedarjs/prerender": "4.0.0-canary.13809",
41
- "@cedarjs/project-config": "4.0.0-canary.13809",
42
- "@cedarjs/structure": "4.0.0-canary.13809",
43
- "@cedarjs/telemetry": "4.0.0-canary.13809",
44
- "@cedarjs/utils": "4.0.0-canary.13809",
45
- "@cedarjs/web-server": "4.0.0-canary.13809",
36
+ "@cedarjs/api-server": "4.0.0-canary.13810",
37
+ "@cedarjs/cli-helpers": "4.0.0-canary.13810",
38
+ "@cedarjs/fastify-web": "4.0.0-canary.13810",
39
+ "@cedarjs/internal": "4.0.0-canary.13810",
40
+ "@cedarjs/prerender": "4.0.0-canary.13810",
41
+ "@cedarjs/project-config": "4.0.0-canary.13810",
42
+ "@cedarjs/structure": "4.0.0-canary.13810",
43
+ "@cedarjs/telemetry": "4.0.0-canary.13810",
44
+ "@cedarjs/utils": "4.0.0-canary.13810",
45
+ "@cedarjs/web-server": "4.0.0-canary.13810",
46
46
  "@listr2/prompt-adapter-enquirer": "4.2.1",
47
47
  "@opentelemetry/api": "1.9.0",
48
48
  "@opentelemetry/core": "1.30.1",
@@ -108,5 +108,5 @@
108
108
  "publishConfig": {
109
109
  "access": "public"
110
110
  },
111
- "gitHead": "f4d5684a29838388cab209670ad76ea613c6d190"
111
+ "gitHead": "aff439035df7d99cfefe30e24200c46bd9ab83c6"
112
112
  }