Skip to content

JOWONIK/work

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Getting Started

Build script (apllication.properties 환경별로 분리 -> build 시 profile 에 따른 파일 선택)

리눅스 : ./gradlew clean bootjar -Pprofile=dev 윈도우 : ./gradlew.bat clean bootjar -Pprofile=prod

deploy script

java -jar build/libs/work-0.0.1-SNAPSHOT.jar

CREATE TABLE

회원 테이블

create table member ( member_id bigint generated by default as identity, name varchar(20) not null, alias varchar(30) not null, email varchar(100) not null, password varchar(65) not null, cell_number varchar(20) not null, sex varchar(2), authority varchar(255), primary key (member_id) )

주문테이블

create table orders ( order_id bigint generated by default as identity, item_name varchar(150) not null, order_no varchar(12) not null, pay_dt timestamp not null, member_id bigint, primary key (order_id) UNIQUE (order_no) )

토큰 테이블

create table refresh_token ( key varchar(255) not null, refresh_token varchar(255), token varchar(255), primary key (key) )

About

homework

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages