Skip to content

Module - New tables have wrong collation #43

@arshavinel

Description

@arshavinel

Arshwell version(s) affected

0.*

Description

Creating new module (with back.module.php and front.module.php) will create the table if not exists.

The collation is not the good one. It looks like it's a default one.

How to reproduce

Create new app/Table/ class and a new module for it.

The new mysql table will have a wrong collation (ex: latin1_swedish_ci).

Possible Solution

Maybe the "charset", from config/databases.json, will help us deciding the collation.

Additional Context

We should make sure the proper collation will be applied also to the columns.

PHP Version

7.4

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions