<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/gitlab/gitlab-ce.git/doc/development/migration_style_guide.md, branch ide-diff-cursor</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>make a little more obvious what operations might need downtime or enhanced migration techniques</title>
<updated>2018-03-22T16:08:21+00:00</updated>
<author>
<name>Brett Walker</name>
<email>brett@digitalmoksha.com</email>
</author>
<published>2018-03-22T16:08:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=7b0e7bcf5d355a47cca57f914dd8fbbe3f07f6af'/>
<id>7b0e7bcf5d355a47cca57f914dd8fbbe3f07f6af</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Shortcut concurrent index creation/removal if no effect.</title>
<updated>2018-03-20T17:44:00+00:00</updated>
<author>
<name>Andreas Brandl</name>
<email>abrandl@gitlab.com</email>
</author>
<published>2018-03-20T13:38:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=1362d9fe1383a2fa2cca563435064e622ec8e043'/>
<id>1362d9fe1383a2fa2cca563435064e622ec8e043</id>
<content type='text'>
Index creation does not have an effect if the index is present already.
Index removal does not have an affect if the index is not present.

This helps to avoid patterns like this in migrations:
```
if index_exists?(...)
  remove_concurrent_index(...)
end
```
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Index creation does not have an effect if the index is present already.
Index removal does not have an affect if the index is not present.

This helps to avoid patterns like this in migrations:
```
if index_exists?(...)
  remove_concurrent_index(...)
end
```
</pre>
</div>
</content>
</entry>
<entry>
<title>doc: Spelling fixes</title>
<updated>2018-01-19T10:09:59+00:00</updated>
<author>
<name>Ville Skyttä</name>
<email>ville.skytta@iki.fi</email>
</author>
<published>2018-01-19T10:09:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=0cbbb08e790260ad936810e0047e03938c001e9b'/>
<id>0cbbb08e790260ad936810e0047e03938c001e9b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add computed update docs for update_column_in_batches</title>
<updated>2017-11-17T16:56:50+00:00</updated>
<author>
<name>Sean McGivern</name>
<email>sean@gitlab.com</email>
</author>
<published>2017-11-17T16:02:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=4d367dd40037500fd7b96059fa300cbe2ce28e85'/>
<id>4d367dd40037500fd7b96059fa300cbe2ce28e85</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Mention schema migrations and patch releases</title>
<updated>2017-08-04T11:34:42+00:00</updated>
<author>
<name>Yorick Peterse</name>
<email>yorickpeterse@gmail.com</email>
</author>
<published>2017-08-04T11:30:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=d5cb29434a375bbbe10c4aa016bf6631bf8ede6c'/>
<id>d5cb29434a375bbbe10c4aa016bf6631bf8ede6c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Removed commit guidelines for migrations</title>
<updated>2017-08-04T11:34:42+00:00</updated>
<author>
<name>Yorick Peterse</name>
<email>yorickpeterse@gmail.com</email>
</author>
<published>2017-08-04T11:29:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=9d3f27a22d0193de15cb40e5cab1c437c61eca69'/>
<id>9d3f27a22d0193de15cb40e5cab1c437c61eca69</id>
<content type='text'>
At some point we decided this isn't really necessary, so let's get rid
of it.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
At some point we decided this isn't really necessary, so let's get rid
of it.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add database helpers 'add_timestamps_with_timezone' and 'timestamps_with_timezone'</title>
<updated>2017-06-13T11:44:13+00:00</updated>
<author>
<name>blackst0ne</name>
<email>blackst0ne.ru@gmail.com</email>
</author>
<published>2017-06-13T11:44:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=bc00806a4eec785068671f2c995febe01682c2d0'/>
<id>bc00806a4eec785068671f2c995febe01682c2d0</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add some documentation for the new migration helpers</title>
<updated>2017-05-02T12:10:55+00:00</updated>
<author>
<name>Bob Van Landuyt</name>
<email>bob@gitlab.com</email>
</author>
<published>2017-05-02T12:10:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=ffc486a58547b6984a44a43097183b34592be608'/>
<id>ffc486a58547b6984a44a43097183b34592be608</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Prepare for zero downtime migrations</title>
<updated>2017-04-12T16:15:19+00:00</updated>
<author>
<name>Yorick Peterse</name>
<email>yorickpeterse@gmail.com</email>
</author>
<published>2017-04-12T16:15:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=223d8a3d26a7561fcae9536efbf120d7c4760bd4'/>
<id>223d8a3d26a7561fcae9536efbf120d7c4760bd4</id>
<content type='text'>
Starting with GitLab 9.1.0 we will no longer allow downtime migrations
unless absolutely necessary. This commit updates the various developer
guides and adds code that is necessary to make zero downtime migrations
less painful.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Starting with GitLab 9.1.0 we will no longer allow downtime migrations
unless absolutely necessary. This commit updates the various developer
guides and adds code that is necessary to make zero downtime migrations
less painful.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add remove_concurrent_index to database helper</title>
<updated>2017-04-05T22:53:57+00:00</updated>
<author>
<name>blackst0ne</name>
<email>blackst0ne.ru@gmail.com</email>
</author>
<published>2017-04-05T22:53:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=9997c58fc0db6469cde1a21428e050aa7b550a9a'/>
<id>9997c58fc0db6469cde1a21428e050aa7b550a9a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
