Skip to content

MSP-6561 add requestId#6

Merged
d1slike merged 4 commits into
txix-open:masterfrom
SilnoEnamored:MSP-6561
Oct 28, 2025
Merged

MSP-6561 add requestId#6
d1slike merged 4 commits into
txix-open:masterfrom
SilnoEnamored:MSP-6561

Conversation

@SilnoEnamored

Copy link
Copy Markdown

No description provided.

Comment thread enqueue.go Outdated
Comment thread enqueue.go Outdated
Comment thread pg_store.go

@d1slike d1slike left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

func NewPgStore(db *sql.DB) *pgStore

Вот тут предлагаю сломать обратную совместимость, переименовав конструктор в NewPgStoreV2 та как новая реализация не может работать со старой схемой, а также думаю стоит добавить проверку на существование колонки в таблице, если ее нет, возвращать ошибку с рекомендацией добавить миграцию.

Все это делается для того что бы мы случайно обновили библиотеку, у нас все сломалось на этапе компиляции и отладку проекта.

Comment thread client_test.go
Comment thread pg_store.go
@d1slike d1slike merged commit def9501 into txix-open:master Oct 28, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants