{
  "name": "drink",
  "plural": "drinks",
  "base": "PersistedModel",
  "idInjection": true,
  "options": {
    "validateUpsert": true
  },
  "properties": {
    "name": {
      "type": "string",
      "required": true
    },
    "id": {
      "type": "number",
      "id": true,
      "generated": true
    },
    "description": {
      "type": "string"
    },
    "rating": {
      "type": "number"
    },
    "userId": {
      "type": "number",
      "required": true
    },
    "color": {
      "type": "string"
    },
    "photoId": {
      "type": "number"
    }
  },
  "validations": [],
  "relations": {
    "ingredients": {
      "type": "hasAndBelongsToMany",
      "model": "ingredient",
      "foreignKey": ""
    },
    "user": {
      "type": "belongsTo",
      "model": "User",
      "foreignKey": ""
    }
  },
  "acls": [],
  "methods": {  }
}

{
  "name": "drink",
  "plural": "drinks",
  "base": "PersistedModel",
  "idInjection": true,
  "options": {
    "validateUpsert": true
  },
  "properties": {
    "name": {
      "type": "string",
      "required": true
    },
    "id": {
      "type": "number",
      "id": true,
      "generated": true
    },
    "description": {
      "type": "string"
    },
    "rating": {
      "type": "number"
    },
    "userId": {
      "type": "number",
      "required": true
    },
    "color": {
      "type": "string"
    },
    "photoId": {
      "type": "number"
    },
    "ingredients": {
      "type": [
        "string"
      ]
    }
  },
  "validations": [],
  "relations": {
    "ingredients": {
      "type": "hasAndBelongsToMany",
      "model": "ingredient",
      "foreignKey": ""
    },
    "user": {
      "type": "belongsTo",
      "model": "User",
      "foreignKey": ""
    }
  },
  "acls": [],
  "methods": {}
}

Revert "Revert "finally confident this wont break it""
Revert "Revert "finally confident this wont break it""

This reverts commit ba455dc00f16c43f73b036f85b3bf8473772f2c1.
