提交 e6d1dd27 编写于 作者: C Calvin

#60 H2 + Oracle的实际开发场景

上级 cc8bc978
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
drop table if exists ss_task;
drop table if exists ss_user;
......
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
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册