fix: actor tests
This commit is contained in:
@@ -115,7 +115,7 @@ CREATE TABLE IF NOT EXISTS actors (
|
||||
-- Constraints
|
||||
CONSTRAINT actors_story_actor_id_unique UNIQUE (story_id, actor_id),
|
||||
CONSTRAINT actors_story_id_exists CHECK (story_id > 0),
|
||||
CONSTRAINT actors_actor_id_pattern CHECK (actor_id ~ '^[a-z][0-9-]{2,61}[0-9]$'),
|
||||
CONSTRAINT actors_actor_id_pattern CHECK (actor_id ~ '^[a-z][0-9a-z-]{2,61}[0-9a-z]$'),
|
||||
CONSTRAINT actors_etag_pattern CHECK (char_length(etag) > 0)
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user