import DS from 'ember-data';

var Device = DS.Model.extend({
    nitrogen_id: DS.attr('string'),
    name: DS.attr('string'),
    status: DS.attr('boolean', {defaultValue: false}),
    lastUpdated: DS.attr('number'),
    last_connection: DS.attr('string'),
    last_ip: DS.attr('string'),
    nickname: DS.attr('string'),
    created_at: DS.attr('string'),
    updated_at: DS.attr('string'),
    tags: DS.attr(),
    type: DS.attr(),
    location: DS.attr(),

    // Relations
    owner: DS.belongsTo('user', {async: true})
});

export default Device;

import DS from 'ember-data';

var Device = DS.Model.extend({
    nitrogen_id: DS.attr('string'),
    name: DS.attr('string'),
    status: DS.attr('boolean', {defaultValue: false}),
    lastUpdated: DS.attr('number'),
    last_connection: DS.attr('string'),
    last_ip: DS.attr('string'),
    nickname: DS.attr('string'),
    created_at: DS.attr('string'),
    updated_at: DS.attr('string'),
    tags: DS.attr(),

    // Relations
    owner: DS.belongsTo('user', {async: true})
});

export default Device;

--- 
+++ 
@@ -11,8 +11,6 @@
     created_at: DS.attr('string'),
     updated_at: DS.attr('string'),
     tags: DS.attr(),
-    type: DS.attr(),
-    location: DS.attr(),
 
     // Relations
     owner: DS.belongsTo('user', {async: true})
Add Type and Location to Device Model

No issue
