-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCloudDBQuickStart_1.json
1 lines (1 loc) · 1.08 KB
/
CloudDBQuickStart_1.json
1
{"schemaVersion":1,"permissions":[{"permissions":[{"role":"World","rights":["Read"]},{"role":"Authenticated","rights":["Read"]},{"role":"Creator","rights":["Read","Upsert","Delete"]},{"role":"Administrator","rights":["Read","Upsert","Delete"]}],"objectTypeName":"BookInfo"}],"objectTypes":[{"indexes":[{"indexName":"queryIndex","indexList":["bookName","price","id"]},{"indexName":"bookName","indexList":["bookName"]}],"objectTypeName":"BookInfo","fields":[{"isNeedEncrypt":false,"fieldName":"id","notNull":true,"belongPrimaryKey":true,"fieldType":"Integer"},{"isNeedEncrypt":false,"fieldName":"bookName","notNull":false,"belongPrimaryKey":false,"fieldType":"String"},{"isNeedEncrypt":false,"fieldName":"author","notNull":false,"belongPrimaryKey":false,"fieldType":"String"},{"isNeedEncrypt":false,"fieldName":"price","notNull":false,"belongPrimaryKey":false,"fieldType":"Double"},{"isNeedEncrypt":false,"fieldName":"publisher","notNull":false,"belongPrimaryKey":false,"fieldType":"String"},{"isNeedEncrypt":false,"fieldName":"publishTime","notNull":false,"belongPrimaryKey":false,"fieldType":"Date"}]}]}