refactor: replace Spring Boot with Jooby framework
- Remove Spring Boot dependencies and annotations. - Implement Jooby MVC controllers and Guice dependency injection. - Migrate persistence layer to Ebean ORM. - Configure Flyway migrations and ApiErrorController. - Update application configuration to HOCON format.
This commit is contained in:
@@ -0,0 +1,168 @@
|
||||
create table personal
|
||||
(
|
||||
id bigint not null
|
||||
primary key,
|
||||
avatar varchar(255),
|
||||
bio varchar(255),
|
||||
email varchar(255),
|
||||
location varchar(255),
|
||||
name varchar(255),
|
||||
phone varchar(255),
|
||||
subtitle varchar(255),
|
||||
title varchar(255)
|
||||
);
|
||||
|
||||
create table personal_social_link
|
||||
(
|
||||
id bigint not null
|
||||
primary key,
|
||||
platform varchar(255),
|
||||
url varchar(255),
|
||||
personal_id bigint not null
|
||||
constraint fkfh1pbfvvg3palcr1yip6jffik
|
||||
references personal
|
||||
);
|
||||
|
||||
create table profile
|
||||
(
|
||||
id bigint not null
|
||||
primary key,
|
||||
avatar varchar(255),
|
||||
bio varchar(4000),
|
||||
email varchar(255),
|
||||
location varchar(255),
|
||||
name varchar(255),
|
||||
phone varchar(255),
|
||||
slug varchar(255),
|
||||
subtitle varchar(255),
|
||||
title varchar(255)
|
||||
);
|
||||
|
||||
create table certification
|
||||
(
|
||||
id bigint not null
|
||||
primary key,
|
||||
credential_id varchar(255),
|
||||
date varchar(255),
|
||||
issuer varchar(255),
|
||||
name varchar(255),
|
||||
profile_id bigint not null
|
||||
constraint fko6ve4ysx15lc2vcjt84sal1yc
|
||||
references profile
|
||||
);
|
||||
|
||||
create table education
|
||||
(
|
||||
id bigint not null
|
||||
primary key,
|
||||
degree varchar(255),
|
||||
description varchar,
|
||||
grade varchar(255),
|
||||
institution varchar(255),
|
||||
period varchar(255),
|
||||
profile_id bigint not null
|
||||
constraint fkelocxwwcyf5acj85hgke1c0fl
|
||||
references profile
|
||||
);
|
||||
|
||||
create table experience
|
||||
(
|
||||
id bigint not null
|
||||
primary key,
|
||||
company varchar(255),
|
||||
description varchar,
|
||||
location varchar(255),
|
||||
period varchar(255),
|
||||
position varchar(255),
|
||||
profile_id bigint not null
|
||||
constraint fkhlkosu9yvtv1ptp01x4tfh9ut
|
||||
references profile
|
||||
);
|
||||
|
||||
create table experience_achievement
|
||||
(
|
||||
id bigint not null
|
||||
primary key,
|
||||
description varchar,
|
||||
experience_id bigint
|
||||
constraint fk94xrk6stofkung8skwplo29nd
|
||||
references experience
|
||||
);
|
||||
|
||||
create table experience_skill
|
||||
(
|
||||
id bigint not null
|
||||
primary key,
|
||||
name varchar(255),
|
||||
experience_id bigint
|
||||
constraint fkpr3jdfjjlaubuayoafpwyx2al
|
||||
references experience
|
||||
);
|
||||
|
||||
create table profile_social_link
|
||||
(
|
||||
id bigint not null
|
||||
primary key,
|
||||
platform varchar(255),
|
||||
url varchar(255),
|
||||
profile_id bigint not null
|
||||
constraint fkqfxt1g0xm211i7qjnlcuqfes9
|
||||
references profile
|
||||
);
|
||||
|
||||
create table project
|
||||
(
|
||||
id bigint not null
|
||||
primary key,
|
||||
demo varchar(255),
|
||||
description varchar(255),
|
||||
image varchar(255),
|
||||
repository varchar(255),
|
||||
title varchar(255),
|
||||
profile_id bigint not null
|
||||
constraint fk2i9umkiuu36osx3afamsxq39h
|
||||
references profile
|
||||
);
|
||||
|
||||
create table project_feature
|
||||
(
|
||||
id bigint not null
|
||||
primary key,
|
||||
name varchar(255),
|
||||
project_id bigint
|
||||
constraint fkdifppyvrfito5in15ox4db0up
|
||||
references project
|
||||
);
|
||||
|
||||
create table project_feature_technology
|
||||
(
|
||||
id bigint not null
|
||||
primary key,
|
||||
name varchar(255),
|
||||
project_id bigint
|
||||
constraint fk15krsajtovetpg5vsaqj3icwf
|
||||
references project
|
||||
);
|
||||
|
||||
create table skill_group
|
||||
(
|
||||
id bigint not null
|
||||
primary key,
|
||||
icon varchar(255),
|
||||
name varchar(255),
|
||||
profile_id bigint not null
|
||||
constraint fko26hcvag49ctl3ciddsqm6mn1
|
||||
references profile
|
||||
);
|
||||
|
||||
create table skill
|
||||
(
|
||||
id bigint not null
|
||||
primary key,
|
||||
level integer,
|
||||
name varchar(255),
|
||||
years integer,
|
||||
skill_id bigint
|
||||
constraint fki819li5g5cp5qbsyenhr3kmef
|
||||
references skill_group
|
||||
);
|
||||
Reference in New Issue
Block a user