Skip to content

Commit

Permalink
Remove database fields from ext_tables.sql which are referenced in TCA
Browse files Browse the repository at this point in the history
  • Loading branch information
beatrycze-volk committed Dec 4, 2023
1 parent 5722552 commit f8103f6
Showing 1 changed file with 0 additions and 119 deletions.
119 changes: 0 additions & 119 deletions ext_tables.sql
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,6 @@
-- Table structure for table 'tx_dlf_documents'
--
CREATE TABLE tx_dlf_documents (
uid int(11) NOT NULL auto_increment,
pid int(11) DEFAULT '0' NOT NULL,
tstamp int(11) DEFAULT '0' NOT NULL,
crdate int(11) DEFAULT '0' NOT NULL,
cruser_id int(11) DEFAULT '0' NOT NULL,
deleted smallint(6) DEFAULT '0' NOT NULL,
hidden smallint(6) DEFAULT '0' NOT NULL,
starttime int(11) DEFAULT '0' NOT NULL,
endtime int(11) DEFAULT '0' NOT NULL,
fe_group varchar(100) DEFAULT '' NOT NULL,
prod_id varchar(255) DEFAULT '' NOT NULL,
location varchar(255) DEFAULT '' NOT NULL,
record_id varchar(255) DEFAULT '' NOT NULL,
Expand Down Expand Up @@ -42,7 +32,6 @@ CREATE TABLE tx_dlf_documents (
status smallint(6) unsigned DEFAULT '0' NOT NULL,
document_format varchar(100) DEFAULT '' NOT NULL,

PRIMARY KEY (uid),
KEY parent (pid),
KEY location (location),
KEY record_id (record_id),
Expand All @@ -53,24 +42,12 @@ CREATE TABLE tx_dlf_documents (
-- Table structure for table 'tx_dlf_structures'
--
CREATE TABLE tx_dlf_structures (
uid int(11) NOT NULL auto_increment,
pid int(11) DEFAULT '0' NOT NULL,
tstamp int(11) DEFAULT '0' NOT NULL,
crdate int(11) DEFAULT '0' NOT NULL,
cruser_id int(11) DEFAULT '0' NOT NULL,
deleted smallint(6) DEFAULT '0' NOT NULL,
sys_language_uid int(11) DEFAULT '0' NOT NULL,
l18n_parent int(11) DEFAULT '0' NOT NULL,
l18n_diffsource mediumblob NOT NULL,
hidden smallint(6) DEFAULT '0' NOT NULL,
toplevel smallint(6) DEFAULT '0' NOT NULL,
label varchar(255) DEFAULT '' NOT NULL,
index_name varchar(255) DEFAULT '' NOT NULL,
oai_name varchar(255) DEFAULT '' NOT NULL,
thumbnail int(11) DEFAULT '0' NOT NULL,
status smallint(6) unsigned DEFAULT '0' NOT NULL,

PRIMARY KEY (uid),
KEY parent (pid),
KEY language (l18n_parent,sys_language_uid),
KEY index_name (index_name)
Expand All @@ -80,18 +57,7 @@ CREATE TABLE tx_dlf_structures (
-- Table structure for table 'tx_dlf_metadata'
--
CREATE TABLE tx_dlf_metadata (
uid int(11) NOT NULL auto_increment,
pid int(11) DEFAULT '0' NOT NULL,
tstamp int(11) DEFAULT '0' NOT NULL,
crdate int(11) DEFAULT '0' NOT NULL,
cruser_id int(11) DEFAULT '0' NOT NULL,
deleted smallint(6) DEFAULT '0' NOT NULL,
sys_language_uid int(11) DEFAULT '0' NOT NULL,
l18n_parent int(11) DEFAULT '0' NOT NULL,
l18n_diffsource mediumblob NOT NULL,
hidden smallint(6) DEFAULT '0' NOT NULL,
sorting int(11) DEFAULT '0' NOT NULL,
label varchar(255) DEFAULT '' NOT NULL,
index_name varchar(255) DEFAULT '' NOT NULL,
format int(11) DEFAULT '0' NOT NULL,
default_value varchar(255) DEFAULT '' NOT NULL,
Expand All @@ -106,7 +72,6 @@ CREATE TABLE tx_dlf_metadata (
index_autocomplete smallint(6) DEFAULT '0' NOT NULL,
status smallint(6) unsigned DEFAULT '0' NOT NULL,

PRIMARY KEY (uid),
KEY parent (pid),
KEY language (l18n_parent,sys_language_uid),
KEY index_name (index_name),
Expand All @@ -120,21 +85,11 @@ CREATE TABLE tx_dlf_metadata (
-- Table structure for table 'tx_dlf_metadataformat'
--
CREATE TABLE tx_dlf_metadataformat (
uid int(11) NOT NULL auto_increment,
pid int(11) DEFAULT '0' NOT NULL,
tstamp int(11) DEFAULT '0' NOT NULL,
crdate int(11) DEFAULT '0' NOT NULL,
cruser_id int(11) DEFAULT '0' NOT NULL,
deleted smallint(6) DEFAULT '0' NOT NULL,
sys_language_uid int(11) DEFAULT '0' NOT NULL,
l18n_parent int(11) DEFAULT '0' NOT NULL,
parent_id int(11) DEFAULT '0' NOT NULL,
encoded int(11) DEFAULT '0' NOT NULL,
xpath varchar(1024) DEFAULT '' NOT NULL,
xpath_sorting varchar(1024) DEFAULT '' NOT NULL,
mandatory smallint(6) DEFAULT '0' NOT NULL,

PRIMARY KEY (uid),
KEY parent (pid),
KEY parent_id (parent_id)
);
Expand All @@ -143,35 +98,19 @@ CREATE TABLE tx_dlf_metadataformat (
-- Table structure for table 'tx_dlf_formats'
--
CREATE TABLE tx_dlf_formats (
uid int(11) NOT NULL auto_increment,
pid int(11) DEFAULT '0' NOT NULL,
tstamp int(11) DEFAULT '0' NOT NULL,
crdate int(11) DEFAULT '0' NOT NULL,
cruser_id int(11) DEFAULT '0' NOT NULL,
deleted smallint(6) DEFAULT '0' NOT NULL,
type varchar(255) DEFAULT '' NOT NULL,
root varchar(255) DEFAULT '' NOT NULL,
namespace varchar(255) DEFAULT '' NOT NULL,
class varchar(255) DEFAULT '' NOT NULL,

PRIMARY KEY (uid),
KEY parent (pid)
);

--
-- Table structure for table 'tx_dlf_solrcores'
--
CREATE TABLE tx_dlf_solrcores (
uid int(11) NOT NULL auto_increment,
pid int(11) DEFAULT '0' NOT NULL,
tstamp int(11) DEFAULT '0' NOT NULL,
crdate int(11) DEFAULT '0' NOT NULL,
cruser_id int(11) DEFAULT '0' NOT NULL,
deleted smallint(6) DEFAULT '0' NOT NULL,
label varchar(255) DEFAULT '' NOT NULL,
index_name varchar(255) DEFAULT '' NOT NULL,

PRIMARY KEY (uid),
KEY parent (pid),
KEY index_name (index_name)
);
Expand All @@ -180,20 +119,6 @@ CREATE TABLE tx_dlf_solrcores (
-- Table structure for table 'tx_dlf_collections'
--
CREATE TABLE tx_dlf_collections (
uid int(11) NOT NULL auto_increment,
pid int(11) DEFAULT '0' NOT NULL,
tstamp int(11) DEFAULT '0' NOT NULL,
crdate int(11) DEFAULT '0' NOT NULL,
cruser_id int(11) DEFAULT '0' NOT NULL,
fe_cruser_id int(11) DEFAULT '0' NOT NULL,
fe_admin_lock smallint(6) DEFAULT '0' NOT NULL,
deleted smallint(6) DEFAULT '0' NOT NULL,
sys_language_uid int(11) DEFAULT '0' NOT NULL,
l18n_parent int(11) DEFAULT '0' NOT NULL,
l18n_diffsource mediumblob NOT NULL,
hidden smallint(6) DEFAULT '0' NOT NULL,
fe_group varchar(100) DEFAULT '' NOT NULL,
label varchar(255) DEFAULT '' NOT NULL,
index_name varchar(255) DEFAULT '' NOT NULL,
index_search text NOT NULL,
oai_name varchar(255) DEFAULT '' NOT NULL,
Expand All @@ -204,7 +129,6 @@ CREATE TABLE tx_dlf_collections (
owner int(11) DEFAULT '0' NOT NULL,
status smallint(6) unsigned DEFAULT '0' NOT NULL,

PRIMARY KEY (uid),
KEY parent (pid),
KEY language (l18n_parent,sys_language_uid),
KEY index_name (index_name),
Expand All @@ -216,16 +140,6 @@ CREATE TABLE tx_dlf_collections (
-- Table structure for table 'tx_dlf_libraries'
--
CREATE TABLE tx_dlf_libraries (
uid int(11) NOT NULL auto_increment,
pid int(11) DEFAULT '0' NOT NULL,
tstamp int(11) DEFAULT '0' NOT NULL,
crdate int(11) DEFAULT '0' NOT NULL,
cruser_id int(11) DEFAULT '0' NOT NULL,
deleted smallint(6) DEFAULT '0' NOT NULL,
sys_language_uid int(11) DEFAULT '0' NOT NULL,
l18n_parent int(11) DEFAULT '0' NOT NULL,
l18n_diffsource mediumblob NOT NULL,
label varchar(255) DEFAULT '' NOT NULL,
index_name varchar(255) DEFAULT '' NOT NULL,
website varchar(255) DEFAULT '' NOT NULL,
contact varchar(255) DEFAULT '' NOT NULL,
Expand All @@ -237,7 +151,6 @@ CREATE TABLE tx_dlf_libraries (
union_label varchar(255) DEFAULT '' NOT NULL,
union_base varchar(255) DEFAULT '' NOT NULL,

PRIMARY KEY (uid),
KEY parent (pid),
KEY language (l18n_parent,sys_language_uid),
KEY index_name (index_name)
Expand All @@ -247,14 +160,9 @@ CREATE TABLE tx_dlf_libraries (
-- Table structure for table 'tx_dlf_tokens'
--
CREATE TABLE tx_dlf_tokens (
uid int(11) NOT NULL auto_increment,
pid int(11) DEFAULT '0' NOT NULL,
tstamp int(11) DEFAULT '0' NOT NULL COMMENT 'Timestamp of the token used to determine if it has expired.',
token varchar(255) DEFAULT '' NOT NULL,
options mediumtext NOT NULL,
ident varchar(30) DEFAULT '' NOT NULL,

PRIMARY KEY (uid),
KEY parent (pid),
KEY token (token)
);
Expand All @@ -279,19 +187,9 @@ CREATE TABLE tx_dlf_relations (
-- Table structure for table 'tx_dlf_basket'
--
CREATE TABLE tx_dlf_basket (
uid int(11) NOT NULL auto_increment,
pid int(11) DEFAULT '0' NOT NULL,
tstamp int(11) DEFAULT '0' NOT NULL,
fe_user_id int(11) DEFAULT '0' NOT NULL,
deleted smallint(6) DEFAULT '0' NOT NULL,
sys_language_uid int(11) DEFAULT '0' NOT NULL,
l18n_parent int(11) DEFAULT '0' NOT NULL,
l18n_diffsource mediumblob NOT NULL,
label varchar(255) DEFAULT '' NOT NULL,
session_id varchar(32) DEFAULT '' NOT NULL,
doc_ids varchar(255) DEFAULT '' NOT NULL,

PRIMARY KEY (uid),
KEY parent (pid),
KEY language (l18n_parent,sys_language_uid)
);
Expand All @@ -300,46 +198,29 @@ CREATE TABLE tx_dlf_basket (
-- Table structure for table 'tx_dlf_printer'
--
CREATE TABLE tx_dlf_printer (
uid int(11) NOT NULL auto_increment,
pid int(11) DEFAULT '0' NOT NULL,
deleted smallint(6) DEFAULT '0' NOT NULL,
print varchar(255) DEFAULT '' NOT NULL,
label varchar(255) DEFAULT '' NOT NULL,

PRIMARY KEY (uid),
KEY parent (pid)
);

--
-- Table structure for table 'tx_dlf_mail'
--
CREATE TABLE tx_dlf_mail (
uid int(11) NOT NULL auto_increment,
pid int(11) DEFAULT '0' NOT NULL,
deleted smallint(6) DEFAULT '0' NOT NULL,
sorting int(11) DEFAULT '0' NOT NULL,
mail varchar(255) DEFAULT '' NOT NULL,
name varchar(255) DEFAULT '' NOT NULL,
label varchar(255) DEFAULT '' NOT NULL,

PRIMARY KEY (uid),
KEY parent (pid)
);

--
-- Table structure for table 'tx_dlf_actionlog'
--
CREATE TABLE tx_dlf_actionlog (
uid int(11) NOT NULL auto_increment,
pid int(11) DEFAULT '0' NOT NULL,
crdate int(11) DEFAULT '0' NOT NULL,
deleted smallint(6) DEFAULT '0' NOT NULL,
user_id int(11) DEFAULT '0' NOT NULL,
file_name varchar(255) DEFAULT '' NOT NULL,
count_pages int(11) DEFAULT '0' NOT NULL,
name varchar(100) DEFAULT '' NOT NULL,
label varchar(255) DEFAULT '' NOT NULL,

PRIMARY KEY (uid),
KEY parent (pid)
);

0 comments on commit f8103f6

Please sign in to comment.