Skip to content

Commit b1057f4

Browse files
committed
Revert "add down fn"
This reverts commit a6e92ff.
1 parent 7d27c5b commit b1057f4

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed
Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,17 @@
11
defmodule Plausible.IngestRepo.Migrations.AddScrollDepthToImportedPages do
22
use Ecto.Migration
33

4-
@on_cluster Plausible.MigrationUtils.on_cluster_statement("imported_pages")
5-
64
def up do
5+
on_cluster = Plausible.MigrationUtils.on_cluster_statement("imported_pages")
6+
77
execute """
88
ALTER TABLE imported_pages
9-
#{@on_cluster}
9+
#{on_cluster}
1010
ADD COLUMN scroll_depth UInt8 DEFAULT 255
1111
"""
1212
end
1313

1414
def down do
15-
execute """
16-
ALTER TABLE imported_pages
17-
#{@on_cluster}
18-
DROP COLUMN scroll_depth
19-
"""
15+
raise "Irreversible"
2016
end
2117
end

0 commit comments

Comments
 (0)