Create webfinger
crate #5
2 changed files with 0 additions and 16 deletions
|
@ -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;
|
||||||
|
|
|
@ -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;
|
|
||||||
|
|
Loading…
Reference in a new issue