Commit Graph

3 Commits

Author SHA1 Message Date
Jonathan Rose
66137de7e8 chan_pjsip: Add alembic scripts for generating db tables for PJSIP
Also updates sample configurations for sorcery and extconfig to
demonstrate how to use databases created by that alembic script.

(closes issue ASTERISK-22133)
Reported by: Matt Jordan
Review: https://reviewboard.asterisk.org/r/2892/


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/12@400532 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2013-10-04 17:10:27 +00:00
Matthew Jordan
60423755e5 Update Alembic database scripts for external scripting and PostgreSQL, Oracle
This patch does the following:
1) The env scripts have been updated to be tolerant of a NULL configuration
   file. This occurs when configuration is provided by an external script,
   such that the actual config.ini file is not used.
2) Enum types have all been given names. This is needed for PostgreSQL script
   generation.
3) The identifier meetme_confno_starttime_endtime is greater than 30
   characters, and hence invalid for Oracle databases. This has been truncated
   down to meetme_confno_start_end.



git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/12@400383 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2013-10-03 17:55:50 +00:00
Matthew Jordan
948934fb76 Actually *add* the database schema management utilities
In r397874, the scripts were removed... but not replaced. Thanks to
Michael Young for noticing this!


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/12@397911 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2013-08-29 12:27:54 +00:00