Update
This commit is contained in:
@@ -490,6 +490,16 @@ create table if not exists b_landing_block_last_used
|
||||
INDEX IX_B_BLOCK_LU_USER_CODE (USER_ID, CODE)
|
||||
);
|
||||
|
||||
create table if not exists b_landing_block_favourite
|
||||
(
|
||||
ID int(18) not null auto_increment,
|
||||
USER_ID int(18) not null,
|
||||
CODE varchar(255) not null,
|
||||
DATE_CREATE timestamp not null default CURRENT_TIMESTAMP,
|
||||
PRIMARY KEY(ID),
|
||||
INDEX IX_B_BLOCK_LU_USER (USER_ID)
|
||||
);
|
||||
|
||||
create table if not exists b_landing_history
|
||||
(
|
||||
ID int(18) not null auto_increment,
|
||||
|
||||
@@ -4,6 +4,7 @@ drop table if exists b_landing_domain;
|
||||
drop table if exists b_landing_template;
|
||||
drop table if exists b_landing_template_ref;
|
||||
drop table if exists b_landing_block;
|
||||
drop table if exists b_landing_block_favourite;
|
||||
drop table if exists b_landing_repo;
|
||||
drop table if exists b_landing_hook_data;
|
||||
drop table if exists b_landing_file;
|
||||
|
||||
@@ -497,6 +497,16 @@ CREATE INDEX ix_b_landing_block_last_used_user_id ON b_landing_block_last_used (
|
||||
CREATE INDEX ix_b_landing_block_last_used_code ON b_landing_block_last_used (code);
|
||||
CREATE INDEX ix_b_landing_block_last_used_user_id_code ON b_landing_block_last_used (user_id, code);
|
||||
|
||||
CREATE TABLE b_landing_block_favourite
|
||||
(
|
||||
ID int GENERATED BY DEFAULT AS IDENTITY NOT NULL,
|
||||
USER_ID int NOT NULL,
|
||||
CODE varchar(255) NOT NULL,
|
||||
DATE_CREATE timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
||||
PRIMARY KEY (ID)
|
||||
);
|
||||
CREATE INDEX ix_b_landing_block_favourite_user_id ON b_landing_block_favourite (user_id);
|
||||
|
||||
CREATE TABLE b_landing_history
|
||||
(
|
||||
ID int GENERATED BY DEFAULT AS IDENTITY NOT NULL,
|
||||
|
||||
@@ -4,6 +4,7 @@ drop table if exists b_landing_domain;
|
||||
drop table if exists b_landing_template;
|
||||
drop table if exists b_landing_template_ref;
|
||||
drop table if exists b_landing_block;
|
||||
drop table if exists b_landing_block_favourite;
|
||||
drop table if exists b_landing_repo;
|
||||
drop table if exists b_landing_hook_data;
|
||||
drop table if exists b_landing_file;
|
||||
|
||||
Reference in New Issue
Block a user