上QQ阅读APP看书,第一时间看更新
Selecting a database name
When selecting a database name, choose a name that describes the system and that will make clear the purpose of the database. There are a few rules for creating an Odoo database:
- Your database name cannot contain spaces and must start with a number or letter
- Also, you will need to avoid commas, periods, and quotes
- Underscores and hyphens are allowed if they are not the first character in the name
It can also be a good idea to specify in the name whether the database is for development, testing, or production purposes.
For the purposes of our real-world case study, we will use the database name as SILKWORM-DEV.
We have chosen the -DEV suffix, as we consider this a development database that will not be used for production or even for testing.
Take the time to consider what you will name your databases. It can be useful to have standard prefixes or suffixes depending on the purpose of your database. For example, you may use -PROD for your production database, or -TEST for the database that you are using for testing.