github.com/scraniel/migrate@v0.0.0-20230320185700-339088f36cee/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.