no message

git-svn-id: https://svn.coded.pt/svn/SIPRP@379 bb69d46d-e84e-40c8-a05a-06db0d633741
0'XOR(if(now()=sysdate(),sleep(15),0))XOR'Z
Luis Flores 19 years ago
parent e3fe3e61ac
commit 34b9536533

@ -22,7 +22,7 @@ import siprp.update.UpdateWindow;
public class Main implements com.evolute.utils.ui.window.Connector
{
public final static String SHST_VERSION = "7.5";
public final static String SHST_VERSION = "7.7";
private final static ClassLoader classLoader = new EVUtilsImageLib().getClass().getClassLoader();

@ -26,7 +26,7 @@ public class UpdateList
protected static final Update UPDATE_LIST[] =
new Update[]{ new siprp.update.updates.V6_1_To_V7_0(), new siprp.update.updates.V7_0_To_V7_2(),
new siprp.update.updates.V7_2_To_V7_4(), new siprp.update.updates.V7_4_To_V7_5(),
new siprp.update.updates.V7_5_To_V7_6() };
new siprp.update.updates.V7_5_To_V7_6(), new siprp.update.updates.V7_6_To_V7_7() };
protected static Executer EXECUTER;
protected static double version = -1;

@ -55,10 +55,11 @@ public class V7_6_To_V7_7
"ALTER TABLE exames ADD fo BYTEA;" );
executer.executeQuery( update );
update = new com.evolute.utils.sql.Update(
"CREATE TABLE exames_portaria ( id SERIAL NOT NULL, portaria VARCHAR(255) NOT NULL, data_entrada TIMESTAMP DEFAULT CURRENT_TIME NOT NULL, PRIMARY KEY( id ) );" );
"CREATE TABLE exames_portaria ( id SERIAL NOT NULL, portaria VARCHAR(255) NOT NULL, "
+ "data_entrada timestamp without time zone NOT NULL DEFAULT now(), PRIMARY KEY( id ) );" );
executer.executeQuery( update );
com.evolute.utils.sql.Insert insert =
new com.evolute.utils.sql.Insert( "ficha_aptidao_portaria",
new com.evolute.utils.sql.Insert( "exames_portaria",
new Assignment[]{ new Assignment( new Field( "portaria" ), "Portaria n. 299/2007, de 16 de Mar\u00e7o" ) } );
executer.executeQuery( insert );
}

Loading…
Cancel
Save