diff --git a/examples/quickstart/src/main/resources/sql/h2/schema-with-oracle.sql b/examples/quickstart/src/main/resources/sql/h2/schema-with-oracle.sql new file mode 100644 index 00000000..8d53d57b --- /dev/null +++ b/examples/quickstart/src/main/resources/sql/h2/schema-with-oracle.sql @@ -0,0 +1,24 @@ +drop table if exists ss_task; +drop table if exists ss_user; + +create table ss_task ( + id bigint, + title varchar(128) not null, + description varchar(255), + user_id bigint, + primary key (id) +); + +create table ss_user ( + id bigint, + login_name varchar(64) not null unique, + name varchar(64), + password varchar(255), + salt varchar(64), + roles varchar(255), + primary key (id) +); + + +create sequence ss_seq_task start with 100 increment by 20; +create sequence ss_seq_user start with 100 increment by 20; \ No newline at end of file diff --git a/examples/quickstart/src/main/resources/sql/h2/schema.sql b/examples/quickstart/src/main/resources/sql/h2/schema.sql index d19b8413..2a3414fc 100644 --- a/examples/quickstart/src/main/resources/sql/h2/schema.sql +++ b/examples/quickstart/src/main/resources/sql/h2/schema.sql @@ -1,4 +1,3 @@ - drop table if exists ss_task; drop table if exists ss_user; diff --git a/examples/quickstart/src/main/resources/sql/oracle/schema.sql b/examples/quickstart/src/main/resources/sql/oracle/schema.sql new file mode 100644 index 00000000..323b8b0d --- /dev/null +++ b/examples/quickstart/src/main/resources/sql/oracle/schema.sql @@ -0,0 +1,24 @@ +drop table ss_task; +drop table ss_user; + +create table ss_task ( + id number(19,0), + title varchar2(128) not null, + description varchar2(255), + user_id bigint, + primary key (id) +); + +create table ss_user ( + id number(19,0), + login_name varchar2(64) not null unique, + name varchar2(64), + password varchar2(255), + salt varchar2(64), + roles varchar2(255), + primary key (id) +); + + +create sequence ss_seq_task start with 100 increment by 20; +create sequence ss_seq_user start with 100 increment by 20; \ No newline at end of file