matrix-org/dendrite

Move db-level SQL statements to the file which implements the storage interface

オープン

#963 opened on 2020/04/14

 (2 件のコメント) (0 件のリアクション) (0 人の担当者)Go (658 件のフォーク)auto 404
T-Taskgood first issue

Repository metrics

Stars
 (5,632 個のスター)
PR merge metrics
 (PR metrics pending)

説明

In several places for postgres, we CREATE SEQUENCE .... We do this for every table which uses the sequence, partly for clarity and partly so we don't assume someone else has done it for us.

Instead, we should put these database-level SQL queries in a dedicated section, rather than in each _table.go.

コントリビューターガイド