Bump database schema version

Commit fc3f8329 added new methods to AccountGroupByIdAudAccess and
AccountGroupMemberAuditAccess but forgot to add a new database schema
version for this.

Google has custom manually written implementations of these interfaces
which rely on the schema being bumped when the interfaces are
modified.

Change-Id: Ibf7883ce4be3d24b5d7fd15084254e09e2e28ab2
Signed-off-by: Edwin Kempin <edwin.kempin@sap.com>
This commit is contained in:
Edwin Kempin 2015-07-16 09:08:05 +02:00
parent 37163dd5c3
commit b9e130ae24
2 changed files with 26 additions and 1 deletions

View File

@ -32,7 +32,7 @@ import java.util.List;
/** A version of the database schema. */
public abstract class SchemaVersion {
/** The current schema version. */
public static final Class<Schema_109> C = Schema_109.class;
public static final Class<Schema_110> C = Schema_110.class;
public static int getBinaryVersion() {
return guessVersion(C);

View File

@ -0,0 +1,25 @@
// Copyright (C) 2015 The Android Open Source Project
//
// 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.
package com.google.gerrit.server.schema;
import com.google.inject.Inject;
import com.google.inject.Provider;
public class Schema_110 extends SchemaVersion {
@Inject
Schema_110(Provider<Schema_109> prior) {
super(prior);
}
}