1 |
diff -Nur -x '*.orig' -x '*.rej' e-smith-horde-1.13.0/root/home/httpd/html/horde/scripts/db/mysql_create_tables.sql mezzanine_patched_e-smith-horde-1.13.0/root/home/httpd/html/horde/scripts/db/mysql_create_tables.sql |
2 |
--- e-smith-horde-1.13.0/root/home/httpd/html/horde/scripts/db/mysql_create_tables.sql 2003-11-24 11:50:39.000000000 -0600 |
3 |
+++ mezzanine_patched_e-smith-horde-1.13.0/root/home/httpd/html/horde/scripts/db/mysql_create_tables.sql 2006-10-01 21:18:43.000000000 -0500 |
4 |
@@ -3,19 +3,23 @@ |
5 |
CONNECT horde; |
6 |
|
7 |
CREATE TABLE IF NOT EXISTS horde_users ( |
8 |
- user_uid varchar(255) not null, |
9 |
- user_pass varchar(32) not null, |
10 |
- primary key (user_uid) |
11 |
+ user_uid VARCHAR(255) NOT NULL, |
12 |
+ user_pass VARCHAR(255) NOT NULL, |
13 |
+ user_soft_expiration_date INT, |
14 |
+ user_hard_expiration_date INT, |
15 |
+ |
16 |
+ PRIMARY KEY (user_uid) |
17 |
); |
18 |
|
19 |
GRANT SELECT, INSERT, UPDATE, DELETE ON horde_users TO horde@localhost; |
20 |
|
21 |
CREATE TABLE IF NOT EXISTS horde_prefs ( |
22 |
- pref_uid char(255) not null, |
23 |
- pref_scope char(16) not null default '', |
24 |
- pref_name char(32) not null, |
25 |
- pref_value text null, |
26 |
- primary key (pref_uid, pref_scope, pref_name) |
27 |
+ pref_uid VARCHAR(200) NOT NULL, |
28 |
+ pref_scope VARCHAR(16) NOT NULL DEFAULT '', |
29 |
+ pref_name VARCHAR(32) NOT NULL, |
30 |
+ pref_value LONGTEXT NULL, |
31 |
+ |
32 |
+ PRIMARY KEY (pref_uid, pref_scope, pref_name) |
33 |
); |
34 |
|
35 |
GRANT SELECT, INSERT, UPDATE, DELETE ON horde_prefs TO horde@localhost; |