score:0

I've added this field in scala files

In slick (you have the tag play-slick), you can specify a default value in your Table

See the documentation here, under Tables:

Default[T](defaultValue: T)
    Specify a default value for inserting data the table without this column. This information is only used for creating DDL statements so that the database can fill in the missing information.

I am not sure if it gets translated to ALTER statement if the table already exists . You will have to test it.


Related Query

More Query from same tag