added config table
This commit is contained in:
parent
06514aa001
commit
a0e41693e4
@ -549,3 +549,13 @@ create index noticecontent_idx on notice using gist(to_tsvector('english',conten
|
|||||||
create trigger textsearchupdate before insert or update on profile for each row
|
create trigger textsearchupdate before insert or update on profile for each row
|
||||||
execute procedure tsvector_update_trigger(textsearch, 'pg_catalog.english', nickname, fullname, location, bio, homepage);
|
execute procedure tsvector_update_trigger(textsearch, 'pg_catalog.english', nickname, fullname, location, bio, homepage);
|
||||||
|
|
||||||
|
|
||||||
|
create table config (
|
||||||
|
|
||||||
|
section varchar(32) /* comment 'configuration section'*/,
|
||||||
|
setting varchar(32) /* comment 'configuration setting'*/,
|
||||||
|
value varchar(255) /* comment 'configuration value'*/,
|
||||||
|
|
||||||
|
primary key (section, setting)
|
||||||
|
|
||||||
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user