X-Git-Url: http://git.onelab.eu/?p=plewww.git;a=blobdiff_plain;f=drupal-hacks%2Fdatabase.pgsql;fp=drupal-hacks%2Fdatabase.pgsql;h=91c805005a82dc97e8f3ddaf9cae4ee81c8a22a5;hp=0000000000000000000000000000000000000000;hb=2b9089208cbbf16ff5645b17e92f5be289aa1a2f;hpb=1a487d6c4874799ae27a0004053443ef8f053f09 diff --git a/drupal-hacks/database.pgsql b/drupal-hacks/database.pgsql new file mode 100644 index 0000000..91c8050 --- /dev/null +++ b/drupal-hacks/database.pgsql @@ -0,0 +1,11 @@ +-- PlanetLab changes to the drupal(4.7) database + +-- PlanetLab: Enable path and planetlab modules +INSERT INTO system (filename, name, type, description, status, throttle, bootstrap, schema_version) VALUES ('modules/path.module', 'path', 'module', '', 1, 0, 0, 0); +INSERT INTO system (filename, name, type, description, status, throttle, bootstrap, schema_version) VALUES ('modules/planetlab.module', 'planetlab', 'module', '', 1, 0, 0, 0); + +-- PlanetLab: Create a default superuser +INSERT INTO users(uid,name,mail) VALUES(1,'drupal',''); + +-- PlanetLab: Replace default user login block with PlanetLab login block +update blocks set module='planetlab' where module='user' and delta=0;