Closed joehand closed 7 years ago
The dat CLI sends all contents of dat.json to publish. This causes error if keys aren't part of what is in the table:
ERROR: insert into "dats" ("author", "description", "id", "name", "title", "url", "user_id") values ('Joe Hand', 'space for jhand to write and play', 'aa0d2f3d-00e2-4260-b054-7abbc86adcf8', 'jhand-space', 'jhand space', 'dat://ad7e5e6562e920af0ae78d20e1a6a2b599c658df46a9b73ef7951180fcd0e56d', '9d0afbf0-e0e4-41b0-b398-ba86bf419383') - SQLITE_ERROR: table dats has no column named author
fixed in https://github.com/datproject/dat-registry-api@6.0.3
sweet!
The dat CLI sends all contents of dat.json to publish. This causes error if keys aren't part of what is in the table: