#86 Added device migrations.

@m0hamed 
fixing migrations