settings: get first admin
This commit is contained in:
parent
0baeeadce9
commit
4bfc8a517f
4 changed files with 8 additions and 1 deletions
|
|
@ -3,7 +3,8 @@ select id,
|
|||
updated_at as "updated_at: DateTime<Utc>",
|
||||
business_name,
|
||||
business_logo,
|
||||
url
|
||||
url,
|
||||
first_admin
|
||||
|
||||
from settings
|
||||
|
||||
|
|
|
|||
|
|
@ -11,6 +11,7 @@ pub struct Settings {
|
|||
pub business_name: Option<String>,
|
||||
pub business_logo: Option<Vec<u8>>,
|
||||
pub url: Option<String>,
|
||||
pub first_admin: Option<String>,
|
||||
}
|
||||
|
||||
impl Settings {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue