Commit 679a6808ff98f497b4566876bcd1fcdb4e694efe

Authored by mukhtar
1 parent 79c0763e

shifted folders_doctypes_link table up for orders sake


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@1195 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing 1 changed file with 8 additions and 6 deletions
sql/tables.sql
@@ -119,6 +119,14 @@ done BIT, @@ -119,6 +119,14 @@ done BIT,
119 active BIT 119 active BIT
120 )TYPE = InnoDB; 120 )TYPE = InnoDB;
121 121
  122 +
  123 +CREATE TABLE folder_doctypes_link (
  124 +id int(11) NOT NULL auto_increment,
  125 +folder_id int(11) NOT NULL default '0',
  126 +document_type_id int(11) NOT NULL default '0',
  127 +UNIQUE KEY id (id)
  128 +) TYPE=InnoDB;
  129 +
122 CREATE TABLE groups_folders_approval_link ( 130 CREATE TABLE groups_folders_approval_link (
123 id INTEGER NOT NULL UNIQUE AUTO_INCREMENT, 131 id INTEGER NOT NULL UNIQUE AUTO_INCREMENT,
124 folder_id INTEGER NOT NULL, 132 folder_id INTEGER NOT NULL,
@@ -272,12 +280,6 @@ name CHAR(50) NOT NULL @@ -272,12 +280,6 @@ name CHAR(50) NOT NULL
272 )TYPE = InnoDB; 280 )TYPE = InnoDB;
273 281
274 282
275 -CREATE TABLE folder_doctypes_link (  
276 - id int(11) NOT NULL auto_increment,  
277 - folder_id int(11) NOT NULL default '0',  
278 - document_type_id int(11) NOT NULL default '0',  
279 - UNIQUE KEY id (id)  
280 -) TYPE=InnoDB;  
281 283
282 CREATE TABLE web_sites ( 284 CREATE TABLE web_sites (
283 id INTEGER NOT NULL UNIQUE AUTO_INCREMENT, 285 id INTEGER NOT NULL UNIQUE AUTO_INCREMENT,