I'm currently setting up a database for solar active regions and one of the columns is supposed to get the region number which, for now, I have declared in the following way:
noaa_number = sql.Column(sql.Integer, nullable=True)
However, since a new number may be assigned as the region evolves, which column type would better support a list to keep all the numbers that a given region is given? So instead of having an entry like:
noaa_number = 12443
I could have my result stored as:
#a simple entry
noaa_number = [12443]
#or multiple results
noaa_number = [12444,12445]
Where these elements in the list would be integers.
I was checking the documentation and the best idea I had was to place this column as a string and parse all the numbers out of it. While that would work just fine I was wondering if there is a better and more appropriate way of doing so.