ernestwisniewski/kbin

View on GitHub
migrations/Version20230719060447.php

Summary

Maintainability
A
1 hr
Test Coverage

Method up has 44 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function up(Schema $schema): void
    {
        // this up() migration is auto-generated, please modify it to your needs
        $this->addSql('CREATE SEQUENCE oauth2_user_consent_id_seq INCREMENT BY 1 MINVALUE 1 START 1');
        $this->addSql('CREATE TABLE oauth2_access_token (identifier CHAR(80) NOT NULL, client VARCHAR(32) NOT NULL, expiry TIMESTAMP(0) WITHOUT TIME ZONE NOT NULL, user_identifier VARCHAR(128) DEFAULT NULL, scopes TEXT DEFAULT NULL, revoked BOOLEAN NOT NULL, PRIMARY KEY(identifier))');
Severity: Minor
Found in migrations/Version20230719060447.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status