first commit
This commit is contained in:
@@ -0,0 +1,46 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE schema SYSTEM "../../dtd/xmlSchema.dtd">
|
||||
|
||||
<!--
|
||||
* xml/schema/temporaryFiles.xml
|
||||
*
|
||||
* Copyright (c) 2014-2021 Simon Fraser University
|
||||
* Copyright (c) 2000-2021 John Willinsky
|
||||
* Distributed under the GNU GPL v3. For full terms see the file docs/COPYING.
|
||||
*
|
||||
* Temporary file management support for the PKP database schema in XML.
|
||||
* XML-BASED DESCRIPTORS ARE DEPRECATED AND SHOULD NOT BE EDITED.
|
||||
-->
|
||||
|
||||
<schema version="0.2">
|
||||
<!--
|
||||
*
|
||||
* TABLE temporary_files
|
||||
*
|
||||
-->
|
||||
<table name="temporary_files">
|
||||
<field name="file_id" type="I8">
|
||||
<KEY />
|
||||
<AUTOINCREMENT/>
|
||||
</field>
|
||||
<field name="user_id" type="I8">
|
||||
<NOTNULL/>
|
||||
</field>
|
||||
<field name="file_name" type="C2" size="90">
|
||||
<NOTNULL/>
|
||||
</field>
|
||||
<field name="file_type" type="C2" size="255">
|
||||
</field>
|
||||
<field name="file_size" type="I8">
|
||||
<NOTNULL/>
|
||||
</field>
|
||||
<field name="original_file_name" type="C2" size="127"/>
|
||||
<field name="date_uploaded" type="T">
|
||||
<NOTNULL/>
|
||||
</field>
|
||||
<descr>Temporary file storage</descr>
|
||||
<index name="temporary_files_user_id">
|
||||
<col>user_id</col>
|
||||
</index>
|
||||
</table>
|
||||
</schema>
|
||||
Reference in New Issue
Block a user