Skip to content

Commit

Permalink
fix: downgrade migrations sql lite, remove scheme prefix from tables …
Browse files Browse the repository at this point in the history
…names (#117)

* fix: downgrade migrations, tables scheme prefix

* chore: add new lines at the EOF

* fix: bump the version
  • Loading branch information
Stefan-Ethernal authored Sep 23, 2024
1 parent 0edf280 commit c51b9db
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion state/storage/sqlstorage/migrations/0002.sql
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ CREATE TABLE IF NOT EXISTS sequenced_batches


-- +migrate Down
DROP TABLE IF EXISTS sync.sequenced_batches;
DROP TABLE IF EXISTS sequenced_batches;
2 changes: 1 addition & 1 deletion state/storage/sqlstorage/migrations/0003.sql
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ CREATE TABLE IF NOT EXISTS reorg_log (

-- +migrate Down
DROP TABLE IF EXISTS virtual_batch;
DROP TABLE IF EXISTS reorg_log;
DROP TABLE IF EXISTS reorg_log;
2 changes: 1 addition & 1 deletion state/storage/sqlstorage/migrations/0004.sql
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ CREATE TABLE IF NOT EXISTS kv (

-- +migrate Down

DROP TABLE IF EXISTS kv;
DROP TABLE IF EXISTS kv;
2 changes: 1 addition & 1 deletion state/storage/sqlstorage/migrations/0005.sql
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ CREATE TABLE IF NOT EXISTS rollback_batches_log (

-- +migrate Down

DROP TABLE IF EXISTS sync.rollback_batches_log;
DROP TABLE IF EXISTS rollback_batches_log;
2 changes: 1 addition & 1 deletion version.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
)

var (
Version = "v1.0.1"
Version = "v1.0.2"
)

// PrintVersion prints version info into the provided io.Writer.
Expand Down

0 comments on commit c51b9db

Please sign in to comment.