]> source.dussan.org Git - gitea.git/commit
Fix wrong table name (#30557) (#30651)
authorLunny Xiao <xiaolunwen@gmail.com>
Tue, 23 Apr 2024 09:15:16 +0000 (17:15 +0800)
committerGitHub <noreply@github.com>
Tue, 23 Apr 2024 09:15:16 +0000 (17:15 +0800)
commit5c12e794455fc2378d034addd9ee3581b55e6709
tree52123c10fdc26e421ec2b179877447a535cb3be1
parent0027ca8ce72a0d13b6c3a069b98cd55a74dd56d6
Fix wrong table name (#30557) (#30651)

Backport #30557

The table name should be `oauth2_application` but `o_auth2_application`

Caused by

https://github.com/go-gitea/gitea/pull/21316/files#diff-9610efbc608a41f1f2eaff5790423f0a187906f6ff0beb23a5e8d18366cc2ccfR38
models/auth/oauth2_test.go
models/migrations/fixtures/Test_AddConfidentialClientColumnToOAuth2ApplicationTable/o_auth2_application.yml [deleted file]
models/migrations/fixtures/Test_AddConfidentialClientColumnToOAuth2ApplicationTable/oauth2_application.yml [new file with mode: 0644]
models/migrations/v1_18/v230.go
models/migrations/v1_18/v230_test.go