-
-
Save sanity/46e5fa5f5a768725eb7c 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
-- | |
-- Table structure for table `campaigns` | |
-- | |
DROP TABLE IF EXISTS `campaigns`; | |
/*!40101 SET @saved_cs_client = @@character_set_client */; | |
/*!40101 SET character_set_client = utf8 */; | |
CREATE TABLE `campaigns` ( | |
`id` int(11) NOT NULL AUTO_INCREMENT, | |
`budget` decimal(15,5) NOT NULL DEFAULT '0.00000', | |
`start_date` datetime DEFAULT NULL, | |
`end_date` datetime DEFAULT NULL, | |
`budget_interval` enum('day','week','month','year') NOT NULL DEFAULT 'day', | |
`lastModified` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, | |
`name` varchar(256) DEFAULT NULL, | |
`account_id` int(11) NOT NULL, | |
`read_only` enum('yes','no') NOT NULL DEFAULT 'no', | |
PRIMARY KEY (`id`) | |
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=latin1; | |
/*!40101 SET character_set_client = @saved_cs_client */; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment