create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), data varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), data varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), data varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), data varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), data varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), data varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), data varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), data varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), data varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), data varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), data varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), data varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), data varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), data varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), data varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), data varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), data varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), data varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), data varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), data varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), data varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), data varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), data varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), data varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), data varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), data varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), data varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), data varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), data varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), data varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), data varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), data varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), data varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), data varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), data varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), data varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), data varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), data varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), data varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), data varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), data varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), data varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), data varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), data varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), data varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), data varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), data varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), data varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), data varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), data varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), data varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), data varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), data varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), data varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), data varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), data varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), data varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), data varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), data varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), data varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), data varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), data varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), data varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), data varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), data varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), data varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), data varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), data varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), data varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), data varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), data varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), data varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), data varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), data varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), data varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), data varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), data varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), data varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), data varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), data varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), data varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), data varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), data varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), data varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), data varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), data varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), data varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), data varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), data varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), data varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), data varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), data varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), data varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), data varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), data varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), data varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), data varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), data varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), data varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), data varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), data varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), data varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), data varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), data varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), data varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), data varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), data varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), data varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), data varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), data varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), data varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), data varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), data varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), data varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), data varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), data varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), data varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), data varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), data varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), data varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), data varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), data varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity_seq (next_val bigint) engine=InnoDB;
insert into image_entity_seq values ( 1 );
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null auto_increment, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, reset_token varchar(255), username varchar(255) not null, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, is_verified bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, is_verified bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, is_verified bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, is_verified bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, is_verified bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, is_verified bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, is_verified bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, is_verified bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, is_verified bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, is_verified bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, is_verified bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, is_verified bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, is_verified bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, is_verified bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, is_verified bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, is_verified bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, is_verified bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, is_verified bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, is_verified bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, is_verified bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, is_verified bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, is_verified bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, is_verified bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, is_verified bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, is_verified bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, is_verified bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, is_verified bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, is_verified bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, is_verified bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, is_verified bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, is_verified bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, is_verified integer, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, is_verified integer, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, renewals_enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
create table user_subscription (renewals_enabled bit not null, subscription_end_date date not null, subscription_start_date date not null, id bigint not null auto_increment, user_id bigint not null, payment_id varchar(255) not null, subscription_type varchar(255) not null, primary key (id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table user_subscription add constraint FKqxhvl0wcwdi54l9bhow0urtoj foreign key (user_id) references user_entity (user_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, renewals_enabled bit, reset_token_expiry datetime(6), user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
create table user_subscription (renewals_enabled bit not null, subscription_end_date date not null, subscription_start_date date not null, id bigint not null auto_increment, user_id bigint not null, payment_id varchar(255) not null, subscription_type varchar(255) not null, primary key (id)) engine=InnoDB;
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table user_subscription add constraint FKqxhvl0wcwdi54l9bhow0urtoj foreign key (user_id) references user_entity (user_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255) not null, primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255) not null, primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255) not null, primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255) not null, primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255) not null, primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255) not null, primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255) not null, primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255) not null, primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255) not null, primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255) not null, primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255) not null, primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255) not null, primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255) not null, primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255) not null, primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255) not null, primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255) not null, primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255) not null, primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255) not null, primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255) not null, primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255) not null, primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255) not null, primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255) not null, primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255) not null, primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255) not null, primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255) not null, primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255) not null, primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255) not null, primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255) not null, primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255) not null, primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255) not null, primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255) not null, primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255) not null, primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255) not null, primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255) not null, primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255) not null, primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255) not null, primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255) not null, primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255) not null, primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255) not null, primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255) not null, primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255) not null, primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255) not null, primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255) not null, primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255) not null, primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255) not null, primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255) not null, primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255) not null, primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255) not null, primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255) not null, primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table contact_message (id bigint not null auto_increment, message varchar(2000), email varchar(255), name varchar(255), phone_number varchar(255), attachment tinyblob, source_type enum ('WEBSITE','FRIEND','SOCIAL_MEDIA','OTHER'), primary key (id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table contact_message (id bigint not null auto_increment, message varchar(2000), email varchar(255), name varchar(255), phone_number varchar(255), attachment tinyblob, source_type enum ('WEBSITE','FRIEND','SOCIAL_MEDIA','OTHER'), primary key (id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table contact_message (id bigint not null auto_increment, message varchar(2000), email varchar(255), name varchar(255), phone_number varchar(255), attachment tinyblob, source_type enum ('WEBSITE','FRIEND','SOCIAL_MEDIA','OTHER'), primary key (id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table contact_message (id bigint not null auto_increment, message varchar(2000), email varchar(255), name varchar(255), phone_number varchar(255), attachment tinyblob, source_type enum ('WEBSITE','FRIEND','SOCIAL_MEDIA','OTHER'), primary key (id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table contact_message (id bigint not null auto_increment, message varchar(2000), email varchar(255), name varchar(255), phone_number varchar(255), attachment tinyblob, source_type enum ('WEBSITE','FRIEND','SOCIAL_MEDIA','OTHER'), primary key (id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table contact_message (id bigint not null auto_increment, message varchar(2000), email varchar(255), name varchar(255), phone_number varchar(255), attachment tinyblob, source_type enum ('WEBSITE','FRIEND','SOCIAL_MEDIA','OTHER'), primary key (id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table contact_message (id bigint not null auto_increment, message varchar(2000), email varchar(255), name varchar(255), phone_number varchar(255), attachment tinyblob, source_type enum ('WEBSITE','FRIEND','SOCIAL_MEDIA','OTHER'), primary key (id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table contact_form (id bigint not null auto_increment, message varchar(2000), email varchar(255), name varchar(255), phone_number varchar(255), attachment tinyblob, source_type enum ('WEBSITE','FRIEND','SOCIAL_MEDIA','OTHER'), primary key (id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table contact_form (id bigint not null auto_increment, message varchar(2000), email varchar(255), name varchar(255), phone_number varchar(255), attachment tinyblob, source_type enum ('WEBSITE','FRIEND','SOCIAL_MEDIA','OTHER'), primary key (id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table contact_form (id bigint not null auto_increment, message varchar(2000), email varchar(255), name varchar(255), phone_number varchar(255), attachment tinyblob, source_type enum ('WEBSITE','FRIEND','SOCIAL_MEDIA','OTHER'), primary key (id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table contact_form (id bigint not null auto_increment, message varchar(2000), email varchar(255), name varchar(255), phone_number varchar(255), attachment tinyblob, source_type enum ('WEBSITE','FRIEND','SOCIAL_MEDIA','OTHER'), primary key (id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table contact_form (id bigint not null auto_increment, message varchar(2000), email varchar(255), name varchar(255), phone_number varchar(255), attachment tinyblob, source_type enum ('WEBSITE','FRIEND','SOCIAL_MEDIA','OTHER'), primary key (id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table contact_form (id bigint not null auto_increment, message varchar(2000), email varchar(255), name varchar(255), phone_number varchar(255), attachment tinyblob, source_type enum ('WEBSITE','FRIEND','SOCIAL_MEDIA','OTHER'), primary key (id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table contact_form (id bigint not null auto_increment, message varchar(2000), email varchar(255), name varchar(255), phone_number varchar(255), attachment tinyblob, source_type enum ('WEBSITE','FRIEND','SOCIAL_MEDIA','OTHER'), primary key (id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table contact_form (id bigint not null auto_increment, message varchar(2000), email varchar(255), name varchar(255), phone_number varchar(255), attachment tinyblob, source_type enum ('WEBSITE','FRIEND','SOCIAL_MEDIA','OTHER'), primary key (id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table contact_form (id bigint not null auto_increment, message varchar(2000), email varchar(255), name varchar(255), phone_number varchar(255), attachment tinyblob, source_type enum ('WEBSITE','FRIEND','SOCIAL_MEDIA','OTHER'), primary key (id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table contact_form (id bigint not null auto_increment, message varchar(2000), email varchar(255), name varchar(255), phone_number varchar(255), attachment tinyblob, source_type enum ('WEBSITE','FRIEND','SOCIAL_MEDIA','OTHER'), primary key (id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table contact_form (id bigint not null auto_increment, message varchar(2000), email varchar(255), name varchar(255), phone_number varchar(255), attachment tinyblob, source_type enum ('WEBSITE','FRIEND','SOCIAL_MEDIA','OTHER'), primary key (id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table contact_form (id bigint not null auto_increment, message varchar(2000), email varchar(255), name varchar(255), phone_number varchar(255), attachment tinyblob, source_type enum ('WEBSITE','FRIEND','SOCIAL_MEDIA','OTHER'), primary key (id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table contact_form (id bigint not null auto_increment, message varchar(2000), email varchar(255), name varchar(255), phone_number varchar(255), attachment tinyblob, source_type enum ('WEBSITE','FRIEND','SOCIAL_MEDIA','OTHER'), primary key (id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table contact_form (id bigint not null auto_increment, message varchar(2000), email varchar(255), name varchar(255), phone_number varchar(255), attachment tinyblob, source_type enum ('WEBSITE','FRIEND','SOCIAL_MEDIA','OTHER'), primary key (id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table contact_form (id bigint not null auto_increment, message varchar(2000), email varchar(255), name varchar(255), phone_number varchar(255), attachment tinyblob, source_type enum ('WEBSITE','FRIEND','SOCIAL_MEDIA','OTHER'), primary key (id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table contact_form (id bigint not null auto_increment, message varchar(2000), email varchar(255), name varchar(255), phone_number varchar(255), attachment tinyblob, source_type enum ('WEBSITE','FRIEND','SOCIAL_MEDIA','OTHER'), primary key (id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table contact_form (id bigint not null auto_increment, message varchar(2000), email varchar(255), name varchar(255), phone_number varchar(255), attachment tinyblob, source_type enum ('WEBSITE','FRIEND','SOCIAL_MEDIA','OTHER'), primary key (id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table contact_form (id bigint not null auto_increment, message varchar(2000), email varchar(255), name varchar(255), phone_number varchar(255), attachment tinyblob, source_type enum ('WEBSITE','FRIEND','SOCIAL_MEDIA','OTHER'), primary key (id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table contact_form (id bigint not null auto_increment, message varchar(2000), email varchar(255), name varchar(255), phone_number varchar(255), attachment tinyblob, source_type enum ('WEBSITE','FRIEND','SOCIAL_MEDIA','OTHER'), primary key (id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table contact_form (id bigint not null auto_increment, message varchar(2000), email varchar(255), name varchar(255), phone_number varchar(255), attachment tinyblob, source_type enum ('WEBSITE','FRIEND','SOCIAL_MEDIA','OTHER'), primary key (id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table contact_form (id bigint not null auto_increment, message varchar(2000), email varchar(255), name varchar(255), phone_number varchar(255), attachment tinyblob, source_type enum ('WEBSITE','FRIEND','SOCIAL_MEDIA','OTHER'), primary key (id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table contact_form (id bigint not null auto_increment, message varchar(2000), email varchar(255), name varchar(255), phone_number varchar(255), attachment tinyblob, source_type enum ('WEBSITE','FRIEND','SOCIAL_MEDIA','OTHER'), primary key (id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table contact_form (id bigint not null auto_increment, message varchar(2000), email varchar(255), name varchar(255), phone_number varchar(255), attachment tinyblob, source_type enum ('WEBSITE','FRIEND','SOCIAL_MEDIA','OTHER'), primary key (id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table contact_form (id bigint not null auto_increment, message varchar(2000), email varchar(255), name varchar(255), phone_number varchar(255), attachment tinyblob, source_type enum ('WEBSITE','FRIEND','SOCIAL_MEDIA','OTHER'), primary key (id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table contact_form (id bigint not null auto_increment, message varchar(2000), email varchar(255), name varchar(255), phone_number varchar(255), attachment tinyblob, source_type enum ('WEBSITE','FRIEND','SOCIAL_MEDIA','OTHER'), primary key (id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table contact_form (id bigint not null auto_increment, message varchar(2000), email varchar(255), name varchar(255), phone_number varchar(255), attachment tinyblob, source_type enum ('WEBSITE','FRIEND','SOCIAL_MEDIA','OTHER'), primary key (id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table contact_form (id bigint not null auto_increment, message varchar(2000), email varchar(255), name varchar(255), phone_number varchar(255), attachment tinyblob, source_type enum ('WEBSITE','FRIEND','SOCIAL_MEDIA','OTHER'), primary key (id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table contact_form (id bigint not null auto_increment, message varchar(2000), email varchar(255), name varchar(255), phone_number varchar(255), attachment tinyblob, source_type enum ('WEBSITE','FRIEND','SOCIAL_MEDIA','OTHER'), primary key (id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table contact_form (id bigint not null auto_increment, message varchar(2000), email varchar(255), name varchar(255), phone_number varchar(255), attachment tinyblob, source_type enum ('WEBSITE','FRIEND','SOCIAL_MEDIA','OTHER'), primary key (id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table contact_form (id bigint not null auto_increment, message varchar(2000), email varchar(255), name varchar(255), phone_number varchar(255), attachment tinyblob, source_type enum ('WEBSITE','FRIEND','SOCIAL_MEDIA','OTHER'), primary key (id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table contact_form (id bigint not null auto_increment, message varchar(2000), email varchar(255), name varchar(255), phone_number varchar(255), attachment tinyblob, source_type enum ('WEBSITE','FRIEND','SOCIAL_MEDIA','OTHER'), primary key (id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table contact_form (id bigint not null auto_increment, message varchar(2000), email varchar(255), name varchar(255), phone_number varchar(255), attachment tinyblob, source_type enum ('WEBSITE','FRIEND','SOCIAL_MEDIA','OTHER'), primary key (id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table contact_form (id bigint not null auto_increment, message varchar(2000), email varchar(255), name varchar(255), phone_number varchar(255), attachment tinyblob, source_type enum ('WEBSITE','FRIEND','SOCIAL_MEDIA','OTHER'), primary key (id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table contact_form (id bigint not null auto_increment, message varchar(2000), email varchar(255), name varchar(255), phone_number varchar(255), attachment tinyblob, source_type enum ('WEBSITE','FRIEND','SOCIAL_MEDIA','OTHER'), primary key (id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table contact_form (id bigint not null auto_increment, message varchar(2000), email varchar(255), name varchar(255), phone_number varchar(255), attachment tinyblob, source_type enum ('WEBSITE','FRIEND','SOCIAL_MEDIA','OTHER'), primary key (id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table contact_form (id bigint not null auto_increment, message varchar(2000), email varchar(255), name varchar(255), phone_number varchar(255), attachment tinyblob, source_type enum ('WEBSITE','FRIEND','SOCIAL_MEDIA','OTHER'), primary key (id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table contact_form (id bigint not null auto_increment, message varchar(2000), email varchar(255), name varchar(255), phone_number varchar(255), attachment tinyblob, source_type enum ('WEBSITE','FRIEND','SOCIAL_MEDIA','OTHER'), primary key (id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table contact_form (id bigint not null auto_increment, message varchar(2000), email varchar(255), name varchar(255), phone_number varchar(255), attachment tinyblob, source_type enum ('WEBSITE','FRIEND','SOCIAL_MEDIA','OTHER'), primary key (id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
create table analytics (redirection_time float(53), analytics_id bigint not null auto_increment, url_shortener_id bigint not null, accept_language varchar(255), accept_types varchar(255), device_ip varchar(255), device_type varchar(255), timestamp varchar(255), timezone varchar(255), primary key (analytics_id)) engine=InnoDB;
create table contact_form (id bigint not null auto_increment, message varchar(2000), email varchar(255), name varchar(255), phone_number varchar(255), attachment tinyblob, source_type enum ('WEBSITE','FRIEND','SOCIAL_MEDIA','OTHER'), primary key (id)) engine=InnoDB;
create table image_entity (id bigint not null, content_type varchar(255), filename varchar(255), content varbinary(255), primary key (id)) engine=InnoDB;
create table otp_entity (email varchar(255), otp varchar(255), phone_number varchar(255), username varchar(255) not null, primary key (username)) engine=InnoDB;
create table subscription (plan_id bigint, subscription_id bigint not null auto_increment, user_id bigint, razorpay_subscription_id varchar(255), primary key (subscription_id)) engine=InnoDB;
create table subscription_payment (amount decimal(38,2) not null, payment_id bigint not null auto_increment, subscription_id bigint, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP not null, payment_status varchar(255) not null, primary key (payment_id)) engine=InnoDB;
create table subscription_plan (max_bio_pages integer not null, max_short_urls integer not null, price decimal(38,2), plan_id bigint not null auto_increment, plan_name varchar(255) not null, razorpay_plan_id varchar(255) not null, primary key (plan_id)) engine=InnoDB;
create table url_shortener (link_status integer, created_at DATE, hits bigint, id bigint not null auto_increment, unique_hits bigint, user_id bigint, qr_code varchar(2048), bio_content TEXT, link_type varchar(255), original_url varchar(255), password varchar(255), short_url varchar(255), primary key (id)) engine=InnoDB;
create table user_entity (account_non_expired bit, account_non_locked bit, credentials_non_expired bit, enabled bit, reset_token_expiry datetime(6), subscription_plan_id bigint, user_id bigint not null auto_increment, email varchar(255) not null, first_name varchar(255), last_name varchar(255), password varchar(255) not null, phone_number varchar(255), reset_token varchar(255), username varchar(255) not null, profile_picture BLOB, primary key (user_id)) engine=InnoDB;
alter table subscription_plan add constraint UK_4dneiys6m8dsy15p4u8sd7i8q unique (plan_name);
alter table user_entity add constraint UK_2jsk4eakd0rmvybo409wgwxuw unique (username);
alter table analytics add constraint FK1imt48hd0qslhxwt2gcoh92h1 foreign key (url_shortener_id) references url_shortener (id);
alter table subscription add constraint FKju63r3ajievxiwgrcn37feaky foreign key (plan_id) references subscription_plan (plan_id);
alter table subscription add constraint FKs15qr2nt1dwp539ek50si2ng5 foreign key (user_id) references user_entity (user_id);
alter table subscription_payment add constraint FK66b5ph31cubuycw4uhijbjlrn foreign key (subscription_id) references subscription (subscription_id);
alter table user_entity add constraint FK9hd25kb7d4hbx9rg5i4expj3o foreign key (subscription_plan_id) references subscription_plan (plan_id);
