From 287535102e15d9254f5d81bb2efd989fba5aba56 Mon Sep 17 00:00:00 2001 From: Dima Krasner Date: Thu, 25 May 2023 11:46:40 +0300 Subject: [PATCH] remove redundant keyword --- data/schema.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/schema.go b/data/schema.go index 2ab6dd73..fdfb2934 100644 --- a/data/schema.go +++ b/data/schema.go @@ -45,7 +45,7 @@ func Migrate(ctx context.Context, db *sql.DB) error { return err } - if _, err := db.ExecContext(ctx, `CREATE TABLE IF NOT EXISTS hashtags(note id STRING NOT NULL, hashtag STRING COLLATE NOCASE NOT NULL)`); err != nil { + if _, err := db.ExecContext(ctx, `CREATE TABLE IF NOT EXISTS hashtags(note STRING NOT NULL, hashtag STRING COLLATE NOCASE NOT NULL)`); err != nil { return err }