Commit graph

7 commits

Author SHA1 Message Date
Sean McGivern
9a73b634ab Add table for files in merge request diffs
This adds an ID-less table containing one row per file, per merge request
diff. It has a column for each attribute on Gitlab::Git::Diff that is serialised
currently, with the advantage that we can easily query the attributes of this
new table.

It does not migrate existing data, so we have fallback code when the legacy
st_diffs column is present instead. For a merge request diff to be valid, it
should have at most one of:

* Rows in this new table, with the correct merge_request_diff_id.
* A non-NULL st_diffs column.

It may have neither, if the diff is empty.
2017-06-16 18:30:01 +01:00
Nick Thomas
1a168dc7a5 Fix caching large snippet HTML content on MySQL databases 2017-05-03 15:27:45 +01:00
Dmitriy Zaporozhets
b8f12d1917 Replace GITLAB with GitLab in rake task descriptions 2015-06-23 16:52:40 +02:00
Jacob Vosmaer
43e77099d8 Adjust MySQL limits for existing installations 2014-04-23 11:07:36 +02:00
Dmitriy Zaporozhets
46cc3b22c9
Add mysql limits to db during setup
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-03-13 10:47:53 +02:00
Jeroen van Baarsen
f9c4bb5638 Changed limits to a higher order 2014-03-12 08:13:27 +01:00
Jeroen van Baarsen
71b1030bf7 Added rake task to add limits back in mysql 2014-03-11 19:23:02 +01:00