Skip to content
This repository has been archived by the owner on Sep 12, 2022. It is now read-only.

Commit

Permalink
Fix migrations to first remove old access_token table
Browse files Browse the repository at this point in the history
In order to do this, the initial migration had to be replaced by one that will restore the original AccessToken model before we can remove it and add the new model
  • Loading branch information
Calvin Mclean committed Aug 16, 2018
1 parent 56b98ae commit b4fd095
Show file tree
Hide file tree
Showing 2 changed files with 1,469 additions and 0 deletions.
3 changes: 3 additions & 0 deletions core/migrations/create_access_token_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ class Migration(migrations.Migration):
]

operations = [
migrations.DeleteModel(
name='AccessToken',
),
migrations.CreateModel(
name='AccessToken',
fields=[
Expand Down
Loading

0 comments on commit b4fd095

Please sign in to comment.