Add a Column to a table if not exists MySQL allows you to create a table if it does not exist, but does not provide a native way of a adding a column (i.e. a field) to an existing table with a test of whether the column already exists - so as to avoi…
0down votefavorite I am getting error like django.db.utils.OperationalError: (1050, "Table 'someTable' already exists") I want to know reason for getting this type error. I ran the following commands on termial 1. python manage.py makemigratio…