Skip to content

Commit 726a4ea

Browse files
author
philippe lhardy
committed
chosen_rank Types:TEXT empty string nullable
Signed-off-by: philippe lhardy <philippe.lhardy@astrolabe.coop>
1 parent e09772a commit 726a4ea

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/Migration/V2/TableSchema.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ abstract class TableSchema {
247247
'access' => ['type' => Types::STRING, 'options' => ['notnull' => true, 'default' => 'private', 'length' => 1024]],
248248
'anonymous' => ['type' => Types::BIGINT, 'options' => ['notnull' => true, 'default' => 0, 'length' => 20]],
249249
'allow_maybe' => ['type' => Types::BIGINT, 'options' => ['notnull' => true, 'default' => 1, 'length' => 20]],
250-
'chosen_rank' => ['type' => Types::TEXT, 'options' => ['notnull' => true, 'default' => '', 'length' => 200]],
250+
'chosen_rank' => ['type' => Types::TEXT, 'options' => ['notnull' => false, 'default' => '', 'length' => 200]],
251251
'allow_proposals' => ['type' => Types::STRING, 'options' => ['notnull' => true, 'default' => 'disallow', 'length' => 64]],
252252
'proposals_expire' => ['type' => Types::BIGINT, 'options' => ['notnull' => true, 'default' => 0, 'length' => 20]],
253253
'vote_limit' => ['type' => Types::BIGINT, 'options' => ['notnull' => true, 'default' => 0, 'length' => 20]],

0 commit comments

Comments
 (0)