GORM1 Go 언어 Back End 제작해보기(데이터베이스) 5장 ◆ MySQL에 테이블 생성 create database GoMusic; use GoMusic; create table customer( id int PRIMARY KEY AUTO_INCREMENT, firstname varchar(50) not null, lastnamename varchar(50) not null, email varchar(100) unique not null, cc_customerid varchar(50) not null, looggedin tinyint not null, created_at timestamp DEFAULT CURRENT_TIMESTAMP, updated_at timestamp DEFAULT CURRENT_TIMESTAMP, deleted_ar timestamp );.. 2023. 5. 25. 이전 1 다음