> I guess a missing DEFAULT automatically implies DEFAULT NULL, so the behavior 
> of ALTER should be correct whilst CREATE seems to forget to reject the 
> statement.

Sorry, I was wrong about this. The CREATE shows the correct behavior whereas 
ALTER incorrecty rejects the statement. According to 
https://dev.mysql.com/doc/refman/8.0/en/data-type-defaults.html default values 
for columns without explicit DEFAULT are chosen by type (section "Handling of 
Implicit Defaults").

_______________________________________________
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to