title: Script schema of the entire database with Datagrip
body: <p>Is it possible to script schema of the entire database (SQL Server or Postgres) using datagrip? </p>
  
  <p>I know I can get DDL for table and view and source for each stored procedure / function on it's own.</p>
  
  <p>Can I get one script for all objects in database at once?</p>
  
  <p>Alternatively, is there a way to search through code of all routines at once, say I need to find which ones are using <code>#table</code> temp table?</p>