Skip to content

Commit

Permalink
remove search_text column
Browse files Browse the repository at this point in the history
  • Loading branch information
dmytro-landiak committed Dec 17, 2024
1 parent 201cfe0 commit 07136f3
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions dao/src/main/resources/sql/schema-entities.sql
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,7 @@ CREATE TABLE IF NOT EXISTS broker_user (
authority varchar(255),
email varchar(255) UNIQUE,
first_name varchar(255),
last_name varchar(255),
search_text varchar(255)
last_name varchar(255)
);

CREATE TABLE IF NOT EXISTS user_credentials (
Expand All @@ -70,7 +69,6 @@ CREATE TABLE IF NOT EXISTS mqtt_client_credentials (
credentials_id varchar,
credentials_type varchar(255),
credentials_value varchar,
search_text varchar(255),
CONSTRAINT mqtt_client_credentials_id_unq_key UNIQUE (credentials_id)
);

Expand All @@ -93,7 +91,6 @@ CREATE TABLE IF NOT EXISTS application_shared_subscription (
topic varchar NOT NULL,
partitions int NOT NULL,
name varchar(255),
search_text varchar(255),
CONSTRAINT application_shared_subscription_topic_unq_key UNIQUE (topic)
);

Expand Down Expand Up @@ -125,7 +122,6 @@ CREATE TABLE IF NOT EXISTS websocket_connection (
name varchar (255) NOT NULL,
user_id uuid NOT NULL,
configuration jsonb,
search_text varchar (255),
CONSTRAINT name_unq_key UNIQUE (user_id, name),
CONSTRAINT fk_user_id
FOREIGN KEY (user_id) REFERENCES broker_user (id) ON DELETE CASCADE
Expand Down

0 comments on commit 07136f3

Please sign in to comment.