분류 전체보기 6

[mariaDB] 컬럼 추가, 삭제, 데이터 타입 변경

🔹 컬럼 추가ALTER TABLE `테이블명` ADD COLUMN `컬럼명` [데이터타입];alter table `tour` add column `tour_region` varchar(255) not null; 🔹 컬럼 삭제ALTER TABLE `테이블명` DROP COLUMN `컬럼명`;alter table `preference` drop column `prefer_with`; 🔹 컬럼 데이터 타입 변경ALTER TABLE `테이블명` MODIFY `컬럼명` [데이터타입];alter table `tour` modify `tour_interest` varchar(255) not null;cf) mysql; alter table 테이블명 alter column 컬럼명 데이터타입; 🔹 데이터 타입 확..

sql 2025.02.06

ALTER TABLE `tourdays` DROP FOREIGN KEY `FK_Tour_TO_TourDays_1`;

ALTER TABLE 'tourdays' DROP FOREIGN KEY 'FK_Tour_TO_TourDays_1'; SQL Error [1064] [42000]: (conn=62) You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ''tourdays' drop foreign key 'FK_Tour_TO_TourDays_1'' at line 1 수정 후 :ALTER TABLE `tourdays` DROP FOREIGN KEY `FK_Tour_TO_TourDays_1`; ❤  SQL에서는 테이블명과 제약조건명을 백틱(..

sql 2025.02.05

Git: warning: in the working copy of 'hello.ipynb', LF will be replaced by CRLF the next time Git touches it

파이썬 버전을 3.12 에서 3.10으로 바꾸고 난 후 git 하려 하니 다음과 같은 오류가 떳다. 결론부터 말하자면 powershell에서 다음과 같이 코드를 쳐 git 설정을 바꿔주면 해결된다.git config --global core.autocrlf true  Git에서 LF(Line Feed)와 CRLF(Carriage Return + Line Feed) 문제는 주로 운영 체제의 차이로 발생한다.LF : Unix/Linux/macOS 에서 사용하는 줄바꿈 방식CRLF : Windows에서 사용하는 줄바꿈 방식 만약, CRLF로 변환되는 것을 원하지 않거나 LF를 유지하고 싶다면, 다음과 같이 설정하면 된다.git config --global core.autocrlf input이 설정은 입력 시에..

Error_Log 2025.01.09

[해결 완?]stable diffusion 설치오류

https://aiinsights.tistory.com/entry/%EC%8A%A4%ED%85%8C%EC%9D%B4%EB%B8%94-%EB%94%94%ED%93%A8%EC%A0%BC-WebUI-PC-%EC%84%A4%EC%B9%98-%EB%B0%A9%EB%B2%95 Stable Diffusion Web UI PC 설치 방법 - github 정석!!!오늘은 스테이블 디퓨젼 Web UI PC 설치하는 방법 알려드리겠습니다. 인터넷에 수많은 설치 방법이 있지만 저는 github.com 에 공식적으로 나와 있는 방법을 따라 PC 설치 진행해 보겠습니다. https://gitaiinsights.tistory.com webui-user.bat 실행 중 오류ERROR: Could not find a version t..

Error_Log 2024.10.13