Created
March 30, 2014 13:10
-
-
Save e00dan/9872588 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ALTER TABLE `accounts` ADD `referrer` int(11) DEFAULT NULL; | |
CREATE TABLE IF NOT EXISTS `referrals` ( | |
`id` int(11) NOT NULL AUTO_INCREMENT, | |
`account_id` int(11) NOT NULL, | |
`premium_points` int(10) NOT NULL, | |
PRIMARY KEY (`id`) | |
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=0 ; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment