Skip to content

Create initial migration #4

@prokaktus

Description

@prokaktus

After installing app, if I ran:

$ ./manage.py makemigrations
    No changes detected

This is because every app should have initial migration after Django 1.6. So, I should explicitly ran makemigrations with the app label:

$ ./manage.py makemigrations djangoseo
Migrations for 'djangoseo':
  0001_initial.py:
    - Create model EntryMetadataModel
    - Create model EntryMetadataModelInstance
    - Create model EntryMetadataPath
    - Create model EntryMetadataView
    - Alter unique_together for entrymetadataview (1 constraint(s))
    - Alter unique_together for entrymetadatapath (1 constraint(s))
    - Alter unique_together for entrymetadatamodelinstance (2 constraint(s))
    - Alter unique_together for entrymetadatamodel (1 constraint(s))

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions