Open nvarscar opened 5 years ago
Neither OracleTableJournal.CreateSchemaTableSql() https://github.com/DbUp/DbUp/blob/976d91cd5e4bc7c478f172e91b597dd1495274de/src/dbup-oracle/OracleTableJournal.cs#L33 nor OracleTableJournal.DoesTableExistSql() https://github.com/DbUp/DbUp/blob/976d91cd5e4bc7c478f172e91b597dd1495274de/src/dbup-oracle/OracleTableJournal.cs#L77 take SchemaTableSchema (schema name) into account, as compared to TableJournal.DoesTableExistSql(): https://github.com/DbUp/DbUp/blob/976d91cd5e4bc7c478f172e91b597dd1495274de/src/dbup-core/Support/TableJournal.cs#L215
OracleTableJournal.CreateSchemaTableSql()
OracleTableJournal.DoesTableExistSql()
TableJournal.DoesTableExistSql()
As a result, versions table gets deploy to the current schema regardless of the schema parameter value.
Neither
OracleTableJournal.CreateSchemaTableSql()
https://github.com/DbUp/DbUp/blob/976d91cd5e4bc7c478f172e91b597dd1495274de/src/dbup-oracle/OracleTableJournal.cs#L33 norOracleTableJournal.DoesTableExistSql()
https://github.com/DbUp/DbUp/blob/976d91cd5e4bc7c478f172e91b597dd1495274de/src/dbup-oracle/OracleTableJournal.cs#L77 take SchemaTableSchema (schema name) into account, as compared toTableJournal.DoesTableExistSql()
: https://github.com/DbUp/DbUp/blob/976d91cd5e4bc7c478f172e91b597dd1495274de/src/dbup-core/Support/TableJournal.cs#L215As a result, versions table gets deploy to the current schema regardless of the schema parameter value.