Skip to content

Commit

Permalink
Add index for asciicast's visibility column
Browse files Browse the repository at this point in the history
  • Loading branch information
ku1ik committed May 19, 2024
1 parent 7e792cb commit ce3941b
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
defmodule Asciinema.Repo.Migrations.AddIndexOnAsciicastsVisibility do
use Ecto.Migration

def change do
create index(:asciicasts, [:visibility])
end
end

0 comments on commit ce3941b

Please sign in to comment.