Closed BrianJKoopman closed 5 years ago
As was brought up in https://github.com/simonsobs/sisock/pull/22#pullrequestreview-199674433, we should use SQL's ability to AUTO_INCREMENT a primary key when assigning the id numbers in the feeds table. cursor.lastrowid can then be used for the feed_id in our code.
AUTO_INCREMENT
id
cursor.lastrowid
feed_id
As was brought up in https://github.com/simonsobs/sisock/pull/22#pullrequestreview-199674433, we should use SQL's ability to
AUTO_INCREMENT
a primary key when assigning theid
numbers in the feeds table.cursor.lastrowid
can then be used for thefeed_id
in our code.