[DATABASE] Add missing table names

This commit is contained in:
Hugo Sales 2020-03-30 16:12:05 +00:00 committed by Hugo Sales
parent e022a5e65e
commit eee803d2e9
No known key found for this signature in database
GPG Key ID: 7D0C7EAFC9D835A0
4 changed files with 4 additions and 1 deletions

View File

@ -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'],

View File

@ -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'],

View File

@ -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'],