Skip to content

ur_ingest_resource_path_rewrite_rule

Description

A regular expression can determine whether certain paths should be
rewritten before ur_ingest_resource_path_match_rule matches occur.

Table Definition
CREATE TABLE "ur_ingest_resource_path_rewrite_rule" (
"ur_ingest_resource_path_rewrite_rule_id" VARCHAR PRIMARY KEY NOT NULL,
"namespace" TEXT NOT NULL,
"regex" TEXT NOT NULL,
"replace" TEXT NOT NULL,
"priority" TEXT,
"description" TEXT,
"elaboration" TEXT CHECK(json_valid(elaboration) OR elaboration IS NULL),
"created_at" TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
"created_by" TEXT DEFAULT 'UNKNOWN',
"updated_at" TIMESTAMP,
"updated_by" TEXT,
"deleted_at" TIMESTAMP,
"deleted_by" TEXT,
"activity_log" TEXT,
UNIQUE("namespace", "regex", "replace")
)

Columns

NameTypeDefaultNullableComment
ur_ingest_resource_path_rewrite_rule_idVARCHARfalse{“isSqlDomainZodDescrMeta”:true ,“isVarChar”:true }
namespaceTEXTfalse
regexTEXTfalse
replaceTEXTfalse
priorityTEXTtrue
descriptionTEXTtrue
elaborationTEXTtrue{“isSqlDomainZodDescrMeta”:true ,“isJsonText”:true }
created_atTIMESTAMPCURRENT_TIMESTAMPtrue
created_byTEXT’UNKNOWN’true
updated_atTIMESTAMPtrue
updated_byTEXTtrue
deleted_atTIMESTAMPtrue
deleted_byTEXTtrue
activity_logTEXTtrue{“isSqlDomainZodDescrMeta”:true ,“isJsonSqlDomain”:true }

Constraints

NameTypeDefinition
ur_ingest_resource_path_rewrite_rule_idPRIMARY KEYPRIMARY KEY (ur_ingest_resource_path_rewrite_rule_id)
sqlite_autoindex_ur_ingest_resource_path_rewrite_rule_2UNIQUEUNIQUE (namespace, regex, replace)
sqlite_autoindex_ur_ingest_resource_path_rewrite_rule_1PRIMARY KEYPRIMARY KEY (ur_ingest_resource_path_rewrite_rule_id)
-CHECKCHECK(json_valid(elaboration) OR elaboration IS NULL)

Indexes

NameDefinition
sqlite_autoindex_ur_ingest_resource_path_rewrite_rule_2UNIQUE (namespace, regex, replace)
sqlite_autoindex_ur_ingest_resource_path_rewrite_rule_1PRIMARY KEY (ur_ingest_resource_path_rewrite_rule_id)

Relations

er