feat: postgres migration schema v2

This primarily deals with correctly handling tag values.
This commit is contained in:
Greg Heartsfield
2023-01-27 20:13:47 -06:00
parent 53f83aa923
commit 57e1b53c13
6 changed files with 155 additions and 10 deletions
+1 -1
View File
@@ -47,7 +47,7 @@ impl NostrRepo for PostgresRepo {
}
async fn migrate_up(&self) -> Result<usize> {
run_migrations(&self.conn).await
Ok(run_migrations(&self.conn).await?)
}
async fn write_event(&self, e: &Event) -> Result<u64> {