5 description => "Update table stockrotationrotas",
8 my ($dbh, $out) = @$args{qw(dbh out)};
9 if( !unique_key_exists('stockrotationrotas', 'stockrotationrotas_title') ) {
11 ALTER TABLE stockrotationrotas ADD CONSTRAINT UNIQUE KEY stockrotationrotas_title (title)
14 # Make sure that description is NOT NULL
16 ALTER TABLE stockrotationrotas MODIFY COLUMN description text NOT NULL COMMENT 'Description for this rota'