Multi column index SQL preview is often incorrect, with missing columns or incorrect order of columns.

Aubrey Jones 9 aastat tagasi uuendaja anonymous 9 aastat tagasi 1
Create a table with multiple columns. Create a multi column index that doesn't include the PK. Press the SQL Preview button... maybe it's right, maybe it isn't. Reorder the columns in your index, or add/delete one, and try again. I bet it's not correct now.
I'm quite sure this is caused with lack of "save" operation before generating SQL Preview. Please try to "ctrl+s" (or click save button) before generating SQL Preview. Does this help?

However, I agree that there should be automatic save operation before generating SQL Preview, we'll add this soon.