project01
標準User
独自ユーザ
既存DB(例)
|
project01
Django標準のUser
db_django=# \d
リレーションの一覧
| スキーマ | 名前 | 型 | 所有者 |
| public | auth_group | テーブル | postgres |
| public | auth_group_id_seq | シーケンス | postgres |
| public | auth_group_permissions | テーブル | postgres |
| public | auth_group_permissions_id_seq | シーケンス | postgres |
| public | auth_permission | テーブル | postgres |
| public | auth_permission_id_seq | シーケンス | postgres |
| public | auth_user | テーブル | postgres |
| public | auth_user_groups | テーブル | postgres |
| public | auth_user_groups_id_seq | シーケンス | postgres |
| public | auth_user_id_seq | シーケンス | postgres |
| public | auth_user_user_permissions | テーブル | postgres |
| public | auth_user_user_permissions_id_seq | シーケンス | postgres |
| public | django_admin_log | テーブル | postgres |
| public | django_admin_log_id_seq | シーケンス | postgres |
| public | django_content_type | テーブル | postgres |
| public | django_content_type_id_seq | シーケンス | postgres |
| public | django_migrations | テーブル | postgres |
| public | django_migrations_id_seq | シーケンス | postgres |
| public | django_session | テーブル | postgres |
| public | django_site | テーブル | postgres |
| public | django_site_id_seq | シーケンス | postgres |
| public | thread_category | テーブル | postgres |
| public | thread_category_id_seq | シーケンス | postgres |
| public | thread_comment | テーブル | postgres |
| public | thread_comment_id_seq | シーケンス | postgres |
| public | thread_topic | テーブル | postgres |
| public | thread_topic_id_seq | シーケンス | postgres |
| public | thread_vote | テーブル | postgres |
| public | thread_vote_id_seq | シーケンス | postgres |
(29 行)
独自カスタマイズのユーザー
db_django=# \d
リレーションの一覧
| スキーマ | 名前 | 型 | 所有者 |
| public | accounts_user | テーブル | postgres |
| public | accounts_user_groups | テーブル | postgres |
| public | accounts_user_groups_id_seq | シーケンス | postgres |
| public | accounts_user_id_seq | シーケンス | postgres |
| public | accounts_user_user_permissions | テーブル | postgres |
| public | accounts_user_user_permissions_id_seq | シーケンス | postgres |
| public | auth_group | テーブル | postgres |
| public | auth_group_id_seq | シーケンス | postgres |
| public | auth_group_permissions | テーブル | postgres |
| public | auth_group_permissions_id_seq | シーケンス | postgres |
| public | auth_permission | テーブル | postgres |
| public | auth_permission_id_seq | シーケンス | postgres |
| public | django_admin_log | テーブル | postgres |
| public | django_admin_log_id_seq | シーケンス | postgres |
| public | django_content_type | テーブル | postgres |
| public | django_content_type_id_seq | シーケンス | postgres |
| public | django_migrations | テーブル | postgres |
| public | django_migrations_id_seq | シーケンス | postgres |
| public | django_session | テーブル | postgres |
| public | django_site | テーブル | postgres |
| public | django_site_id_seq | シーケンス | postgres |
| public | thread_category | テーブル | postgres |
| public | thread_category_id_seq | シーケンス | postgres |
| public | thread_comment | テーブル | postgres |
| public | thread_comment_id_seq | シーケンス | postgres |
| public | thread_topic | テーブル | postgres |
| public | thread_topic_id_seq | シーケンス | postgres |
| public | thread_vote | テーブル | postgres |
| public | thread_vote_id_seq | シーケンス | postgres |
(29 行)
既存DB(例)
・マイグレーション前
db_django=# \d
リレーションの一覧
| スキーマ | 名前 | 型 | 所有者 |
| public | tbl_goken_mac_comment | テーブル | postgres |
| public | tbl_goken_mat_kekka | テーブル | postgres |
| public | tbl_goken_user | シーケンス | postgres |
| public | user_no_seq | シーケンス | postgres |
(4 行)
・マイグレーション後
db_django=# \d
リレーションの一覧
| スキーマ | 名前 | 型 | 所有者 |
| public | auth_group | テーブル | postgres |
| public | auth_group_id_seq | シーケンス | postgres |
| public | auth_group_permissions | テーブル | postgres |
| public | auth_group_permissions_id_seq | シーケンス | postgres |
| public | auth_permission | テーブル | postgres |
| public | auth_permission_id_seq | シーケンス | postgres |
| public | auth_user | テーブル | postgres |
| public | auth_user_groups | テーブル | postgres |
| public | auth_user_groups_id_seq | シーケンス | postgres |
| public | auth_user_id_seq | シーケンス | postgres |
| public | auth_user_user_permissions | テーブル | postgres |
| public | auth_user_user_permissions_id_seq | シーケンス | postgres |
| public | django_admin_log | テーブル | postgres |
| public | django_admin_log_id_seq | シーケンス | postgres |
| public | django_content_type | テーブル | postgres |
| public | django_content_type_id_seq | シーケンス | postgres |
| public | django_migrations | テーブル | postgres |
| public | django_migrations_id_seq | シーケンス | postgres |
| public | django_session | テーブル | postgres |
| public | tbl_goken_mac_comment | テーブル | postgres |
| public | tbl_goken_mat_kekka | テーブル | postgres |
| public | tbl_goken_user | シーケンス | postgres |
| public | user_no_seq | シーケンス | postgres |
(23 行)
|