Skip to content

Instantly share code, notes, and snippets.

@jstotz
Created July 11, 2018 11:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jstotz/e359b36da012f361360e4b2fff0712ba to your computer and use it in GitHub Desktop.
Save jstotz/e359b36da012f361360e4b2fff0712ba to your computer and use it in GitHub Desktop.
Sequel.migration do
no_transaction
change do
alter_table :foo do
add_column :bar, String
add_index :bar, concurrently: true
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment