<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/gitlab/gitlab-ce.git/db, branch docs-gitlab-utilities</title>
<subtitle>gitlab.com: gitlab-org/gitlab-ce.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/'/>
<entry>
<title>Merge branch '39289-local-schema-rb-automatically-reverts-datetime-to-datetime_with_timezone-after-migrations' into 'master'</title>
<updated>2018-01-02T12:33:42+00:00</updated>
<author>
<name>Sean McGivern</name>
<email>sean@mcgivern.me.uk</email>
</author>
<published>2018-01-02T12:33:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=81dcd8ed8f71968215c7e776da482e83823c8b74'/>
<id>81dcd8ed8f71968215c7e776da482e83823c8b74</id>
<content type='text'>
Prevent schema.rb reverting from datetime_with_timezone to datetime

Closes #39289

See merge request gitlab-org/gitlab-ce!14956</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Prevent schema.rb reverting from datetime_with_timezone to datetime

Closes #39289

See merge request gitlab-org/gitlab-ce!14956</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'sh-fix-mysql-migration-10-3' into 'master'</title>
<updated>2017-12-27T16:14:36+00:00</updated>
<author>
<name>Grzegorz Bizon</name>
<email>grzegorz@gitlab.com</email>
</author>
<published>2017-12-27T16:14:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=ff3e9af6fdac37ae71ea526bbb9aaf4b7d2ce876'/>
<id>ff3e9af6fdac37ae71ea526bbb9aaf4b7d2ce876</id>
<content type='text'>
Fix migration for removing orphaned issues.moved_to_id values in MySQL and PostgreSQL

Closes #41498

See merge request gitlab-org/gitlab-ce!16141</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix migration for removing orphaned issues.moved_to_id values in MySQL and PostgreSQL

Closes #41498

See merge request gitlab-org/gitlab-ce!16141</pre>
</div>
</content>
</entry>
<entry>
<title>Simplify implementation and allow for batch updates in MySQL</title>
<updated>2017-12-27T15:11:54+00:00</updated>
<author>
<name>Stan Hu</name>
<email>stanhu@gmail.com</email>
</author>
<published>2017-12-27T15:11:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=e97671b81259a2e8bc02babbe94f5ab7aa19fa93'/>
<id>e97671b81259a2e8bc02babbe94f5ab7aa19fa93</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix PostgreSQL implementation of migration</title>
<updated>2017-12-27T12:12:18+00:00</updated>
<author>
<name>Stan Hu</name>
<email>stanhu@gmail.com</email>
</author>
<published>2017-12-27T11:22:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=dfdf22c7d8a9e4776a0e3bfc130ef47aff911022'/>
<id>dfdf22c7d8a9e4776a0e3bfc130ef47aff911022</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix Gitlab::Access.values to Gitlab::Access.sym_options at 06_teams on development db fixtures</title>
<updated>2017-12-27T09:55:57+00:00</updated>
<author>
<name>ogom</name>
<email>ogom@outlook.com</email>
</author>
<published>2017-12-27T09:55:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=9fcc40aeafe83cfdbc6f0fff0ebaf9e733983cfc'/>
<id>9fcc40aeafe83cfdbc6f0fff0ebaf9e733983cfc</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix migration for removing orphaned issues.moved_to_id values in MySQL</title>
<updated>2017-12-27T06:29:15+00:00</updated>
<author>
<name>Stan Hu</name>
<email>stanhu@gmail.com</email>
</author>
<published>2017-12-27T06:22:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=5cacdc4ec1f63338fab923ddb657fdba0a7e6300'/>
<id>5cacdc4ec1f63338fab923ddb657fdba0a7e6300</id>
<content type='text'>
According to https://dev.mysql.com/doc/refman/5.7/en/update.html,
"You cannot update a table and select from the same table in a subquery."
Attempting to do so results in the error:

```
Mysql2::Error: Table 'issues' is specified twice, both as a target for 'UPDATE' and as a separate source for data
```

Instead, we can use a LEFT JOIN on the same table to make MySQL do the right
thing.

Closes #41498
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
According to https://dev.mysql.com/doc/refman/5.7/en/update.html,
"You cannot update a table and select from the same table in a subquery."
Attempting to do so results in the error:

```
Mysql2::Error: Table 'issues' is specified twice, both as a target for 'UPDATE' and as a separate source for data
```

Instead, we can use a LEFT JOIN on the same table to make MySQL do the right
thing.

Closes #41498
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch '36782-replace-team-user-role-with-add_role-user-in-specs' into 'master'</title>
<updated>2017-12-23T14:09:42+00:00</updated>
<author>
<name>Rémy Coutable</name>
<email>remy@rymai.me</email>
</author>
<published>2017-12-23T14:09:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=6c967c2b5b9760d0df6bcff70c059858abf971ec'/>
<id>6c967c2b5b9760d0df6bcff70c059858abf971ec</id>
<content type='text'>
Resolve "Replace '.team &lt;&lt; [user, role]' with 'add_role(user)' in specs"

Closes #36782

See merge request gitlab-org/gitlab-ce!16069</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Resolve "Replace '.team &lt;&lt; [user, role]' with 'add_role(user)' in specs"

Closes #36782

See merge request gitlab-org/gitlab-ce!16069</pre>
</div>
</content>
</entry>
<entry>
<title>Extend Cluster Applications to allow installation of Prometheus</title>
<updated>2017-12-22T17:23:43+00:00</updated>
<author>
<name>Mayra Cabrera</name>
<email>mcabrera@gitlab.com</email>
</author>
<published>2017-12-22T17:23:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=0d4548026f3060ca0a8f7aa8d8fc89838bc66130'/>
<id>0d4548026f3060ca0a8f7aa8d8fc89838bc66130</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Replace '.team &lt;&lt; [user, role]' with 'add_role(user)' in specs</title>
<updated>2017-12-22T08:18:28+00:00</updated>
<author>
<name>blackst0ne</name>
<email>blackst0ne.ru@gmail.com</email>
</author>
<published>2017-12-22T08:18:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=27c95364b52f4e93054c45211010aeb22e40a2b2'/>
<id>27c95364b52f4e93054c45211010aeb22e40a2b2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add index on namespaces lower(name) for UsersController#exists</title>
<updated>2017-12-21T23:07:25+00:00</updated>
<author>
<name>Greg Stark</name>
<email>stark@gitlab.com</email>
</author>
<published>2017-12-20T19:43:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=680ebf449bc5700f827559660f28fb4e47022828'/>
<id>680ebf449bc5700f827559660f28fb4e47022828</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
