aboutsummaryrefslogtreecommitdiffstats
path: root/internal
diff options
context:
space:
mode:
authorEugene Triguba <eugenetriguba@gmail.com>2024-01-01 20:20:19 -0500
committerEugene Triguba <eugenetriguba@gmail.com>2024-01-01 20:20:19 -0500
commitaa8a533c1552bdbeb26b485683ba23b37305a84d (patch)
tree9c5841a1d62efb8e94422bce256858fd1bee7df6 /internal
parentAdd changelog entry for previous change (diff)
downloadcli-aa8a533c1552bdbeb26b485683ba23b37305a84d.zip
Use 14 character long version instead 32
Diffstat (limited to 'internal')
-rw-r--r--internal/repositories/migration.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/repositories/migration.go b/internal/repositories/migration.go
index 8fb8033..dccf8b6 100644
--- a/internal/repositories/migration.go
+++ b/internal/repositories/migration.go
@@ -39,7 +39,7 @@ type MigrationRepo struct {
func NewMigrationRepo(db *sql.DB, c *config.Config) (*MigrationRepo, error) {
_, err := db.Exec(`
CREATE TABLE IF NOT EXISTS bolt_migrations(
- version CHARACTER(32) PRIMARY KEY NOT NULL
+ version CHARACTER(14) PRIMARY KEY NOT NULL
);
`)
if err != nil {