Advertisement
Guest User

Untitled

a guest
Jul 19th, 2019
224
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.37 KB | None | 0 0
  1. CREATE TABLE `demographic_groups` (
  2. `id` int(11) NOT NULL AUTO_INCREMENT,
  3. `gender` int(11) NOT NULL DEFAULT '0',
  4. `country` int(11) NOT NULL DEFAULT '0',
  5. `expertise` int(11) NOT NULL DEFAULT '0',
  6. `operating_system` int(11) NOT NULL DEFAULT '0',
  7. `gaming_genre` int(11) NOT NULL DEFAULT '0',
  8. `social_network` int(11) NOT NULL DEFAULT '0',
  9. `web_browser` int(11) NOT NULL DEFAULT '0',
  10. `min_income` int(11) DEFAULT NULL,
  11. `max_income` int(11) DEFAULT NULL,
  12. `min_age` int(11) DEFAULT NULL,
  13. `max_age` int(11) DEFAULT NULL,
  14. `birth_year` int(11) DEFAULT NULL,
  15. `type` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,
  16. `created_at` datetime NOT NULL,
  17. `updated_at` datetime NOT NULL,
  18. `flags` int(11) NOT NULL DEFAULT '0',
  19. `form_factor` int(11) NOT NULL DEFAULT '0',
  20. `other_requirement` text COLLATE utf8mb4_unicode_ci,
  21. `states` bigint(20) NOT NULL DEFAULT '0',
  22. `language` bigint(20) NOT NULL DEFAULT '0',
  23. `employment_status` bigint(20) NOT NULL DEFAULT '0',
  24. `industry` json DEFAULT NULL,
  25. `job_function` bigint(20) NOT NULL DEFAULT '0',
  26. `seniority` bigint(20) NOT NULL DEFAULT '0',
  27. `company_size` bigint(20) NOT NULL DEFAULT '0',
  28. `children_present` tinyint(1) DEFAULT NULL,
  29. `children` json DEFAULT NULL,
  30. `ipevo_webcam_tester` tinyint(1) NOT NULL DEFAULT '0',
  31. `recording_method` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL
  32. )
  33.  
  34. CREATE TABLE `tester_devices` (
  35. `id` int(11) NOT NULL AUTO_INCREMENT,
  36. `tester_user_id` int(11) NOT NULL,
  37. `device_id` int(11) NOT NULL
  38. )
  39.  
  40. CREATE TABLE `devices` (
  41. `id` int(11) NOT NULL AUTO_INCREMENT,
  42. `name` varchar(255) CHARACTER SET utf8 NOT NULL,
  43. `form_factor` int(11) NOT NULL,
  44. `operating_system` int(11) NOT NULL,
  45. `sprite_identifier` varchar(255) CHARACTER SET utf8 NOT NULL
  46. )
  47.  
  48. CREATE TABLE `tester_profiles` (
  49. `id` int(11) NOT NULL AUTO_INCREMENT,
  50. `user_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  51. `postal_code` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,
  52. `country` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,
  53. `paypal_email` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  54. `daily_web_use` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  55. `found_through` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  56. `created_at` datetime DEFAULT NULL,
  57. `updated_at` datetime DEFAULT NULL,
  58. `user_id` int(11) DEFAULT NULL,
  59. `sample_session_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,
  60. `demographic_group_id` int(11) DEFAULT NULL,
  61. `score` int(11) DEFAULT NULL,
  62. `score_override` int(11) DEFAULT NULL,
  63. `flags` int(11) NOT NULL DEFAULT '0',
  64. `raw_score` float DEFAULT NULL,
  65. `exclusive_bonus` decimal(12,2) DEFAULT NULL,
  66. `udid_ipod` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,
  67. `udid_ipad` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,
  68. `udid_iphone` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,
  69. `shipping_address` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,
  70. `last_seen_user_agent` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,
  71. `geoip_country` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,
  72. `preferred_timezone` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,
  73. `status` varchar(30) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  74. `gender_details` varchar(40) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  75. `unpaid` tinyint(1) NOT NULL DEFAULT '0',
  76. `demographics_tracked` tinyint(1) NOT NULL DEFAULT '0'
  77. )
  78.  
  79. CREATE TABLE `users` (
  80. `id` int(11) NOT NULL AUTO_INCREMENT,
  81. `email` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  82. `encrypted_password` varchar(128) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  83. `reset_password_token` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,
  84. `reset_password_sent_at` datetime DEFAULT NULL,
  85. `remember_created_at` datetime DEFAULT NULL,
  86. `sign_in_count` int(11) DEFAULT '0',
  87. `current_sign_in_at` datetime DEFAULT NULL,
  88. `last_sign_in_at` datetime DEFAULT NULL,
  89. `current_sign_in_ip` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,
  90. `last_sign_in_ip` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,
  91. `created_at` datetime DEFAULT NULL,
  92. `updated_at` datetime DEFAULT NULL,
  93. `first_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  94. `last_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  95. `phone_number` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,
  96. `company_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  97. `uid` varchar(36) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  98. `one_time_sign_in_token` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,
  99. `current_account_id` int(11) DEFAULT NULL,
  100. `roles` int(11) DEFAULT '0',
  101. `quantcast_rating_id` int(11) DEFAULT NULL,
  102. `settings` text CHARACTER SET utf8 COLLATE utf8_unicode_ci,
  103. `flags` int(11) NOT NULL DEFAULT '0',
  104. `failed_attempts` int(11) DEFAULT '0',
  105. `unlock_token` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,
  106. `locked_at` datetime DEFAULT NULL,
  107. `blocked` tinyint(1) DEFAULT '0',
  108. `salesperson` tinyint(1) DEFAULT '0',
  109. `account_manager` tinyint(1) DEFAULT '0',
  110. `session_token` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL
  111. )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement