Fix schema for account_groups.email_only_authors column

Adding this column requires a schema version bump, which was missed
due to a bad rebase, and got missed again during code review by
myself.  Bump the schema to ensure gwtorm will create the column.

Change-Id: I509dee14735f0c74d46e5c0d0c6ffa41fbfb8755
Signed-off-by: Shawn O. Pearce <sop@google.com>
This commit is contained in:
Shawn O. Pearce
2011-04-12 00:39:28 -04:00
parent 5c9cead9e6
commit 7cc35242f9
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. */
private static final Class<? extends SchemaVersion> C = Schema_51.class;
private static final Class<? extends SchemaVersion> C = Schema_52.class;
public static class Module extends AbstractModule {
@Override

View File

@@ -0,0 +1,25 @@
// Copyright (C) 2011 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_52 extends SchemaVersion {
@Inject
Schema_52(Provider<Schema_51> prior) {
super(prior);
}
}