This repository was archived by the owner on Jun 4, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 22
timestamp migrations do not work in MariaDB #100
Labels
bug
Something isn't working
Comments
similar behavior for ENUM colums, existing column gets an update which removes the "string type": properties:
system:
type: string
maxLength: 10
enum:
- mail
- test
- other generates: class m220524_140005_change_table_mailings extends \yii\db\Migration
{
public function up()
{
$this->alterColumn('{{%mailings}}', 'system', $this->notNull());
}
public function down()
{
$this->alterColumn('{{%mailings}}', 'system', $this->string(10)->notNull());
}
} |
this should explicitly generate "datetime" type and not "timestamp". |
Merged
Fields with Also there are separate errors related |
4 tasks
Moved enum issue to separate issue So that this issue focus only on timestamp issue. |
This was referenced Sep 30, 2022
This issue can be closed. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
generates a migration:
The text was updated successfully, but these errors were encountered: