Support creating databases in schemata other than main and temp
This replaces the checkbox for creating tables in the temporary schema
by a dropdown box that lets you select between all available schemata,
i.e. main, temp, and all attached databases. This way it becomes
possible to create new tables in attached databases as well as move
existing tables between all schemata.
// Set without rowid and temporary checkboxex. No need to trigger any events here as we're only loading a table exactly as it is stored by SQLite, so no need
// Set without rowid checkbox and schema dropdown. No need to trigger any events here as we're only loading a table exactly as it is stored by SQLite, so no need
<string>Make this a 'WITHOUT rowid' table. Setting this flag requires a field of type INTEGER with the primary key flag set and the auto increment flag unset.</string>
<layoutclass="QFormLayout"name="formLayout">
<itemrow="0"column="0">
<widgetclass="QLabel"name="label">
<propertyname="text">
<string>Database schema</string>
</property>
<propertyname="buddy">
<cstring>comboSchema</cstring>
</property>
</widget>
</item>
<itemrow="0"column="1">
<widgetclass="QComboBox"name="comboSchema"/>
</item>
<itemrow="1"column="0">
<widgetclass="QLabel"name="label_1">
<propertyname="text">
<string>Without Rowid</string>
</property>
<propertyname="buddy">
<cstring>checkWithoutRowid</cstring>
</property>
</widget>
</item>
<item>
<widgetclass="QCheckBox"name="checkTemporary">
<itemrow="1"column="1">
<widgetclass="QCheckBox"name="checkWithoutRowid">
<propertyname="toolTip">
<string>Set this to create a temporary table that is deleted when closing the database.</string>
</property>
<propertyname="text">
<string>Temporary table</string>
<string>Make this a 'WITHOUT rowid' table. Setting this flag requires a field of type INTEGER with the primary key flag set and the auto increment flag unset.</string>
0 comments on commit
72d64ed