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

Refactor ColumnDefinitionBuilder #365

Merged
merged 2 commits into from
Nov 17, 2024
Merged

Conversation

Tigrov
Copy link
Member

@Tigrov Tigrov commented Nov 17, 2024

Rellated PR

Q A
Is bugfix?
New feature?
Breaks BC?
Fixed issues

Copy link

codecov bot commented Nov 17, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.92%. Comparing base (989e887) to head (411cb5f).

Additional details and impacted files
@@            Coverage Diff            @@
##             master     #365   +/-   ##
=========================================
  Coverage     98.91%   98.92%           
- Complexity      174      176    +2     
=========================================
  Files            17       17           
  Lines           554      556    +2     
=========================================
+ Hits            548      550    +2     
  Misses            6        6           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@@ -82,7 +82,7 @@ protected function getDbType(ColumnSchemaInterface $column): string
ColumnType::DECIMAL => 'decimal',
ColumnType::MONEY => 'decimal',
ColumnType::CHAR => 'char',
ColumnType::STRING => 'varchar',
ColumnType::STRING => 'varchar(' . ($column->getSize() ?? 255) . ')',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That might now work for UTF8 collation.

@Tigrov Tigrov merged commit e3fad7b into master Nov 17, 2024
2 checks passed
@Tigrov Tigrov deleted the refactor-column-definition-builder branch November 17, 2024 13:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants