alisonamerico

migrations

Jan 14th, 2021
573
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. dev-api-rest-private on  main via 🐍 v3.9.0 (.venv) took 29s
  2. ❯ pipenv install    
  3. Courtesy Notice: Pipenv found itself running within a virtual environment, so it will automatically use that environment, instead of creating its own for any project. You can set PIPENV_IGNORE_VIRTUALENVS=1 to force pipenv to ignore that environment and create its own instead. You can set PIPENV_VERBOSITY=-1 to suppress this warning.
  4. Installing dependencies from Pipfile.lock (a6086c)...
  5.   🐍   ▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉ 4/4 — 00:00:22
  6.  
  7. dev-api-rest-private on  main via 🐍 v3.9.0 (.venv) took 26s
  8. ❯ mng runserver
  9. Watching for file changes with StatReloader
  10. Performing system checks...
  11.  
  12. System check identified no issues (0 silenced).
  13.  
  14. You have 18 unapplied migration(s). Your project may not work properly until you apply the migrations for app(s): admin, auth, contenttypes, sessions.
  15. Run 'python manage.py migrate' to apply them.
  16. January 14, 2021 - 16:59:07
  17. Django version 3.1.5, using settings 'desafio_dock.settings'
  18. Starting development server at http://127.0.0.1:8000/
  19. Quit the server with CONTROL-C.
  20. ^C%                                                                                                                                                                    
  21. dev-api-rest-private on  main via 🐍 v3.9.0 (.venv) took 13s
  22. ❯ mng showmigrations
  23. admin
  24.  [ ] 0001_initial
  25.  [ ] 0002_logentry_remove_auto_add
  26.  [ ] 0003_logentry_add_action_flag_choices
  27. app
  28.  (no migrations)
  29. auth
  30.  [ ] 0001_initial
  31.  [ ] 0002_alter_permission_name_max_length
  32.  [ ] 0003_alter_user_email_max_length
  33.  [ ] 0004_alter_user_username_opts
  34.  [ ] 0005_alter_user_last_login_null
  35.  [ ] 0006_require_contenttypes_0002
  36.  [ ] 0007_alter_validators_add_error_messages
  37.  [ ] 0008_alter_user_username_max_length
  38.  [ ] 0009_alter_user_last_name_max_length
  39.  [ ] 0010_alter_group_name_max_length
  40.  [ ] 0011_update_proxy_permissions
  41.  [ ] 0012_alter_user_first_name_max_length
  42. contas
  43.  (no migrations)
  44. contenttypes
  45.  [ ] 0001_initial
  46.  [ ] 0002_remove_content_type_name
  47. pessoas
  48.  (no migrations)
  49. sessions
  50.  [ ] 0001_initial
  51. transacoes
  52.  (no migrations)
  53.  
  54. dev-api-rest-private on  main via 🐍 v3.9.0 (.venv)
  55. ❯ mng makemigrations
  56. No changes detected
  57.  
  58. dev-api-rest-private on  main via 🐍 v3.9.0 (.venv)
  59. ❯ mng migrate      
  60. Operations to perform:
  61.   Apply all migrations: admin, auth, contenttypes, sessions
  62. Running migrations:
  63.   Applying contenttypes.0001_initial... OK
  64.   Applying auth.0001_initial... OK
  65.   Applying admin.0001_initial... OK
  66.   Applying admin.0002_logentry_remove_auto_add... OK
  67.   Applying admin.0003_logentry_add_action_flag_choices... OK
  68.   Applying contenttypes.0002_remove_content_type_name... OK
  69.   Applying auth.0002_alter_permission_name_max_length... OK
  70.   Applying auth.0003_alter_user_email_max_length... OK
  71.   Applying auth.0004_alter_user_username_opts... OK
  72.   Applying auth.0005_alter_user_last_login_null... OK
  73.   Applying auth.0006_require_contenttypes_0002... OK
  74.   Applying auth.0007_alter_validators_add_error_messages... OK
  75.   Applying auth.0008_alter_user_username_max_length... OK
  76.   Applying auth.0009_alter_user_last_name_max_length... OK
  77.   Applying auth.0010_alter_group_name_max_length... OK
  78.   Applying auth.0011_update_proxy_permissions... OK
  79.   Applying auth.0012_alter_user_first_name_max_length... OK
  80.   Applying sessions.0001_initial... OK
  81.  
  82. dev-api-rest-private on  main via 🐍 v3.9.0 (.venv) took 3s
  83. ❯ mng showmigrations
  84. admin
  85.  [X] 0001_initial
  86.  [X] 0002_logentry_remove_auto_add
  87.  [X] 0003_logentry_add_action_flag_choices
  88. app
  89.  (no migrations)
  90. auth
  91.  [X] 0001_initial
  92.  [X] 0002_alter_permission_name_max_length
  93.  [X] 0003_alter_user_email_max_length
  94.  [X] 0004_alter_user_username_opts
  95.  [X] 0005_alter_user_last_login_null
  96.  [X] 0006_require_contenttypes_0002
  97.  [X] 0007_alter_validators_add_error_messages
  98.  [X] 0008_alter_user_username_max_length
  99.  [X] 0009_alter_user_last_name_max_length
  100.  [X] 0010_alter_group_name_max_length
  101.  [X] 0011_update_proxy_permissions
  102.  [X] 0012_alter_user_first_name_max_length
  103. contas
  104.  (no migrations)
  105. contenttypes
  106.  [X] 0001_initial
  107.  [X] 0002_remove_content_type_name
  108. pessoas
  109.  (no migrations)
  110. sessions
  111.  [X] 0001_initial
  112. transacoes
  113.  (no migrations)
  114.  
  115. dev-api-rest-private on  main via 🐍 v3.9.0 (.venv)
  116. ❯ mng migrate contas pessoas transacoes
  117. usage: manage.py migrate [-h] [--noinput] [--database DATABASE] [--fake] [--fake-initial] [--plan] [--run-syncdb] [--check] [--version] [-v {0,1,2,3}]
  118.                          [--settings SETTINGS] [--pythonpath PYTHONPATH] [--traceback] [--no-color] [--force-color] [--skip-checks]
  119.                          [app_label] [migration_name]
  120. manage.py migrate: error: unrecognized arguments: transacoes
  121.  
  122. dev-api-rest-private on  main via 🐍 v3.9.0 (.venv)
  123. ❯ mng migrate contas                  
  124. Operations to perform:
  125.   Apply all migrations: (none)
  126. Running migrations:
  127.   No migrations to apply.
  128.  
  129. dev-api-rest-private on  main via 🐍 v3.9.0 (.venv)
  130. ❯ mng showmigrations                  
  131. admin
  132.  [X] 0001_initial
  133.  [X] 0002_logentry_remove_auto_add
  134.  [X] 0003_logentry_add_action_flag_choices
  135. app
  136.  (no migrations)
  137. auth
  138.  [X] 0001_initial
  139.  [X] 0002_alter_permission_name_max_length
  140.  [X] 0003_alter_user_email_max_length
  141.  [X] 0004_alter_user_username_opts
  142.  [X] 0005_alter_user_last_login_null
  143.  [X] 0006_require_contenttypes_0002
  144.  [X] 0007_alter_validators_add_error_messages
  145.  [X] 0008_alter_user_username_max_length
  146.  [X] 0009_alter_user_last_name_max_length
  147.  [X] 0010_alter_group_name_max_length
  148.  [X] 0011_update_proxy_permissions
  149.  [X] 0012_alter_user_first_name_max_length
  150. contas
  151.  (no migrations)
  152. contenttypes
  153.  [X] 0001_initial
  154.  [X] 0002_remove_content_type_name
  155. pessoas
  156.  (no migrations)
  157. sessions
  158.  [X] 0001_initial
  159. transacoes
  160.  (no migrations)
  161.  
  162. dev-api-rest-private on  main via 🐍 v3.9.0 (.venv)
  163. ❯ mng makemigrations contas  
  164. No changes detected in app 'contas'
RAW Paste Data