Skip to content

Commit 3c62fb4

Browse files
committed
feat: rm legacy manipulation of schema and just use what is generated 1:1
1 parent 8231e3e commit 3c62fb4

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

nix/tools/dbmate-tool.sh.in

-12
Original file line numberDiff line numberDiff line change
@@ -170,18 +170,6 @@ check_orioledb_ready() {
170170
return 1
171171
}
172172

173-
trim_schema() {
174-
case "$CURRENT_SYSTEM" in
175-
"x86_64-darwin"|"aarch64-darwin")
176-
sed -i '' '/INSERT INTO public.schema_migrations/,$d' "./db/schema.sql"
177-
echo "Matched: $CURRENT_SYSTEM"
178-
;;
179-
*)
180-
sed -i '/INSERT INTO public.schema_migrations/,$d' "./db/schema.sql"
181-
;;
182-
esac
183-
}
184-
185173
perform_dump() {
186174
local max_attempts=3
187175
local attempt=1

0 commit comments

Comments
 (0)