I am using sequelize with a postgres database behind it and I have sometimes to create Tables in run time. It is generally working, but I would like to know if there is a possibility to check if a table already exists in the database. I know that sequelize is using something like "CREATE TABLE IF NOT EXITS ...", but I would like to know in my code if the table exists or not?
Any ideas? Maybe in the sync method of the define model?