File size: 157 Bytes
1e92f2d
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10

-- +migrate Up

ALTER TABLE rotations ADD CHECK (shift_length > 0);

-- +migrate Down

ALTER TABLE rotations DROP CONSTRAINT rotations_shift_length_check;