1
Fork 0

Create webfinger crate #5

Merged
steffo merged 53 commits from feature/webfinger into main 2024-11-16 06:33:06 +00:00
2 changed files with 8 additions and 1 deletions
Showing only changes of commit 3906d03653 - Show all commits

View file

@ -1,5 +1,6 @@
CREATE TABLE meta_aliases (
id UUID DEFAULT gen_random_uuid(),
document BPCHAR NOT NULL,
pattern BPCHAR NOT NULL,
alias BPCHAR NOT NULL,
@ -9,6 +10,7 @@ CREATE TABLE meta_aliases (
CREATE TABLE meta_links (
id UUID DEFAULT gen_random_uuid(),
document BPCHAR NOT NULL,
pattern BPCHAR NOT NULL,
rel BPCHAR NOT NULL,
type BPCHAR,
@ -28,6 +30,7 @@ CREATE TABLE meta_link_properties (
CREATE TABLE meta_properties (
id UUID DEFAULT gen_random_uuid(),
document BPCHAR NOT NULL,
pattern BPCHAR NOT NULL,
value BPCHAR,

View file

@ -3,6 +3,7 @@
diesel::table! {
meta_aliases (id) {
id -> Uuid,
document -> Bpchar,
pattern -> Bpchar,
alias -> Bpchar,
}
@ -20,9 +21,11 @@ diesel::table! {
diesel::table! {
meta_links (id) {
id -> Uuid,
document -> Bpchar,
pattern -> Bpchar,
rel -> Bpchar,
r#type -> Nullable<Bpchar>,
#[sql_name = "type"]
type_ -> Nullable<Bpchar>,
href -> Nullable<Bpchar>,
}
}
@ -30,6 +33,7 @@ diesel::table! {
diesel::table! {
meta_properties (id) {
id -> Uuid,
document -> Bpchar,
pattern -> Bpchar,
value -> Nullable<Bpchar>,
}