Problem of "copy database schema"
In "tables" tab, "settings" (gear at left-lower corner of second column), there is a "copy database schema" function. The generated schema seems cannot be reproduced in a new database.
This is the generated schema of my database, as an example.
However, there are 3 problems if trying to reproduce in the new database:
1. The plugin
2.
3. Objects
I'm a beginner of PostgreSQL, so I'm not sure whether it's a bug or standard behavior.
This is the generated schema of my database, as an example.
However, there are 3 problems if trying to reproduce in the new database:
1. The plugin
CREATE EXTENSION IF NOT EXISTS vector; is not included.2.
hnsw doesn't include the method name, which is hnsw ("openai_text_embedding_3_small" vector_cosine_ops)3. Objects
courses_pkey, job_titles_token_uniq, knowledge_points_pk are already created in table definition. Therefore the 3 separate query of CREATE UNIQUE INDEX will fail and block the subsequent queries.I'm a beginner of PostgreSQL, so I'm not sure whether it's a bug or standard behavior.
