icscf.postgres.sql 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. --
  2. -- Generated from mysql2pgsql.perl
  3. -- http://gborg.postgresql.org/project/mysql2psql/
  4. -- (c) 2001 - 2007 Jose M. Duarte, Joseph Speigle
  5. --
  6. -- warnings are printed for drop tables if they do not exist
  7. -- please see http://archives.postgresql.org/pgsql-novice/2004-10/msg00158.php
  8. -- ##############################################################
  9. /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
  10. /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
  11. /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
  12. /*!40101 SET NAMES utf8 */;
  13. DROP TABLE IF EXISTS "nds_trusted_domains" CASCADE\g
  14. DROP SEQUENCE IF EXISTS "nds_trusted_domains_id_seq" CASCADE ;
  15. CREATE SEQUENCE "nds_trusted_domains_id_seq" ;
  16. CREATE TABLE "nds_trusted_domains" (
  17. "id" integer DEFAULT nextval('"nds_trusted_domains_id_seq"') NOT NULL,
  18. "trusted_domain" varchar(83) NOT NULL DEFAULT '',
  19. primary key ("id")
  20. ) ;
  21. INSERT INTO "nds_trusted_domains" VALUES (1, E'ims.ng-voice.com');
  22. DROP TABLE IF EXISTS "s_cscf" CASCADE\g
  23. DROP SEQUENCE IF EXISTS "s_cscf_id_seq" CASCADE ;
  24. CREATE SEQUENCE "s_cscf_id_seq" ;
  25. CREATE TABLE "s_cscf" (
  26. "id" integer DEFAULT nextval('"s_cscf_id_seq"') NOT NULL,
  27. "name" varchar(83) NOT NULL DEFAULT '',
  28. "s_cscf_uri" varchar(83) NOT NULL DEFAULT '',
  29. primary key ("id")
  30. ) ;
  31. INSERT INTO "s_cscf" VALUES (1, E'First and only S-CSCF', E'sip:scscf.ims.ng-voice.com:5060');
  32. DROP TABLE IF EXISTS "s_cscf_capabilities" CASCADE\g
  33. DROP SEQUENCE IF EXISTS "s_cscf_capabilities_id_seq" CASCADE ;
  34. CREATE SEQUENCE "s_cscf_capabilities_id_seq" ;
  35. CREATE TABLE "s_cscf_capabilities" (
  36. "id" integer DEFAULT nextval('"s_cscf_capabilities_id_seq"') NOT NULL,
  37. "id_s_cscf" int NOT NULL DEFAULT '0',
  38. "capability" int NOT NULL DEFAULT '0',
  39. primary key ("id")
  40. ) ;
  41. INSERT INTO "s_cscf_capabilities" VALUES (1, 1, 0);
  42. INSERT INTO "s_cscf_capabilities" VALUES (2, 1, 1);
  43. INSERT INTO "s_cscf_capabilities" VALUES (4, 1, 2);
  44. /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
  45. /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
  46. /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
  47. CREATE INDEX "s_cscf_capabilities_capability_idx" ON "s_cscf_capabilities" USING btree ("capability");
  48. CREATE INDEX "s_cscf_capabilities_id_s_cscf_idx" ON "s_cscf_capabilities" USING btree ("id_s_cscf");