How can I design a Django Model with existing rows in one of the column?

I have a challenge with designing Django model that has existing rows in one of the column as shown below:-

Gaming device in use Gaming Tax on GGR Tax Rate
No of shop/places
No of slot machines
Total Value

I have tried to create one Model with column attributes as fields but I don't figure out how to put number of shops/places and number of slot machines in my Model.

  1. Look at the column types and create a model class with the same column name and types.
  2. Run the python manage.py makemigrations
  3. Run the python manage.py migrate
  4. Add new columns (number_of_shops and number_of_slot_machines)
  5. Run the python manage.py makemigrations
  6. Run the python manage.py migrate
Back to Top