diff options
author | Alexander Sulfrian <alexander@sulfrian.net> | 2011-12-07 19:06:52 +0100 |
---|---|---|
committer | Alexander Sulfrian <alexander@sulfrian.net> | 2011-12-07 19:06:52 +0100 |
commit | 39081f84a402aebb52d98a43e4675c90135cea9b (patch) | |
tree | 9c188a70367774c721b745818b74d059f9ce119c /sql/update_12.sql | |
parent | 2397764dd0e5efa2b613fd22f6bf9c183d07160b (diff) | |
download | ts3db_postgres-39081f84a402aebb52d98a43e4675c90135cea9b.tar.gz ts3db_postgres-39081f84a402aebb52d98a43e4675c90135cea9b.tar.xz ts3db_postgres-39081f84a402aebb52d98a43e4675c90135cea9b.zip |
added sql files
Diffstat (limited to '')
-rw-r--r-- | sql/update_12.sql | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/sql/update_12.sql b/sql/update_12.sql new file mode 100644 index 0000000..17e553e --- /dev/null +++ b/sql/update_12.sql @@ -0,0 +1,13 @@ +CREATE TABLE custom_fields ( + server_id integer unsigned, + client_id integer unsigned, + ident varchar(100) NOT NULL, + value varchar(255) +); +CREATE INDEX index_custom_fields_serverid ON custom_fields (server_id); +CREATE INDEX index_custom_fields_client_id ON custom_fields (client_id); +CREATE INDEX index_custom_fields_ident ON custom_fields (ident); + +ALTER TABLE tokens ADD COLUMN token_created integer unsigned; +ALTER TABLE tokens ADD COLUMN token_description varchar(255); +ALTER TABLE tokens ADD COLUMN token_customset varchar(255); |