You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
asciinema.org/db/migrate/20141115174443_add_unique_i...

6 lines
148 B
Ruby

class AddUniqueIndexToAsciicastsSecretToken < ActiveRecord::Migration
def change
add_index :asciicasts, :secret_token, unique: true
end
end