Hi,
In new versions, HeidiSQL reject all new tables by default values error.
Can check please ?
CREATE TABLE metodos_pago
(
MP_Id
TINYINT UNSIGNED NOT NULL AUTO_INCREMENT,
MP_Descripcion
VARCHAR(50) NOT NULL DEFAULT (),
MP_Status
TINYINT UNSIGNED NOT NULL,
PRIMARY KEY (MP_Id
)
)
COLLATE='utf8mb3_general_ci'
;
/ Error de SQL (1064): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '),
MP_Status
TINYINT UNSIGNED NOT NULL,
PRIMARY KEY (MP_Id
)
)
COLLATE=' at line 3 /
HeidiSQL are including a "()" in the default values.. this is wrong.
Thanks