Vote count:
0
I'm configuring an Oracle VM taken from here and want to tweak the default schema they are generating.
The Flyway is used there to create a new Oracle schema called MYSCHEMA. So the flyway user is system (default name of dba user) and the password is the system's password. E.g.
<flyway.user>system</flyway.user>
<flyway.password>manager</flyway.password>
<flyway.schemas>MYSCHEMA</flyway.schemas>
Now I have two tasks:
- I need to set a specific password for
MYSCHEMAor at east to know what password has the Flyway set for it. - I need to set specific user permissions (
GRANTs) for theMYSCHEMAuser.
Both tasks should be executed by system user. Besides, there is no point to run them on every migration. Once is enough.
Can I do it inside the Flyway using callbacks or migrations?
asked 8 secs ago
Flyway - create oracle schema and set permissions and password
Aucun commentaire:
Enregistrer un commentaire