Hi.

Migrate command applies migrations, changes to your models, into database.

For example if you add a new field in your model you need to create a
migration (piece of code that reflects your change) using makemigrations
command.

Once you have made migration(s) you need to apply them so database contains
a colum in a table that your model represents.


pe 19. heinäk. 2019 klo 11.23 yasar arafath Kajamydeen <[email protected]>
kirjoitti:

> Hi all,
>
> can some one tell me what is the use of migrate command ?
>
> when i enter the command i got the following error (No migration to apply)
> . I dont know what to do further and also i would like to create tables
> (sqlite) .
>
>
> [image: migrate.JPG]
>
>
> Note - I am a beginer to Django ..  Most welcome with your reply
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/e715d8b3-9ed7-433d-9bf2-94899b196289%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/e715d8b3-9ed7-433d-9bf2-94899b196289%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAHn91ocrDXRqKVF7PhfOD764G91bCv45pqJUtTgyS3nF_v%2BihA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to