Guest User

Untitled

a guest
Jun 20th, 2018
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.71 KB | None | 0 0
  1. BEGIN;CREATE TABLE `django_admin_log` (
  2. `id` integer AUTO_INCREMENT NOT NULL PRIMARY KEY,
  3. `action_time` datetime NOT NULL,
  4. `user_id` integer NOT NULL,
  5. `content_type_id` integer,
  6. `object_id` longtext,
  7. `object_repr` varchar(200) NOT NULL,
  8. `action_flag` smallint UNSIGNED NOT NULL,
  9. `change_message` longtext NOT NULL
  10. )
  11. ;
  12. -- The following references should be added but depend on non-existent tables:
  13. -- ALTER TABLE `django_admin_log` ADD CONSTRAINT `content_type_id_refs_id_288599e6` FOREIGN KEY (`content_type_id`) REFERENCES `django_content_type` (`id`);
  14. -- ALTER TABLE `django_admin_log` ADD CONSTRAINT `user_id_refs_id_c8665aa` FOREIGN KEY (`user_id`) REFERENCES `auth_user` (`id`);COMMIT;
Add Comment
Please, Sign In to add comment