[DATABASE] Add missing table names
This commit is contained in:
parent
e022a5e65e
commit
eee803d2e9
@ -85,4 +85,4 @@ class Config
|
||||
'primary key' => ['section', 'setting'],
|
||||
];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -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'],
|
||||
|
@ -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'],
|
||||
|
@ -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'],
|
||||
|
Loading…
Reference in New Issue
Block a user