Add default value

add default value not working when I create table
first I create table second i create new yaml file for default values and I add default value but nothing change in db

  • changeSet:
    id: 20210324-30
    author: elchin
    - addDefaultValue:
    columnDataType: varchar(50)
    columnName: name
    defaultValue: Baku
    schemaName: public
    tableName: city

Hi @elchin349,

Would you please reply back:

  • with version of Liquibase you are using
  • complete log of output (I don’t see an error)
  • complete changelog. need to see table names, and if you are changing the right table.
  • what is the output of running liquibase updateSQL?

Hope to be able to help out !