Commit 2b9f3a0e authored by Richard Hult's avatar Richard Hult Committed by Richard Hult

Patch from minus@toneby.com to improve this.

2005-05-18  Richard Hult  <richard@imendio.com>

	* docs/sql/README.sql: Patch from minus@toneby.com to improve
	this.
parent 6d412e34
2005-05-18 Richard Hult <richard@imendio.com>
* docs/sql/README.sql: Patch from minus@toneby.com to improve
this.
2005-04-30 Richard Hult <richard@imendio.com>
* src/planner-eds-plugin.c (plugin_init): Use the right path
......
......@@ -12,17 +12,22 @@ A very brief getting started howto (change username etc to use...):
postmaster -D /tmp/test-db
-- This is usualy done by a database administrator
* Enable access to another user than the default:
echo 'CREATE USER rhult CREATEDB;' | psql -e template1
* Create a UNICODE database:
* Create database group:
createdb -E UNICODE -U rhult plannerdb
echo 'CREATE GROUP planner WITH USER rhult;' | psql -e -d plannerdb
* Create database group:
-- This is done by the user
* Create a UNICODE database:
echo 'CREATE GROUP planner WITH USER rhult;' | psql -e -U rhult -d plannerdb
createdb -E UNICODE -U rhult plannerdb
* Create tables from new. This depends upon the schema that you are up to
in your code. Use the highest versioned SQL file.
......@@ -39,6 +44,8 @@ A very brief getting started howto (change username etc to use...):
e.g.
cat upgrade-0.6.x-0.11.sql | psql -e -U rhult -d plannerdb
-- How to start over
* Drop database and group to start over:
......@@ -46,3 +53,12 @@ A very brief getting started howto (change username etc to use...):
dropdb plannerdb
-- And then...
Start planner
Add some items to a project
Export to a database
Import from the database next time you use planner.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment