default migration table location in postgres? Multiple diesel applications sharing a database? #4728
-
|
Is it possible to have multiple diesel applications sharing a database? each with their own set of migrations Where is the default migration table located in a postgres DB? Can it be changed to so that there are no conflicts between several different diesel applications may be potentially running in the same DB/schema/etc. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Yes it's possible as long as either the schemas of those applications do not conflict with each other or they are compatible with each other.
By default they are located in a
It can be changed by using a custom |
Beta Was this translation helpful? Give feedback.
Yes it's possible as long as either the schemas of those applications do not conflict with each other or they are compatible with each other.
By default they are located in a
__diesel_schema_migrationsin the current schema.It can be changed by using a custom
MigrationHarnessimplementation that uses a different table instead.