From 702dcfb72848b36921a310188aa019d810668ebc Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Wed, 24 Oct 2018 14:25:35 +0200 Subject: Make names mandatory Signed-off-by: Joas Schilling --- core/Migrations/Version15000Date20180917092725.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'core/Migrations/Version15000Date20180917092725.php') diff --git a/core/Migrations/Version15000Date20180917092725.php b/core/Migrations/Version15000Date20180917092725.php index 9dbc5efceda..1bcc6382745 100644 --- a/core/Migrations/Version15000Date20180917092725.php +++ b/core/Migrations/Version15000Date20180917092725.php @@ -48,6 +48,10 @@ class Version15000Date20180917092725 extends SimpleMigrationStep { 'autoincrement' => true, 'notnull' => true, ]); + $table->addColumn('name', Type::STRING, [ + 'notnull' => true, + 'length' => 64, + ]); $table->setPrimaryKey(['id']); } -- cgit v1.2.3