Yorick Peterse
b33b7be53e
Handle NULL migration errors in migration helpers
...
This ensures that whenever changing the NULL constraint of a column
fails we still drop the column.
2016-06-13 11:22:58 +02:00
Felipe Artur
9264203103
change add_concurrent_index function arguments
2016-06-06 13:06:21 -03:00
Grzegorz Bizon
9e92b0eead
Add specs for migration helpers and boolean values
2016-05-22 22:41:14 +02:00
Grzegorz Bizon
13bf612600
Test migration helpers using a migration class
2016-05-22 22:40:43 +02:00
Yorick Peterse
36083b4d0e
Fixed styling per Rubocop pedantics
2016-05-12 13:03:55 +02:00
Yorick Peterse
e867099091
Added helper methods for database migrations
...
These helpers can be used to perform migrations without taking down the
entire application.
For example, the method "add_column_with_default" can be used to add a
new column with a default value without locking the entire table.
2016-05-12 12:59:40 +02:00