FabLabSiegen / accesslog

Access Control and Management System for a Fab Lab
1 stars 1 forks source link

Feature/models #30

Closed FelixDango closed 3 years ago

FelixDango commented 3 years ago

Add necessary models for REST API and business logic

FelixDango commented 3 years ago

Für Fehler bei migrations in die lokale Datenbank folgendes machen:

  1. Drop tables with "print_" prefix
  2. Delete your migrations folder
  3. In the database: DELETE FROM django_migrations WHERE app = 'print'. You could alternatively just truncate this table.
  4. python manage.py makemigrations print
  5. python manage.py migrate