             rake is NULL OR ((rake >= -180.0) AND (rake <= 180.0))),
     last_update timestamp without time zone
         DEFAULT timezone('UTC'::text, now()) NOT NULL
-) TABLESPACE pshai_ts;
+) TABLESPACE hzrdi_ts;
 
 
 -- A batch of OpenQuake input files uploaded by the user

    AND eqcat.catalog.surface_id = eqcat.surface.id;

-- rupture
CREATE TABLE pshai.rupture (
    id SERIAL PRIMARY KEY,
    owner_id INTEGER NOT NULL,
    -- Associates the rupture with a source model input file (uploaded by a GUI

    total_moment_rate float,
    last_update timestamp without time zone
        DEFAULT timezone('UTC'::text, now()) NOT NULL
) TABLESPACE hzrdi_ts;


-- Magnitude frequency distribution, Truncated Gutenberg Richter
CREATE TABLE hzrdi.mfd_tgr (
    id SERIAL PRIMARY KEY,
    owner_id INTEGER NOT NULL,
    -- One of:
