Index: trunk/extensions/SocialProfile/UserStatus/userstatus.sql |
— | — | @@ -1,6 +1,6 @@ |
2 | 2 | CREATE TABLE /*_*/user_status ( |
3 | 3 | -- Unique status ID number |
4 | | - `us_id` int(11) NOT NULL AUTO_INCREMENT PRIMARY KEY, |
| 4 | + `us_id` int(11) NOT NULL PRIMARY KEY AUTO_INCREMENT, |
5 | 5 | -- ID number of the user who wrote this status update |
6 | 6 | `us_user_id` int(11) NOT NULL default '0', |
7 | 7 | -- Timestamp of the status update |
— | — | @@ -10,8 +10,8 @@ |
11 | 11 | )/*$wgDBTableOptions*/; |
12 | 12 | |
13 | 13 | CREATE TABLE /*_*/user_status_history ( |
14 | | - `ush_id` int(11) NOT NULL AUTO_INCREMENT PRIMARY KEY, |
| 14 | + `ush_id` int(11) NOT NULL PRIMARY KEY AUTO_INCREMENT, |
15 | 15 | `ush_user_id` int(11) NOT NULL default '0', |
16 | 16 | `ush_timestamp` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, |
17 | 17 | `ush_status` varchar(140) NOT NULL default '' |
18 | | -)/*$wgDBTableOptions*/; |
\ No newline at end of file |
| 18 | +)/*$wgDBTableOptions*/; |