createTable('{{%mojang_usernames}}', [ 'username' => $this->string()->notNull(), 'uuid' => $this->string(32)->notNull(), 'last_pulled_at' => $this->integer()->unsigned()->notNull(), ], $this->tableOptions); $this->addPrimaryKey('username', '{{%mojang_usernames}}', 'username'); } public function safeDown(): void { $this->dropTable('{{%mojang_usernames}}'); } }