If I add to the gallery and index with an Item (key item) and I add the index to another entity without that column it gets the column created but it does not create it as a key.
原因
Can not add index from Gallery to a new table. When user drag and drop from Gallery Index is not allowed to be dropped to a new table.
解决办法
We can’t add an index from Gallery to a new table in a Model. We can only add (drag and drop) the whole object containing the index in the Model gallery. If you try to drag an index to an object in the Model nothing happens.