Created
June 22, 2012 18:43
-
-
Save barrychapman/2974461 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
delimiter $$ | |
CREATE TABLE `receivables` ( | |
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, | |
`user_id` bigint(20) unsigned NOT NULL, | |
`project_id` bigint(20) unsigned NOT NULL, | |
`pledge_id` char(36) NOT NULL, | |
`token` varchar(50) NOT NULL, | |
`amount` double(10,2) unsigned NOT NULL, | |
`due_by_date` datetime DEFAULT NULL, | |
`settled` tinyint(1) DEFAULT '0', | |
`created` datetime DEFAULT NULL, | |
`modified` datetime DEFAULT NULL, | |
PRIMARY KEY (`id`) | |
) ENGINE=InnoDB AUTO_INCREMENT=46 DEFAULT CHARSET=utf8$$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment