diff options
author | Brion Vibber <brion@users.mediawiki.org> | 2009-04-28 18:42:26 +0000 |
---|---|---|
committer | Brion Vibber <brion@users.mediawiki.org> | 2009-04-28 18:42:26 +0000 |
commit | ef4849a201277cc1fa39bca4834308e56ec3aa73 (patch) | |
tree | f525946e5baef0987990712af8fb0935162529fa /maintenance/postgres/archives/patch-user_properties.sql | |
parent | 34bbdb98408373a64f62591675d98c12e1f7b049 (diff) | |
download | mediawikicore-ef4849a201277cc1fa39bca4834308e56ec3aa73.tar.gz mediawikicore-ef4849a201277cc1fa39bca4834308e56ec3aa73.zip |
Follow-up to r49803: use proper type and add an explicit foreign key reference for up_user->user_id as we have for other tables in the postgresql schema
Notes
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/50011
Diffstat (limited to 'maintenance/postgres/archives/patch-user_properties.sql')
-rw-r--r-- | maintenance/postgres/archives/patch-user_properties.sql | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/maintenance/postgres/archives/patch-user_properties.sql b/maintenance/postgres/archives/patch-user_properties.sql index 4c930c80c87c..b40fa85fce73 100644 --- a/maintenance/postgres/archives/patch-user_properties.sql +++ b/maintenance/postgres/archives/patch-user_properties.sql @@ -1,5 +1,5 @@ CREATE TABLE user_properties( - up_user BIGINT NOT NULL, + up_user INTEGER NULL REFERENCES mwuser(user_id) ON DELETE CASCADE, up_property TEXT NOT NULL, up_value TEXT ); |