pasith3e 2021-07-26 15:54:54 +02:00 committed by GitHub
parent 94142b754e
commit 3a65cc4f99
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 7 additions and 7 deletions

View File

@ -54,7 +54,7 @@ class Version000000Date20200416124731 extends SimpleMigrationStep {
'notnull' => false, 'notnull' => false,
]); ]);
$table->addColumn('record', 'boolean', [ $table->addColumn('record', 'boolean', [
'notnull' => true, 'notnull' => false,
]); ]);
$table->setPrimaryKey(['id']); $table->setPrimaryKey(['id']);

View File

@ -26,7 +26,7 @@ class Version000000Date20200617055735 extends SimpleMigrationStep {
if (!$table->hasColumn('everyone_is_moderator')) { if (!$table->hasColumn('everyone_is_moderator')) {
$table->addColumn('everyone_is_moderator', 'boolean', [ $table->addColumn('everyone_is_moderator', 'boolean', [
'notnull' => true, 'notnull' => false,
'default' => false, 'default' => false,
]); ]);
} }

View File

@ -47,7 +47,7 @@ class Version000000Date20200826100844 extends SimpleMigrationStep {
'default' => -1, 'default' => -1,
]); ]);
$table->addColumn('allow_recording', 'boolean', [ $table->addColumn('allow_recording', 'boolean', [
'notnull' => true, 'notnull' => false,
'default' => true, 'default' => true,
]); ]);

View File

@ -28,7 +28,7 @@ class Version000000Date20200829112301 extends SimpleMigrationStep {
if (!$table->hasColumn('require_moderator')) { if (!$table->hasColumn('require_moderator')) {
$table->addColumn('require_moderator', 'boolean', [ $table->addColumn('require_moderator', 'boolean', [
'notnull' => true, 'notnull' => false,
'default' => false, 'default' => false,
]); ]);
} }

View File

@ -28,21 +28,21 @@ class Version000000Date20210419132000 extends SimpleMigrationStep {
if (!$table->hasColumn('listen_only')) { if (!$table->hasColumn('listen_only')) {
$table->addColumn('listen_only', 'boolean', [ $table->addColumn('listen_only', 'boolean', [
'notnull' => true, 'notnull' => false,
'default' => true 'default' => true
]); ]);
} }
if (!$table->hasColumn('media_check')) { if (!$table->hasColumn('media_check')) {
$table->addColumn('media_check', 'boolean', [ $table->addColumn('media_check', 'boolean', [
'notnull' => true, 'notnull' => false,
'default' => true 'default' => true
]); ]);
} }
if (!$table->hasColumn('clean_layout')) { if (!$table->hasColumn('clean_layout')) {
$table->addColumn('clean_layout', 'boolean', [ $table->addColumn('clean_layout', 'boolean', [
'notnull' => true, 'notnull' => false,
'default' => false 'default' => false
]); ]);
} }