owncloud / oauth2

🔐 Application for using OAuth 2.0 in ownCloud
GNU Affero General Public License v3.0
32 stars 24 forks source link

add missing token index #331

Closed butonic closed 2 years ago

butonic commented 2 years ago

fixes https://github.com/owncloud/oauth2/issues/325

sonarcloud[bot] commented 2 years ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication

sonarcloud[bot] commented 2 years ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication

DeepDiver1975 commented 2 years ago

Shouldn't this also be added to the original table definition in

database.xml is unused as soon as migrations are enabled (use-migrations in appinfo xml) the first migration uses the xml to initialize the db - see https://github.com/owncloud/oauth2/blob/312a1adb4d937deb4e6d155f664d59718ab0d075/appinfo/Migrations/Version20161122085340.php#L18