Reset Embedded H2 database periodically
H2 supports a special SQL statement to drop all objects: DROP ALL OBJECTS [DELETE FILES] If you don’t want to drop all tables, you might want to use truncate table: TRUNCATE TABLE
H2 supports a special SQL statement to drop all objects: DROP ALL OBJECTS [DELETE FILES] If you don’t want to drop all tables, you might want to use truncate table: TRUNCATE TABLE
This is the command I use for this kind of things, very useful repo forall -vc “git reset –hard” What everything mean here ? the repo forall will execute for all repos. the –v is verbose, so it will print the output of the command the -c “COMMAND TO EXECUTE” is the actual command you … Read more