addColumn('{{%accounts}}', 'username', $this->string()->unique()->notNull() . ' AFTER `uuid`'); } public function safeDown(): void { $this->dropColumn('{{%accounts}}', 'username'); } }