Commit 4c210dec authored by Andreas Brandl's avatar Andreas Brandl

Merge branch 'docs-a_akgun-master-patch-16480' into 'master'

Remove migration helper inclusion from examples

See merge request gitlab-org/gitlab!74169
parents 70145730 ac944ca8
...@@ -588,8 +588,6 @@ class like so: ...@@ -588,8 +588,6 @@ class like so:
```ruby ```ruby
class MyMigration < Gitlab::Database::Migration[1.0] class MyMigration < Gitlab::Database::Migration[1.0]
include Gitlab::Database::MigrationHelpers
disable_ddl_transaction! disable_ddl_transaction!
INDEX_NAME = 'index_name' INDEX_NAME = 'index_name'
...@@ -633,8 +631,6 @@ be used with a name option. For example: ...@@ -633,8 +631,6 @@ be used with a name option. For example:
```ruby ```ruby
class MyMigration < Gitlab::Database::Migration[1.0] class MyMigration < Gitlab::Database::Migration[1.0]
include Gitlab::Database::MigrationHelpers
INDEX_NAME = 'index_name' INDEX_NAME = 'index_name'
def up def up
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment