Re: Added new column to model and run migrations but not applied to database table

2022-10-10 Thread Jhoan
plying to the database. How can I fix this issue without deleting the >>>>> database? >>>>> >>>>> Thank you >>>>> ~Salima >>>>> >>>>> >>>>> On Mon, Jul 19, 2021 at 7:02 PM Aman Vyas wrot

Re: Added new column to model and run migrations but not applied to database table

2022-07-03 Thread Thomas Lockhart
g no changes detected while running makemigrations and you are > sure that you changed models.py then these things you can try: > > 1: python manage.py makemigrations appname > > if this will not work then do that > > 2: delete migrations folder from your app and delete

Re: Added new column to model and run migrations but not applied to database table

2022-07-03 Thread Malik Rumi
How can I fix this issue without deleting the >>>>> database? >>>>> >>>>> Thank you >>>>> ~Salima >>>>> >>>>> >>>>> On Mon, Jul 19, 2021 at 7:02 PM Aman Vyas wrote: >>>>> >

Re: Added new column to model and run migrations but not applied to database table

2022-06-15 Thread Salima Begum
ed while running makemigrations and >>>>> you are sure that you changed models.py then these things you can try: >>>>> >>>>> 1: python manage.py makemigrations appname >>>>> >>>>> if this will not work then do that >>>

Re: Added new column to model and run migrations but not applied to database table

2021-08-15 Thread Salima Begum
>> you are sure that you changed models.py then these things you can try: >>>> >>>> 1: python manage.py makemigrations appname >>>> >>>> if this will not work then do that >>>> >>>> 2: delete migrations folder from you

Re: Added new column to model and run migrations but not applied to database table

2021-07-26 Thread guna visva
en these things you can try: >>> >>> 1: python manage.py makemigrations appname >>> >>> if this will not work then do that >>> >>> 2: delete migrations folder from your app and delete database then run >>> again python mana

Re: Added new column to model and run migrations but not applied to database table

2021-07-20 Thread Sebastian Jung
folder from your app and delete database then run >> again python manage.py makemigrations >> >> >> >> >> On Mon, Jul 19, 2021 at 6:07 AM Salima Begum < >> salim...@rohteksolutions.com> wrote: >> >>> Hi all, >>> >>> I ha

Re: Added new column to model and run migrations but not applied to database table

2021-07-20 Thread Salima Begum
ions appname > > if this will not work then do that > > 2: delete migrations folder from your app and delete database then run > again python manage.py makemigrations > > > > > On Mon, Jul 19, 2021 at 6:07 AM Salima Begum > wrote: > >> Hi all, >> >> I have added

Re: Added new column to model and run migrations but not applied to database table

2021-07-19 Thread Aman Vyas
python manage.py makemigrations On Mon, Jul 19, 2021 at 6:07 AM Salima Begum wrote: > Hi all, > > I have added a new column to the existing model while developing. Then I > run makemigrations and migrate. It is not applied to the database table > which is created based on that

Re: Added new column to model and run migrations but not applied to database table

2021-07-19 Thread Boris Pérez
> On Mon, 19 Jul 2021 at 07:07, Salima Begum > wrote: > >> Hi all, >> >> I have added a new column to the existing model while developing. Then I >> run makemigrations and migrate. It is not applied to the database table >> which is created based on that mo

Re: Added new column to model and run migrations but not applied to database table

2021-07-19 Thread Ayser shuhaib
What you can do is just change the name of the model then run the migration after that change it back to the original name and run the migration again. This what I do when facing such problem On Mon, 19 Jul 2021 at 07:07, Salima Begum wrote: > Hi all, > > I have added a n

Re: Added new column to model and run migrations but not applied to database table

2021-07-19 Thread Ayser shuhaib
gt;> >> Thanks and regards, >> Abhishek Choudhury >> >> On Mon, 19 Jul 2021 at 10:37 AM, Salima Begum < >> salim...@rohteksolutions.com> wrote: >> >>> Hi all, >>> >>> I have added a new column to the existing model while dev

Re: Added new column to model and run migrations but not applied to database table

2021-07-19 Thread Salima Begum
gards, > Abhishek Choudhury > > On Mon, 19 Jul 2021 at 10:37 AM, Salima Begum < > salim...@rohteksolutions.com> wrote: > >> Hi all, >> >> I have added a new column to the existing model while developing. Then I >> run makemigrations and migrate. It is not ap

Re: Added new column to model and run migrations but not applied to database table

2021-07-19 Thread Abhishek Choudhury
: > Hi all, > > I have added a new column to the existing model while developing. Then I > run makemigrations and migrate. It is not applied to the database table > which is created based on that model. How can I fix this issue? Please help > me to complete this issue. > &

Added new column to model and run migrations but not applied to database table

2021-07-18 Thread Salima Begum
Hi all, I have added a new column to the existing model while developing. Then I run makemigrations and migrate. It is not applied to the database table which is created based on that model. How can I fix this issue? Please help me to complete this issue. The below issue I am facing

Re: Added a column

2007-05-01 Thread [EMAIL PROTECTED]
If it's an existing table, the easiest thing is to go directly to the db and create the column manually. On May 1, 4:09 pm, gsmith <[EMAIL PROTECTED]> wrote: > I'm using sqllite as my database. I've added a Image Field to one of > my tables. I am wondering how i get my database to register

Re: Added a column

2007-05-01 Thread Honza Král
On 5/1/07, gsmith <[EMAIL PROTECTED]> wrote: > > I'm using sqllite as my database. I've added a Image Field to one of > my tables. I am wondering how i get my database to register this new > column. I thought running the command 'python manage.py syncdb' would > update my database. However,

Added a column

2007-05-01 Thread gsmith
I'm using sqllite as my database. I've added a Image Field to one of my tables. I am wondering how i get my database to register this new column. I thought running the command 'python manage.py syncdb' would update my database. However, after I do that my admin errors out saying ' no such