Browse Source

Fix typo in _rev schema field type

master
Andrew Kingston 6 years ago
parent
commit
d939acbd4f
  1. 2
      packages/builder/src/builderStore/dataBinding.js

2
packages/builder/src/builderStore/dataBinding.js

@ -123,7 +123,7 @@ export const getContextBindings = (rootComponent, componentId) => {
// Add _id and _rev fields for certain types
if (datasource.type === "table" || datasource.type === "link") {
schema["_id"] = { type: "string" }
schema["_rev"] = { type: "string " }
schema["_rev"] = { type: "string" }
}
}
if (!schema || !tableName) {

Loading…
Cancel
Save