DB(SQL)/mysql|maria
[mariadb] text type default null
24시간초보
2022. 12. 12. 15:26
반응형
https://jira.mariadb.org/browse/MDEV-15407
[MDEV-15407] DEFAULT NULL forced when no DEFAULT set on NULL-able column - Jira
Now this starts to smell. If a column is defined as NULL-able, 10.2 will automatically append DEFAULT NULL to create statements. 10.2 `description` text COLLATE utf8_bin DEFAULT NULL 10.0 `description` text COLLATE utf8_bin Originally the column does not h
jira.mariadb.org
예전에는 text 타입 컬럼에 null 이 안들어 갔던걸로 기억되는데 ( "무조건" 텍스트만 가능)
mariadb 에서 들어가지길래 뭐지 했더니 mariadb 는 된단다..
mysql 은 아직도 안될지도.. 마이그레이션 등을 할때 조심하자
반응형