liquibase.Liquibase.clearCheckSums()方法的使用及代码示例

x33g5p2x  于2022-01-23 转载在 其他  
字(1.8k)|赞(0)|评价(0)|浏览(295)

本文整理了Java中liquibase.Liquibase.clearCheckSums()方法的一些代码示例,展示了Liquibase.clearCheckSums()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Liquibase.clearCheckSums()方法的具体详情如下:
包路径:liquibase.Liquibase
类名称:Liquibase
方法名:clearCheckSums

Liquibase.clearCheckSums介绍

暂无

代码示例

代码示例来源:origin: dropwizard/dropwizard

@Override
  public void run(Namespace namespace,
          Liquibase liquibase) throws Exception {
    liquibase.clearCheckSums();
  }
}

代码示例来源:origin: traccar/traccar

private void initDatabaseSchema() throws SQLException, LiquibaseException {
  if (config.hasKey("database.changelog")) {
    ResourceAccessor resourceAccessor = new FileSystemResourceAccessor();
    Database database = DatabaseFactory.getInstance().openDatabase(
        config.getString("database.url"),
        config.getString("database.user"),
        config.getString("database.password"),
        config.getString("database.driver"),
        null, null, null, resourceAccessor);
    Liquibase liquibase = new Liquibase(
        config.getString("database.changelog"), resourceAccessor, database);
    liquibase.clearCheckSums();
    liquibase.update(new Contexts());
  }
}

代码示例来源:origin: com.expanset.utils/utils-dbmigration

@Override
  protected void doComandInternal(CommandLine commandLine, Liquibase liquidbase) 
      throws Exception {		
    liquidbase.clearCheckSums();
  }
}

代码示例来源:origin: io.dropwizard/dropwizard-migrations

@Override
  public void run(Namespace namespace,
          Liquibase liquibase) throws Exception {
    liquibase.clearCheckSums();
  }
}

代码示例来源:origin: org.liquibase/liquibase-maven-plugin

@Override
  protected void performLiquibaseTask(Liquibase liquibase) throws LiquibaseException {
    liquibase.clearCheckSums();
  }
}

代码示例来源:origin: choerodon/choerodon-starters

liquibase.clearCheckSums();

代码示例来源:origin: io.choerodon/choerodon-liquibase

liquibase.clearCheckSums();

代码示例来源:origin: org.liquibase/liquibase-maven-plugin

liquibase.clearCheckSums();

相关文章