diff options
author | Neil Johnson <neil@matrix.org> | 2020-10-15 10:36:40 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-15 10:36:40 +0100 |
commit | 1f3915507160a0eb64ed50931f80a94155e1b491 (patch) | |
tree | 2ef083ea65488bd1f70c6281f0e55e39906b5385 /synapse/storage/databases/main/schema | |
parent | Merge pull request #8537 from matrix-org/rav/simplify_locally_reject_invite (diff) | |
download | synapse-1f3915507160a0eb64ed50931f80a94155e1b491.tar.xz |
Include user agent in user daily visits table (#8503)
Include user agent in user daily visits table.
Diffstat (limited to 'synapse/storage/databases/main/schema')
-rw-r--r-- | synapse/storage/databases/main/schema/delta/58/20user_daily_visits.sql | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/synapse/storage/databases/main/schema/delta/58/20user_daily_visits.sql b/synapse/storage/databases/main/schema/delta/58/20user_daily_visits.sql new file mode 100644 index 0000000000..b0b5dcddce --- /dev/null +++ b/synapse/storage/databases/main/schema/delta/58/20user_daily_visits.sql @@ -0,0 +1,18 @@ +/* Copyright 2020 The Matrix.org Foundation C.I.C. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + -- Add new column to user_daily_visits to track user agent +ALTER TABLE user_daily_visits + ADD COLUMN user_agent TEXT; |