[DATABASE] Various table schema related fixes

This commit is contained in:
Alexei Sorokin
2019-09-11 12:07:54 +03:00
committed by Diogo Peralta Cordeiro
parent bc97f34f5a
commit 2b0251213f
21 changed files with 242 additions and 224 deletions

View File

@@ -19,7 +19,6 @@ defined('GNUSOCIAL') || die();
/**
* Table Definition for file_redirection
*/
class File_redirection extends Managed_DataObject
{
###START_AUTOCODE
@@ -51,7 +50,7 @@ class File_redirection extends Managed_DataObject
),
'primary key' => array('urlhash'),
'foreign keys' => array(
'file_redirection_file_id_fkey' => array('file' => array('file_id' => 'id')),
'file_redirection_file_id_fkey' => array('file', array('file_id' => 'id')),
),
);
}