dendrite/roomserver/storage
Kegan Dougal 25e2f0f0ab sqlite: Fix UNIQUE violations and close more cursors
- Add missing `defer rows.Close()`
- Do not have the state block NID as a PRIMARY KEY else it breaks for blocks
  with >1 state event in them. Instead, rejig the queries so we can still
  have monotonically increasing integers without using AUTOINCREMENT (which
  mandates PRIMARY KEY).
2020-02-18 14:41:13 +00:00
..
postgres Always defer *sql.Rows.Close and consult with Err (#844) 2020-02-11 14:12:21 +00:00
sqlite3 sqlite: Fix UNIQUE violations and close more cursors 2020-02-18 14:41:13 +00:00
storage.go Support sqlite in addition to postgres (#869) 2020-02-13 17:27:33 +00:00