From: root@iserv.zuhause.test Date: Sat, 12 Jul 2008 01:52:42 +0000 (+0200) Subject: mod_roomreservation => mod_roomreservation_bookings X-Git-Tag: REL_3.0-beta~35 X-Git-Url: https://git.rohieb.name/iserv-mod-room-reservation.git/commitdiff_plain/6df989565d1017673acc2ee4c8006a08c89648e8 mod_roomreservation => mod_roomreservation_bookings --- diff --git a/Makefile b/Makefile index e9b6fb5..f9f81f3 100755 --- a/Makefile +++ b/Makefile @@ -92,7 +92,7 @@ uninstall: @echo ---------------------------------------------------------------------- @echo If you do not need the SQL tables anymore, remove them by running - @echo ' psql -c "DROP TABLE mod_room-reservation;"' - @echo ' psql -c "DROP SEQUENCE mod_room-reservation_rr_uid_seq;"' + @echo ' psql -c "DROP TABLE mod_roomreservation_bookings;"' + @echo ' psql -c "DROP SEQUENCE mod_roomreservation_bookings_rrb_uid_seq;"' @echo After that, all bookings are unrecoverably deleted! @echo ---------------------------------------------------------------------- diff --git a/sql/mod_room-reservation.sql b/sql/mod_room-reservation.sql index 7afffef..a4cf33f 100755 --- a/sql/mod_room-reservation.sql +++ b/sql/mod_room-reservation.sql @@ -23,5 +23,5 @@ CREATE TABLE mod_roomreservation_bookings ( -- -- Permissions -- -GRANT SELECT, INSERT, UPDATE, DELETE ON mod_roomreservation, mod_roomreservation_rr_uid_seq TO webusr; -GRANT SELECT, INSERT, UPDATE, DELETE ON mod_roomreservation, mod_roomreservation_rr_uid_seq TO webadm; +GRANT SELECT, INSERT, UPDATE, DELETE ON mod_roomreservation_bookings, mod_roomreservation_bookings_rrb_uid_seq TO webusr; +GRANT SELECT, INSERT, UPDATE, DELETE ON mod_roomreservation_bookings, mod_roomreservation_bookings_rrb_uid_seq TO webadm;