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 0 additions and 16 deletions
Showing only changes of commit 5a3d913933 - Show all commits

View file

@ -1,7 +1,3 @@
DROP FUNCTION get_meta_properties;
DROP FUNCTION get_meta_links;
DROP FUNCTION get_meta_aliases;
DROP TABLE meta_properties; DROP TABLE meta_properties;
DROP TABLE meta_link_properties; DROP TABLE meta_link_properties;
DROP TABLE meta_links; DROP TABLE meta_links;

View file

@ -33,15 +33,3 @@ CREATE TABLE meta_properties (
PRIMARY KEY (id) PRIMARY KEY (id)
); );
CREATE FUNCTION get_meta_aliases(BPCHAR) RETURNS SETOF meta_aliases AS $$
SELECT * FROM meta_aliases WHERE meta_aliases.pattern ILIKE $1;
$$ LANGUAGE SQL;
CREATE FUNCTION get_meta_links(BPCHAR) RETURNS SETOF meta_links AS $$
SELECT * FROM meta_links WHERE meta_links.pattern ILIKE $1;
$$ LANGUAGE SQL;
CREATE FUNCTION get_meta_properties(BPCHAR) RETURNS SETOF meta_properties AS $$
SELECT * FROM meta_properties WHERE meta_properties.pattern ILIKE $1;
$$ LANGUAGE SQL;