Merge branch 'docs-a_akgun-master-patch-16480' into 'master'
Remove migration helper inclusion from examples See merge request gitlab-org/gitlab!74169
This commit is contained in:
commit
4c210dec0f
|
@ -588,8 +588,6 @@ class like so:
|
|||
|
||||
```ruby
|
||||
class MyMigration < Gitlab::Database::Migration[1.0]
|
||||
include Gitlab::Database::MigrationHelpers
|
||||
|
||||
disable_ddl_transaction!
|
||||
|
||||
INDEX_NAME = 'index_name'
|
||||
|
@ -633,8 +631,6 @@ be used with a name option. For example:
|
|||
|
||||
```ruby
|
||||
class MyMigration < Gitlab::Database::Migration[1.0]
|
||||
include Gitlab::Database::MigrationHelpers
|
||||
|
||||
INDEX_NAME = 'index_name'
|
||||
|
||||
def up
|
||||
|
|
Loading…
Reference in a new issue