Skip to content
This repository has been archived by the owner on Jun 28, 2022. It is now read-only.

Inconsistent formatting in default DB values #7

Open
Cnordbo opened this issue Apr 13, 2018 · 0 comments
Open

Inconsistent formatting in default DB values #7

Cnordbo opened this issue Apr 13, 2018 · 0 comments

Comments

@Cnordbo
Copy link

Cnordbo commented Apr 13, 2018

Difference in default data:

Default datatype 1:

{
    "id": 1,
    "restaurant_id": 1,
    "name": "Steve",
    "createdAt": 1504095567183,
    "updatedAt": 1504095567183,
    "rating": 4,
    "comments": "<removed for readability>"
  }

Default datatype 2:

  {
    "id": 2,
    "restaurant_id": 1,
    "name": "Morgan",
    "createdAt": 1504095567183,
    "updatedAt": 1504095567183,
    "rating": "4",
    "comments": "<removed for readability>"
  }

Difference: Rating is parsed as string OR number.

@Cnordbo Cnordbo changed the title Inconsistent formatting Inconsistent formatting in default DB values Apr 13, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant