-
Notifications
You must be signed in to change notification settings - Fork 249
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
Database collations #489
base: 2.x
Are you sure you want to change the base?
Database collations #489
Conversation
/** @var Database $db */ | ||
$db = $service->handler(); | ||
|
||
$db->syncDatabases(false); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need a rollback mechanism and let the user to retry if this fails
app/Models/Database.php
Outdated
public function getStatusText(): string | ||
{ | ||
return match ($this->status) { | ||
DatabaseStatus::READY => 'Ready', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please don't 😂
@RichardAnderson I added some unit tests. they might fail now but it is expected to pass |
Pulls the collation and charset information from the database on install.
Syncs the charset information to existing DBs
Provides the ability to specify the charset.
Partially implements synching of DBs.