diff --git a/lib/Migration/Version1000Date20200313092602.php b/lib/Migration/Version1000Date20200313092602.php new file mode 100644 index 000000000..3ee5d8819 --- /dev/null +++ b/lib/Migration/Version1000Date20200313092602.php @@ -0,0 +1,46 @@ +hasTable('deck_board_settings')) { + $table = $schema->createTable('deck_board_settings'); + $table->addColumn('board_id', 'bigint', [ + 'notnull' => true, + ]); + $table->addColumn('key', 'string', [ + 'notnull' => true, + 'length' => 100, + ]); + $table->addColumn('user', 'string', [ + 'length' => 64, + ]); + $table->addColumn('value', 'string', [ + 'notnull' => false, + 'length' => 255, + ]); + $table->setPrimaryKey(['board_id', 'key', 'user']); + } + + return $schema; + } + +}