summaryrefslogtreecommitdiff
path: root/contrib/ast-db-manage/config.ini.sample
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/ast-db-manage/config.ini.sample')
-rw-r--r--contrib/ast-db-manage/config.ini.sample11
1 files changed, 10 insertions, 1 deletions
diff --git a/contrib/ast-db-manage/config.ini.sample b/contrib/ast-db-manage/config.ini.sample
index d6cfacd79..107880eb7 100644
--- a/contrib/ast-db-manage/config.ini.sample
+++ b/contrib/ast-db-manage/config.ini.sample
@@ -1,3 +1,5 @@
+# A generic, single database configuration.
+
[alembic]
# path to migration scripts
script_location = config
@@ -5,11 +7,18 @@ script_location = config
# template used to generate migration files
# file_template = %%(rev)s_%%(slug)s
+# max length of characters to apply to the
+# "slug" field
+#truncate_slug_length = 40
+
# set to 'true' to run the environment during
# the 'revision' command, regardless of autogenerate
# revision_environment = false
-sqlalchemy.url = mysql://root:password@localhost/asterisk
+#sqlalchemy.url = driver://user:pass@localhost/dbname
+
+#sqlalchemy.url = postgresql://user:pass@localhost/asterisk
+sqlalchemy.url = mysql://user:pass@localhost/asterisk
# Logging configuration