Add config and migration

`($input is !== '')` is ??