Commit graph

10 commits

Author SHA1 Message Date
Sean McGivern
98bb435f42 Enable RuboCop for migrations
Migrations shouldn't fail RuboCop checks - especially lint checks, such
as the nested method check. To avoid changing code in existing
migrations, add the magic comment to the top of each of them to skip
that file.
2016-06-09 16:05:25 +01:00
Jacob Vosmaer
0b2670f82f Remove unnecessary semicolons
I could not help myself
2015-04-14 15:45:15 +02:00
Jacob Vosmaer
41a1cb88f4 Use different queries for MySQL and Postgres
I could not find a query that worked on both; these two queries look
very similar and seem to do the same thing.
2015-04-14 15:44:19 +02:00
Jacob Vosmaer
afa47eddcc Also ldap_group_links where provider='ldap' 2015-04-13 11:56:35 +02:00
Jacob Vosmaer
8476d171cc Merge branch 'ldap_migration' of dev.gitlab.org:gitlab/gitlabhq into ldap_migration 2015-04-13 11:52:05 +02:00
Jacob Vosmaer
8b4705fea6 Make migration work if LDAP is disabled 2015-04-13 11:50:00 +02:00
Dmitriy Zaporozhets
04f05ac1fb Check for table instead of class 2015-04-13 12:26:14 +03:00
Jacob Vosmaer
f64db1fab9 Try to explain what we are doing 2015-04-13 11:22:31 +02:00
Dmitriy Zaporozhets
896ea2482b
Change migration to SQL
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-04-13 11:50:21 +03:00
Valery Sizov
8666f497ff fix ldap identities 2015-04-11 17:56:45 +03:00