Rename database scripts to create database and user

This commit is contained in:
Manuel Rego Casasnovas 2012-03-15 09:51:57 +01:00
parent 013152c56c
commit ff29c2dad7
5 changed files with 6 additions and 6 deletions

View file

@ -14,13 +14,13 @@ authentication method", at the end of this document.
1) Create libreplan database
----------------------------
# psql -h localhost -U postgres < /usr/share/libreplan/pgsql/createdb.sql
# psql -h localhost -U postgres < /usr/share/libreplan/pgsql/create_db.sql
2) Create libreplan user
------------------------
# psql -h localhost -U postgres < /usr/share/libreplan/pgsql/createuser.sql
# psql -h localhost -U postgres < /usr/share/libreplan/pgsql/create_user_postgresql.sql
3) Install LibrePlan database

View file

@ -14,13 +14,13 @@ authentication method", at the end of this document.
1) Create libreplan database
----------------------------
# psql -h localhost -U postgres < /usr/share/libreplan/pgsql/createdb.sql
# psql -h localhost -U postgres < /usr/share/libreplan/pgsql/create_db.sql
2) Create libreplan user
------------------------
# psql -h localhost -U postgres < /usr/share/libreplan/pgsql/createuser.sql
# psql -h localhost -U postgres < /usr/share/libreplan/pgsql/create_user_postgresql.sql
3) Install LibrePlan database

View file

@ -77,8 +77,8 @@ install -Dm0644 %{SOURCE1} ${RPM_BUILD_ROOT}%{_datadir}/%{name}/webapps/librepla
# Copy SQL installation files
mkdir -p ${RPM_BUILD_ROOT}%{_datadir}/%{name}/pgsql/
cp ${CURDIR}/scripts/database/createdb.sql ${RPM_BUILD_ROOT}%{_datadir}/%{name}/pgsql/
cp ${CURDIR}/scripts/database/createuser.sql ${RPM_BUILD_ROOT}%{_datadir}/%{name}/pgsql/
cp ${CURDIR}/scripts/database/create_db.sql ${RPM_BUILD_ROOT}%{_datadir}/%{name}/pgsql/
cp ${CURDIR}/scripts/database/create_user_postgresql.sql ${RPM_BUILD_ROOT}%{_datadir}/%{name}/pgsql/
cp ${CURDIR}/scripts/database/install.sql ${RPM_BUILD_ROOT}%{_datadir}/%{name}/pgsql/
# Copy SQL upgrade script for version 1.0.0