Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit04190e1

Browse files
authored
fix: properly comment out extension uninstallation code
1 parentfc8b4ff commit04190e1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎lib/migration_generator/migration_generator.ex‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ defmodule AshPostgres.MigrationGenerator do
144144

145145
uninstall=
146146
Enum.map_join(to_install,"\n",fnextension->
147-
"execute(\"DROP EXTENSION IF EXISTS\\\"#{extension}\\\"\")"
147+
"#execute(\"DROP EXTENSION IF EXISTS\\\"#{extension}\\\"\")"
148148
end)
149149

150150
contents="""
@@ -163,7 +163,7 @@ defmodule AshPostgres.MigrationGenerator do
163163
164164
def down do
165165
# Uncomment this if you actually want to uninstall the extensions
166-
# when this migration is rolled back.
166+
# when this migration is rolled back:
167167
#{uninstall}
168168
end
169169
end

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp