Package com.google.gerrit.server.schema
Class SchemaCreator
- java.lang.Object
-
- com.google.gerrit.server.schema.SchemaCreator
-
public class SchemaCreator extends Object
Creates the current database schema and populates initial code rows.
-
-
Constructor Summary
Constructors Constructor Description SchemaCreator(SitePaths site, AllProjectsCreator ap, AllUsersCreator auc, org.eclipse.jgit.lib.PersonIdent au, DataSourceType dst, GroupIndexCollection ic)
SchemaCreator(Path site, AllProjectsCreator ap, AllUsersCreator auc, org.eclipse.jgit.lib.PersonIdent au, DataSourceType dst, GroupIndexCollection ic)
-
-
-
Constructor Detail
-
SchemaCreator
@Inject public SchemaCreator(SitePaths site, AllProjectsCreator ap, AllUsersCreator auc, org.eclipse.jgit.lib.PersonIdent au, DataSourceType dst, GroupIndexCollection ic)
-
SchemaCreator
public SchemaCreator(Path site, AllProjectsCreator ap, AllUsersCreator auc, org.eclipse.jgit.lib.PersonIdent au, DataSourceType dst, GroupIndexCollection ic)
-
-
Method Detail
-
create
public void create(ReviewDb db) throws com.google.gwtorm.server.OrmException, IOException, org.eclipse.jgit.errors.ConfigInvalidException
- Throws:
com.google.gwtorm.server.OrmException
IOException
org.eclipse.jgit.errors.ConfigInvalidException
-
-