common

https://github.com/cucumber/common

A home for issues that are common to multiple cucumber repositories

AddLfsEnabledToProjects#change

When using the methods "add_concurrent_index" or "add_column_with_default"
you must disable the use of transactions as these methods can not run in an
existing transaction. When using "add_concurrent_index" make sure that this
method is the _only_ method called in the migration, any other changes
should go in a separate migration. This ensures that upon failure _only_ the
index creation fails and can be retried or reverted easily.

To disable transactions uncomment the following line and remove these
comments:
disable_ddl_transaction!

Source | Google | Stack overflow

Edit

git clone [email protected]:cucumber/common.git

cd common

open

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-AddLfsEnabledToProjects-change-for-pr


# Commit to git

git add git commit -m "better docs for AddLfsEnabledToProjects#change"


# Open pull request

gem install hub # on a mac you can `brew install hub`

hub fork

git push <your name> -your-name--update-docs-AddLfsEnabledToProjects-change-for-pr

hub pull-request


# Celebrate!