mirror of
https://github.com/nullishamy/ferri.git
synced 2025-06-28 00:54:17 +00:00
feat: more fixes; finish account api types for now; add some more useful fields to it
This commit is contained in:
parent
76fb8838c2
commit
62931ee20b
10 changed files with 168 additions and 65 deletions
|
@ -47,17 +47,26 @@ async fn main() {
|
|||
)
|
||||
.execute(&mut *conn)
|
||||
.await
|
||||
.unwrap();
|
||||
.unwrap();
|
||||
|
||||
let ts = main::ap::new_ts();
|
||||
|
||||
sqlx::query!(
|
||||
r#"
|
||||
INSERT INTO user (id, username, actor_id, display_name)
|
||||
VALUES (?1, ?2, ?3, ?4)
|
||||
INSERT INTO user (
|
||||
id, acct, url, remote, username,
|
||||
actor_id, display_name, created_at
|
||||
)
|
||||
VALUES (?1, ?2, ?3, ?4, ?5, ?6, ?7, ?8)
|
||||
"#,
|
||||
"9b9d497b-2731-435f-a929-e609ca69dac9",
|
||||
"amy",
|
||||
"https://ferri.amy.mov/@amy",
|
||||
false,
|
||||
"amy",
|
||||
"https://ferri.amy.mov/users/9b9d497b-2731-435f-a929-e609ca69dac9",
|
||||
"amy"
|
||||
"amy",
|
||||
ts
|
||||
)
|
||||
.execute(&mut *conn)
|
||||
.await
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue