Commit a894a40fa57900906b43021be9aa0351cbf2df9d
1 parent
6e2319e9
removed document_fields_lookup table
git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@1117 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
2 changed files
with
1 additions
and
7 deletions
sql/drop.sql
| 1 | DROP TABLE active_sessions; | 1 | DROP TABLE active_sessions; |
| 2 | DROP TABLE document_fields; | 2 | DROP TABLE document_fields; |
| 3 | DROP TABLE document_fields_link; | 3 | DROP TABLE document_fields_link; |
| 4 | -DROP TABLE document_fields_lookup; | ||
| 5 | DROP TABLE document_transaction_types_lookup; | 4 | DROP TABLE document_transaction_types_lookup; |
| 6 | DROP TABLE document_transactions; | 5 | DROP TABLE document_transactions; |
| 7 | DROP TABLE document_type_fields_link; | 6 | DROP TABLE document_type_fields_link; |
sql/tables.sql
| @@ -7,7 +7,7 @@ lastused DATETIME, | @@ -7,7 +7,7 @@ lastused DATETIME, | ||
| 7 | ip CHAR(30) | 7 | ip CHAR(30) |
| 8 | ) TYPE = InnoDB; | 8 | ) TYPE = InnoDB; |
| 9 | 9 | ||
| 10 | -CREATE TABLE document_fields ( | 10 | +CREATE TABLE document_fields( |
| 11 | id INTEGER NOT NULL UNIQUE AUTO_INCREMENT, | 11 | id INTEGER NOT NULL UNIQUE AUTO_INCREMENT, |
| 12 | name CHAR(255) NOT NULL, | 12 | name CHAR(255) NOT NULL, |
| 13 | data_type CHAR(100) NOT NULL, | 13 | data_type CHAR(100) NOT NULL, |
| @@ -22,11 +22,6 @@ document_field_id INTEGER NOT NULL, | @@ -22,11 +22,6 @@ document_field_id INTEGER NOT NULL, | ||
| 22 | value CHAR(255) NOT NULL | 22 | value CHAR(255) NOT NULL |
| 23 | )TYPE = InnoDB; | 23 | )TYPE = InnoDB; |
| 24 | 24 | ||
| 25 | -CREATE TABLE document_fields_lookup ( | ||
| 26 | -id INTEGER NOT NULL UNIQUE AUTO_INCREMENT, | ||
| 27 | -document_field_id INTEGER NOT NULL, | ||
| 28 | -name CHAR(255) NOT NULL | ||
| 29 | -)TYPE = InnoDB; | ||
| 30 | 25 | ||
| 31 | CREATE TABLE document_transaction_types_lookup ( | 26 | CREATE TABLE document_transaction_types_lookup ( |
| 32 | id INTEGER NOT NULL UNIQUE AUTO_INCREMENT, | 27 | id INTEGER NOT NULL UNIQUE AUTO_INCREMENT, |