From 67cbf2a502fe725700576d70cb0a9ed57149a621 Mon Sep 17 00:00:00 2001 From: ErickSkrauch Date: Fri, 4 Nov 2016 18:49:16 +0300 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=20=D0=B8=D0=BD=D0=B4=D0=B5=D0=BA=D1=81=20=D0=B4=D0=BB?= =?UTF-8?q?=D1=8F=20accounts.uuid?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../m161104_150634_accounts_uuid_index.php | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 console/migrations/m161104_150634_accounts_uuid_index.php 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'); + } + +}