Commit 55dfdf09cd6bac9e11814034dc10bd34ca695aaa
1 parent
94d76822
Added new document_text table for searching
git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@1734 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
9 additions
and
0 deletions
sql/tables.sql
| 1 | -- table definitions | 1 | -- table definitions |
| 2 | + | ||
| 3 | +CREATE TABLE document_text ( | ||
| 4 | + id INTEGER NOT NULL UNIQUE AUTO_INCREMENT, | ||
| 5 | + document_id integer, | ||
| 6 | + document_text MEDIUMTEXT, | ||
| 7 | + FULLTEXT (document_text) | ||
| 8 | +) Type = InnoDB; | ||
| 9 | + | ||
| 10 | + | ||
| 2 | CREATE TABLE active_sessions ( | 11 | CREATE TABLE active_sessions ( |
| 3 | id INTEGER NOT NULL UNIQUE AUTO_INCREMENT, | 12 | id INTEGER NOT NULL UNIQUE AUTO_INCREMENT, |
| 4 | user_id INTEGER, | 13 | user_id INTEGER, |