Make sponsorships table able to handle either an organization sponsor (linked to sponsors) or an individual sponsor (linked to users)

This commit is contained in:
james 2009-09-18 15:12:10 +00:00
parent 2762a12eb0
commit 98755a5e4a
2 changed files with 3 additions and 1 deletions

View File

@ -1 +1 @@
134
135

2
db/db.update.135.sql Normal file
View File

@ -0,0 +1,2 @@
ALTER TABLE `sponsorships` ADD `users_uid` INT NULL DEFAULT NULL AFTER `sponsors_id` ;
ALTER TABLE `sponsorships` CHANGE `sponsors_id` `sponsors_id` INT( 11 ) NULL DEFAULT NULL