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

Commit

Permalink
Update DB schema migration to version 69
Browse files Browse the repository at this point in the history
  • Loading branch information
Fizzadar committed Mar 30, 2022
1 parent c919194 commit d62adee
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
5 changes: 4 additions & 1 deletion synapse/storage/schema/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

SCHEMA_VERSION = 68 # remember to update the list below when updating
SCHEMA_VERSION = 69 # remember to update the list below when updating
"""Represents the expectations made by the codebase about the database schema
This should be incremented whenever the codebase changes its requirements on the
Expand Down Expand Up @@ -58,6 +58,9 @@
- event_reference_hashes is no longer read.
- `events` has `state_key` and `rejection_reason` columns, which are populated for
new events.
Changes in SCHEMA_VERSION = 69:
- Use sequence to generate future `application_services_txns.txn_id`s
"""


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,3 @@ def run_create(cur, database_engine, *args, **kwargs):
"CREATE SEQUENCE application_services_txn_id_seq START WITH %s",
(start_val,),
)


def run_upgrade(*args, **kwargs):
pass

0 comments on commit d62adee

Please sign in to comment.