github.com/Systemnick/migrate@v3.5.4+incompatible/database/cockroachdb/examples/migrations/1285849751_add_index_on_user_emails.up.sql (about) 1 CREATE UNIQUE INDEX IF NOT EXISTS users_email_index ON users (email); 2 3 -- Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean sed interdum velit, tristique iaculis justo. Pellentesque ut porttitor dolor. Donec sit amet pharetra elit. Cras vel ligula ex. Phasellus posuere.