You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
1.2 KiB

  1. CREATE TABLE `users` (
  2. `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
  3. `url` varchar(255) DEFAULT NULL,
  4. `authorization_endpoint` varchar(255) DEFAULT NULL,
  5. `token_endpoint` varchar(255) DEFAULT NULL,
  6. `micropub_endpoint` varchar(255) DEFAULT NULL,
  7. `micropub_media_endpoint` varchar(255) DEFAULT NULL,
  8. `micropub_access_token` text,
  9. `micropub_scope` varchar(255) DEFAULT NULL,
  10. `micropub_response` text,
  11. `micropub_slug_field` varchar(255) NOT NULL DEFAULT 'mp-slug',
  12. `micropub_syndicate_field` varchar(255) NOT NULL DEFAULT 'mp-syndicate-to',
  13. `micropub_success` tinyint(4) DEFAULT '0',
  14. `date_created` datetime DEFAULT NULL,
  15. `last_login` datetime DEFAULT NULL,
  16. `last_micropub_response` text,
  17. `last_micropub_response_date` datetime DEFAULT NULL,
  18. `location_enabled` tinyint(4) NOT NULL DEFAULT '0',
  19. `syndication_targets` text,
  20. `facebook_access_token` text,
  21. `twitter_access_token` text,
  22. `twitter_token_secret` text,
  23. `twitter_username` varchar(255) DEFAULT NULL,
  24. `instagram_access_token` text,
  25. `email_username` varchar(255) DEFAULT NULL,
  26. `default_timezone` varchar(255) DEFAULT NULL,
  27. `supported_post_types` longtext,
  28. PRIMARY KEY (`id`)
  29. ) ENGINE=InnoDB DEFAULT CHARSET=utf8;