mirror of
https://gitlab01.pm.org.ru/tnt/liquibase/liquibase-maven.git
synced 2026-09-07 20:05:22 +08:00
Update 6 files
- /cleanup.views/changelog-dir/cleanup_all_views/01_cleanup-allviews.sql - /cleanup.views/changelog-dir/changelog-master.xml - /diff.tables/changelog-dir/changelog-master.xml - /diff.views/changelog-dir/changelog-master.xml - /pom.xml - /README.md
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
do $$ declare
|
||||
r record;
|
||||
begin
|
||||
for r in (select tablename from pg_tables where schemaname = 'my-schema-name') loop
|
||||
execute 'drop table if exists public.' || quote_ident(r.tablename) || ' cascade';
|
||||
end loop;
|
||||
end $$;
|
||||
Reference in New Issue
Block a user