Commit ac944ca8 authored by Alper Akgun's avatar Alper Akgun Committed by Andreas Brandl

Remove migration helper inclusion from examples

parent 0eb312db
...@@ -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