Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SQLite migration #150

Merged
merged 42 commits into from
Jun 28, 2022
Merged

SQLite migration #150

merged 42 commits into from
Jun 28, 2022

Commits on Jun 27, 2022

  1. Makefile: remove sqlc

    Signed-off-by: Ignacio Hagopian <jsign.uy@gmail.com>
    jsign committed Jun 27, 2022
    Configuration menu
    Copy the full SHA
    415d668 View commit details
    Browse the repository at this point in the history
  2. sqlc: migrate to database/sql style

    Signed-off-by: Ignacio Hagopian <jsign.uy@gmail.com>
    jsign committed Jun 27, 2022
    Configuration menu
    Copy the full SHA
    0c8e560 View commit details
    Browse the repository at this point in the history
  3. sqlstore: work on json transformations

    Signed-off-by: Ignacio Hagopian <jsign.uy@gmail.com>
    jsign committed Jun 27, 2022
    Configuration menu
    Copy the full SHA
    560695a View commit details
    Browse the repository at this point in the history
  4. refactor migrations

    Signed-off-by: Ignacio Hagopian <jsign.uy@gmail.com>
    jsign committed Jun 27, 2022
    Configuration menu
    Copy the full SHA
    ad3eb0e View commit details
    Browse the repository at this point in the history
  5. Makefile: remove sqlc rule

    Signed-off-by: Ignacio Hagopian <jsign.uy@gmail.com>
    jsign committed Jun 27, 2022
    Configuration menu
    Copy the full SHA
    13dccb7 View commit details
    Browse the repository at this point in the history
  6. mod: add sqlite3 dependency

    Signed-off-by: Ignacio Hagopian <jsign.uy@gmail.com>
    jsign committed Jun 27, 2022
    Configuration menu
    Copy the full SHA
    fe8db98 View commit details
    Browse the repository at this point in the history
  7. internal/tableland: move from pgx to sql and add new helper for Table…

    …ID from int64
    
    Signed-off-by: Ignacio Hagopian <jsign.uy@gmail.com>
    jsign committed Jun 27, 2022
    Configuration menu
    Copy the full SHA
    330b511 View commit details
    Browse the repository at this point in the history
  8. pkg/sqlstore: fix some models, queries and DTO transformations

    Signed-off-by: Ignacio Hagopian <jsign.uy@gmail.com>
    jsign committed Jun 27, 2022
    Configuration menu
    Copy the full SHA
    b38a865 View commit details
    Browse the repository at this point in the history
  9. txnprocessor: start doing sqlite3 migration

    Signed-off-by: Ignacio Hagopian <jsign.uy@gmail.com>
    jsign committed Jun 27, 2022
    Configuration menu
    Copy the full SHA
    8545ced View commit details
    Browse the repository at this point in the history
  10. processor: receipts table semi-migration

    Signed-off-by: Ignacio Hagopian <jsign.uy@gmail.com>
    jsign committed Jun 27, 2022
    Configuration menu
    Copy the full SHA
    ee7a32e View commit details
    Browse the repository at this point in the history
  11. processor: fix queries, sql runtime error detection, and remaining ne…

    …sted txns
    
    Signed-off-by: Ignacio Hagopian <jsign.uy@gmail.com>
    jsign committed Jun 27, 2022
    Configuration menu
    Copy the full SHA
    058db28 View commit details
    Browse the repository at this point in the history
  12. eventprocessor: fix tests for sqlite3

    Signed-off-by: Ignacio Hagopian <jsign.uy@gmail.com>
    jsign committed Jun 27, 2022
    Configuration menu
    Copy the full SHA
    7d9bbc1 View commit details
    Browse the repository at this point in the history
  13. sqlstore: fix impl and tests

    Signed-off-by: Ignacio Hagopian <jsign.uy@gmail.com>
    jsign committed Jun 27, 2022
    Configuration menu
    Copy the full SHA
    615a82d View commit details
    Browse the repository at this point in the history
  14. noncetracker: sqlite3 fixes and tests

    Signed-off-by: Ignacio Hagopian <jsign.uy@gmail.com>
    jsign committed Jun 27, 2022
    Configuration menu
    Copy the full SHA
    d716a1a View commit details
    Browse the repository at this point in the history
  15. general signatures modifications

    Signed-off-by: Ignacio Hagopian <jsign.uy@gmail.com>
    jsign committed Jun 27, 2022
    Configuration menu
    Copy the full SHA
    eb00877 View commit details
    Browse the repository at this point in the history
  16. postgres: keep removing dependencies

    Signed-off-by: Ignacio Hagopian <jsign.uy@gmail.com>
    jsign committed Jun 27, 2022
    Configuration menu
    Copy the full SHA
    84b0eaa View commit details
    Browse the repository at this point in the history
  17. mod: update to latest mattn/sqlite3

    Signed-off-by: Ignacio Hagopian <jsign.uy@gmail.com>
    jsign committed Jun 27, 2022
    Configuration menu
    Copy the full SHA
    54e3eff View commit details
    Browse the repository at this point in the history
  18. mesa: integration tests fixes

    Signed-off-by: Ignacio Hagopian <jsign.uy@gmail.com>
    jsign committed Jun 27, 2022
    Configuration menu
    Copy the full SHA
    60c9b47 View commit details
    Browse the repository at this point in the history
  19. paralellize more tests

    Signed-off-by: Ignacio Hagopian <jsign.uy@gmail.com>
    jsign committed Jun 27, 2022
    Configuration menu
    Copy the full SHA
    e36dbf0 View commit details
    Browse the repository at this point in the history
  20. processor: fix update_at valeus

    Signed-off-by: Ignacio Hagopian <jsign.uy@gmail.com>
    jsign committed Jun 27, 2022
    Configuration menu
    Copy the full SHA
    d004214 View commit details
    Browse the repository at this point in the history
  21. row to json marshaling work & make tests run faster

    Signed-off-by: Ignacio Hagopian <jsign.uy@gmail.com>
    jsign committed Jun 27, 2022
    Configuration menu
    Copy the full SHA
    150226e View commit details
    Browse the repository at this point in the history
  22. processor: rename ctids to rowids

    Signed-off-by: Ignacio Hagopian <jsign.uy@gmail.com>
    jsign committed Jun 27, 2022
    Configuration menu
    Copy the full SHA
    1a66b31 View commit details
    Browse the repository at this point in the history
  23. eventprocessor: add IndexInBlock feature

    Signed-off-by: Ignacio Hagopian <jsign.uy@gmail.com>
    jsign committed Jun 27, 2022
    Configuration menu
    Copy the full SHA
    bfcc349 View commit details
    Browse the repository at this point in the history
  24. db: create table indexes and unique constraints

    Signed-off-by: Ignacio Hagopian <jsign.uy@gmail.com>
    jsign committed Jun 27, 2022
    Configuration menu
    Copy the full SHA
    de57f19 View commit details
    Browse the repository at this point in the history
  25. privileges: improve ergonomics of bitfields

    Signed-off-by: Ignacio Hagopian <jsign.uy@gmail.com>
    jsign committed Jun 27, 2022
    Configuration menu
    Copy the full SHA
    1616acc View commit details
    Browse the repository at this point in the history
  26. .

    Signed-off-by: Ignacio Hagopian <jsign.uy@gmail.com>
    jsign committed Jun 27, 2022
    Configuration menu
    Copy the full SHA
    39d667e View commit details
    Browse the repository at this point in the history
  27. create base directory & event feed optimizations

    Signed-off-by: Ignacio Hagopian <jsign.uy@gmail.com>
    jsign committed Jun 27, 2022
    Configuration menu
    Copy the full SHA
    3ab73bc View commit details
    Browse the repository at this point in the history
  28. lint pass

    Signed-off-by: Ignacio Hagopian <jsign.uy@gmail.com>
    jsign committed Jun 27, 2022
    Configuration menu
    Copy the full SHA
    ad7f4a8 View commit details
    Browse the repository at this point in the history
  29. tools: remove postgres tool

    Signed-off-by: Ignacio Hagopian <jsign.uy@gmail.com>
    jsign committed Jun 27, 2022
    Configuration menu
    Copy the full SHA
    989c898 View commit details
    Browse the repository at this point in the history
  30. update deps & remove deleted field in configs

    Signed-off-by: Ignacio Hagopian <jsign.uy@gmail.com>
    jsign committed Jun 27, 2022
    Configuration menu
    Copy the full SHA
    11fff11 View commit details
    Browse the repository at this point in the history
  31. processor: use mutating statement operation to distinguish inserts

    Signed-off-by: Ignacio Hagopian <jsign.uy@gmail.com>
    jsign committed Jun 27, 2022
    Configuration menu
    Copy the full SHA
    c8a08f7 View commit details
    Browse the repository at this point in the history
  32. cmd: remove unneeded configs

    Signed-off-by: Ignacio Hagopian <jsign.uy@gmail.com>
    jsign committed Jun 27, 2022
    Configuration menu
    Copy the full SHA
    251be4d View commit details
    Browse the repository at this point in the history
  33. cleanups

    Signed-off-by: Ignacio Hagopian <jsign.uy@gmail.com>
    jsign committed Jun 27, 2022
    Configuration menu
    Copy the full SHA
    66ee09d View commit details
    Browse the repository at this point in the history
  34. ci: test retries

    Signed-off-by: Ignacio Hagopian <jsign.uy@gmail.com>
    jsign committed Jun 27, 2022
    Configuration menu
    Copy the full SHA
    a1ba600 View commit details
    Browse the repository at this point in the history
  35. Makefile: enable race flag

    Signed-off-by: Ignacio Hagopian <jsign.uy@gmail.com>
    jsign committed Jun 27, 2022
    Configuration menu
    Copy the full SHA
    3c20da5 View commit details
    Browse the repository at this point in the history
  36. sql: simplify created_at default values

    Signed-off-by: Ignacio Hagopian <jsign.uy@gmail.com>
    jsign committed Jun 27, 2022
    Configuration menu
    Copy the full SHA
    e2cca3e View commit details
    Browse the repository at this point in the history
  37. tests: use ElementsMatch to ignore ordering

    Signed-off-by: Ignacio Hagopian <jsign.uy@gmail.com>
    jsign committed Jun 27, 2022
    Configuration menu
    Copy the full SHA
    3e9a90e View commit details
    Browse the repository at this point in the history

