summaryrefslogtreecommitdiff
path: root/internal/db/basic.go
diff options
context:
space:
mode:
authorLibravatar kim <89579420+NyaaaWhatsUpDoc@users.noreply.github.com>2023-12-18 14:18:25 +0000
committerLibravatar GitHub <noreply@github.com>2023-12-18 14:18:25 +0000
commit8ebb7775a35b632d49a8f294d83ac786666631f3 (patch)
tree02ac5475274125170132b0a4d9f69bd67491a32c /internal/db/basic.go
parentfix poll total vote double count (#2464) (diff)
downloadgotosocial-8ebb7775a35b632d49a8f294d83ac786666631f3.tar.xz
[feature] request blocking by http headers (#2409)
Diffstat (limited to 'internal/db/basic.go')
-rw-r--r--internal/db/basic.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/internal/db/basic.go b/internal/db/basic.go
index 7cd690aef..3a8e2af8d 100644
--- a/internal/db/basic.go
+++ b/internal/db/basic.go
@@ -25,10 +25,6 @@ type Basic interface {
// For implementations that don't use tables, this can just return nil.
CreateTable(ctx context.Context, i interface{}) error
- // CreateAllTables creates *all* tables necessary for the running of GoToSocial.
- // Because it uses the 'if not exists' parameter it is safe to run against a GtS that's already been initialized.
- CreateAllTables(ctx context.Context) error
-
// DropTable drops the table for the given interface.
// For implementations that don't use tables, this can just return nil.
DropTable(ctx context.Context, i interface{}) error