Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DISCUSSION] DB, Table 관련 API 명세서 #46

Open
DongWooE opened this issue Dec 13, 2021 · 3 comments
Open

[DISCUSSION] DB, Table 관련 API 명세서 #46

DongWooE opened this issue Dec 13, 2021 · 3 comments
Assignees
Labels
help 도움 요청시 사용 제안사항 제안사항이 있으면 사용 질문 질문

Comments

@DongWooE
Copy link
Contributor

table의 목록을 불러오기 (show tables)

[GET] /v1/table

(RE)
table

table 하나의 attribute 불러오기 (desc tablename)

[GET] /v1/table/single/:name

(RE)
table single

table 하나를 삭제하기

[Delete] /v1/table/:name

(RE)
table drop

table 하나 생성하기

[POST] /v1/table

{
"tableName" : "test1",
"column" : [
{
"columnName" : "example",
"dataType" : "INT",
"constraint" : "NOT NULL",
"PK" : "false",
"FK" : "test"
},
{
"columnName" : "example2",
"dataType" : "VARCHAR(25)",
"constraint" : "false",
"PK" : "false",
"FK" : "false"
}
]
}

(RE)
table create

database 목록 가져오기

[GET] /database

(RE)
database show

database 하나 생성하기

[POST] /database/:name

(RE)
database create

database 삭제하기

[DELETE] /database/:name

(RE)
database dropPNG

@DongWooE DongWooE added 제안사항 제안사항이 있으면 사용 help 도움 요청시 사용 질문 질문 labels Dec 13, 2021
@DongWooE DongWooE self-assigned this Dec 13, 2021
@kingyong9169
Copy link
Contributor

테이블 삭제, 생성 -> 삭제하거나, 생성한 테이블 이름을 데이터로 보내줄 것!
데이터베이스 삭제, 생성 -> 원격 디비로 테스트 못함

미완성

@DongWooE
Copy link
Contributor Author

  1. 테이블 삭제, 생성 시에 추가적으로 이름을 보내기

issue_2

data.name에 들어가도록 했습니다 ~

  1. DB 삭제,생성
    heroku ClearDB에서 root 권한이 없어서 원격 디비로 테스트를 못하는게 너무 아쉽네요...

@kingyong9169
Copy link
Contributor

확인했습니다~ @DongWooE

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help 도움 요청시 사용 제안사항 제안사항이 있으면 사용 질문 질문
Projects
None yet
Development

No branches or pull requests

2 participants