change README.md
This commit is contained in:
parent
eed3857728
commit
fb890fb324
12
README.md
12
README.md
@ -45,4 +45,14 @@ mvn liquibase:update -X > liquibase_log/liquibase_log_update-$(date +%Y%m%d%H%M%
|
|||||||
mvn liquibase:history > liquibase_log/liquibase_log_history-$(date +%Y%m%d%H%M%S).log
|
mvn liquibase:history > liquibase_log/liquibase_log_history-$(date +%Y%m%d%H%M%S).log
|
||||||
```
|
```
|
||||||
|
|
||||||
|
```sql
|
||||||
|
DO $$ DECLARE
|
||||||
|
r RECORD;
|
||||||
|
BEGIN
|
||||||
|
FOR r IN (SELECT tablename FROM pg_tables WHERE schemaname =
|
||||||
|
'public') LOOP
|
||||||
|
EXECUTE 'DROP TABLE IF EXISTS ' || quote_ident(r.tablename) || '
|
||||||
|
CASCADE';
|
||||||
|
END LOOP;
|
||||||
|
END $$;
|
||||||
|
```
|
||||||
Loading…
x
Reference in New Issue
Block a user