diff --git a/src/Entity/Config.php b/src/Entity/Config.php index 7fadf6261b..b5fbe8cbe9 100644 --- a/src/Entity/Config.php +++ b/src/Entity/Config.php @@ -85,4 +85,4 @@ class Config 'primary key' => ['section', 'setting'], ]; } -} \ No newline at end of file +} diff --git a/src/Entity/Notice.php b/src/Entity/Notice.php index d1d2c80a13..30127c24af 100644 --- a/src/Entity/Notice.php +++ b/src/Entity/Notice.php @@ -219,6 +219,7 @@ class Notice public static function schemaDef(): array { $def = [ + 'name' => 'notice', 'fields' => [ 'id' => ['type' => 'serial', 'not null' => true, 'description' => 'unique identifier'], 'profile_id' => ['type' => 'int', 'not null' => true, 'description' => 'who made the update'], diff --git a/src/Entity/Profile.php b/src/Entity/Profile.php index 3143ae07f6..59052035b0 100644 --- a/src/Entity/Profile.php +++ b/src/Entity/Profile.php @@ -186,6 +186,7 @@ class Profile public static function schemaDef(): array { $def = [ + 'name' => 'profile', 'description' => 'local and remote users have profiles', 'fields' => [ 'id' => ['type' => 'serial', 'not null' => true, 'description' => 'unique identifier'], diff --git a/src/Entity/Session.php b/src/Entity/Session.php index 7747ff647a..12e75f9bcc 100644 --- a/src/Entity/Session.php +++ b/src/Entity/Session.php @@ -89,6 +89,7 @@ class Session public static function schemaDef(): array { return [ + 'name' => 'session', 'fields' => [ 'id' => ['type' => 'varchar', 'length' => 32, 'not null' => true, 'description' => 'session ID'], 'session_data' => ['type' => 'text', 'description' => 'session data'],