Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
b4c077bf
Commit
b4c077bf
authored
Apr 24, 2018
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Squash EE migrations prior to 2014-03-19
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
25c919dd
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
12 deletions
+9
-12
ee/db/migrate/20130802124933_add_ldap_settings_to_group.rb
ee/db/migrate/20130802124933_add_ldap_settings_to_group.rb
+0
-5
ee/db/migrate/20130809090140_add_ldap_access_to_group.rb
ee/db/migrate/20130809090140_add_ldap_access_to_group.rb
+0
-5
ee/db/migrate/20140319135450_init_ee_schema.rb
ee/db/migrate/20140319135450_init_ee_schema.rb
+9
-2
No files found.
ee/db/migrate/20130802124933_add_ldap_settings_to_group.rb
deleted
100644 → 0
View file @
25c919dd
class
AddLdapSettingsToGroup
<
ActiveRecord
::
Migration
def
change
add_column
:namespaces
,
:ldap_cn
,
:string
,
null:
true
end
end
ee/db/migrate/20130809090140_add_ldap_access_to_group.rb
deleted
100644 → 0
View file @
25c919dd
class
AddLdapAccessToGroup
<
ActiveRecord
::
Migration
def
change
add_column
:namespaces
,
:ldap_access
,
:integer
,
null:
true
end
end
ee/db/migrate/20140319135450_
create_git_hooks
.rb
→
ee/db/migrate/20140319135450_
init_ee_schema
.rb
View file @
b4c077bf
# rubocop:disable Migration/Timestamps
class
CreateGitHooks
<
ActiveRecord
::
Migration
class
InitEESchema
<
ActiveRecord
::
Migration
DOWNTIME
=
false
def
change
def
up
add_column
:namespaces
,
:ldap_cn
,
:string
,
null:
true
add_column
:namespaces
,
:ldap_access
,
:integer
,
null:
true
create_table
:git_hooks
do
|
t
|
t
.
string
:force_push_regex
t
.
string
:delete_branch_regex
...
...
@@ -13,4 +16,8 @@ class CreateGitHooks < ActiveRecord::Migration
t
.
timestamps
null:
true
end
end
def
down
raise
ActiveRecord
::
IrreversibleMigration
,
"The initial migration is not revertable"
end
end
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment