element-hq / element-hq/dendrite

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

Open
#963 2 comments 0 reactions 0 assignees View on GitHub
good first issue T-Task
Dominant language
Go
Stars
965
Forks
101
PR merge metrics
No merged PRs in 30d

Description

*This issue was originally created by [**@kegsay**](https://github.com/kegsay) at .*

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`.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.