#126857: dww -- add cache_views table to pgsql.
authorEarl Miles
Wed, 11 Apr 2007 22:39:11 +0000 (22:39 +0000)
committerEarl Miles
Wed, 11 Apr 2007 22:39:11 +0000 (22:39 +0000)
views.install

index 35be514..56baa85 100644 (file)
       )");
       db_query("CREATE INDEX {view_exposed_filter}_vid_idx ON {view_exposed_filter} (vid)");
 
+      db_query("CREATE TABLE {cache_views} (
+        cid varchar(255),
+        data bytea,
+        expire integer,
+        created integer,
+        headers text
+      )");
+      db_query("CREATE INDEX {cache_views}_cid_idx ON {cache_views} (cid)");
+      db_query("CREATE INDEX {cache_views}_expire_idx ON {cache_views} (expire)");
+
       $success = TRUE;
       break;
   } // End case