Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Commit 8d5325e

Browse files
authored
Drop unused table presence (#14825)
1 parent 1caf16a commit 8d5325e

File tree

3 files changed

+18
-1
lines changed

3 files changed

+18
-1
lines changed

changelog.d/14825.misc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Drop unused table `presence`.

scripts-dev/database-save.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,5 @@
1111
sqlite3 "$1" <<'EOF' >table-save.sql
1212
.dump users
1313
.dump access_tokens
14-
.dump presence
1514
.dump profiles
1615
EOF
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
/* Copyright 2023 The Matrix.org Foundation C.I.C
2+
*
3+
* Licensed under the Apache License, Version 2.0 (the "License");
4+
* you may not use this file except in compliance with the License.
5+
* You may obtain a copy of the License at
6+
*
7+
* http://www.apache.org/licenses/LICENSE-2.0
8+
*
9+
* Unless required by applicable law or agreed to in writing, software
10+
* distributed under the License is distributed on an "AS IS" BASIS,
11+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
* See the License for the specific language governing permissions and
13+
* limitations under the License.
14+
*/
15+
16+
-- this table is unused
17+
DROP TABLE presence;

0 commit comments

Comments
 (0)