Project

General

Profile

« Previous | Next » 

Revision 43230

Added by Tsampikos Livisianos over 8 years ago

remove backup(not enough free space for that)

View differences:

modules/uoa-stats-service/trunk/src/main/java/eu/dnetlib/data/statsmanager/StatsManager.java
45 45

  
46 46
        log.info("Backing up and Replacing public schema  with shadow in " + dataSource.getConnection().getMetaData().getURL() + " ...");
47 47
        con.createStatement().execute("drop schema if exists backup CASCADE ;");
48
        con.createStatement().execute("alter schema public rename to backup ;");
48
        //con.createStatement().execute("alter schema public rename to backup ;");
49
        con.createStatement().execute("drop schema if exists public CASCADE ;");
49 50
        con.createStatement().execute("alter schema  shadow rename TO public ;");
50 51
        log.info("All ops done!");
51 52
        con.close();

Also available in: Unified diff