hasTable(self::TABLE_NAME); // // if (!$hasTable) { // $table = $schema->createTable(self::TABLE_NAME); // $table->addColumn('hash', Types::STRING, [ // 'notnull' => true, // 'length' => 128, // ]); // $table->addColumn('delete_after', Types::DATETIME, [ // 'notnull' => true, // ]); // $table->addIndex(['hash'], 'ratelimit_hash'); // $table->addIndex(['delete_after'], 'ratelimit_delete_after'); // return $schema; // } return null; } }