0

Working on a SQLite database, seems DbVisualizer Pro does a lot of work very well, except one,

Changing table schema.

I often need to change column name, data type, etc, but don't want to do it through raw SQL statement. My workaround is opening Firefox's SQLite Manager to just change the schema.

enter image description here

Is it possible to use DbVisualizer to change the schema? many thanks!

Edit: Alter table action mentioned below by roger, seems to be the right way to go. But somehow I can only add column, the existing column appears to be read only.

enter image description here

Mine is DBVisualizer Pro Evaluation. Is non-Evaluation different?

enter image description here

Edit2: Using SQLite Manager is sometimes dangerous, as warned below. just learned, renaming a column may cause the foreign key loss. but workaround is here

enter image description here

4

1 に答える 1

0

DbVisualizer Pro には、Alter Tableアクション (および新しいテーブルを作成するための Create Table) があります。[データベース] タブで変更する実際のテーブルを選択し、右クリックして [テーブルの変更] を選択します。これを機能させるには、DbVisualizer Pro が必要であり、接続のデータベース タイプをAuto Detect (推奨) またはSQLiteに設定する必要があります。

于 2016-01-08T07:46:07.200 に答える