spierce7
06/01/2021, 11:28 PMCREATE TABLE DeviceRecording (
id INTEGER PRIMARY KEY AUTOINCREMENT,
json TEXT NOT NULL
);
The generated model has a non-nullable id
, which makes it difficult to insert a DeviceRecording
because in order to create one, I have to provide an ID. What’s the work-around? Am I thinking about this wrong?