Add migration for status field into logical.database
Fix #172
Fix #176
Fix #177