GNOME Bugzilla – Bug 137547
Database requires table name prefix
Last modified: 2021-06-09 20:29:39 UTC
When you run projects on hosted services they generally give you just one database (or rather they cost per database). Into this you stick all your application database tables. Its traditional that applications are able to prefix the tables with something so that there is very little chance of a name clash. Ideally planner should do this too. We could hardcode the prefix as "planner" but also allow the user to change this in some sort of option (e.g. command line option). That would allow test and live projects to reside within one database. Very handy (essential) for migration testing. Rgds, Lincoln.
Hint to me: Store this prefix value in the actual database itself in the "planner" table e.g. give it a name like planner_tables_prefix. Then when we open the database we retrieve this and then from that point on we use this value. Thus its very flexible and nothing needs to be hard coded except the initial planner table name.
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/World/planner/-/issues/46.