atuin/atuin-server-postgres/migrations
Ellie Huxtable 97e24d0d41
Add new sync (#1093)
* Add record migration

* Add database functions for inserting history

No real tests yet :( I would like to avoid running postgres lol

* Add index handler, use UUIDs not strings

* Fix a bunch of tests, remove Option<Uuid>

* Add tests, all passing

* Working upload sync

* Record downloading works

* Sync download works

* Don't waste requests

* Use a page size for uploads, make it variable later

* Aaaaaand they're encrypted now too

* Add cek

* Allow reading tail across hosts

* Revert "Allow reading tail across hosts"

Not like that

This reverts commit 7b0c72e7e050c358172f9b53cbd21b9e44cf4931.

* Handle multiple shards properly

* format

* Format and make clippy happy

* use some fancy types (#1098)

* use some fancy types

* fmt

* Goodbye horrible tuple

* Update atuin-server-postgres/migrations/20230623070418_records.sql

Co-authored-by: Conrad Ludgate <conradludgate@gmail.com>

* fmt

* Sort tests too because time sucks

* fix features

---------

Co-authored-by: Conrad Ludgate <conradludgate@gmail.com>
2023-07-14 20:44:08 +01:00
..
20210425153745_create_history.sql refactor server to allow pluggable db and tracing (#1036) 2023-06-12 09:04:35 +01:00
20210425153757_create_users.sql refactor server to allow pluggable db and tracing (#1036) 2023-06-12 09:04:35 +01:00
20210425153800_create_sessions.sql refactor server to allow pluggable db and tracing (#1036) 2023-06-12 09:04:35 +01:00
20220419082412_add_count_trigger.sql refactor server to allow pluggable db and tracing (#1036) 2023-06-12 09:04:35 +01:00
20220421073605_fix_count_trigger_delete.sql refactor server to allow pluggable db and tracing (#1036) 2023-06-12 09:04:35 +01:00
20220421174016_larger-commands.sql refactor server to allow pluggable db and tracing (#1036) 2023-06-12 09:04:35 +01:00
20220426172813_user-created-at.sql refactor server to allow pluggable db and tracing (#1036) 2023-06-12 09:04:35 +01:00
20220505082442_create-events.sql refactor server to allow pluggable db and tracing (#1036) 2023-06-12 09:04:35 +01:00
20220610074049_history-length.sql refactor server to allow pluggable db and tracing (#1036) 2023-06-12 09:04:35 +01:00
20230315220537_drop-events.sql refactor server to allow pluggable db and tracing (#1036) 2023-06-12 09:04:35 +01:00
20230315224203_create-deleted.sql refactor server to allow pluggable db and tracing (#1036) 2023-06-12 09:04:35 +01:00
20230515221038_trigger-delete-only.sql refactor server to allow pluggable db and tracing (#1036) 2023-06-12 09:04:35 +01:00
20230623070418_records.sql Add new sync (#1093) 2023-07-14 20:44:08 +01:00