title: Flyway: How to run certain repeatable migrations before versioned ones?
body: <p>Flyway states in its documentation some of the usages for repeatable migrations:</p>
  
  <blockquote>
    <p>Usages: (Re-)creating views/procedures/functions/packages/...</p>
  </blockquote>
  
  <p>I have some triggers/functions that I want to create in a repeatable migration, these are later referenced in version migrations, where they are applied to tables.</p>
  
  <p>Flyway runs repeatable migrations last, which means the triggers don't exist when they are referenced.</p>
  
  <p>Is it possible to run certain repeatable migrations before versioned ones? </p>
  
  <p>Is this use case not supported because it would be bad practice to automatically update triggers that are applied to tables?</p>