Attribute 'onUpdateSQL' is not allowed to appear in element 'preConditions'

Hi, I have the following changeLog.xml:

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <databaseChangeLog
  3.         xmlns="http://www.liquibase.org/xml/ns/dbchangelog"
  4.         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  5.         xmlns:ext="http://www.liquibase.org/xml/ns/dbchangelog-ext"
  6.         xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.3.xsd
  7.         http://www.liquibase.org/xml/ns/dbchangelog-ext http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-ext.xsd">
  8.    
  9.        
  10.          
  11.            
  12.          
  13.        
  14.        
  15.            
  16.        
  17.    

This is what happens when I run an updateSQL on it:

$ ./liquibase updateSQL
Unexpected error running Liquibase: cvc-complex-type.3.2.2: Attribute ‘onUpdateSQL’ is not allowed to appear in element ‘preConditions’.

What’s wrong?

The tag is onSqlOutput= FAIL or TEST or IGNORE

Nathan