add sqlite

This commit is contained in:
2021-08-20 01:33:20 -05:00
parent bf1ac7f368
commit e49f0c90ce
7 changed files with 280 additions and 22 deletions

View File

@@ -8,7 +8,7 @@ use sqlx::mysql::{
MySqlPoolOptions,
};
pub static INSERT_EVENT: &str = "
static INSERT_EVENT: &str = "
INSERT INTO
events
(
@@ -28,7 +28,7 @@ VALUES
);
";
pub static SELECT_EVENTS_WITH_METADATA: &str = "
static SELECT_EVENTS_WITH_METADATA: &str = "
SELECT
sequence,
payload,
@@ -43,7 +43,7 @@ ORDER BY
sequence;
";
pub static UPDATE_EVENTS: &str = "
static UPDATE_EVENTS: &str = "
UPDATE
events
SET