fix
diff --git a/migrations/m130524_201442_init.php b/migrations/m130524_201442_init.php
index eac6ac4..babbafc 100644
--- a/migrations/m130524_201442_init.php
+++ b/migrations/m130524_201442_init.php
@@ -13,19 +13,6 @@
$tableOptions = 'CHARACTER SET utf8 COLLATE utf8_unicode_ci ENGINE=InnoDB';
}
- $this->createTable('{{%user}}', [
- 'id' => Schema::TYPE_PK,
- 'username' => Schema::TYPE_STRING . ' NOT NULL',
- 'auth_key' => Schema::TYPE_STRING . '(32) NOT NULL',
- 'password_hash' => Schema::TYPE_STRING . ' NOT NULL',
- 'password_reset_token' => Schema::TYPE_STRING,
- 'email' => Schema::TYPE_STRING . ' NOT NULL',
-
- 'status' => Schema::TYPE_SMALLINT . ' NOT NULL DEFAULT 10',
- 'created_at' => Schema::TYPE_INTEGER . ' NOT NULL',
- 'updated_at' => Schema::TYPE_INTEGER . ' NOT NULL',
- ], $tableOptions);
-
$this->createTable('{{%posts}}', [
'id' => Schema::TYPE_PK,
'type' => 'tinyint(1) NOT NULL',
@@ -58,8 +45,7 @@
public function down()
{
echo "m130524_201442_init cannot be reverted.\n";
-
- $this->dropTable('{{%user}}');
+
$this->dropTable('{{%posts}}');
$this->dropTable('{{%files}}');
$this->dropTable('{{%post_file}}');