diff --git a/console/migrations/m161104_150634_accounts_uuid_index.php b/console/migrations/m161104_150634_accounts_uuid_index.php new file mode 100644 index 0000000..945acf0 --- /dev/null +++ b/console/migrations/m161104_150634_accounts_uuid_index.php @@ -0,0 +1,15 @@ +createIndex('uuid', '{{%accounts}}', 'uuid', true); + } + + public function safeDown() { + $this->dropColumn('{{%accounts}}', 'uuid'); + } + +}