mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-06 08:22:34 +00:00
Database collations (#489)
* SyncDatabases * Collation on Create inc WordPress * Refactored Enum * Resolve sync issue * Fix for PostgreSQL * pint * reversed enum * style adjustments * add unit tests * style * fix tests * more tests --------- Co-authored-by: Saeed Vaziry <61919774+saeedvaziry@users.noreply.github.com> Co-authored-by: Saeed Vaziry <mr.saeedvaziry@gmail.com>
This commit is contained in:
@ -199,6 +199,8 @@ private function wordpressFields(): Component
|
||||
TextInput::make('database')
|
||||
->helperText('It will create a database with this name')
|
||||
->rules(fn (Get $get) => CreateSite::rules($this->server, $get())['database']),
|
||||
\App\Web\Pages\Servers\Databases\Index::getCharsetInput($this->server),
|
||||
\App\Web\Pages\Servers\Databases\Index::getCollationInput($this->server),
|
||||
TextInput::make('database_user')
|
||||
->helperText('It will create a db user with this username')
|
||||
->rules(fn (Get $get) => CreateSite::rules($this->server, $get())['database']),
|
||||
|
Reference in New Issue
Block a user