Merged migrations

Merged two migrations:
- segment
- region
into one file.