반응형
250x250
Notice
Recent Posts
Recent Comments
Link
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | ||||
| 4 | 5 | 6 | 7 | 8 | 9 | 10 |
| 11 | 12 | 13 | 14 | 15 | 16 | 17 |
| 18 | 19 | 20 | 21 | 22 | 23 | 24 |
| 25 | 26 | 27 | 28 | 29 | 30 | 31 |
Tags
- Spring
- redis
- Flux
- chartjs
- node
- kubeflow
- COALESCE
- Python
- JavaScript
- java bigdecimal
- openlens
- VPN
- Spring Error
- 도커
- bootstrap
- aws
- aws cicd
- IntelliJ
- docker
- Jenkins
- codebuild
- AWS CI/CD 구축하기
- codepipeline
- chart.js
- SQL
- codedeploy error
- codedeploy
- Kafka
- Airflow
- PostgreSQL
Archives
- Today
- Total
Small Asteroid Blog
ncorrect table definition; there can be only one auto column and it must be defined as a key 본문
백엔드/Spring
ncorrect table definition; there can be only one auto column and it must be defined as a key
작은소행성☄️ 2021. 4. 19. 13:55728x90
primary key 속성을 부여하지 않아 생기는 오류
ncorrect table definition; there can be only one auto column and it must be defined as a key
sql 해결
ALTER TABLE openapi_demo.openapi_url MODIFY COLUMN id int(11) auto_increment primary key NOT NULL;
sql 오류
ALTER TABLE openapi_demo.openapi_url MODIFY COLUMN id int(11) auto_increment primary key NOT NULL;
728x90
반응형
'백엔드 > Spring' 카테고리의 다른 글
| [spring boot] Servlet.service() for servlet [dispatcherServlet] threw exception (0) | 2021.04.19 |
|---|---|
| hibernate_sequence' doesn't exist (0) | 2021.04.19 |
| [SpringBoot] IntelliJ IDEA :: Cannot resolve class or package 'mysql' (0) | 2021.04.15 |
| spring boot db 연결 (0) | 2021.04.15 |
| 이클립스 오류 - 프로젝트 폴더가 실행되지 않는경우 (0) | 2021.04.13 |