Carlos Silva
unread,Sep 14, 2011, 9:51:46 PM9/14/11Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to symfony-es
Se supone que Para realmente crear las tablas en la base de datos se
necesita ejecutar la tarea doctrine:insert-sql:
$ php symfony doctrine:insert-sql , pero me sale el siguiente error:
SQLSTATE[3D000]: Invalid catalog name: 1046 No database selected.
Failing Quer
y: "CREATE TABLE jobeet_affiliate (id BIGINT AUTO_INCREMENT, url
VARCHAR(255) NO
T NULL, email VARCHAR(255) NOT NULL UNIQUE, token VARCHAR(255) NOT
NULL, is_acti
ve TINYINT(1) DEFAULT '0' NOT NULL, created_at DATETIME NOT NULL,
updated_at DAT
ETIME NOT NULL, PRIMARY KEY(id)) ENGINE = INNODB". Failing Query:
CREATE TABLE j
obeet_affiliate (id BIGINT AUTO_INCREMENT, url VARCHAR(255) NOT NULL,
email VARC
HAR(255) NOT NULL UNIQUE, token VARCHAR(255) NOT NULL, is_active
TINYINT(1) DEFA
ULT '0' NOT NULL, created_at DATETIME NOT NULL, updated_at DATETIME
NOT NULL, PR
IMARY KEY(id)) ENGINE = INNODB