Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use \OCP\DB\Types instead of column type strings in migrations #6620

Closed
Tracked by #10
ChristophWurst opened this issue Jun 1, 2022 · 0 comments · Fixed by #8348
Closed
Tracked by #10

Use \OCP\DB\Types instead of column type strings in migrations #6620

ChristophWurst opened this issue Jun 1, 2022 · 0 comments · Fixed by #8348

Comments

@ChristophWurst
Copy link
Member

ChristophWurst commented Jun 1, 2022

Is your feature request related to a problem? Please describe.

Our migrations are filled with literal strings for column types while there are class constants for them.

Describe the solution you'd like

Replace literals with constants, e.g. \OCP\DB\Types::STRING instead of 'string'

Describe alternatives you've considered

No response

Additional context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants