10 lines
177 B
Ruby
10 lines
177 B
Ruby
|
|
Sequel.migration do
|
||
|
|
up {
|
||
|
|
DB['CREATE INDEX sites_email_lower_index ON sites (LOWER(email))'].first
|
||
|
|
}
|
||
|
|
|
||
|
|
down {
|
||
|
|
DB['DROP INDEX sites_email_lower_index'].first
|
||
|
|
}
|
||
|
|
end
|