gitlab-org--gitlab-foss/db
Oswaldo Ferreira 1db3926dd2 Add multi-line suggestion migrations
Adds outdated, lines_above and lines_below columns to
suggestions table.

outdated - boolean which represents whether the suggestion
is outdated or not. For instance, if any line changed after
you left the multi-line suggestion, even though the note
is not outdated, it helps tracking if the content has changed
in the latest file. We cache this information in a column given
it's not a cheap operation to do for every suggestion in the
request time.
lines_below, lines_above - persists the parsed arguments from
`suggestion:-10+3` syntax, where `10` would be lines_above and
3 lines_below. We need that to dynamically calculate which
lines we should monitor for outdating / persisting the correct
content in from_content column.
2019-03-26 16:06:26 -03:00
..
fixtures Add labels to seeded issues and merge requests 2019-03-12 08:40:15 +01:00
importers
migrate Add multi-line suggestion migrations 2019-03-26 16:06:26 -03:00
optional_migrations
post_migrate Add multiple assignees migration and table population 2019-03-25 19:50:40 -03:00
schema.rb Add multi-line suggestion migrations 2019-03-26 16:06:26 -03:00
seeds.rb