Commits on Jun 28, 2022

  1. Makefile: remove sqlc var definition

    Signed-off-by: Ignacio Hagopian <jsign.uy@gmail.com>
    jsign committed Jun 28, 2022
    Configuration menu
    Copy the full SHA
    52204ea View commit details
    Browse the repository at this point in the history
  2. comment typo

    Signed-off-by: Ignacio Hagopian <jsign.uy@gmail.com>
    jsign committed Jun 28, 2022
    Configuration menu
    Copy the full SHA
    36c0073 View commit details
    Browse the repository at this point in the history
  3. tests: use ElementsMatch in more places

    Signed-off-by: Ignacio Hagopian <jsign.uy@gmail.com>
    jsign committed Jun 28, 2022
    Configuration menu
    Copy the full SHA
    2ee5c71 View commit details
    Browse the repository at this point in the history
  4. rename files

    Signed-off-by: Ignacio Hagopian <jsign.uy@gmail.com>
    jsign committed Jun 28, 2022
    Configuration menu
    Copy the full SHA
    010d3f8 View commit details
    Browse the repository at this point in the history
  5. test: avoid shadowing and use high-order func

    Signed-off-by: Ignacio Hagopian <jsign.uy@gmail.com>
    jsign committed Jun 28, 2022
    Configuration menu
    Copy the full SHA
    c98074b View commit details
    Browse the repository at this point in the history