ximtech / altium-library

Large database component library
17 stars 1 forks source link

Migration file issue #142

Open ydessert opened 7 months ago

ydessert commented 7 months ago

Using migration tool to populate fresh database fire an issur with change 07-02-2023

Error during liquibase execution: [liquibase.exception.MigrationFailedException: Migration failed for changeset 07-02-2023/NewRows-Diodes-Rectifiers-Single.sql::1::Stanislav_Vodolagin: Reason: liquibase.exception.DatabaseException: ERROR: column "Voltage - Dc Reverse (Vr) (Max)" of relation "Diodes-Rectifiers-Single" does not exist

It seems that the database field name should be "Voltage - DC Reverse (Vr) (Max)"

How to bypass this issue ?

ximtech commented 7 months ago

Hi. There is some issue with migration data, this was cause by previous data transformation and manually created scripts. So at this moment all those misalignments fixed and pushed. Please, make sure that database have altium schema (now it's default schema). Run altium-migrator on empty database with docker env parameter: LIQUIBASE_SCHEMA_NAME=altium (or pull the latest image, it has this schema by default) altium-migrator docker link

GHTXL commented 1 month ago

I try to use this library and found it is very diffcult to set the postgresDB & Docker,I follow the operation step by step and I’m failed.

ximtech commented 1 month ago

Hi. Can you please give some additional information? On what step do you stuck?