Skip to content

Commit 3993069

Browse files
committed
Create EXTENSION IF NOT EXISTS
1 parent 5f35474 commit 3993069

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

priv/repo/migrations/20180625095801_create_catelogs.exs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ defmodule Dummy.Repo.Migrations.CreateCatelogs do
22
use Ecto.Migration
33

44
def change do
5-
execute "CREATE EXTENSION ltree" # Enables Ltree action
5+
execute "CREATE EXTENSION IF NOT EXISTS ltree" # Enables Ltree action
66

77
create table(:catelogs, primary_key: false) do
88
add :id, :uuid, primary_key: true

0 commit comments

Comments
 (0)