SHARE
TWEET

subs model

a guest Feb 16th, 2011 64 Never
  1. CREATE TABLE IF NOT EXISTS `users_subscriptions` (
  2.   `id` INT(11) NOT NULL AUTO_INCREMENT,
  3.   `user_id` INT(11) NOT NULL,
  4.   `subscription_id` INT(11) NOT NULL,
  5.   PRIMARY KEY (`id`),
  6.   KEY `subscriber_id` (`subscription_id`),
  7.   KEY `user_id` (`user_id`)
  8. ) ENGINE=InnoDB  DEFAULT CHARSET=utf8 AUTO_INCREMENT=2 ;
RAW Paste Data
Top