1
0
mirror of https://github.com/bitwarden/server synced 2026-01-31 16:53:21 +00:00
Commit Graph

20 Commits

Author SHA1 Message Date
Matt Gibson
f2136bb809 Start scaffolding hosting applications 2025-11-20 15:25:44 -08:00
Matt Gibson
ab1eaddb18 Configuration beginnings for storage 2025-11-20 15:25:40 -08:00
Matt Gibson
e5ecb4f3c8 Define a bitwarden akd configuration
This configuration distinguishes between different installations using the installation id
2025-11-20 15:25:36 -08:00
Matt Gibson
532b44030b Clean up unused methods 2025-11-20 15:25:27 -08:00
Matt Gibson
15ab667072 implement command line utility which is a copy of mysql_demo from akd 2025-11-20 15:24:59 -08:00
Matt Gibson
2b4430eef7 sql fixups
- prefer non-keyword column name
- i16 corresponds to smallint, not u8
- column name typo in batch read
2025-11-20 15:24:58 -08:00
Matt Gibson
8de07787e8 Fixup column names 2025-11-20 15:24:58 -08:00
Matt Gibson
16da46cc1e improve migration logging 2025-11-20 15:24:53 -08:00
Matt Gibson
9795d4133a Update workspace lockfile 2025-11-20 15:24:49 -08:00
Matt Gibson
046e4114a3 Appears to be a working database layer
Next up is a directory impl
2025-11-20 15:24:47 -08:00
Matt Gibson
0309aae4d7 Smallest possible test of sql server with a publisher crate 2025-11-20 15:24:46 -08:00
Matt Gibson
bbd1a230a6 First complete implementation of Database trait for sql server 2025-11-20 15:24:37 -08:00
Matt Gibson
7bb8296a2c Create temp table enum 2025-11-20 15:24:31 -08:00
Matt Gibson
2c971fc77e fixup sql connection pool 2025-11-20 15:24:24 -08:00
Matt Gibson
f4ec8bd4a0 Improve ms_database errors 2025-11-20 15:24:24 -08:00
Matt Gibson
e559c1b046 Add initial table migrations
Note, there is a name change here relative to AKD. They use a `Users` table with username. However, that will be odd in our design, where we expect to store multiple values per user. Therefore, we generalize to `Values` and `raw_label`
2025-11-20 15:24:22 -08:00
Matt Gibson
6f175c158b re-exports for convenience 2025-11-20 15:24:20 -08:00
Matt Gibson
37cd1a36df Expect migrations from users of ms_database crate. scaffold akd storage 2025-11-20 15:24:17 -08:00
Matt Gibson
3965b241fa Use connection strings and implement connection errors 2025-11-20 15:24:15 -08:00
Matt Gibson
e06807df11 Managed connection pool and migration framework for ms sql using tiberius as a backend 2025-11-20 15:24:07 -08:00