Commit e2785a3c authored by Luis Fernandez's avatar Luis Fernandez

email is now part of the default table

parent d8671785
Pipeline #713 failed with stage
in 24 seconds
......@@ -20,7 +20,7 @@ class m151013_124753_AddTokenTables extends CDbMigration
)
);
$this->addColumn('user', 'email', 'varchar(256) default NULL');
//$this->addColumn('user', 'email', 'varchar(256) default NULL');
$this->addColumn('user', 'temp', 'tinyint(1) NOT NULL DEFAULT 0');
//$this->dropColumn('user', 'last_ip');
return true;
......@@ -29,7 +29,7 @@ class m151013_124753_AddTokenTables extends CDbMigration
public function down()
{
$this->dropTable('token');
$this->dropColumn('user', 'email');
//$this->dropColumn('user', 'email');
$this->dropColumn('user', 'temp');
//$this->addColumn('user', 'last_ip', 'varchar(45) DEFAULT NULL');
return true;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment