forked from Coded/SIPRP
git-svn-id: https://svn.coded.pt/svn/SIPRP@1343 bb69d46d-e84e-40c8-a05a-06db0d633741
parent
a6f9056133
commit
0c82e1238b
@ -0,0 +1,21 @@
|
||||
package siprp.update.updates;
|
||||
|
||||
import com.evolute.module.updater.AbstractUpdate;
|
||||
import com.evolute.utils.sql.Insert;
|
||||
|
||||
public class V13_2_To_V13_3 extends AbstractUpdate
|
||||
{
|
||||
|
||||
public V13_2_To_V13_3()
|
||||
{
|
||||
super( 13.2, 13.3, "Adicionar tipo de Lembrete 'Trabalhador'." );
|
||||
}
|
||||
|
||||
@Override
|
||||
public void doUpdate() throws Exception
|
||||
{
|
||||
Insert insert = new Insert( "INSERT INTO lembretes_tipos ( codigo, descricao, ordem, activo ) VALUES ( 'TRABALHADOR', 'Trabalhador', 5, 'y' );" );
|
||||
getExecuter().executeQuery( insert );
|
||||
}
|
||||
|
||||
}
|
||||
Loading…
Reference in new issue