Commit Graph

1 Commits (03b4657f53115d40ea0142e204bafb273147e5e6)

Author SHA1 Message Date
Pedro M. Baeza 5d73e93c19 [FIX] base_comment_template: Incorrect m2m column names + script + avoid FK constraint
- The name of the columns were swapped, so better to fix it for avoiding
  mistakes due to this.
- Migration script for detecting the condition and swap column names.
- On v12 > v13 migration, include JOINs for avoiding FK constraint,
  which `ON CONFLICT` clause doesn't protect.
2021-05-15 16:58:39 +02:00