Index: branches/liquidthreads/maintenance/lqt.sql |
— | — | @@ -14,8 +14,10 @@ |
15 | 15 | |
16 | 16 | -- Special thread types such as schrodinger's thread: |
17 | 17 | thread_type int(4) unsigned NOT NULL default 0, |
18 | | - thread_log int unsigned NULL, |
19 | 18 | |
| 19 | + thread_change_type int(4) unsigned NOT NULL default 0, |
| 20 | + thread_change_object int(8) unsigned NULL, |
| 21 | + |
20 | 22 | PRIMARY KEY thread_id (thread_id), |
21 | 23 | UNIQUE INDEX thread_id (thread_id), |
22 | 24 | INDEX thread_article (thread_article), |
— | — | @@ -30,8 +32,8 @@ |
31 | 33 | hthread_id int(8) unsigned NOT NULL, |
32 | 34 | hthread_revision int(8) unsigned NOT NULL, |
33 | 35 | hthread_contents BLOB NOT NULL, |
34 | | - hthread_affected_id int(8) unsigned NOT NULL, |
35 | | - hthread_action int(1) unsigned NOT NULL, |
| 36 | + hthread_change_type int(4) unsigned NOT NULL default 0, |
| 37 | + hthread_change_object int(8) unsigned NULL, |
36 | 38 | PRIMARY KEY hthread_id_revision (hthread_id, hthread_revision) |
37 | 39 | ) TYPE=InnoDB; |
38 | 40 | |