Exportei meu modelo do DBDesigner e na hora de inserir apareceu isto no phpmyadmin:
Erro
consulta SQL:
CREATE TABLE album(
id_album INTEGER UNSIGNED NOT NULL AUTO_INCREMENT ,
banda_id_banda INTEGER UNSIGNED NOT NULL ,
nome VARCHAR NOT NULL ,
descricao MEDIUMTEXT NULL ,
data_lancamento DATE NULL ,
data_cadastro DATETIME NOT NULL ,
PRIMARY KEY ( id_album ) ,
INDEX album_FKIndex1( banda_id_banda )
);
Mensagens do MySQL : Documentação
#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 'NOT NULL,
descricao MEDIUMTEXT NULL,
data_lancamento DATE NULL,
data_ca' at line 4
Poderiam me dizer o motivo? x.x