Advertisement
Guest User

Untitled

a guest
May 6th, 2016
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.12 KB | None | 0 0
  1. CREATE TABLE IF NOT EXISTS `keitaro_campaigns` (
  2. `id` int(11) NOT NULL AUTO_INCREMENT,
  3. `alias` varchar(50) DEFAULT NULL,
  4. `name` varchar(200) DEFAULT NULL,
  5. `type` varchar(20) NOT NULL DEFAULT 'position',
  6. `uniqueness_method` varchar(20) NOT NULL DEFAULT 'cookie',
  7. `cookies_ttl` int(11) NOT NULL DEFAULT '24',
  8. `action_type` varchar(20) DEFAULT NULL,
  9. `action_payload` text,
  10. `action_for_bots` varchar(50) NOT NULL DEFAULT '404',
  11. `bot_redirect_url` text,
  12. `bot_text` text,
  13. `action_tracking_disabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
  14. `position` int(10) unsigned DEFAULT NULL,
  15. `state` varchar(50) NOT NULL DEFAULT 'active',
  16. `updated_at` datetime DEFAULT NULL,
  17. `mode` varchar(50) DEFAULT 'general',
  18. `cost_type` varchar(10) DEFAULT 'CPV',
  19. `cost_value` decimal(10,4) DEFAULT '0.0000',
  20. `cost_currency` varchar(3) DEFAULT NULL,
  21. `group_id` int(10) unsigned DEFAULT NULL,
  22. `bind_visitors` tinyint(1) unsigned NOT NULL DEFAULT '0',
  23. PRIMARY KEY (`id`),
  24. KEY `alias` (`alias`),
  25. KEY `state` (`state`),
  26. KEY `group_id` (`group_id`)
  27. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement