<databaseChangeLog
  xmlns="http://www.liquibase.org/xml/ns/dbchangelog"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.10.xsd">

  <changeSet author="schneider" id="add-shedlock">

    <preConditions>
      <not>
        <tableExists tableName="shedlock"/>
      </not>
    </preConditions>

    <createTable tableName="shedlock">
      <column name="name" type="VARCHAR(64)">
        <constraints nullable="false" primaryKey="true"/>
      </column>
      <column name="lock_until" type="TIMESTAMP">
        <constraints nullable="false"/>
      </column>
      <column name="locked_at" type="TIMESTAMP">
        <constraints nullable="false"/>
      </column>
      <column name="locked_by" type="VARCHAR(255)">
        <constraints nullable="false"/>
      </column>
    </createTable>
  </changeSet>
</databaseChangeLog>

<databaseChangeLog
  xmlns="http://www.liquibase.org/xml/ns/dbchangelog"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.10.xsd">

  <changeSet author="schneider" id="add-shedlock">

    <validCheckSum>8:8d3e6aaeff0d8838d329ebbaa95bc096</validCheckSum>

    <preConditions>
      <not>
        <tableExists tableName="shedlock"/>
      </not>
    </preConditions>

    <createTable tableName="shedlock">
      <column name="name" type="VARCHAR(64)">
        <constraints nullable="false" primaryKey="true"/>
      </column>
      <column name="lock_until" type="TIMESTAMP(3)">
        <constraints nullable="false"/>
      </column>
      <column name="locked_at" type="TIMESTAMP(3)" defaultValueDate="NOW(3)">
        <constraints nullable="false"/>
      </column>
      <column name="locked_by" type="VARCHAR(255)">
        <constraints nullable="false"/>
      </column>
    </createTable>
  </changeSet>
</databaseChangeLog>

Add precicion and default value for shedlock liquibase script
Add precicion and default value for shedlock liquibase script
