commit a7a4b10b8e41e164530234543c11de12d04bd7e7 Author: mt Date: Tue Feb 18 16:17:21 2025 +0300 Added final changes to repo diff --git a/README.md b/README.md new file mode 100644 index 0000000..1ce4fce --- /dev/null +++ b/README.md @@ -0,0 +1,12 @@ +# postgres + + + +## Getting started + + +``` + docker compose up -d + +``` + diff --git a/bk/certs/private.key b/bk/certs/private.key new file mode 100644 index 0000000..a5eb7dc --- /dev/null +++ b/bk/certs/private.key @@ -0,0 +1,28 @@ +-----BEGIN PRIVATE KEY----- +MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQC3N/SwIKJJTtW8 +gzdGE+7iIwM2XmxVnqBRD4TJujXwM703e7TymLnrI3BLOLx4LJUUXmK/XdH8FRxC +VDT/QvBuwLpg8SzO+zaP0Mmu2vVYcLo79PY/WDHdCicl2HIAt02s6Zby9wA2kfLp +bxhhti2d0OUvPDz1NuLMDYuXWSOFJj8ZFYEizc3aJfe4ihuJYts9Gksg55dJj4bM +sy/2Mas0alrSD9f4Hq68tAMPjUz+w6OHE60mdk5KCGTtZI/T7L/OthxDysbbUNif +HfTViYH3eKLyyIWZj6l4jwPSEtacX5CDlwilu7AXFvdg+0tm9wuN5CqM6XRzEUfg +zRp09scfAgMBAAECggEBAJDeKpgUxZznO7LZoZvEaQ7fFkwn7sroKOTPO3RxyvJJ +RqSXKOTlA6Q7mi+wBb2TqrC3TKb5XO5QFs8PW/Q1jnxT4UqDh6WFFogyUzXxpSqv +v2Fm+Envx0V6IKgY81NDnKRK8nLcAIwlbIdMs1+XN4xgPsbRf3V4V212jFg4QBCn +a/k9LKcSM5vraCRAZL6fa2urMpK0FY+IMcFi8RB6DP/XKfOIM0/GbYY/80vSfmmR +ELKWabEtJePWx505U3NZLhdOWGJdxJ/mO7HuCtMmnAiuQFAOlPu8SkH3y/1GiThy +0EHhu9rypmakXJITO9VO27CRdwTbsSFp8IU7Co0XXKECgYEA7vhJpns47UK2iTGA +cDWX3w/NkNF1S/rj3D0AE1c/QDi5rvU3h1Ujkl33ObbCwMqEZgIe1aJTY1jhq17h +aMoIIKa/rhWt7/V3KcTC7H6UyTpdRI43ZkTmupVLvM2hquozCLKKkLbOmp15Tdoo +ROPKCcAx1NqyAufNw05vSIJF0pECgYEAxEaN2CdT7dsHLANql6zBrCTjaOt6Dxjf +SSauSvVlbhdUhDp2X/YkTSRcX9fvYtlIzGYRvHNPhKidaF+H1mUuZccB8pxKNL1v +RYQBgFAwyNj1cTlAR5FR9a3pm1Kfze4AH7Y0C9tFbdccmLZ23rsMAEegcXBrI3tz +F8+QVeHddq8CgYBLmIfT/o8Xn08XP22eEZYlnl4tPdWZX5jNhw6LD8KWkltLGY+j +ZC+IkekvfL1HN8mCa5FNi7hNaUSabb1o5OCFU7q3W2xWyJQVxoTTQ4fV0HzIvySP +WaSTyb7Xz0UhSE00pyZmeS4Kg15oXmb2xAiZ5Q7egwBlIudYrWtOyMdFwQKBgFuM +8VK2nW5f8Mt12H1hBoFuP2jMFYX/Ov9a/IdYSXR9i12WC2sdW7dj03adOTrpUQyO +O42kV53wLGPn02uMjITKu7zXa8GH7uQE+9JHFUpJ8MpcQwBe51TqRwG9G28pqYMh +MMuq/oqKgPs2eOHRa3qh7lObdU36oiekGJYGoY9fAoGBAIvMSpfs/ZoY2GcvKs0E +qlo0O2Z3CtC5vMJNcl8QcDsqTjNx0EWBiQRdCsykhVfHLIHzcxhLwOxYDQr5J/nG +LHfO/TqjT+pDxjK/id21iiiblHKj89ZDt1BYPlzcXcluFyfrWgr9576p/6+HpThO +5CntwOPpuSJ4enK+UMQs89q1 +-----END PRIVATE KEY----- diff --git a/bk/certs/star_ibasis_net.crt b/bk/certs/star_ibasis_net.crt new file mode 100644 index 0000000..dc4f156 --- /dev/null +++ b/bk/certs/star_ibasis_net.crt @@ -0,0 +1,39 @@ +-----BEGIN CERTIFICATE----- +MIIG3TCCBcWgAwIBAgIQBX9/kUUPgsj/xQHELooj5DANBgkqhkiG9w0BAQsFADBZ +MQswCQYDVQQGEwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMTMwMQYDVQQDEypE +aWdpQ2VydCBHbG9iYWwgRzIgVExTIFJTQSBTSEEyNTYgMjAyMCBDQTEwHhcNMjMw +NzI1MDAwMDAwWhcNMjQwODI0MjM1OTU5WjBnMQswCQYDVQQGEwJVUzEWMBQGA1UE +CBMNTWFzc2FjaHVzZXR0czESMBAGA1UEBxMJTGV4aW5ndG9uMRUwEwYDVQQKEwxp +QmFzaXMsIEluYy4xFTATBgNVBAMMDCouaWJhc2lzLm5ldDCCASIwDQYJKoZIhvcN +AQEBBQADggEPADCCAQoCggEBALc39LAgoklO1byDN0YT7uIjAzZebFWeoFEPhMm6 +NfAzvTd7tPKYuesjcEs4vHgslRReYr9d0fwVHEJUNP9C8G7AumDxLM77No/Qya7a +9Vhwujv09j9YMd0KJyXYcgC3TazplvL3ADaR8ulvGGG2LZ3Q5S88PPU24swNi5dZ +I4UmPxkVgSLNzdol97iKG4li2z0aSyDnl0mPhsyzL/YxqzRqWtIP1/gerry0Aw+N +TP7Do4cTrSZ2TkoIZO1kj9Psv862HEPKxttQ2J8d9NWJgfd4ovLIhZmPqXiPA9IS +1pxfkIOXCKW7sBcW92D7S2b3C43kKozpdHMRR+DNGnT2xx8CAwEAAaOCA5EwggON +MB8GA1UdIwQYMBaAFHSFgMBmx9833s+9KTeqAx2+7c0XMB0GA1UdDgQWBBTKFrLs +GsRjTPmrTUJ7X4HLE1+ylDAjBgNVHREEHDAaggwqLmliYXNpcy5uZXSCCmliYXNp +cy5uZXQwDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEF +BQcDAjCBnwYDVR0fBIGXMIGUMEigRqBEhkJodHRwOi8vY3JsMy5kaWdpY2VydC5j +b20vRGlnaUNlcnRHbG9iYWxHMlRMU1JTQVNIQTI1NjIwMjBDQTEtMS5jcmwwSKBG +oESGQmh0dHA6Ly9jcmw0LmRpZ2ljZXJ0LmNvbS9EaWdpQ2VydEdsb2JhbEcyVExT +UlNBU0hBMjU2MjAyMENBMS0xLmNybDA+BgNVHSAENzA1MDMGBmeBDAECAjApMCcG +CCsGAQUFBwIBFhtodHRwOi8vd3d3LmRpZ2ljZXJ0LmNvbS9DUFMwgYcGCCsGAQUF +BwEBBHsweTAkBggrBgEFBQcwAYYYaHR0cDovL29jc3AuZGlnaWNlcnQuY29tMFEG +CCsGAQUFBzAChkVodHRwOi8vY2FjZXJ0cy5kaWdpY2VydC5jb20vRGlnaUNlcnRH +bG9iYWxHMlRMU1JTQVNIQTI1NjIwMjBDQTEtMS5jcnQwCQYDVR0TBAIwADCCAX4G +CisGAQQB1nkCBAIEggFuBIIBagFoAHYAdv+IPwq2+5VRwmHM9Ye6NLSkzbsp3GhC +Cp/mZ0xaOnQAAAGJjkdsxwAABAMARzBFAiAxU1F1RqV+NsqYR4fGN2nK+1Un8xPm +Hg+1RaHSs50+vwIhANhiYLg1jOMMhK98gBl0Bl7WG9nSbamIsmN4Z/x438IyAHYA +SLDja9qmRzQP5WoC+p0w6xxSActW3SyB2bu/qznYhHMAAAGJjkdsvgAABAMARzBF +AiAe6Zvli1TtgGhcUJ1FaWY/vCX5sv0DMDu8GCNA80ofIwIhAP3VdjPEYpbM1fnJ +E+j2pqAhx+RqIuWY3lnfcM+pH1tZAHYA2ra/az+1tiKfm8K7XGvocJFxbLtRhIU0 +vaQ9MEjX+6sAAAGJjkdsdgAABAMARzBFAiBFRMTX2glvQzEjmZyKMXJsRcx8puny +c0ec+3aI3+N1/wIhAPChJ1NfigWpYc0Lbz/76o1C/tOrq6XiAork6Y496qCMMA0G +CSqGSIb3DQEBCwUAA4IBAQBvhA5pgSCl/+VsVP1LM5xP1VnlEnrDQqh8JdH2XqBU +jllFU3G3ZZNwZ+misU9SwzBbdBNFfPEedFmag+mbDdMIsRTEzT8tP7c28JozWcJh +hEoYi5mUkt2ly9+4HMn2ZOGkOjeKzKnQy/W+UyIC3aZ9hRwnFu+EBqtL/xzHDjl4 +ExA0tjaj1otF4yF0Bi7JXH2nkcyltqQSjkfKbEpcduzF/QTnmH1TmM/QnagoImhc +PxuE66B3suCIZyyIOcBdLdn0NiE5i34ce97jKPlruqpp61FC5DcI3irg+PK+ErRK +qN9/wTq784Jy5jmRAy2l7oEkuoG1Q56vb6v/09Wj0Dhb +-----END CERTIFICATE----- diff --git a/bk/config/pg_hba.conf b/bk/config/pg_hba.conf new file mode 100644 index 0000000..3aaea75 --- /dev/null +++ b/bk/config/pg_hba.conf @@ -0,0 +1,28 @@ +# PostgreSQL Client Authentication Configuration File +# TYPE DATABASE USER ADDRESS METHOD + +# Local connections +local all all md5 + +# IPv4 local connections +host all all 127.0.0.1/32 md5 + +# IPv6 local connections +host all all ::1/128 md5 + +# Allow replication connections from any IP address +host replication all 0.0.0.0/0 md5 +hostssl replication all 0.0.0.0/0 md5 +host replication postgres 172.17.152.4/32 md5 + +# Allow connections from any IP address +host all all 0.0.0.0/0 md5 +hostssl all all 0.0.0.0/0 md5 +host masterdb postgres 0.0.0.0/0 md5 +host replication postgres 172.17.152.4/32 md5 + +# Allow connections from the slave for normal operations +host all all 172.16.59.4/32 md5 + +# Allow all connections from any IP address for other purposes +host all all 0.0.0.0/0 md5 diff --git a/bk/config/postgresql.conf b/bk/config/postgresql.conf new file mode 100644 index 0000000..b6d4c55 --- /dev/null +++ b/bk/config/postgresql.conf @@ -0,0 +1,820 @@ +# ----------------------------- +# PostgreSQL configuration file +# ----------------------------- +# +# This file consists of lines of the form: +# +# name = value +# +# (The "=" is optional.) Whitespace may be used. Comments are introduced with +# "#" anywhere on a line. The complete list of parameter names and allowed +# values can be found in the PostgreSQL documentation. +# +# The commented-out settings shown in this file represent the default values. +# Re-commenting a setting is NOT sufficient to revert it to the default value; +# you need to reload the server. +# +# This file is read on server startup and when the server receives a SIGHUP +# signal. If you edit the file on a running system, you have to SIGHUP the +# server for the changes to take effect, run "pg_ctl reload", or execute +# "SELECT pg_reload_conf()". Some parameters, which are marked below, +# require a server shutdown and restart to take effect. +# +# Any parameter can also be given as a command-line option to the server, e.g., +# "postgres -c log_connections=on". Some parameters can be changed at run time +# with the "SET" SQL command. +# +# Memory units: B = bytes Time units: us = microseconds +# kB = kilobytes ms = milliseconds +# MB = megabytes s = seconds +# GB = gigabytes min = minutes +# TB = terabytes h = hours +# d = days + + +#------------------------------------------------------------------------------ +# FILE LOCATIONS +#------------------------------------------------------------------------------ + +# The default values of these variables are driven from the -D command-line +# option or PGDATA environment variable, represented here as ConfigDir. + +#data_directory = 'ConfigDir' # use data in another directory + # (change requires restart) +#hba_file = 'ConfigDir/pg_hba.conf' # host-based authentication file + # (change requires restart) +#ident_file = 'ConfigDir/pg_ident.conf' # ident configuration file + # (change requires restart) + +# If external_pid_file is not explicitly set, no extra PID file is written. +#external_pid_file = '' # write an extra PID file + # (change requires restart) + + +#------------------------------------------------------------------------------ +# CONNECTIONS AND AUTHENTICATION +#------------------------------------------------------------------------------ + +# - Connection Settings - + +listen_addresses = '*' + # comma-separated list of addresses; + # defaults to 'localhost'; use '*' for all + # (change requires restart) +#port = 5432 # (change requires restart) +max_connections = 2000 # (change requires restart) +#reserved_connections = 0 # (change requires restart) +#superuser_reserved_connections = 3 # (change requires restart) +#unix_socket_directories = '/var/run/postgresql' # comma-separated list of directories + # (change requires restart) +#unix_socket_group = '' # (change requires restart) +#unix_socket_permissions = 0777 # begin with 0 to use octal notation + # (change requires restart) +#bonjour = off # advertise server via Bonjour + # (change requires restart) +#bonjour_name = '' # defaults to the computer name + # (change requires restart) + +# - TCP settings - +# see "man tcp" for details + +#tcp_keepalives_idle = 0 # TCP_KEEPIDLE, in seconds; + # 0 selects the system default +#tcp_keepalives_interval = 0 # TCP_KEEPINTVL, in seconds; + # 0 selects the system default +#tcp_keepalives_count = 0 # TCP_KEEPCNT; + # 0 selects the system default +#tcp_user_timeout = 0 # TCP_USER_TIMEOUT, in milliseconds; + # 0 selects the system default + +#client_connection_check_interval = 0 # time between checks for client + # disconnection while running queries; + # 0 for never + +# - Authentication - + +#authentication_timeout = 1min # 1s-600s +#password_encryption = scram-sha-256 # scram-sha-256 or md5 +#scram_iterations = 4096 +#db_user_namespace = off + +# GSSAPI using Kerberos +#krb_server_keyfile = 'FILE:${sysconfdir}/krb5.keytab' +#krb_caseins_users = off +#gss_accept_delegation = off + +# - SSL - + +#ssl = off +#ssl_ca_file = '' +#ssl_cert_file = 'server.crt' +#ssl_crl_file = '' +#ssl_crl_dir = '' +#ssl_key_file = 'server.key' +#ssl_ciphers = 'HIGH:MEDIUM:+3DES:!aNULL' # allowed SSL ciphers +#ssl_prefer_server_ciphers = on +#ssl_ecdh_curve = 'prime256v1' +#ssl_min_protocol_version = 'TLSv1.2' +#ssl_max_protocol_version = '' +#ssl_dh_params_file = '' +#ssl_passphrase_command = '' +#ssl_passphrase_command_supports_reload = off + + +#------------------------------------------------------------------------------ +# RESOURCE USAGE (except WAL) +#------------------------------------------------------------------------------ + +# - Memory - + +shared_buffers = 150GB # min 128kB + # (change requires restart) +#huge_pages = try # on, off, or try + # (change requires restart) +#huge_page_size = 0 # zero for system default + # (change requires restart) +#temp_buffers = 8MB # min 800kB +#max_prepared_transactions = 0 # zero disables the feature + # (change requires restart) +# Caution: it is not advisable to set max_prepared_transactions nonzero unless +# you actively intend to use prepared transactions. +work_mem = 100GB # min 64kB +#hash_mem_multiplier = 2.0 # 1-1000.0 multiplier on hash table work_mem +maintenance_work_mem = 2GB # min 1MB +#autovacuum_work_mem = -1 # min 1MB, or -1 to use maintenance_work_mem +#logical_decoding_work_mem = 64MB # min 64kB +#max_stack_depth = 2MB # min 100kB +#shared_memory_type = mmap # the default is the first option + # supported by the operating system: + # mmap + # sysv + # windows + # (change requires restart) +dynamic_shared_memory_type = posix # the default is usually the first option + # supported by the operating system: + # posix + # sysv + # windows + # mmap + # (change requires restart) +#min_dynamic_shared_memory = 0MB # (change requires restart) +#vacuum_buffer_usage_limit = 256kB # size of vacuum and analyze buffer access strategy ring; + # 0 to disable vacuum buffer access strategy; + # range 128kB to 16GB + +# - Disk - + +#temp_file_limit = -1 # limits per-process temp file space + # in kilobytes, or -1 for no limit + +# - Kernel Resources - + +#max_files_per_process = 1000 # min 64 + # (change requires restart) + +# - Cost-Based Vacuum Delay - + +#vacuum_cost_delay = 0 # 0-100 milliseconds (0 disables) +#vacuum_cost_page_hit = 1 # 0-10000 credits +#vacuum_cost_page_miss = 2 # 0-10000 credits +#vacuum_cost_page_dirty = 20 # 0-10000 credits +#vacuum_cost_limit = 200 # 1-10000 credits + +# - Background Writer - + +#bgwriter_delay = 200ms # 10-10000ms between rounds +#bgwriter_lru_maxpages = 100 # max buffers written/round, 0 disables +#bgwriter_lru_multiplier = 2.0 # 0-10.0 multiplier on buffers scanned/round +#bgwriter_flush_after = 512kB # measured in pages, 0 disables + +# - Asynchronous Behavior - + +#backend_flush_after = 0 # measured in pages, 0 disables +#effective_io_concurrency = 1 # 1-1000; 0 disables prefetching +#maintenance_io_concurrency = 10 # 1-1000; 0 disables prefetching +max_worker_processes = 40 # (change requires restart) +max_parallel_workers_per_gather = 4 # limited by max_parallel_workers +max_parallel_maintenance_workers = 4 # limited by max_parallel_workers +max_parallel_workers = 40 # number of max_worker_processes that + # can be used in parallel operations +#parallel_leader_participation = on +#old_snapshot_threshold = -1 # 1min-60d; -1 disables; 0 is immediate + # (change requires restart) + + +#------------------------------------------------------------------------------ +# WRITE-AHEAD LOG +#------------------------------------------------------------------------------ + +# - Settings - + +wal_level = replica # minimal, replica, or logical + # (change requires restart) +#fsync = on # flush data to disk for crash safety + # (turning this off can cause + # unrecoverable data corruption) +#synchronous_commit = on # synchronization level; + # off, local, remote_write, remote_apply, or on +#wal_sync_method = fsync # the default is the first option + # supported by the operating system: + # open_datasync + # fdatasync (default on Linux and FreeBSD) + # fsync + # fsync_writethrough + # open_sync +#full_page_writes = on # recover from partial page writes +#wal_log_hints = off # also do full page writes of non-critical updates + # (change requires restart) +#wal_compression = off # enables compression of full-page writes; + # off, pglz, lz4, zstd, or on +#wal_init_zero = on # zero-fill new WAL files +#wal_recycle = on # recycle WAL files +#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers + # (change requires restart) +#wal_writer_delay = 200ms # 1-10000 milliseconds +#wal_writer_flush_after = 1MB # measured in pages, 0 disables +#wal_skip_threshold = 2MB + +#commit_delay = 0 # range 0-100000, in microseconds +#commit_siblings = 5 # range 1-1000 + +# - Checkpoints - + +#checkpoint_timeout = 5min # range 30s-1d +#checkpoint_completion_target = 0.9 # checkpoint target duration, 0.0 - 1.0 +#checkpoint_flush_after = 256kB # measured in pages, 0 disables +#checkpoint_warning = 30s # 0 disables +max_wal_size = 1GB +min_wal_size = 80MB + +# - Prefetching during recovery - + +#recovery_prefetch = try # prefetch pages referenced in the WAL? +#wal_decode_buffer_size = 512kB # lookahead window used for prefetching + # (change requires restart) + +# - Archiving - + +#archive_mode = off # enables archiving; off, on, or always + # (change requires restart) +#archive_library = '' # library to use to archive a WAL file + # (empty string indicates archive_command should + # be used) +#archive_command = '' # command to use to archive a WAL file + # placeholders: %p = path of file to archive + # %f = file name only + # e.g. 'test ! -f /mnt/server/archivedir/%f && cp %p /mnt/server/archivedir/%f' +#archive_timeout = 0 # force a WAL file switch after this + # number of seconds; 0 disables + +# - Archive Recovery - + +# These are only used in recovery mode. + +#restore_command = '' # command to use to restore an archived WAL file + # placeholders: %p = path of file to restore + # %f = file name only + # e.g. 'cp /mnt/server/archivedir/%f %p' +#archive_cleanup_command = '' # command to execute at every restartpoint +#recovery_end_command = '' # command to execute at completion of recovery + +# - Recovery Target - + +# Set these only when performing a targeted recovery. + +#recovery_target = '' # 'immediate' to end recovery as soon as a + # consistent state is reached + # (change requires restart) +#recovery_target_name = '' # the named restore point to which recovery will proceed + # (change requires restart) +#recovery_target_time = '' # the time stamp up to which recovery will proceed + # (change requires restart) +#recovery_target_xid = '' # the transaction ID up to which recovery will proceed + # (change requires restart) +#recovery_target_lsn = '' # the WAL LSN up to which recovery will proceed + # (change requires restart) +#recovery_target_inclusive = on # Specifies whether to stop: + # just after the specified recovery target (on) + # just before the recovery target (off) + # (change requires restart) +#recovery_target_timeline = 'latest' # 'current', 'latest', or timeline ID + # (change requires restart) +#recovery_target_action = 'pause' # 'pause', 'promote', 'shutdown' + # (change requires restart) + + +#------------------------------------------------------------------------------ +# REPLICATION +#------------------------------------------------------------------------------ + +# - Sending Servers - + +# Set these on the primary and on any standby that will send replication data. + +max_wal_senders = 10 # max number of walsender processes + # (change requires restart) +max_replication_slots = 10 # max number of replication slots + # (change requires restart) +#wal_keep_size = 0 # in megabytes; 0 disables +#max_slot_wal_keep_size = -1 # in megabytes; -1 disables +#wal_sender_timeout = 60s # in milliseconds; 0 disables +#track_commit_timestamp = off # collect timestamp of transaction commit + # (change requires restart) + +# - Primary Server - + +# These settings are ignored on a standby server. + +#synchronous_standby_names = '' # standby servers that provide sync rep + # method to choose sync standbys, number of sync standbys, + # and comma-separated list of application_name + # from standby(s); '*' = all + +# - Standby Servers - + +# These settings are ignored on a primary server. + +#primary_conninfo = '' # connection string to sending server +#primary_slot_name = '' # replication slot on sending server +hot_standby = on # "off" disallows queries during recovery + # (change requires restart) +max_standby_archive_delay = -1 # max delay before canceling queries + # when reading WAL from archive; + # -1 allows indefinite delay +max_standby_streaming_delay = -1 # max delay before canceling queries + # when reading streaming WAL; + # -1 allows indefinite delay +#wal_receiver_create_temp_slot = off # create temp slot if primary_slot_name + # is not set +#wal_receiver_status_interval = 10s # send replies at least this often + # 0 disables +hot_standby_feedback = on # send info from standby to prevent + # query conflicts +#wal_receiver_timeout = 60s # time that receiver waits for + # communication from primary + # in milliseconds; 0 disables +#wal_retrieve_retry_interval = 5s # time to wait before retrying to + # retrieve WAL after a failed attempt +#recovery_min_apply_delay = 0 # minimum delay for applying changes during recovery + +# - Subscribers - + +# These settings are ignored on a publisher. + +#max_logical_replication_workers = 4 # taken from max_worker_processes + # (change requires restart) +#max_sync_workers_per_subscription = 2 # taken from max_logical_replication_workers +#max_parallel_apply_workers_per_subscription = 2 # taken from max_logical_replication_workers + + +#------------------------------------------------------------------------------ +# QUERY TUNING +#------------------------------------------------------------------------------ + +# - Planner Method Configuration - + +#enable_async_append = on +#enable_bitmapscan = on +#enable_gathermerge = on +#enable_hashagg = on +#enable_hashjoin = on +#enable_incremental_sort = on +#enable_indexscan = on +#enable_indexonlyscan = on +#enable_material = on +#enable_memoize = on +#enable_mergejoin = on +#enable_nestloop = on +#enable_parallel_append = on +#enable_parallel_hash = on +#enable_partition_pruning = on +#enable_partitionwise_join = off +#enable_partitionwise_aggregate = off +#enable_presorted_aggregate = on +#enable_seqscan = on +#enable_sort = on +#enable_tidscan = on + +# - Planner Cost Constants - + +#seq_page_cost = 1.0 # measured on an arbitrary scale +#random_page_cost = 4.0 # same scale as above +#cpu_tuple_cost = 0.01 # same scale as above +#cpu_index_tuple_cost = 0.005 # same scale as above +#cpu_operator_cost = 0.0025 # same scale as above +#parallel_setup_cost = 1000.0 # same scale as above +#parallel_tuple_cost = 0.1 # same scale as above +#min_parallel_table_scan_size = 8MB +#min_parallel_index_scan_size = 512kB +effective_cache_size = 150GB + +#jit_above_cost = 100000 # perform JIT compilation if available + # and query more expensive than this; + # -1 disables +#jit_inline_above_cost = 500000 # inline small functions if query is + # more expensive than this; -1 disables +#jit_optimize_above_cost = 500000 # use expensive JIT optimizations if + # query is more expensive than this; + # -1 disables + +# - Genetic Query Optimizer - + +#geqo = on +#geqo_threshold = 12 +#geqo_effort = 5 # range 1-10 +#geqo_pool_size = 0 # selects default based on effort +#geqo_generations = 0 # selects default based on effort +#geqo_selection_bias = 2.0 # range 1.5-2.0 +#geqo_seed = 0.0 # range 0.0-1.0 + +# - Other Planner Options - + +#default_statistics_target = 100 # range 1-10000 +#constraint_exclusion = partition # on, off, or partition +#cursor_tuple_fraction = 0.1 # range 0.0-1.0 +#from_collapse_limit = 8 +#jit = on # allow JIT compilation +#join_collapse_limit = 8 # 1 disables collapsing of explicit + # JOIN clauses +#plan_cache_mode = auto # auto, force_generic_plan or + # force_custom_plan +#recursive_worktable_factor = 10.0 # range 0.001-1000000 + + +#------------------------------------------------------------------------------ +# REPORTING AND LOGGING +#------------------------------------------------------------------------------ + +# - Where to Log - + +log_destination = 'stderr' # Valid values are combinations of + # stderr, csvlog, jsonlog, syslog, and + # eventlog, depending on platform. + # csvlog and jsonlog require + # logging_collector to be on. + +# This is used when logging to stderr: +logging_collector = on # Enable capturing of stderr, jsonlog, + # and csvlog into log files. Required + # to be on for csvlogs and jsonlogs. + # (change requires restart) + +# These are only used if logging_collector is on: +log_directory = 'log' # directory where log files are written, + # can be absolute or relative to PGDATA +log_filename = 'postgresql-%Y-%m-%d_%H%M%S.log' # log file name pattern, + # can include strftime() escapes +#log_file_mode = 0600 # creation mode for log files, + # begin with 0 to use octal notation +log_rotation_age = 1d # Automatic rotation of logfiles will + # happen after that time. 0 disables. +log_rotation_size = 0 # Automatic rotation of logfiles will + # happen after that much log output. + # 0 disables. +log_truncate_on_rotation = on # If on, an existing log file with the + # same name as the new log file will be + # truncated rather than appended to. + # But such truncation only occurs on + # time-driven rotation, not on restarts + # or size-driven rotation. Default is + # off, meaning append to existing files + # in all cases. + +# These are relevant when logging to syslog: +#syslog_facility = 'LOCAL0' +#syslog_ident = 'postgres' +#syslog_sequence_numbers = on +#syslog_split_messages = on + +# This is only relevant when logging to eventlog (Windows): +# (change requires restart) +#event_source = 'PostgreSQL' + +# - When to Log - + +#log_min_messages = warning # values in order of decreasing detail: + # debug5 + # debug4 + # debug3 + # debug2 + # debug1 + # info + # notice + # warning + # error + # log + # fatal + # panic + +#log_min_error_statement = error # values in order of decreasing detail: + # debug5 + # debug4 + # debug3 + # debug2 + # debug1 + # info + # notice + # warning + # error + # log + # fatal + # panic (effectively off) + +#log_min_duration_statement = -1 # -1 is disabled, 0 logs all statements + # and their durations, > 0 logs only + # statements running at least this number + # of milliseconds + +#log_min_duration_sample = -1 # -1 is disabled, 0 logs a sample of statements + # and their durations, > 0 logs only a sample of + # statements running at least this number + # of milliseconds; + # sample fraction is determined by log_statement_sample_rate + +#log_statement_sample_rate = 1.0 # fraction of logged statements exceeding + # log_min_duration_sample to be logged; + # 1.0 logs all such statements, 0.0 never logs + + +#log_transaction_sample_rate = 0.0 # fraction of transactions whose statements + # are logged regardless of their duration; 1.0 logs all + # statements from all transactions, 0.0 never logs + +#log_startup_progress_interval = 10s # Time between progress updates for + # long-running startup operations. + # 0 disables the feature, > 0 indicates + # the interval in milliseconds. + +# - What to Log - + +#debug_print_parse = off +#debug_print_rewritten = off +#debug_print_plan = off +#debug_pretty_print = on +#log_autovacuum_min_duration = 10min # log autovacuum activity; + # -1 disables, 0 logs all actions and + # their durations, > 0 logs only + # actions running at least this number + # of milliseconds. +#log_checkpoints = on +#log_connections = off +#log_disconnections = off +#log_duration = off +#log_error_verbosity = default # terse, default, or verbose messages +#log_hostname = off +log_line_prefix = '%m [%p] %q%u@%d ' # special values: + # %a = application name + # %u = user name + # %d = database name + # %r = remote host and port + # %h = remote host + # %b = backend type + # %p = process ID + # %P = process ID of parallel group leader + # %t = timestamp without milliseconds + # %m = timestamp with milliseconds + # %n = timestamp with milliseconds (as a Unix epoch) + # %Q = query ID (0 if none or not computed) + # %i = command tag + # %e = SQL state + # %c = session ID + # %l = session line number + # %s = session start timestamp + # %v = virtual transaction ID + # %x = transaction ID (0 if none) + # %q = stop here in non-session + # processes + # %% = '%' + # e.g. '<%u%%%d> ' +#log_lock_waits = off # log lock waits >= deadlock_timeout +#log_recovery_conflict_waits = off # log standby recovery conflict waits + # >= deadlock_timeout +#log_parameter_max_length = -1 # when logging statements, limit logged + # bind-parameter values to N bytes; + # -1 means print in full, 0 disables +#log_parameter_max_length_on_error = 0 # when logging an error, limit logged + # bind-parameter values to N bytes; + # -1 means print in full, 0 disables +#log_statement = 'none' # none, ddl, mod, all +#log_replication_commands = off +#log_temp_files = -1 # log temporary files equal or larger + # than the specified size in kilobytes; + # -1 disables, 0 logs all temp files +log_timezone = UTC + +# - Process Title - + +#cluster_name = '' # added to process titles if nonempty + # (change requires restart) +#update_process_title = on + + +#------------------------------------------------------------------------------ +# STATISTICS +#------------------------------------------------------------------------------ + +# - Cumulative Query and Index Statistics - + +#track_activities = on +track_activity_query_size = 8000 # (change requires restart) +#track_counts = on +#track_io_timing = off +#track_wal_io_timing = off +#track_functions = none # none, pl, all +#stats_fetch_consistency = cache # cache, none, snapshot + + +# - Monitoring - + +#compute_query_id = auto +#log_statement_stats = off +#log_parser_stats = off +#log_planner_stats = off +#log_executor_stats = off + + +#------------------------------------------------------------------------------ +# AUTOVACUUM +#------------------------------------------------------------------------------ + +#autovacuum = on # Enable autovacuum subprocess? 'on' + # requires track_counts to also be on. +#autovacuum_max_workers = 3 # max number of autovacuum subprocesses + # (change requires restart) +#autovacuum_naptime = 1min # time between autovacuum runs +#autovacuum_vacuum_threshold = 50 # min number of row updates before + # vacuum +#autovacuum_vacuum_insert_threshold = 1000 # min number of row inserts + # before vacuum; -1 disables insert + # vacuums +#autovacuum_analyze_threshold = 50 # min number of row updates before + # analyze +#autovacuum_vacuum_scale_factor = 0.2 # fraction of table size before vacuum +#autovacuum_vacuum_insert_scale_factor = 0.2 # fraction of inserts over table + # size before insert vacuum +#autovacuum_analyze_scale_factor = 0.1 # fraction of table size before analyze +#autovacuum_freeze_max_age = 200000000 # maximum XID age before forced vacuum + # (change requires restart) +#autovacuum_multixact_freeze_max_age = 400000000 # maximum multixact age + # before forced vacuum + # (change requires restart) +#autovacuum_vacuum_cost_delay = 2ms # default vacuum cost delay for + # autovacuum, in milliseconds; + # -1 means use vacuum_cost_delay +#autovacuum_vacuum_cost_limit = -1 # default vacuum cost limit for + # autovacuum, -1 means use + # vacuum_cost_limit + + +#------------------------------------------------------------------------------ +# CLIENT CONNECTION DEFAULTS +#------------------------------------------------------------------------------ + +# - Statement Behavior - + +#client_min_messages = notice # values in order of decreasing detail: + # debug5 + # debug4 + # debug3 + # debug2 + # debug1 + # log + # notice + # warning + # error +#search_path = '"$user", public' # schema names +#row_security = on +#default_table_access_method = 'heap' +#default_tablespace = '' # a tablespace name, '' uses the default +#default_toast_compression = 'pglz' # 'pglz' or 'lz4' +#temp_tablespaces = '' # a list of tablespace names, '' uses + # only default tablespace +#check_function_bodies = on +#default_transaction_isolation = 'read committed' +#default_transaction_read_only = off +#default_transaction_deferrable = off +#session_replication_role = 'origin' +#statement_timeout = 0 # in milliseconds, 0 is disabled +#lock_timeout = 0 # in milliseconds, 0 is disabled +#idle_in_transaction_session_timeout = 0 # in milliseconds, 0 is disabled +#idle_session_timeout = 0 # in milliseconds, 0 is disabled +#vacuum_freeze_table_age = 150000000 +#vacuum_freeze_min_age = 50000000 +#vacuum_failsafe_age = 1600000000 +#vacuum_multixact_freeze_table_age = 150000000 +#vacuum_multixact_freeze_min_age = 5000000 +#vacuum_multixact_failsafe_age = 1600000000 +#bytea_output = 'hex' # hex, escape +#xmlbinary = 'base64' +#xmloption = 'content' +#gin_pending_list_limit = 4MB +#createrole_self_grant = '' # set and/or inherit + +# - Locale and Formatting - + +datestyle = 'iso, mdy' +#intervalstyle = 'postgres' +timezone = UTC +#timezone_abbreviations = 'Default' # Select the set of available time zone + # abbreviations. Currently, there are + # Default + # Australia (historical usage) + # India + # You can create your own file in + # share/timezonesets/. +#extra_float_digits = 1 # min -15, max 3; any value >0 actually + # selects precise output mode +#client_encoding = sql_ascii # actually, defaults to database + # encoding + +# These settings are initialized by initdb, but they can be changed. +lc_messages = 'en_US.utf8' # locale for system error message + # strings +lc_monetary = 'en_US.utf8' # locale for monetary formatting +lc_numeric = 'en_US.utf8' # locale for number formatting +lc_time = 'en_US.utf8' # locale for time formatting + +#icu_validation_level = warning # report ICU locale validation + # errors at the given level + +# default configuration for text search +default_text_search_config = 'pg_catalog.english' + +# - Shared Library Preloading - + +#local_preload_libraries = '' +#session_preload_libraries = '' +shared_preload_libraries = 'auto_explain, pg_stat_statements,repmgr' # (change requires restart) +#jit_provider = 'llvmjit' # JIT library to use + +# - Other Defaults - + +#dynamic_library_path = '$libdir' +#gin_fuzzy_search_limit = 0 + + +#------------------------------------------------------------------------------ +# LOCK MANAGEMENT +#------------------------------------------------------------------------------ + +#deadlock_timeout = 1s +#max_locks_per_transaction = 64 # min 10 + # (change requires restart) +#max_pred_locks_per_transaction = 64 # min 10 + # (change requires restart) +#max_pred_locks_per_relation = -2 # negative values mean + # (max_pred_locks_per_transaction + # / -max_pred_locks_per_relation) - 1 +#max_pred_locks_per_page = 2 # min 0 + + +#------------------------------------------------------------------------------ +# VERSION AND PLATFORM COMPATIBILITY +#------------------------------------------------------------------------------ + +# - Previous PostgreSQL Versions - + +#array_nulls = on +#backslash_quote = safe_encoding # on, off, or safe_encoding +#escape_string_warning = on +#lo_compat_privileges = off +#quote_all_identifiers = off +#standard_conforming_strings = on +#synchronize_seqscans = on + +# - Other Platforms and Clients - + +#transform_null_equals = off + + +#------------------------------------------------------------------------------ +# ERROR HANDLING +#------------------------------------------------------------------------------ + +#exit_on_error = off # terminate session on any error? +#restart_after_crash = on # reinitialize after backend crash? +#data_sync_retry = off # retry or panic on failure to fsync + # data? + # (change requires restart) +#recovery_init_sync_method = fsync # fsync, syncfs (Linux 5.8+) + + +#------------------------------------------------------------------------------ +# CONFIG FILE INCLUDES +#------------------------------------------------------------------------------ + +# These options allow settings to be loaded from files other than the +# default postgresql.conf. Note that these are directives, not variable +# assignments, so they can usefully be given more than once. + +#include_dir = '...' # include files ending in '.conf' from + # a directory, e.g., 'conf.d' +#include_if_exists = '...' # include file only if it exists +#include = '...' # include file + + +#------------------------------------------------------------------------------ +# CUSTOMIZED OPTIONS +#------------------------------------------------------------------------------ + +# Add settings for extensions here diff --git a/bk/dev_billing_dump_15102024.sql b/bk/dev_billing_dump_15102024.sql new file mode 100644 index 0000000..b90bca7 --- /dev/null +++ b/bk/dev_billing_dump_15102024.sql @@ -0,0 +1,23244 @@ +-- +-- PostgreSQL database dump +-- + +-- Dumped from database version 16.3 +-- Dumped by pg_dump version 17.0 (Ubuntu 17.0-1.pgdg20.04+1) + +SET statement_timeout = 0; +SET lock_timeout = 0; +SET idle_in_transaction_session_timeout = 0; +SET transaction_timeout = 0; +SET client_encoding = 'UTF8'; +SET standard_conforming_strings = on; +SELECT pg_catalog.set_config('search_path', '', false); +SET check_function_bodies = false; +SET xmloption = content; +SET client_min_messages = warning; +SET row_security = off; + +-- +-- Name: fn_unaccent(text); Type: FUNCTION; Schema: public; Owner: dev_postgres +-- + +CREATE FUNCTION public.fn_unaccent(str text) RETURNS text + LANGUAGE plpgsql + AS $_$ + BEGIN + RETURN translate($1, + 'çÇâàÂÀéèêÉÈÊîÎûÛôÔ', + 'cCaaAAeeeEEEiIuUoO'); + END; + $_$; + + +ALTER FUNCTION public.fn_unaccent(str text) OWNER TO dev_postgres; + +SET default_tablespace = ''; + +SET default_table_access_method = heap; + +-- +-- Name: account_entity; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.account_entity ( + id bigint NOT NULL, + version integer, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + code character varying(255) NOT NULL, + description character varying(255), + address_1 character varying(255), + address_2 character varying(255), + address_3 character varying(255), + address_city character varying(50), + address_country_id bigint, + address_state character varying(50), + address_zipcode character varying(10), + default_level integer DEFAULT 1, + external_ref_1 character varying(255), + external_ref_2 character varying(255), + firstname character varying(100), + lastname character varying(100), + provider_contact character varying(255), + creator character varying(100), + updater character varying(100), + title_id bigint, + primary_contact bigint, + account_type character varying(10) NOT NULL, + uuid character varying(60) NOT NULL, + bam_id bigint, + cf_values text, + cf_values_accum text, + job_title character varying(255), + email character varying(100), + fax character varying(50), + mobile character varying(100), + phone character varying(100), + vat_no character varying(100), + registration_no character varying(100), + minimum_amount_el character varying(2000), + minimum_label_el character varying(2000), + minimum_amount_el_sp character varying(2000), + minimum_label_el_sp character varying(2000), + minimum_charge_template_id bigint +); + + +ALTER TABLE public.account_entity OWNER TO dev_postgres; + +-- +-- Name: account_entity_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.account_entity_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.account_entity_seq OWNER TO dev_postgres; + +-- +-- Name: adm_country; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.adm_country ( + id bigint NOT NULL, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + version integer, + country_code character varying(10), + description character varying(100), + creator character varying(100), + updater character varying(100), + currency_id bigint, + language_id bigint, + description_i18n text +); + + +ALTER TABLE public.adm_country OWNER TO dev_postgres; + +-- +-- Name: adm_country_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.adm_country_seq + START WITH 238 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.adm_country_seq OWNER TO dev_postgres; + +-- +-- Name: adm_currency; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.adm_currency ( + id bigint NOT NULL, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + version integer, + currency_code character varying(3) NOT NULL, + description_en character varying(255) NOT NULL, + system_currency integer, + creator character varying(100), + updater character varying(100) +); + + +ALTER TABLE public.adm_currency OWNER TO dev_postgres; + +-- +-- Name: adm_currency_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.adm_currency_seq + START WITH 169 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.adm_currency_seq OWNER TO dev_postgres; + +-- +-- Name: adm_custom_generic_entity_code; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.adm_custom_generic_entity_code ( + id bigint NOT NULL, + entity_class character varying(255), + code_el character varying(255), + sequence_size integer, + sequence_current_value bigint DEFAULT 0, + version integer, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + creator character varying(100), + updater character varying(100) +); + + +ALTER TABLE public.adm_custom_generic_entity_code OWNER TO dev_postgres; + +-- +-- Name: adm_custom_generic_entity_code_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.adm_custom_generic_entity_code_seq + START WITH 3 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.adm_custom_generic_entity_code_seq OWNER TO dev_postgres; + +-- +-- Name: adm_file_format; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.adm_file_format ( + id bigint NOT NULL, + version integer, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + creator character varying(100), + updater character varying(100), + file_name_pattern character varying(255), + configuration_template text NOT NULL, + record_name character varying(255), + input_directory character varying(255) NOT NULL, + output_directory character varying(255), + reject_directory character varying(255), + archive_directory character varying(255), + code character varying(255), + description character varying(255), + job_code character varying(255) +); + + +ALTER TABLE public.adm_file_format OWNER TO dev_postgres; + +-- +-- Name: adm_file_format_file_type; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.adm_file_format_file_type ( + file_format_id bigint NOT NULL, + file_type_id bigint NOT NULL +); + + +ALTER TABLE public.adm_file_format_file_type OWNER TO dev_postgres; + +-- +-- Name: adm_file_format_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.adm_file_format_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.adm_file_format_seq OWNER TO dev_postgres; + +-- +-- Name: adm_file_type; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.adm_file_type ( + id bigint NOT NULL, + version integer, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + creator character varying(100), + updater character varying(100), + code character varying(255), + description character varying(255) +); + + +ALTER TABLE public.adm_file_type OWNER TO dev_postgres; + +-- +-- Name: adm_file_type_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.adm_file_type_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.adm_file_type_seq OWNER TO dev_postgres; + +-- +-- Name: adm_gdpr_configuration; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.adm_gdpr_configuration ( + id bigint NOT NULL, + version integer, + inactive_subscription_life integer DEFAULT 5, + inactive_order_life integer DEFAULT 10, + invoice_life integer DEFAULT 10, + accounting_life integer DEFAULT 10, + customer_profile_life integer DEFAULT 3, + mailing_life integer DEFAULT 3, + ao_check_unpaid_life integer DEFAULT 3, + delete_sub integer DEFAULT 0 NOT NULL, + delete_order integer DEFAULT 0 NOT NULL, + delete_invoice integer DEFAULT 0 NOT NULL, + delete_accounting integer DEFAULT 0 NOT NULL, + delete_cust_prospect integer DEFAULT 0 NOT NULL, + delete_mailing_life integer DEFAULT 0 NOT NULL, + delete_ao_check_unpaid integer DEFAULT 0 NOT NULL +); + + +ALTER TABLE public.adm_gdpr_configuration OWNER TO dev_postgres; + +-- +-- Name: adm_gdpr_configuration_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.adm_gdpr_configuration_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.adm_gdpr_configuration_seq OWNER TO dev_postgres; + +-- +-- Name: adm_inbound_req_cookies; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.adm_inbound_req_cookies ( + inboundrequest_id bigint NOT NULL, + coockies character varying(255), + coockies_key character varying(255) NOT NULL +); + + +ALTER TABLE public.adm_inbound_req_cookies OWNER TO dev_postgres; + +-- +-- Name: adm_inbound_req_headers; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.adm_inbound_req_headers ( + inboundrequest_id bigint NOT NULL, + headers text, + headers_key character varying(255) NOT NULL +); + + +ALTER TABLE public.adm_inbound_req_headers OWNER TO dev_postgres; + +-- +-- Name: adm_inbound_req_params; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.adm_inbound_req_params ( + inboundrequest_id bigint NOT NULL, + parameters character varying(255), + parameters_key character varying(255) NOT NULL +); + + +ALTER TABLE public.adm_inbound_req_params OWNER TO dev_postgres; + +-- +-- Name: adm_inbound_request; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.adm_inbound_request ( + id bigint NOT NULL, + version integer, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + code character varying(255) NOT NULL, + description character varying(255), + auth_type character varying(11), + content_length integer, + content_type character varying(255), + method character varying(10), + path_info character varying(255), + protocol character varying(20), + remote_adrr character varying(255), + remote_port integer, + request_uri character varying(255), + resp_content_type character varying(255), + resp_encoding character varying(50), + scheme character varying(20), + creator character varying(100), + updater character varying(100), + body text, + resp_status integer +); + + +ALTER TABLE public.adm_inbound_request OWNER TO dev_postgres; + +-- +-- Name: adm_inbound_request_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.adm_inbound_request_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.adm_inbound_request_seq OWNER TO dev_postgres; + +-- +-- Name: adm_inbound_resp_cookies; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.adm_inbound_resp_cookies ( + inboundrequest_id bigint NOT NULL, + responsecoockies character varying(255), + responsecoockies_key character varying(255) NOT NULL +); + + +ALTER TABLE public.adm_inbound_resp_cookies OWNER TO dev_postgres; + +-- +-- Name: adm_inbound_resp_headers; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.adm_inbound_resp_headers ( + inboundrequest_id bigint NOT NULL, + responseheaders character varying(255), + responseheaders_key character varying(255) NOT NULL +); + + +ALTER TABLE public.adm_inbound_resp_headers OWNER TO dev_postgres; + +-- +-- Name: adm_input_history; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.adm_input_history ( + input_type character varying(31) NOT NULL, + id bigint NOT NULL, + version integer, + end_date timestamp without time zone, + start_date timestamp without time zone, + ignored_tickets integer, + name character varying(255), + parsed_tickets integer, + rejected_tickets integer, + succeeded_tickets integer +); + + +ALTER TABLE public.adm_input_history OWNER TO dev_postgres; + +-- +-- Name: adm_input_history_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.adm_input_history_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.adm_input_history_seq OWNER TO dev_postgres; + +-- +-- Name: adm_language; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.adm_language ( + id bigint NOT NULL, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + version integer, + description_en character varying(100) NOT NULL, + language_code character varying(3) NOT NULL, + creator character varying(100), + updater character varying(100) +); + + +ALTER TABLE public.adm_language OWNER TO dev_postgres; + +-- +-- Name: adm_language_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.adm_language_seq + START WITH 34 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.adm_language_seq OWNER TO dev_postgres; + +-- +-- Name: adm_notif_email; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.adm_notif_email ( + email_from character varying(1000), + email_to_el character varying(2000), + id bigint NOT NULL, + email_template_id bigint +); + + +ALTER TABLE public.adm_notif_email OWNER TO dev_postgres; + +-- +-- Name: adm_notif_email_attach; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.adm_notif_email_attach ( + emailnotification_id bigint NOT NULL, + attachmentexpressions character varying(255) NOT NULL +); + + +ALTER TABLE public.adm_notif_email_attach OWNER TO dev_postgres; + +-- +-- Name: adm_notif_email_list; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.adm_notif_email_list ( + emailnotification_id bigint NOT NULL, + emails character varying(255) NOT NULL +); + + +ALTER TABLE public.adm_notif_email_list OWNER TO dev_postgres; + +-- +-- Name: adm_notif_email_user; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.adm_notif_email_user ( + emailnotification_id bigint NOT NULL, + users_id bigint NOT NULL +); + + +ALTER TABLE public.adm_notif_email_user OWNER TO dev_postgres; + +-- +-- Name: adm_notif_history; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.adm_notif_history ( + id bigint NOT NULL, + version integer, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + entity_classname character varying(255) NOT NULL, + entity_code character varying(35), + nb_retry integer, + result character varying(1000), + serialized_entity text, + status character varying(255), + creator character varying(100), + updater character varying(100), + inbound_request_id bigint, + notification_id bigint NOT NULL, + CONSTRAINT adm_notif_history_nb_retry_check CHECK ((nb_retry <= 10)) +); + + +ALTER TABLE public.adm_notif_history OWNER TO dev_postgres; + +-- +-- Name: adm_notif_history_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.adm_notif_history_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.adm_notif_history_seq OWNER TO dev_postgres; + +-- +-- Name: adm_notif_im; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.adm_notif_im ( + id_expression character varying(2000), + im_provider integer NOT NULL, + message character varying(2000) NOT NULL, + id bigint NOT NULL +); + + +ALTER TABLE public.adm_notif_im OWNER TO dev_postgres; + +-- +-- Name: adm_notif_im_list; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.adm_notif_im_list ( + instantmessagingnotification_id bigint NOT NULL, + ids character varying(255) NOT NULL +); + + +ALTER TABLE public.adm_notif_im_list OWNER TO dev_postgres; + +-- +-- Name: adm_notif_im_user; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.adm_notif_im_user ( + instantmessagingnotification_id bigint NOT NULL, + users_id bigint NOT NULL +); + + +ALTER TABLE public.adm_notif_im_user OWNER TO dev_postgres; + +-- +-- Name: adm_notif_job; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.adm_notif_job ( + job_instance_id bigint, + id bigint NOT NULL +); + + +ALTER TABLE public.adm_notif_job OWNER TO dev_postgres; + +-- +-- Name: adm_notif_job_params; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.adm_notif_job_params ( + jobtrigger_id bigint NOT NULL, + jobparams character varying(255), + jobparams_key character varying(255) NOT NULL +); + + +ALTER TABLE public.adm_notif_job_params OWNER TO dev_postgres; + +-- +-- Name: adm_notif_webhook_header; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.adm_notif_webhook_header ( + webhook_id bigint NOT NULL, + headers text, + headers_key character varying(255) NOT NULL +); + + +ALTER TABLE public.adm_notif_webhook_header OWNER TO dev_postgres; + +-- +-- Name: adm_notif_webhook_param; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.adm_notif_webhook_param ( + webhook_id bigint NOT NULL, + webhookparams character varying(255), + webhookparams_key character varying(255) NOT NULL +); + + +ALTER TABLE public.adm_notif_webhook_param OWNER TO dev_postgres; + +-- +-- Name: adm_notif_webhooks; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.adm_notif_webhooks ( + http_host character varying(255) NOT NULL, + http_method character varying(255) NOT NULL, + http_page character varying(255) NOT NULL, + http_protocol character varying(10) NOT NULL, + password character varying(255), + http_port integer, + username character varying(255), + id bigint NOT NULL, + body_el character varying(2000), + CONSTRAINT adm_notif_webhooks_http_port_check CHECK ((http_port <= 65535)) +); + + +ALTER TABLE public.adm_notif_webhooks OWNER TO dev_postgres; + +-- +-- Name: adm_notification; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.adm_notification ( + id bigint NOT NULL, + version integer, + disabled integer DEFAULT 0 NOT NULL, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + code character varying(255) NOT NULL, + description character varying(255), + class_name_filter character varying(255) NOT NULL, + event_expression_filter character varying(2000), + event_type_filter character varying(20) NOT NULL, + creator character varying(100), + updater character varying(100), + counter_instance_id bigint, + counter_template_id bigint, + script_instance_id bigint, + priority integer DEFAULT 1, + run_async integer DEFAULT 0, + cf_values_accum text, + cf_values text, + uuid character varying(60), + save_successful_notif integer DEFAULT 1 +); + + +ALTER TABLE public.adm_notification OWNER TO dev_postgres; + +-- +-- Name: adm_notification_params; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.adm_notification_params ( + notification_id bigint NOT NULL, + params character varying(255), + params_key character varying(255) NOT NULL +); + + +ALTER TABLE public.adm_notification_params OWNER TO dev_postgres; + +-- +-- Name: adm_notification_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.adm_notification_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.adm_notification_seq OWNER TO dev_postgres; + +-- +-- Name: adm_permission; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.adm_permission ( + id bigint NOT NULL, + name character varying(255) NOT NULL, + permission character varying(255) NOT NULL +); + + +ALTER TABLE public.adm_permission OWNER TO dev_postgres; + +-- +-- Name: adm_permission_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.adm_permission_seq + START WITH 18 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.adm_permission_seq OWNER TO dev_postgres; + +-- +-- Name: adm_role; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.adm_role ( + id bigint NOT NULL, + version integer, + role_description character varying(255) NOT NULL, + role_name character varying(255) NOT NULL +); + + +ALTER TABLE public.adm_role OWNER TO dev_postgres; + +-- +-- Name: adm_role_permission; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.adm_role_permission ( + role_id bigint NOT NULL, + permission_id bigint NOT NULL +); + + +ALTER TABLE public.adm_role_permission OWNER TO dev_postgres; + +-- +-- Name: adm_role_role; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.adm_role_role ( + role_id bigint NOT NULL, + child_role_id bigint NOT NULL +); + + +ALTER TABLE public.adm_role_role OWNER TO dev_postgres; + +-- +-- Name: adm_role_secured_entity; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.adm_role_secured_entity ( + role_id bigint NOT NULL, + code character varying(255) NOT NULL, + entity_class character varying(255) NOT NULL +); + + +ALTER TABLE public.adm_role_secured_entity OWNER TO dev_postgres; + +-- +-- Name: adm_role_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.adm_role_seq + START WITH 5 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.adm_role_seq OWNER TO dev_postgres; + +-- +-- Name: adm_script_exec_role; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.adm_script_exec_role ( + script_instance_id bigint NOT NULL, + role_id bigint NOT NULL +); + + +ALTER TABLE public.adm_script_exec_role OWNER TO dev_postgres; + +-- +-- Name: adm_script_notification; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.adm_script_notification ( + id bigint NOT NULL +); + + +ALTER TABLE public.adm_script_notification OWNER TO dev_postgres; + +-- +-- Name: adm_script_sourc_role; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.adm_script_sourc_role ( + script_instance_id bigint NOT NULL, + role_id bigint NOT NULL +); + + +ALTER TABLE public.adm_script_sourc_role OWNER TO dev_postgres; + +-- +-- Name: adm_secured_entity; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.adm_secured_entity ( + user_id bigint NOT NULL, + code character varying(255) NOT NULL, + entity_class character varying(255) NOT NULL +); + + +ALTER TABLE public.adm_secured_entity OWNER TO dev_postgres; + +-- +-- Name: adm_title; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.adm_title ( + id bigint NOT NULL, + version integer, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + code character varying(255) NOT NULL, + description character varying(255), + is_company integer DEFAULT 0, + creator character varying(100), + updater character varying(100), + description_i18n text +); + + +ALTER TABLE public.adm_title OWNER TO dev_postgres; + +-- +-- Name: adm_title_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.adm_title_seq + START WITH 38 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.adm_title_seq OWNER TO dev_postgres; + +-- +-- Name: adm_user; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.adm_user ( + id bigint NOT NULL, + version integer, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + email character varying(100), + firstname character varying(100), + lastname character varying(100), + username character varying(50), + creator character varying(100), + updater character varying(100), + title_id bigint, + hierarchy_level_id bigint, + uuid character varying(60) NOT NULL, + cf_values text, + cf_values_accum text, + last_login_date timestamp without time zone, + crm_address_book_id bigint +); + + +ALTER TABLE public.adm_user OWNER TO dev_postgres; + +-- +-- Name: adm_user_role; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.adm_user_role ( + user_id bigint NOT NULL, + role_id bigint NOT NULL +); + + +ALTER TABLE public.adm_user_role OWNER TO dev_postgres; + +-- +-- Name: adm_user_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.adm_user_seq + START WITH 3 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.adm_user_seq OWNER TO dev_postgres; + +-- +-- Name: ar_account_operation; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.ar_account_operation ( + transaction_type character varying(31) NOT NULL, + id bigint NOT NULL, + version integer, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + accounting_code_id bigint, + account_code_client_side character varying(255), + amount numeric(23,12), + due_date date, + matching_amount numeric(23,12), + matching_status character varying(255), + code character varying(255), + description character varying(255), + reference character varying(255), + transaction_category character varying(255), + transaction_date date, + un_matching_amount numeric(23,12), + bank_lot text, + bank_reference character varying(255), + rejected_code character varying(255), + rejected_date timestamp without time zone, + rejected_description character varying(255), + rejected_type character varying(255), + payment_method character varying(255), + amount_without_tax numeric(23,12), + billing_account_name character varying(255), + invoice_date date, + net_to_pay numeric(23,12), + payment_info character varying(255), + payment_info1 character varying(255), + payment_info2 character varying(255), + payment_info3 character varying(255), + payment_info4 character varying(255), + payment_info5 character varying(255), + payment_info6 character varying(255), + production_date timestamp without time zone, + tax_amount numeric(23,12), + operation_date timestamp without time zone, + bank_collection_date timestamp without time zone, + deposit_date timestamp without time zone, + creator character varying(100), + updater character varying(100), + customer_account_id bigint, + uuid character varying(60) NOT NULL, + order_num character varying(500), + payment_order character varying(70), + payment_fees numeric(23,12), + comment text, + cf_values text, + cf_values_accum text, + recorded_invoice_id bigint, + cat_inv_agregate_id bigint, + ddrequest_item_id bigint, + sub_cat_inv_agregate_id bigint, + pay_schdl_inst_item_id bigint, + rejected_payment_id bigint, + seller_id bigint, + subscription_id bigint, + dunning_document_id bigint, + invoice_id bigint +); + + +ALTER TABLE public.ar_account_operation OWNER TO dev_postgres; + +-- +-- Name: ar_account_operation_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.ar_account_operation_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.ar_account_operation_seq OWNER TO dev_postgres; + +-- +-- Name: ar_accounting_writing; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.ar_accounting_writing ( + id bigint NOT NULL, + version integer, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + creator character varying(100), + updater character varying(100), + origin_writing_id bigint, + tax_id bigint, + invoice_category_id bigint, + accounting_code_id bigint, + event_date date, + export_date date, + amount numeric(23,12), + event_type character varying(255), + extra_param_1 character varying(255), + extra_param_2 character varying(255), + extra_param_3 character varying(255) +); + + +ALTER TABLE public.ar_accounting_writing OWNER TO dev_postgres; + +-- +-- Name: ar_accounting_writing_acc_operations; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.ar_accounting_writing_acc_operations ( + accounting_writing_id bigint NOT NULL, + account_operation_id bigint NOT NULL +); + + +ALTER TABLE public.ar_accounting_writing_acc_operations OWNER TO dev_postgres; + +-- +-- Name: ar_accounting_writing_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.ar_accounting_writing_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.ar_accounting_writing_seq OWNER TO dev_postgres; + +-- +-- Name: ar_action_dunning; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.ar_action_dunning ( + id bigint NOT NULL, + version integer, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + amount_due numeric(19,2), + creaton_date date, + from_level character varying(255), + status character varying(255), + status_date date, + to_level character varying(255), + action_type character varying(255), + creator character varying(100), + updater character varying(100), + action_plan_item_id bigint, + customer_account_id bigint, + dunning_lot_id bigint, + recorded_invoice_id bigint +); + + +ALTER TABLE public.ar_action_dunning OWNER TO dev_postgres; + +-- +-- Name: ar_action_dunning_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.ar_action_dunning_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.ar_action_dunning_seq OWNER TO dev_postgres; + +-- +-- Name: ar_bank_operation; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.ar_bank_operation ( + id bigint NOT NULL, + version integer, + disabled integer DEFAULT 0 NOT NULL, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + code_op character varying(255), + credit numeric(19,2), + date_op timestamp without time zone, + date_val timestamp without time zone, + debit numeric(19,2), + error_cause character varying(255), + file_name character varying(255), + invoice_id character varying(255), + is_valid integer DEFAULT 0 NOT NULL, + label_1 character varying(255), + label_2 character varying(255), + label_3 character varying(255), + reference character varying(255), + creator character varying(100), + updater character varying(100) +); + + +ALTER TABLE public.ar_bank_operation OWNER TO dev_postgres; + +-- +-- Name: ar_bank_operation_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.ar_bank_operation_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.ar_bank_operation_seq OWNER TO dev_postgres; + +-- +-- Name: ar_credit_category; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.ar_credit_category ( + id bigint NOT NULL, + version integer, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + code character varying(255) NOT NULL, + description character varying(255), + creator character varying(100), + updater character varying(100) +); + + +ALTER TABLE public.ar_credit_category OWNER TO dev_postgres; + +-- +-- Name: ar_credit_category_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.ar_credit_category_seq + START WITH 6 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.ar_credit_category_seq OWNER TO dev_postgres; + +-- +-- Name: ar_customer_account; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.ar_customer_account ( + credit_category character varying(255), + date_dunning_level timestamp without time zone, + date_status timestamp without time zone, + dunning_level character varying(255), + password character varying(10), + status character varying(10), + id bigint NOT NULL, + customer_id bigint, + trading_currency_id bigint NOT NULL, + trading_language_id bigint NOT NULL, + credit_category_id bigint, + due_date_delay_el character varying(2000), + due_date_delay_el_sp character varying(2000), + excluded_from_payment integer DEFAULT 0, + crm_address_book_id bigint, + minimum_target_account_id bigint, + invoicing_threshold numeric(23,12), + check_threshold character varying(25) DEFAULT NULL::character varying +); + + +ALTER TABLE public.ar_customer_account OWNER TO dev_postgres; + +-- +-- Name: ar_ddrequest_builder; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.ar_ddrequest_builder ( + id bigint NOT NULL, + version integer, + disabled integer DEFAULT 0 NOT NULL, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + code character varying(255) NOT NULL, + description character varying(255), + type character varying(255) NOT NULL, + implementation_class_name character varying(255), + script_instance_id bigint, + nb_ops_file bigint, + max_size_file bigint, + uuid character varying(60) NOT NULL, + creator character varying(100), + updater character varying(100), + cf_values text, + cf_values_accum text, + payment_level character varying(100) +); + + +ALTER TABLE public.ar_ddrequest_builder OWNER TO dev_postgres; + +-- +-- Name: ar_ddrequest_builder_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.ar_ddrequest_builder_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.ar_ddrequest_builder_seq OWNER TO dev_postgres; + +-- +-- Name: ar_ddrequest_item; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.ar_ddrequest_item ( + id bigint NOT NULL, + version integer, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + amount numeric(19,2), + amount_invoices numeric(19,2), + billing_account_name character varying(255), + due_date date, + payment_info character varying(255), + payment_info1 character varying(255), + payment_info2 character varying(255), + payment_info3 character varying(255), + payment_info4 character varying(255), + payment_info5 character varying(255), + payment_info6 character varying(255), + reference character varying(255), + creator character varying(100), + updater character varying(100), + payment_id bigint, + ddrequest_lot_id bigint, + error_msg character varying(1000), + refund_id bigint, + rejected_file_name character varying(1000) +); + + +ALTER TABLE public.ar_ddrequest_item OWNER TO dev_postgres; + +-- +-- Name: ar_ddrequest_item_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.ar_ddrequest_item_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.ar_ddrequest_item_seq OWNER TO dev_postgres; + +-- +-- Name: ar_ddrequest_lot; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.ar_ddrequest_lot ( + id bigint NOT NULL, + version integer, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + file_name text, + invoice_amount numeric(23,12), + invoice_number integer, + is_payment_created integer DEFAULT 0 NOT NULL, + return_file_name character varying(255), + return_status_code character varying(255), + send_date timestamp without time zone, + creator character varying(100), + updater character varying(100), + rejected_cause character varying(255), + rejected_invoices integer, + ddrequest_builder_id bigint, + payment_or_refund character varying(30), + seller_id bigint +); + + +ALTER TABLE public.ar_ddrequest_lot OWNER TO dev_postgres; + +-- +-- Name: ar_ddrequest_lot_op; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.ar_ddrequest_lot_op ( + id bigint NOT NULL, + version integer, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + ddrequest_op character varying(255), + error_cause character varying(255), + from_due_date timestamp without time zone, + ddrequest_op_status character varying(255), + to_due_date timestamp without time zone, + creator character varying(100), + updater character varying(100), + ddrequest_lot_id bigint, + ddrequest_builder_id bigint, + filter_id bigint, + script_instance_id bigint, + recurrent integer DEFAULT 0, + payment_or_refund character varying(30), + seller_id bigint +); + + +ALTER TABLE public.ar_ddrequest_lot_op OWNER TO dev_postgres; + +-- +-- Name: ar_ddrequest_lot_op_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.ar_ddrequest_lot_op_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.ar_ddrequest_lot_op_seq OWNER TO dev_postgres; + +-- +-- Name: ar_ddrequest_lot_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.ar_ddrequest_lot_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.ar_ddrequest_lot_seq OWNER TO dev_postgres; + +-- +-- Name: ar_due_date; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.ar_due_date ( + id bigint NOT NULL, + version integer, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + due_date date, + invoice_amount numeric(23,12), + invoice_number integer, + payment_method character varying(255), + creator character varying(100), + updater character varying(100) +); + + +ALTER TABLE public.ar_due_date OWNER TO dev_postgres; + +-- +-- Name: ar_due_date_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.ar_due_date_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.ar_due_date_seq OWNER TO dev_postgres; + +-- +-- Name: ar_dunning_lot; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.ar_dunning_lot ( + id bigint NOT NULL, + version integer, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + action_type character varying(255), + file_name character varying(255), + creator character varying(100), + updater character varying(100), + dunning_history_id bigint +); + + +ALTER TABLE public.ar_dunning_lot OWNER TO dev_postgres; + +-- +-- Name: ar_dunning_lot_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.ar_dunning_lot_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.ar_dunning_lot_seq OWNER TO dev_postgres; + +-- +-- Name: ar_matching_amount; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.ar_matching_amount ( + id bigint NOT NULL, + version integer, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + matching_amount numeric(23,12), + creator character varying(100), + updater character varying(100), + account_operation_id bigint, + matching_code_id bigint +); + + +ALTER TABLE public.ar_matching_amount OWNER TO dev_postgres; + +-- +-- Name: ar_matching_amount_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.ar_matching_amount_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.ar_matching_amount_seq OWNER TO dev_postgres; + +-- +-- Name: ar_matching_code; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.ar_matching_code ( + id bigint NOT NULL, + version integer, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + code character varying(255), + matching_amount_credit numeric(23,12), + matching_amount_debit numeric(23,12), + matching_date date, + matching_type character varying(255), + creator character varying(100), + updater character varying(100) +); + + +ALTER TABLE public.ar_matching_code OWNER TO dev_postgres; + +-- +-- Name: ar_matching_code_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.ar_matching_code_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.ar_matching_code_seq OWNER TO dev_postgres; + +-- +-- Name: ar_occ_template; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.ar_occ_template ( + id bigint NOT NULL, + version integer, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + accounting_code_id bigint, + account_code_client_side character varying(255), + code character varying(255), + description character varying(255), + occ_category character varying(255), + creator character varying(100), + updater character varying(100) +); + + +ALTER TABLE public.ar_occ_template OWNER TO dev_postgres; + +-- +-- Name: ar_occ_template_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.ar_occ_template_seq + START WITH 26 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.ar_occ_template_seq OWNER TO dev_postgres; + +-- +-- Name: ar_other_transaction; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.ar_other_transaction ( + transaction_type character varying(31) NOT NULL, + id bigint NOT NULL, + version integer, + description character varying(255), + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + amount numeric(23,12), + due_date date, + matching_amount numeric(23,12), + matching_status character varying(255), + occ_code character varying(255), + occ_description character varying(255), + reference character varying(255), + transaction_category character varying(255), + transaction_date date, + un_matching_amount numeric(23,12), + bank_lot character varying(255), + bank_reference character varying(255), + payment_method character varying(255), + amount_without_tax numeric(23,12), + billing_account_name character varying(255), + invoice_date date, + payment_info character varying(255), + payment_info1 character varying(255), + payment_info2 character varying(255), + payment_info3 character varying(255), + payment_info4 character varying(255), + payment_info5 character varying(255), + payment_info6 character varying(255), + payment_info7 character varying(255), + tax_amount numeric(23,12), + operation_date timestamp without time zone, + bank_collection_date timestamp without time zone, + deposit_date timestamp without time zone, + creator character varying(100), + updater character varying(100), + uuid character varying(60) NOT NULL, + order_num character varying(500), + cf_values text, + cf_values_accum text, + general_ledger_id bigint, + accounting_code_id bigint +); + + +ALTER TABLE public.ar_other_transaction OWNER TO dev_postgres; + +-- +-- Name: ar_other_transaction_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.ar_other_transaction_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.ar_other_transaction_seq OWNER TO dev_postgres; + +-- +-- Name: ar_payment_gateway; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.ar_payment_gateway ( + id bigint NOT NULL, + version integer, + disabled integer DEFAULT 0 NOT NULL, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + code character varying(255) NOT NULL, + description character varying(255), + type character varying(255) NOT NULL, + payment_method character varying(255), + card_type character varying(255), + implementation_class_name character varying(255), + script_instance_id bigint, + trading_currency_id bigint, + application_el character varying(2000), + uuid character varying(60) NOT NULL, + creator character varying(100), + updater character varying(100), + cf_values text, + cf_values_accum text, + country_id bigint, + nb_tries integer, + replay_cause character varying(100), + errors_to_replay character varying(400), + marchand_id character varying(256), + secret_key character varying(256), + api_key character varying(256), + profile character varying(256), + webhooks_secret_key character varying(255), + webhooks_key_id character varying(255), + account_number character varying(11), + account_owner character varying(50), + bank_code character varying(5), + bank_id character varying(50), + bank_name character varying(50), + bic character varying(100), + branch_code character varying(5), + iban character varying(100), + ics character varying(35), + issuer_name character varying(50), + issuer_number character varying(50), + hash_key character varying(2), + seller_id bigint +); + + +ALTER TABLE public.ar_payment_gateway OWNER TO dev_postgres; + +-- +-- Name: ar_payment_gateway_rum_sequence; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.ar_payment_gateway_rum_sequence ( + id bigint NOT NULL, + version integer, + disabled integer DEFAULT 0 NOT NULL, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + creator character varying(100), + updater character varying(100), + code character varying(255) NOT NULL, + description character varying(255), + prefix character varying(255), + sequence_size bigint, + current_sequence_nb bigint, + payment_gateway_id bigint +); + + +ALTER TABLE public.ar_payment_gateway_rum_sequence OWNER TO dev_postgres; + +-- +-- Name: ar_payment_gateway_rum_sequence_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.ar_payment_gateway_rum_sequence_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.ar_payment_gateway_rum_sequence_seq OWNER TO dev_postgres; + +-- +-- Name: ar_payment_gateway_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.ar_payment_gateway_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.ar_payment_gateway_seq OWNER TO dev_postgres; + +-- +-- Name: ar_payment_history; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.ar_payment_history ( + id bigint NOT NULL, + version integer, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + customer_account_code character varying(255) NOT NULL, + customer_account_name character varying(255), + seller_code character varying(255), + operation_date timestamp without time zone NOT NULL, + last_update_date timestamp without time zone, + amount_cts bigint NOT NULL, + sync_status character varying(255) NOT NULL, + async_status character varying(255), + status character varying(50), + external_payment_id character varying(255), + error_code character varying(255), + error_message character varying(2000), + error_type character varying(255), + operation_category character varying(255) NOT NULL, + payment_gateway_code character varying(255), + payment_method_type character varying(255), + payment_method_name character varying(255), + payment_id bigint, + refund_id bigint, + creator character varying(100), + updater character varying(100), + customer_code character varying(256) +); + + +ALTER TABLE public.ar_payment_history OWNER TO dev_postgres; + +-- +-- Name: ar_payment_history_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.ar_payment_history_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.ar_payment_history_seq OWNER TO dev_postgres; + +-- +-- Name: ar_payment_schedule_inst; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.ar_payment_schedule_inst ( + id bigint NOT NULL, + version integer, + disabled integer DEFAULT 0 NOT NULL, + creator character varying(100), + updater character varying(100), + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + code character varying(255) NOT NULL, + description character varying(255), + start_date timestamp without time zone, + end_date timestamp without time zone, + status character varying(50) NOT NULL, + status_date timestamp without time zone NOT NULL, + amount numeric(23,12), + calendar_id bigint NOT NULL, + payment_schedule_tmpl_id bigint NOT NULL, + service_instance_id bigint NOT NULL, + payment_day_in_month integer NOT NULL, + cf_values text, + cf_values_accum text, + uuid character varying(60) NOT NULL +); + + +ALTER TABLE public.ar_payment_schedule_inst OWNER TO dev_postgres; + +-- +-- Name: ar_payment_schedule_inst_item; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.ar_payment_schedule_inst_item ( + id bigint NOT NULL, + version integer, + disabled integer DEFAULT 0 NOT NULL, + creator character varying(100), + updater character varying(100), + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + payment_schedule_inst_id bigint NOT NULL, + due_date timestamp without time zone NOT NULL, + request_pay_date timestamp without time zone NOT NULL, + ao_ps_id bigint, + invoice_id bigint, + is_last integer +); + + +ALTER TABLE public.ar_payment_schedule_inst_item OWNER TO dev_postgres; + +-- +-- Name: ar_payment_schedule_inst_item_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.ar_payment_schedule_inst_item_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.ar_payment_schedule_inst_item_seq OWNER TO dev_postgres; + +-- +-- Name: ar_payment_schedule_inst_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.ar_payment_schedule_inst_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.ar_payment_schedule_inst_seq OWNER TO dev_postgres; + +-- +-- Name: ar_payment_schedule_tmpl; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.ar_payment_schedule_tmpl ( + id bigint NOT NULL, + version integer, + disabled integer DEFAULT 0 NOT NULL, + creator character varying(100), + updater character varying(100), + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + code character varying(255) NOT NULL, + description character varying(255), + calendar_id bigint NOT NULL, + service_template_id bigint NOT NULL, + adv_pay_inv_type_id bigint NOT NULL, + adv_pay_sub_cat_id bigint NOT NULL, + is_generate_adv_pay_inv integer DEFAULT 1 NOT NULL, + is_do_payment integer DEFAULT 1 NOT NULL, + amount numeric(23,12), + payment_day_in_month integer NOT NULL, + apply_agreement integer DEFAULT 0 NOT NULL, + payment_label character varying(2000) NOT NULL, + uuid character varying(60) NOT NULL, + cf_values text, + cf_values_accum text, + script_instance_id bigint, + amount_el character varying(2000), + filter_el character varying(2000) +); + + +ALTER TABLE public.ar_payment_schedule_tmpl OWNER TO dev_postgres; + +-- +-- Name: ar_payment_schedule_tmpl_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.ar_payment_schedule_tmpl_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.ar_payment_schedule_tmpl_seq OWNER TO dev_postgres; + +-- +-- Name: ar_payment_token; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.ar_payment_token ( + token_type character varying(20), + id bigint NOT NULL, + version integer, + card_type character varying(60), + owner character varying(256), + month_expiration integer, + year_expiration integer, + token_id character varying(60), + alias character varying(256), + is_default integer DEFAULT 0, + card_number character varying(16), + customer_account_id bigint, + user_id character varying(256), + info_1 text, + info_2 text, + info_3 text, + info_4 text, + info_5 text, + bank_code character varying(5), + branch_code character varying(5), + account_number character varying(11), + hash_key character varying(2), + iban character varying(100), + bic character varying(100), + account_owner character varying(50), + bank_id character varying(50), + bank_name character varying(50), + issuer_name character varying(50), + issuer_number character varying(50), + ics character varying(35), + mandate_date date, + mandate_identification character varying(255), + creator character varying(100), + created timestamp without time zone DEFAULT '2015-09-18 00:04:00.631'::timestamp without time zone NOT NULL, + updater character varying(100), + updated timestamp without time zone, + disabled integer DEFAULT 0 NOT NULL +); + + +ALTER TABLE public.ar_payment_token OWNER TO dev_postgres; + +-- +-- Name: ar_payment_token_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.ar_payment_token_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.ar_payment_token_seq OWNER TO dev_postgres; + +-- +-- Name: ar_payment_ventilation; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.ar_payment_ventilation ( + id bigint NOT NULL, + version integer, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + code character varying(255), + ventilation_amount numeric(23,12), + ventilation_date date, + creator character varying(100), + updater character varying(100), + customer_account_id bigint, + original_ot_id bigint, + new_ot_id bigint, + account_operation_id bigint, + ventilation_action_status character varying(255) +); + + +ALTER TABLE public.ar_payment_ventilation OWNER TO dev_postgres; + +-- +-- Name: ar_payment_ventilation_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.ar_payment_ventilation_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.ar_payment_ventilation_seq OWNER TO dev_postgres; + +-- +-- Name: ar_revenue_recog_rule; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.ar_revenue_recog_rule ( + id bigint NOT NULL, + version integer, + disabled integer DEFAULT 0 NOT NULL, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + creator character varying(100), + updater character varying(100), + code character varying(255), + description character varying(255), + script_instance_id bigint NOT NULL, + start_delay integer, + start_unit character varying(20), + start_event character varying(20), + stop_delay integer, + stop_unit character varying(20), + stop_event character varying(20) +); + + +ALTER TABLE public.ar_revenue_recog_rule OWNER TO dev_postgres; + +-- +-- Name: ar_revenue_recog_rule_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.ar_revenue_recog_rule_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.ar_revenue_recog_rule_seq OWNER TO dev_postgres; + +-- +-- Name: ar_revenue_schedule; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.ar_revenue_schedule ( + id bigint NOT NULL, + version integer, + charge_instance_id bigint NOT NULL, + revenue_date timestamp without time zone, + recognized_revenue numeric(23,12), + invoiced_revenue numeric(23,12), + accrued_revenue numeric(23,12), + deffered_revenue numeric(23,12) +); + + +ALTER TABLE public.ar_revenue_schedule OWNER TO dev_postgres; + +-- +-- Name: ar_revenue_schedule_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.ar_revenue_schedule_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.ar_revenue_schedule_seq OWNER TO dev_postgres; + +-- +-- Name: audit_field_changes_history; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.audit_field_changes_history ( + id bigint NOT NULL, + version integer, + entity_class character varying(255) NOT NULL, + entity_id bigint NOT NULL, + field_name character varying(255), + change_type character varying(255), + change_origin character varying(255), + origin_name character varying(255), + previous_state character varying(255), + current_state character varying(255), + created timestamp without time zone NOT NULL, + actor character varying(255) NOT NULL +); + + +ALTER TABLE public.audit_field_changes_history OWNER TO dev_postgres; + +-- +-- Name: audit_field_changes_history_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.audit_field_changes_history_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.audit_field_changes_history_seq OWNER TO dev_postgres; + +-- +-- Name: audit_log; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.audit_log ( + id bigint NOT NULL, + version integer, + created timestamp without time zone NOT NULL, + actor character varying(200) NOT NULL, + entity character varying(200), + origin character varying(200), + action character varying(200) NOT NULL, + parameters text +); + + +ALTER TABLE public.audit_log OWNER TO dev_postgres; + +-- +-- Name: audit_log_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.audit_log_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.audit_log_seq OWNER TO dev_postgres; + +-- +-- Name: bi_job; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.bi_job ( + id bigint NOT NULL, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + version integer, + active integer DEFAULT 0 NOT NULL, + job_frequency integer, + job_repository_id integer, + last_execution_date timestamp without time zone, + name character varying(50), + next_execution_date timestamp without time zone, + creator character varying(100), + updater character varying(100) +); + + +ALTER TABLE public.bi_job OWNER TO dev_postgres; + +-- +-- Name: bi_job_history; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.bi_job_history ( + history_type character varying(31) NOT NULL, + id bigint NOT NULL, + version integer, + execution_date timestamp without time zone, + lines_inserted integer, + lines_read integer, + lines_rejected integer, + file_name character varying(255), + nb_subscriptions integer, + nb_subscriptions_created integer, + nb_subscriptions_error integer, + nb_subscriptions_ignored integer, + nb_subscriptions_terminated integer, + nb_billing_accounts integer, + nb_billing_accounts_created integer, + nb_billing_accounts_error integer, + nb_billing_accounts_ignored integer, + nb_billing_accounts_warning integer, + nb_user_accounts integer, + nb_user_accounts_created integer, + nb_user_accounts_error integer, + nb_user_acounts_ignored integer, + nb_user_acounts_warning integer, + nb_customer_accounts integer, + nb_customer_accounts_created integer, + nb_customer_accounts_error integer, + nb_customer_acounts_ignored integer, + nb_customer_acounts_warning integer, + nb_customers integer, + nb_customers_created integer, + nb_customers_error integer, + nb_customers_ignored integer, + nb_customers_warning integer, + nb_sellers integer, + nb_sellers_created integer, + nb_sellers_error integer, + nb_sellers_ignored integer, + nb_sellers_warning integer, + nb_invoices_ignored integer, + job_id bigint +); + + +ALTER TABLE public.bi_job_history OWNER TO dev_postgres; + +-- +-- Name: bi_job_history_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.bi_job_history_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.bi_job_history_seq OWNER TO dev_postgres; + +-- +-- Name: bi_job_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.bi_job_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.bi_job_seq OWNER TO dev_postgres; + +-- +-- Name: bi_report; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.bi_report ( + id bigint NOT NULL, + version integer, + action_name character varying(255), + description character varying(255), + end_date timestamp without time zone, + execution_day_of_month integer, + execution_day_of_week integer, + execution_hour integer, + execution_interval_minutes integer, + execution_interval_seconds integer, + execution_minutes integer, + report_file_name character varying(255), + report_frequency character varying(255) NOT NULL, + name character varying(50), + output_format character varying(255) NOT NULL, + producer_class_name character varying(255), + ds_record_path character varying(255), + schedule timestamp without time zone, + start_date timestamp without time zone +); + + +ALTER TABLE public.bi_report OWNER TO dev_postgres; + +-- +-- Name: bi_report_emails; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.bi_report_emails ( + report_id bigint NOT NULL, + email_id bigint NOT NULL +); + + +ALTER TABLE public.bi_report_emails OWNER TO dev_postgres; + +-- +-- Name: bi_report_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.bi_report_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.bi_report_seq OWNER TO dev_postgres; + +-- +-- Name: bill_seq_invoice_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.bill_seq_invoice_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.bill_seq_invoice_seq OWNER TO dev_postgres; + +-- +-- Name: bill_seq_it_sell_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.bill_seq_it_sell_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.bill_seq_it_sell_seq OWNER TO dev_postgres; + +-- +-- Name: billing_accounting_code; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.billing_accounting_code ( + id bigint NOT NULL, + version integer, + disabled integer DEFAULT 0 NOT NULL, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + code character varying(255) NOT NULL, + description character varying(255), + creator character varying(100), + updater character varying(100), + parent_accounting_code_id bigint, + chart_of_account_type character varying(25), + reporting_account character varying(50), + chart_of_account_view_type character varying(25), + notes character varying(2000), + migrated integer DEFAULT 0 NOT NULL +); + + +ALTER TABLE public.billing_accounting_code OWNER TO dev_postgres; + +-- +-- Name: billing_accounting_code_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.billing_accounting_code_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.billing_accounting_code_seq OWNER TO dev_postgres; + +-- +-- Name: billing_billing_account; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.billing_billing_account ( + br_amount_with_tax numeric(23,12), + br_amount_without_tax numeric(23,12), + discount_rate numeric(23,12), + electronic_billing integer DEFAULT 0, + invoice_prefix character varying(255), + next_invoice_date timestamp without time zone, + status character varying(10), + status_date timestamp without time zone, + subscription_date timestamp without time zone, + termination_date timestamp without time zone, + id bigint NOT NULL, + billing_cycle bigint, + billing_run bigint, + customer_account_id bigint, + termin_reason_id bigint, + trading_country_id bigint NOT NULL, + trading_language_id bigint NOT NULL, + invoicing_threshold numeric(23,12), + minimum_amount_el character varying(2000), + minimum_amount_el_sp character varying(2000), + minimum_label_el character varying(2000), + minimum_label_el_sp character varying(2000), + mailing_type character varying(255), + cced_emails character varying(2000), + email_template_id bigint, + minimum_invoice_sub_category_id bigint, + tax_category_id bigint, + check_threshold character varying(25) +); + + +ALTER TABLE public.billing_billing_account OWNER TO dev_postgres; + +-- +-- Name: billing_billing_run; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.billing_billing_run ( + id bigint NOT NULL, + version integer, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + nb_invoice integer, + nb_billable_billing_account integer, + nb_billing_account integer, + end_date timestamp without time zone, + pr_amount_tax numeric(23,12), + pr_amount_with_tax numeric(23,12), + pr_amount_without_tax numeric(23,12), + process_date timestamp without time zone, + process_type character varying(255), + producible_amount_tax numeric(23,12), + producible_amount_with_tax numeric(23,12), + producible_amount_without_tax numeric(23,12), + nb_producible_invoice integer, + rejection_reason character varying(255), + selected_billing_accounts text, + start_date timestamp without time zone, + status character varying(255), + status_date timestamp without time zone, + creator character varying(100), + updater character varying(100), + billing_cycle_id bigint, + pr_country_id bigint, + pr_currency_id bigint, + pr_language_id bigint, + invoice_date timestamp without time zone, + last_transaction_date timestamp without time zone, + uuid character varying(60) NOT NULL, + cf_values text, + cf_values_accum text, + reference_date character varying(255) +); + + +ALTER TABLE public.billing_billing_run OWNER TO dev_postgres; + +-- +-- Name: billing_billing_run_list; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.billing_billing_run_list ( + id bigint NOT NULL, + version integer, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + rated_amount2_without_tax numeric(23,12), + rated_amount_tax numeric(23,12), + rated_amount_with_tax numeric(23,12), + rated_amount_without_tax numeric(23,12), + invoice integer, + creator character varying(100), + updater character varying(100), + billing_account_id bigint, + billing_run_id bigint +); + + +ALTER TABLE public.billing_billing_run_list OWNER TO dev_postgres; + +-- +-- Name: billing_billing_run_list_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.billing_billing_run_list_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.billing_billing_run_list_seq OWNER TO dev_postgres; + +-- +-- Name: billing_billing_run_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.billing_billing_run_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.billing_billing_run_seq OWNER TO dev_postgres; + +-- +-- Name: billing_charge_instance; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.billing_charge_instance ( + id bigint NOT NULL, + version integer, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + code character varying(255) NOT NULL, + description character varying(255), + amount_with_tax numeric(23,12), + amount_without_tax numeric(23,12), + charge_date timestamp without time zone, + criteria_1 character varying(255), + criteria_2 character varying(255), + criteria_3 character varying(255), + is_prepaid integer DEFAULT 0, + status character varying(255), + status_date timestamp without time zone, + termination_date timestamp without time zone, + creator character varying(100), + updater character varying(100), + charge_template_id bigint, + trading_country bigint NOT NULL, + trading_currency bigint NOT NULL, + seller_id bigint NOT NULL, + subscription_id bigint, + invoicing_calendar_id bigint, + user_account_id bigint NOT NULL, + order_number character varying(100), + charge_type character varying(5), + quantity numeric(23,12), + product_instance_id bigint, + next_charge_date timestamp without time zone, + subscription_date timestamp without time zone, + service_instance_id bigint, + counter_id bigint, + rating_unit_description character varying(20), + priority integer DEFAULT 1, + cf_values_accum text, + cf_values text, + uuid character varying(60), + calendar_id bigint, + apply_in_advance integer +); + + +ALTER TABLE public.billing_charge_instance OWNER TO dev_postgres; + +-- +-- Name: billing_charge_instance_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.billing_charge_instance_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.billing_charge_instance_seq OWNER TO dev_postgres; + +-- +-- Name: billing_chrg_inst_counter; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.billing_chrg_inst_counter ( + chrg_instance_id bigint NOT NULL, + counter_instance_id bigint NOT NULL, + indx integer NOT NULL +); + + +ALTER TABLE public.billing_chrg_inst_counter OWNER TO dev_postgres; + +-- +-- Name: billing_chrginst_wallet; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.billing_chrginst_wallet ( + chrg_instance_id bigint NOT NULL, + wallet_instance_id bigint NOT NULL, + indx integer NOT NULL +); + + +ALTER TABLE public.billing_chrginst_wallet OWNER TO dev_postgres; + +-- +-- Name: billing_counter; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.billing_counter ( + id bigint NOT NULL, + version integer, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + code character varying(255) NOT NULL, + description character varying(255), + creator character varying(100), + updater character varying(100), + billing_account_id bigint, + counter_template_id bigint, + user_account_id bigint, + subscription_id bigint, + service_instance_id bigint, + customer_id bigint, + customer_account_id bigint +); + + +ALTER TABLE public.billing_counter OWNER TO dev_postgres; + +-- +-- Name: billing_counter_instance_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.billing_counter_instance_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.billing_counter_instance_seq OWNER TO dev_postgres; + +-- +-- Name: billing_counter_period; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.billing_counter_period ( + id bigint NOT NULL, + version integer, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + code character varying(255) NOT NULL, + description character varying(255), + counter_type character varying(255), + level_num numeric(35,12), + period_end_date timestamp without time zone, + period_start_date timestamp without time zone, + value numeric(35,12), + creator character varying(100), + updater character varying(100), + counter_instance_id bigint, + notification_levels character varying(100), + is_accumulator integer DEFAULT 0, + accumulator_type character varying(35) +); + + +ALTER TABLE public.billing_counter_period OWNER TO dev_postgres; + +-- +-- Name: billing_counter_period_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.billing_counter_period_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.billing_counter_period_seq OWNER TO dev_postgres; + +-- +-- Name: billing_counter_period_values; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.billing_counter_period_values ( + counter_key character varying(255) NOT NULL, + counter_value numeric(19,2) NOT NULL, + counterperiod_id bigint NOT NULL +); + + +ALTER TABLE public.billing_counter_period_values OWNER TO dev_postgres; + +-- +-- Name: billing_cycle; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.billing_cycle ( + id bigint NOT NULL, + version integer, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + code character varying(255) NOT NULL, + description character varying(255), + billing_template_name character varying(50), + due_date_delay integer, + invoice_date_delay integer, + creator character varying(100), + updater character varying(100), + calendar bigint, + transaction_date_delay integer, + invoice_date_production_delay integer, + invoicing_threshold numeric(23,12), + invoice_type_id bigint, + uuid character varying(60) NOT NULL, + due_date_delay_el character varying(2000), + due_date_delay_el_sp character varying(2000), + cf_values text, + cf_values_accum text, + billing_template_name_el character varying(2000), + invoice_type_el character varying(2000), + invoice_type_el_sp character varying(2000), + billing_cycle_type character varying(256) NOT NULL, + script_instance_id bigint, + reference_date character varying(255), + check_threshold character varying(25) +); + + +ALTER TABLE public.billing_cycle OWNER TO dev_postgres; + +-- +-- Name: billing_cycle_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.billing_cycle_seq + START WITH 3 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.billing_cycle_seq OWNER TO dev_postgres; + +-- +-- Name: billing_disc_inst_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.billing_disc_inst_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.billing_disc_inst_seq OWNER TO dev_postgres; + +-- +-- Name: billing_discount; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.billing_discount ( + id bigint NOT NULL, + version integer, + disabled integer DEFAULT 0 NOT NULL, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + discount_code character varying(20), + pourcent numeric(19,2), + pr_description character varying(255), + creator character varying(100), + updater character varying(100) +); + + +ALTER TABLE public.billing_discount OWNER TO dev_postgres; + +-- +-- Name: billing_discount_language; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.billing_discount_language ( + id bigint NOT NULL, + version integer, + disabled integer DEFAULT 0 NOT NULL, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + description character varying(255), + creator character varying(100), + updater character varying(100), + discount_id bigint, + trading_language_id bigint +); + + +ALTER TABLE public.billing_discount_language OWNER TO dev_postgres; + +-- +-- Name: billing_discount_language_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.billing_discount_language_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.billing_discount_language_seq OWNER TO dev_postgres; + +-- +-- Name: billing_discount_plan_instance; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.billing_discount_plan_instance ( + id bigint NOT NULL, + version integer, + discount_plan_id bigint NOT NULL, + billing_account_id bigint, + start_date date, + end_date date, + uuid character varying(60) NOT NULL, + cf_values text, + cf_values_accum text, + subscription_id bigint +); + + +ALTER TABLE public.billing_discount_plan_instance OWNER TO dev_postgres; + +-- +-- Name: billing_discount_plan_instance_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.billing_discount_plan_instance_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.billing_discount_plan_instance_seq OWNER TO dev_postgres; + +-- +-- Name: billing_discount_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.billing_discount_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.billing_discount_seq OWNER TO dev_postgres; + +-- +-- Name: billing_discplan_inst; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.billing_discplan_inst ( + id bigint NOT NULL, + version integer, + disabled integer DEFAULT 0 NOT NULL, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + charge_code character varying(255), + end_subscription_date timestamp without time zone, + nb_period integer, + pourcent numeric(19,2), + start_subscription_date timestamp without time zone, + usage_type integer, + creator character varying(100), + updater character varying(100), + billing_account_id bigint +); + + +ALTER TABLE public.billing_discplan_inst OWNER TO dev_postgres; + +-- +-- Name: billing_finance_segment; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.billing_finance_segment ( + id bigint NOT NULL, + code character varying(255) NOT NULL, + description character varying(255), + version integer, + disabled integer DEFAULT 0 NOT NULL, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + creator character varying(100), + updater character varying(100), + object_class character varying(100) NOT NULL, + field character varying(100) NOT NULL +); + + +ALTER TABLE public.billing_finance_segment OWNER TO dev_postgres; + +-- +-- Name: billing_finance_segment_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.billing_finance_segment_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.billing_finance_segment_seq OWNER TO dev_postgres; + +-- +-- Name: billing_general_ledger; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.billing_general_ledger ( + id bigint NOT NULL, + code character varying(255) NOT NULL, + description character varying(255), + version integer, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + creator character varying(100), + updater character varying(100) +); + + +ALTER TABLE public.billing_general_ledger OWNER TO dev_postgres; + +-- +-- Name: billing_general_ledger_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.billing_general_ledger_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.billing_general_ledger_seq OWNER TO dev_postgres; + +-- +-- Name: billing_inv_sub_cat_country_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.billing_inv_sub_cat_country_seq + START WITH 5 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.billing_inv_sub_cat_country_seq OWNER TO dev_postgres; + +-- +-- Name: billing_invoice; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.billing_invoice ( + id bigint NOT NULL, + version integer, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + alias character varying(255), + amount numeric(23,12), + amount_tax numeric(23,12), + amount_with_tax numeric(23,12), + amount_without_tax numeric(23,12), + comment character varying(1200), + discount numeric(23,12), + due_date timestamp without time zone, + iban character varying(255), + invoice_date timestamp without time zone, + invoice_number character varying(50), + net_to_pay numeric(23,12), + payment_method character varying(255), + product_date timestamp without time zone, + temporary_invoice_number character varying(60), + creator character varying(100), + updater character varying(100), + billing_account_id bigint, + billing_run_id bigint, + recorded_invoice_id bigint, + trading_country_id bigint, + trading_currency_id bigint, + trading_language_id bigint, + detailed_invoice integer DEFAULT 1 NOT NULL, + invoice_id bigint, + uuid character varying(60) NOT NULL, + invoice_type_id bigint, + quote_id bigint, + cf_values text, + cf_values_accum text, + pdf_filename character varying(255), + xml_filename character varying(255), + payment_method_id bigint, + due_balance numeric(23,12), + seller_id bigint NOT NULL, + subscription_id bigint, + order_id bigint, + already_sent integer DEFAULT 0 NOT NULL, + dont_send integer DEFAULT 0 NOT NULL, + prepaid integer DEFAULT 0 NOT NULL, + status character varying(50), + external_ref character varying(255) +); + + +ALTER TABLE public.billing_invoice OWNER TO dev_postgres; + +-- +-- Name: billing_invoice_agregate; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.billing_invoice_agregate ( + type character varying(31) NOT NULL, + id bigint NOT NULL, + version integer, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + accounting_code_id bigint, + amount numeric(23,12), + amount_tax numeric(23,12), + amount_with_tax numeric(23,12), + amount_without_tax numeric(23,12), + description character varying(255), + description_discount character varying(255), + discount numeric(23,12), + discount_aggregate integer DEFAULT 0 NOT NULL, + item_number integer, + pr_description character varying(255), + quantity numeric(19,2), + tax_percent numeric(23,12), + creator character varying(100), + updater character varying(100), + billing_account_id bigint, + billing_run_id bigint, + invoice_id bigint, + trading_country_id bigint, + trading_currency_id bigint, + trading_language_id bigint, + user_account_id bigint, + tax_id bigint, + category_invoice_agregate bigint, + invoicesubcategory bigint, + sub_category_tax bigint, + tax_invoice_agregate bigint, + wallet_id bigint, + invoicecategory bigint, + discount_percent numeric(23,12), + sub_cat_invoice_agregate_id bigint, + discount_plan_code character varying(50), + discount_plan_item_code character varying(50), + discount_plan_item_id bigint +); + + +ALTER TABLE public.billing_invoice_agregate OWNER TO dev_postgres; + +-- +-- Name: billing_invoice_agregate_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.billing_invoice_agregate_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.billing_invoice_agregate_seq OWNER TO dev_postgres; + +-- +-- Name: billing_invoice_agregate_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: dev_postgres +-- + +ALTER SEQUENCE public.billing_invoice_agregate_seq OWNED BY public.billing_invoice_agregate.id; + + +-- +-- Name: billing_invoice_cat; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.billing_invoice_cat ( + id bigint NOT NULL, + version integer, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + code character varying(255) NOT NULL, + description character varying(255), + sort_index integer, + creator character varying(100), + updater character varying(100), + uuid character varying(60) NOT NULL, + cf_values text, + cf_values_accum text, + description_i18n text, + occ_template_id bigint, + occ_templ_negative_id bigint +); + + +ALTER TABLE public.billing_invoice_cat OWNER TO dev_postgres; + +-- +-- Name: billing_invoice_cat_lang; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.billing_invoice_cat_lang ( + id bigint NOT NULL, + version integer, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + description character varying(255), + creator character varying(100), + updater character varying(100), + invoice_category_id bigint, + trading_language_id bigint +); + + +ALTER TABLE public.billing_invoice_cat_lang OWNER TO dev_postgres; + +-- +-- Name: billing_invoice_cat_lang_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.billing_invoice_cat_lang_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.billing_invoice_cat_lang_seq OWNER TO dev_postgres; + +-- +-- Name: billing_invoice_cat_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.billing_invoice_cat_seq + START WITH 3 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.billing_invoice_cat_seq OWNER TO dev_postgres; + +-- +-- Name: billing_invoice_configuration; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.billing_invoice_configuration ( + id bigint NOT NULL, + version integer, + display_subscriptions integer DEFAULT 0, + display_services integer DEFAULT 0, + display_offers integer DEFAULT 0, + display_edrs integer DEFAULT 0, + display_provider integer DEFAULT 0, + display_detail integer DEFAULT 1, + display_priceplans integer DEFAULT 0, + display_cf_as_xml integer DEFAULT 0, + display_billing_cycle integer DEFAULT 0, + display_orders integer DEFAULT 0, + current_invoice_nb bigint, + display_wallet_operations integer DEFAULT 0 +); + + +ALTER TABLE public.billing_invoice_configuration OWNER TO dev_postgres; + +-- +-- Name: billing_invoice_configuration_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.billing_invoice_configuration_seq + START WITH 2 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.billing_invoice_configuration_seq OWNER TO dev_postgres; + +-- +-- Name: billing_invoice_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.billing_invoice_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.billing_invoice_seq OWNER TO dev_postgres; + +-- +-- Name: billing_invoice_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: dev_postgres +-- + +ALTER SEQUENCE public.billing_invoice_seq OWNED BY public.billing_invoice.id; + + +-- +-- Name: billing_invoice_sub_cat; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.billing_invoice_sub_cat ( + id bigint NOT NULL, + version integer, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + code character varying(255) NOT NULL, + description character varying(255), + accounting_code_id bigint, + discount numeric(19,2), + creator character varying(100), + updater character varying(100), + invoice_category_id bigint, + uuid character varying(60) NOT NULL, + cf_values text, + cf_values_accum text, + description_i18n text, + tax_script_instance_id bigint, + occ_template_id bigint, + occ_templ_negative_id bigint, + sort_index integer +); + + +ALTER TABLE public.billing_invoice_sub_cat OWNER TO dev_postgres; + +-- +-- Name: billing_invoice_sub_cat_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.billing_invoice_sub_cat_seq + START WITH 3 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.billing_invoice_sub_cat_seq OWNER TO dev_postgres; + +-- +-- Name: billing_invoice_template; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.billing_invoice_template ( + id bigint NOT NULL, + version integer, + code character varying(255) NOT NULL, + file_name character varying(255) NOT NULL, + template_version character varying(255) NOT NULL, + validity_end_date timestamp without time zone NOT NULL, + validity_start_date timestamp without time zone NOT NULL +); + + +ALTER TABLE public.billing_invoice_template OWNER TO dev_postgres; + +-- +-- Name: billing_invoice_template_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.billing_invoice_template_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.billing_invoice_template_seq OWNER TO dev_postgres; + +-- +-- Name: billing_invoice_type; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.billing_invoice_type ( + id bigint NOT NULL, + version integer, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + creator character varying(100), + updater character varying(100), + code character varying(255) NOT NULL, + description character varying(255), + prefix_el character varying(2000), + matching_auto integer DEFAULT 0, + occ_template_id bigint, + occ_templ_negative_id bigint, + billing_template_name character varying(50), + pdf_filename_el character varying(2000), + xml_filename_el character varying(2000), + billing_template_name_el character varying(2000), + use_self_sequence integer DEFAULT 0, + occ_template_code_el character varying(2000), + occ_template_negative_code_el character varying(2000), + script_instance_id bigint, + invoice_sequence_id bigint, + tax_script_instance_id bigint, + uuid character varying(60) NOT NULL, + cf_values text, + cf_values_accum text, + mailing_type character varying(255), + email_template_id bigint, + invoice_accountable integer DEFAULT 1 NOT NULL +); + + +ALTER TABLE public.billing_invoice_type OWNER TO dev_postgres; + +-- +-- Name: billing_invoice_type_applies_to; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.billing_invoice_type_applies_to ( + invoice_type_id bigint NOT NULL, + applies_to_id bigint NOT NULL +); + + +ALTER TABLE public.billing_invoice_type_applies_to OWNER TO dev_postgres; + +-- +-- Name: billing_invoice_type_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.billing_invoice_type_seq + START WITH 3 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.billing_invoice_type_seq OWNER TO dev_postgres; + +-- +-- Name: billing_invoices_orders; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.billing_invoices_orders ( + invoice_id bigint NOT NULL, + order_id bigint NOT NULL +); + + +ALTER TABLE public.billing_invoices_orders OWNER TO dev_postgres; + +-- +-- Name: billing_linked_invoices; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.billing_linked_invoices ( + id bigint NOT NULL, + linked_invoice_id bigint NOT NULL +); + + +ALTER TABLE public.billing_linked_invoices OWNER TO dev_postgres; + +-- +-- Name: billing_priceplan_inst; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.billing_priceplan_inst ( + id bigint NOT NULL, + version integer, + disabled integer DEFAULT 0 NOT NULL, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + amount_without_tax numeric(19,2), + charge_code character varying(255), + end_event_date timestamp without time zone, + end_subscription_date timestamp without time zone, + pr_amount_without_tax numeric(19,2), + start_event_date timestamp without time zone, + start_subscription_date timestamp without time zone, + stringcriteria1 character varying(255), + stringcriteria2 character varying(255), + stringcriteria3 character varying(255), + subscription_age_max_in_month timestamp without time zone, + subscription_age_min_in_month timestamp without time zone, + usage_type integer, + creator character varying(100), + updater character varying(100), + billing_account_id bigint, + trading_currency_id bigint +); + + +ALTER TABLE public.billing_priceplan_inst OWNER TO dev_postgres; + +-- +-- Name: billing_product_chrg_inst_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.billing_product_chrg_inst_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.billing_product_chrg_inst_seq OWNER TO dev_postgres; + +-- +-- Name: billing_product_instance; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.billing_product_instance ( + id bigint NOT NULL, + version integer, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + creator character varying(100), + updater character varying(100), + uuid character varying(60) NOT NULL, + code character varying(255) NOT NULL, + description character varying(255), + product_template_id bigint, + quantity numeric(23,12), + user_account_id bigint, + application_date timestamp without time zone, + subscription_id bigint, + order_number character varying(100), + cf_values text, + cf_values_accum text, + seller_id bigint NOT NULL +); + + +ALTER TABLE public.billing_product_instance OWNER TO dev_postgres; + +-- +-- Name: billing_product_instance_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.billing_product_instance_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.billing_product_instance_seq OWNER TO dev_postgres; + +-- +-- Name: billing_rated_transaction; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.billing_rated_transaction ( + id bigint NOT NULL, + version integer, + amount_tax numeric(23,12), + amount_with_tax numeric(23,12), + amount_without_tax numeric(23,12), + code character varying(255), + description text, + do_not_trigger_invoicing integer DEFAULT 0 NOT NULL, + parameter_1 character varying(255), + parameter_2 character varying(255), + parameter_3 character varying(255), + quantity numeric(23,12), + status character varying(255) NOT NULL, + unit_amount_tax numeric(23,12), + unit_amount_with_tax numeric(23,12), + unit_amount_without_tax numeric(23,12), + unity_description character varying(20), + usage_date timestamp without time zone, + billing_account__id bigint, + billing_run_id bigint, + invoice_id bigint, + aggregate_id_f bigint, + invoice_sub_category_id bigint, + priceplan_id bigint, + wallet_id bigint, + edr_id bigint, + adjusted_rated_tx bigint, + order_number character varying(100), + rating_unit_description character varying(20), + parameter_extra text, + start_date timestamp without time zone, + end_date timestamp without time zone, + subscription_id bigint, + seller_id bigint NOT NULL, + charge_instance_id bigint, + tax_id bigint NOT NULL, + tax_percent numeric(23,12) NOT NULL, + user_account_id bigint, + offer_id bigint, + service_instance_id bigint, + updated timestamp without time zone, + tax_class_id bigint, + input_quantity numeric(23,12), + raw_amount_without_tax numeric(23,12), + raw_amount_with_tax numeric(23,12), + input_unitofmeasure bigint, + rating_unitofmeasure bigint, + sort_index integer +) +PARTITION BY LIST (status); + + +ALTER TABLE public.billing_rated_transaction OWNER TO dev_postgres; + +-- +-- Name: billing_rated_transaction_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.billing_rated_transaction_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.billing_rated_transaction_seq OWNER TO dev_postgres; + +-- +-- Name: billing_rated_transaction_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: dev_postgres +-- + +ALTER SEQUENCE public.billing_rated_transaction_seq OWNED BY public.billing_rated_transaction.id; + + +-- +-- Name: billing_rated_transaction_open; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.billing_rated_transaction_open ( + id bigint DEFAULT nextval('public.billing_rated_transaction_seq'::regclass) NOT NULL, + version integer, + amount_tax numeric(23,12), + amount_with_tax numeric(23,12), + amount_without_tax numeric(23,12), + code character varying(255), + description text, + do_not_trigger_invoicing integer DEFAULT 0 NOT NULL, + parameter_1 character varying(255), + parameter_2 character varying(255), + parameter_3 character varying(255), + quantity numeric(23,12), + status character varying(255) NOT NULL, + unit_amount_tax numeric(23,12), + unit_amount_with_tax numeric(23,12), + unit_amount_without_tax numeric(23,12), + unity_description character varying(20), + usage_date timestamp without time zone, + billing_account__id bigint, + billing_run_id bigint, + invoice_id bigint, + aggregate_id_f bigint, + invoice_sub_category_id bigint, + priceplan_id bigint, + wallet_id bigint, + edr_id bigint, + adjusted_rated_tx bigint, + order_number character varying(100), + rating_unit_description character varying(20), + parameter_extra text, + start_date timestamp without time zone, + end_date timestamp without time zone, + subscription_id bigint, + seller_id bigint NOT NULL, + charge_instance_id bigint, + tax_id bigint NOT NULL, + tax_percent numeric(23,12) NOT NULL, + user_account_id bigint, + offer_id bigint, + service_instance_id bigint, + updated timestamp without time zone, + tax_class_id bigint, + input_quantity numeric(23,12), + raw_amount_without_tax numeric(23,12), + raw_amount_with_tax numeric(23,12), + input_unitofmeasure bigint, + rating_unitofmeasure bigint, + sort_index integer +); + + +ALTER TABLE public.billing_rated_transaction_open OWNER TO dev_postgres; + +-- +-- Name: billing_rated_transaction_other; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.billing_rated_transaction_other ( + id bigint DEFAULT nextval('public.billing_rated_transaction_seq'::regclass) NOT NULL, + version integer, + amount_tax numeric(23,12), + amount_with_tax numeric(23,12), + amount_without_tax numeric(23,12), + code character varying(255), + description text, + do_not_trigger_invoicing integer DEFAULT 0 NOT NULL, + parameter_1 character varying(255), + parameter_2 character varying(255), + parameter_3 character varying(255), + quantity numeric(23,12), + status character varying(255) NOT NULL, + unit_amount_tax numeric(23,12), + unit_amount_with_tax numeric(23,12), + unit_amount_without_tax numeric(23,12), + unity_description character varying(20), + usage_date timestamp without time zone, + billing_account__id bigint, + billing_run_id bigint, + invoice_id bigint, + aggregate_id_f bigint, + invoice_sub_category_id bigint, + priceplan_id bigint, + wallet_id bigint, + edr_id bigint, + adjusted_rated_tx bigint, + order_number character varying(100), + rating_unit_description character varying(20), + parameter_extra text, + start_date timestamp without time zone, + end_date timestamp without time zone, + subscription_id bigint, + seller_id bigint NOT NULL, + charge_instance_id bigint, + tax_id bigint NOT NULL, + tax_percent numeric(23,12) NOT NULL, + user_account_id bigint, + offer_id bigint, + service_instance_id bigint, + updated timestamp without time zone, + tax_class_id bigint, + input_quantity numeric(23,12), + raw_amount_without_tax numeric(23,12), + raw_amount_with_tax numeric(23,12), + input_unitofmeasure bigint, + rating_unitofmeasure bigint, + sort_index integer +); + + +ALTER TABLE public.billing_rated_transaction_other OWNER TO dev_postgres; + +-- +-- Name: billing_rejected_ba_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.billing_rejected_ba_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.billing_rejected_ba_seq OWNER TO dev_postgres; + +-- +-- Name: billing_rejected_billing_accounts; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.billing_rejected_billing_accounts ( + id bigint NOT NULL, + version integer, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + reject_cause character varying(3000), + creator character varying(100), + updater character varying(100), + billing_account bigint, + billing_run bigint +); + + +ALTER TABLE public.billing_rejected_billing_accounts OWNER TO dev_postgres; + +-- +-- Name: billing_reservation; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.billing_reservation ( + id bigint NOT NULL, + version integer, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + amount_with_tax numeric(23,12), + amount_without_tax numeric(23,12), + expiry_date date, + input_message character varying(255), + origin_edr_id bigint, + quantity numeric(23,12), + reservation_date date, + status character varying(255), + creator character varying(100), + updater character varying(100), + subscription_id bigint, + user_account_id bigint, + wallet_id bigint +); + + +ALTER TABLE public.billing_reservation OWNER TO dev_postgres; + +-- +-- Name: billing_reservation_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.billing_reservation_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.billing_reservation_seq OWNER TO dev_postgres; + +-- +-- Name: billing_resrv_countid; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.billing_resrv_countid ( + reservation_id bigint NOT NULL, + counterperiodvalues numeric(19,2), + counterperiodvalues_key bigint NOT NULL +); + + +ALTER TABLE public.billing_resrv_countid OWNER TO dev_postgres; + +-- +-- Name: billing_seq_invoice; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.billing_seq_invoice ( + id bigint NOT NULL, + sequence_size integer, + current_invoice_nb bigint, + version integer DEFAULT 0, + creator character varying(100), + updater character varying(100), + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + code character varying(255) NOT NULL, + description character varying(255) +); + + +ALTER TABLE public.billing_seq_invoice OWNER TO dev_postgres; + +-- +-- Name: billing_seq_invtyp_sell; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.billing_seq_invtyp_sell ( + id bigint NOT NULL, + invoicetype_id bigint NOT NULL, + seller_id bigint NOT NULL, + prefix_el character varying(2000), + invoice_sequence_id bigint +); + + +ALTER TABLE public.billing_seq_invtyp_sell OWNER TO dev_postgres; + +-- +-- Name: billing_service_instance; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.billing_service_instance ( + id bigint NOT NULL, + version integer, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + code character varying(255) NOT NULL, + description character varying(255), + end_agrement_date timestamp without time zone, + quantity numeric(23,12), + status character varying(255), + status_date timestamp without time zone, + subscription_date timestamp without time zone, + termination_date timestamp without time zone, + creator character varying(100), + updater character varying(100), + service_template_id bigint, + subscription_id bigint, + sub_termin_reason_id bigint, + invoicing_calendar_id bigint, + uuid character varying(60) NOT NULL, + order_number character varying(100), + cf_values text, + cf_values_accum text, + rate_until_date timestamp without time zone, + minimum_amount_el character varying(2000), + minimum_amount_el_sp character varying(2000), + minimum_label_el character varying(2000), + minimum_label_el_sp character varying(2000), + auto_renew integer DEFAULT 0 NOT NULL, + days_notify_renew integer, + end_of_term_action character varying(10), + auto_termin_reason_id bigint, + init_active_unit character varying(5), + init_active integer, + match_end_aggr_date integer DEFAULT 0 NOT NULL, + renew_for_unit character varying(5), + renew_for integer, + subscribed_till_date timestamp without time zone, + renewed integer DEFAULT 0 NOT NULL, + notify_of_renewal_date timestamp without time zone, + renewal_notified_date timestamp without time zone, + initial_term_type character varying(20) DEFAULT 'RECURRING'::character varying, + auto_end_of_engagement integer, + amount_ps numeric(23,12), + calendar_ps_id bigint, + payment_day_in_month_ps integer, + auto_renew_date timestamp without time zone, + initial_renewal text, + calendar_init_active_id bigint, + calendar_renew_for_id bigint, + renewal_term_type character varying(20), + minimum_invoice_sub_category_id bigint, + minimum_charge_template_id bigint +); + + +ALTER TABLE public.billing_service_instance OWNER TO dev_postgres; + +-- +-- Name: billing_service_instance_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.billing_service_instance_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.billing_service_instance_seq OWNER TO dev_postgres; + +-- +-- Name: billing_sub_term_reason_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.billing_sub_term_reason_seq + START WITH 4 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.billing_sub_term_reason_seq OWNER TO dev_postgres; + +-- +-- Name: billing_subscrip_termin_reason; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.billing_subscrip_termin_reason ( + id bigint NOT NULL, + version integer, + apply_agreement integer DEFAULT 0 NOT NULL, + apply_reimbursment integer DEFAULT 0 NOT NULL, + apply_termination_charges integer DEFAULT 0 NOT NULL, + code character varying(255), + description character varying(255), + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + creator character varying(100), + updater character varying(100), + override_prorata character varying(255), + reimburse_oneshots integer DEFAULT 0 NOT NULL +); + + +ALTER TABLE public.billing_subscrip_termin_reason OWNER TO dev_postgres; + +-- +-- Name: billing_subscription; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.billing_subscription ( + id bigint NOT NULL, + version integer, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + code character varying(255) NOT NULL, + description character varying(255), + default_level integer DEFAULT 1, + end_agrement_date timestamp without time zone, + status character varying(255), + status_date timestamp without time zone, + subscription_date timestamp without time zone, + termination_date timestamp without time zone, + creator character varying(100), + updater character varying(100), + offer_id bigint, + sub_termin_reason_id bigint, + user_account_id bigint NOT NULL, + uuid character varying(60) NOT NULL, + subscribed_till_date timestamp without time zone, + auto_renew integer DEFAULT 0 NOT NULL, + days_notify_renew integer, + end_of_term_action character varying(10), + auto_termin_reason_id bigint, + init_active_unit character varying(5), + init_active integer, + match_end_aggr_date integer DEFAULT 0 NOT NULL, + renew_for_unit character varying(5), + renew_for integer, + renewed integer DEFAULT 0 NOT NULL, + notify_of_renewal_date timestamp without time zone, + renewal_notified_date timestamp without time zone, + cf_values text, + cf_values_accum text, + minimum_amount_el character varying(2000), + minimum_amount_el_sp character varying(2000), + minimum_label_el character varying(2000), + minimum_label_el_sp character varying(2000), + initial_term_type character varying(20) DEFAULT 'RECURRING'::character varying, + billing_cycle bigint, + billing_run bigint, + auto_end_of_engagement integer, + seller_id bigint NOT NULL, + rating_group character varying(50), + auto_renew_date timestamp without time zone, + mailing_type character varying(255), + cced_emails character varying(2000), + email character varying(255), + electronic_billing integer DEFAULT 0 NOT NULL, + email_template_id bigint, + initial_renewal text, + calendar_init_active_id bigint, + calendar_renew_for_id bigint, + renewal_term_type character varying(20), + minimum_invoice_sub_category_id bigint, + minimum_charge_template_id bigint +); + + +ALTER TABLE public.billing_subscription OWNER TO dev_postgres; + +-- +-- Name: billing_subscription_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.billing_subscription_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.billing_subscription_seq OWNER TO dev_postgres; + +-- +-- Name: billing_tax; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.billing_tax ( + id bigint NOT NULL, + version integer, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + code character varying(255) NOT NULL, + description character varying(255), + accounting_code_id bigint, + tax_percentage numeric(23,12) NOT NULL, + creator character varying(100), + updater character varying(100), + uuid character varying(60) NOT NULL, + cf_values text, + cf_values_accum text, + description_i18n text +); + + +ALTER TABLE public.billing_tax OWNER TO dev_postgres; + +-- +-- Name: billing_tax_category; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.billing_tax_category ( + id bigint NOT NULL, + version integer, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + creator character varying(100), + updater character varying(100), + code character varying(255) NOT NULL, + description character varying(255), + description_i18n text, + uuid character varying(60) NOT NULL, + cf_values text, + cf_values_accum text +); + + +ALTER TABLE public.billing_tax_category OWNER TO dev_postgres; + +-- +-- Name: billing_tax_category_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.billing_tax_category_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.billing_tax_category_seq OWNER TO dev_postgres; + +-- +-- Name: billing_tax_class; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.billing_tax_class ( + id bigint NOT NULL, + version integer, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + creator character varying(100), + updater character varying(100), + code character varying(255) NOT NULL, + description character varying(255), + description_i18n text, + uuid character varying(60) NOT NULL, + cf_values text, + cf_values_accum text +); + + +ALTER TABLE public.billing_tax_class OWNER TO dev_postgres; + +-- +-- Name: billing_tax_class_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.billing_tax_class_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.billing_tax_class_seq OWNER TO dev_postgres; + +-- +-- Name: billing_tax_language; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.billing_tax_language ( + id bigint NOT NULL, + version integer, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + description character varying(255), + creator character varying(100), + updater character varying(100), + tax_id bigint, + trading_language_id bigint +); + + +ALTER TABLE public.billing_tax_language OWNER TO dev_postgres; + +-- +-- Name: billing_tax_language_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.billing_tax_language_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.billing_tax_language_seq OWNER TO dev_postgres; + +-- +-- Name: billing_tax_mapping; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.billing_tax_mapping ( + id bigint NOT NULL, + version integer, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + creator character varying(100), + updater character varying(100), + tax_category_id bigint NOT NULL, + tax_class_id bigint, + valid_from timestamp without time zone, + valid_to timestamp without time zone, + seller_country_id bigint, + buyer_country_id bigint, + filter_el character varying(2000), + filter_el_sp character varying(2000), + tax_id bigint, + tax_el character varying(2000), + tax_el_sp character varying(2000), + tax_script_id bigint, + priority integer DEFAULT 0, + source character varying(2000), + origin_id bigint +); + + +ALTER TABLE public.billing_tax_mapping OWNER TO dev_postgres; + +-- +-- Name: billing_tax_mapping_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.billing_tax_mapping_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.billing_tax_mapping_seq OWNER TO dev_postgres; + +-- +-- Name: billing_tax_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.billing_tax_seq + START WITH 4 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.billing_tax_seq OWNER TO dev_postgres; + +-- +-- Name: billing_trading_country; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.billing_trading_country ( + id bigint NOT NULL, + version integer, + disabled integer DEFAULT 0 NOT NULL, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + creator character varying(100), + updater character varying(100), + country_id bigint, + code character varying(255), + description character varying(255), + cf_values_accum text, + cf_values text, + uuid character varying(60) DEFAULT 'Trading_Country_US'::character varying NOT NULL +); + + +ALTER TABLE public.billing_trading_country OWNER TO dev_postgres; + +-- +-- Name: billing_trading_country_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.billing_trading_country_seq + START WITH 3 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.billing_trading_country_seq OWNER TO dev_postgres; + +-- +-- Name: billing_trading_currency; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.billing_trading_currency ( + id bigint NOT NULL, + version integer, + disabled integer DEFAULT 0 NOT NULL, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + pr_currency_to_this numeric(23,12), + pr_description character varying(255), + creator character varying(100), + updater character varying(100), + currency_id bigint +); + + +ALTER TABLE public.billing_trading_currency OWNER TO dev_postgres; + +-- +-- Name: billing_trading_currency_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.billing_trading_currency_seq + START WITH 3 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.billing_trading_currency_seq OWNER TO dev_postgres; + +-- +-- Name: billing_trading_language; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.billing_trading_language ( + id bigint NOT NULL, + version integer, + disabled integer DEFAULT 0 NOT NULL, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + pr_description character varying(255), + creator character varying(100), + updater character varying(100), + language_id bigint +); + + +ALTER TABLE public.billing_trading_language OWNER TO dev_postgres; + +-- +-- Name: billing_trading_language_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.billing_trading_language_seq + START WITH 3 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.billing_trading_language_seq OWNER TO dev_postgres; + +-- +-- Name: billing_user_account; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.billing_user_account ( + status character varying(10), + status_date timestamp without time zone, + subscription_date timestamp without time zone, + termination_date timestamp without time zone, + id bigint NOT NULL, + billing_account_id bigint, + termin_reason_id bigint, + wallet_id bigint +); + + +ALTER TABLE public.billing_user_account OWNER TO dev_postgres; + +-- +-- Name: billing_wallet; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.billing_wallet ( + id bigint NOT NULL, + version integer, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + code character varying(255) NOT NULL, + description character varying(255), + expiry_date timestamp without time zone, + next_matching_date timestamp without time zone, + creator character varying(100), + updater character varying(100), + user_account_id bigint, + cat_wallet_template_id bigint, + low_balance_level numeric(23,12), + reject_level numeric(23,12) +); + + +ALTER TABLE public.billing_wallet OWNER TO dev_postgres; + +-- +-- Name: billing_wallet_operation; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.billing_wallet_operation ( + id bigint NOT NULL, + operation_type character varying(31) NOT NULL, + version integer, + created timestamp without time zone, + updated timestamp without time zone, + code character varying(255) NOT NULL, + description character varying(255), + amount_tax numeric(23,12), + amount_with_tax numeric(23,12), + amount_without_tax numeric(23,12), + end_date timestamp without time zone, + offer_code character varying(255), + operation_date timestamp without time zone, + parameter_1 character varying(255), + parameter_2 character varying(255), + parameter_3 character varying(255), + quantity numeric(23,12), + start_date timestamp without time zone, + status character varying(255) NOT NULL, + subscription_date timestamp without time zone, + tax_percent numeric(23,12) NOT NULL, + credit_debit_flag character varying(255), + unit_amount_tax numeric(23,12), + unit_amount_with_tax numeric(23,12), + unit_amount_without_tax numeric(23,12), + charge_instance_id bigint NOT NULL, + counter_id bigint, + currency_id bigint, + priceplan_id bigint, + reratedwalletoperation_id bigint, + seller_id bigint NOT NULL, + wallet_id bigint, + reservation_id bigint, + invoicing_date timestamp without time zone, + input_quantity numeric(23,12), + input_unit_description character varying(20), + rating_unit_description character varying(20), + edr_id bigint, + order_number character varying(100), + parameter_extra text, + raw_amount_without_tax numeric(23,12), + raw_amount_with_tax numeric(23,12), + invoice_sub_category_id bigint, + subscription_id bigint, + tax_id bigint NOT NULL, + rated_transaction_id bigint, + service_instance_id bigint, + offer_id bigint, + input_unitofmeasure bigint, + rating_unitofmeasure bigint, + tax_class_id bigint, + uuid character varying(60) NOT NULL, + cf_values text, + cf_values_accum text, + sort_index integer +) +PARTITION BY LIST (status); + + +ALTER TABLE public.billing_wallet_operation OWNER TO dev_postgres; + +-- +-- Name: billing_wallet_operation_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.billing_wallet_operation_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.billing_wallet_operation_seq OWNER TO dev_postgres; + +-- +-- Name: billing_wallet_operation_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: dev_postgres +-- + +ALTER SEQUENCE public.billing_wallet_operation_seq OWNED BY public.billing_wallet_operation.id; + + +-- +-- Name: billing_wallet_operation_open; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.billing_wallet_operation_open ( + id bigint DEFAULT nextval('public.billing_wallet_operation_seq'::regclass) NOT NULL, + operation_type character varying(31) NOT NULL, + version integer, + created timestamp without time zone, + updated timestamp without time zone, + code character varying(255) NOT NULL, + description character varying(255), + amount_tax numeric(23,12), + amount_with_tax numeric(23,12), + amount_without_tax numeric(23,12), + end_date timestamp without time zone, + offer_code character varying(255), + operation_date timestamp without time zone, + parameter_1 character varying(255), + parameter_2 character varying(255), + parameter_3 character varying(255), + quantity numeric(23,12), + start_date timestamp without time zone, + status character varying(255) NOT NULL, + subscription_date timestamp without time zone, + tax_percent numeric(23,12) NOT NULL, + credit_debit_flag character varying(255), + unit_amount_tax numeric(23,12), + unit_amount_with_tax numeric(23,12), + unit_amount_without_tax numeric(23,12), + charge_instance_id bigint NOT NULL, + counter_id bigint, + currency_id bigint, + priceplan_id bigint, + reratedwalletoperation_id bigint, + seller_id bigint NOT NULL, + wallet_id bigint, + reservation_id bigint, + invoicing_date timestamp without time zone, + input_quantity numeric(23,12), + input_unit_description character varying(20), + rating_unit_description character varying(20), + edr_id bigint, + order_number character varying(100), + parameter_extra text, + raw_amount_without_tax numeric(23,12), + raw_amount_with_tax numeric(23,12), + invoice_sub_category_id bigint, + subscription_id bigint, + tax_id bigint NOT NULL, + rated_transaction_id bigint, + service_instance_id bigint, + offer_id bigint, + input_unitofmeasure bigint, + rating_unitofmeasure bigint, + tax_class_id bigint, + uuid character varying(60) NOT NULL, + cf_values text, + cf_values_accum text, + sort_index integer +); + + +ALTER TABLE public.billing_wallet_operation_open OWNER TO dev_postgres; + +-- +-- Name: billing_wallet_operation_other; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.billing_wallet_operation_other ( + id bigint DEFAULT nextval('public.billing_wallet_operation_seq'::regclass) NOT NULL, + operation_type character varying(31) NOT NULL, + version integer, + created timestamp without time zone, + updated timestamp without time zone, + code character varying(255) NOT NULL, + description character varying(255), + amount_tax numeric(23,12), + amount_with_tax numeric(23,12), + amount_without_tax numeric(23,12), + end_date timestamp without time zone, + offer_code character varying(255), + operation_date timestamp without time zone, + parameter_1 character varying(255), + parameter_2 character varying(255), + parameter_3 character varying(255), + quantity numeric(23,12), + start_date timestamp without time zone, + status character varying(255) NOT NULL, + subscription_date timestamp without time zone, + tax_percent numeric(23,12) NOT NULL, + credit_debit_flag character varying(255), + unit_amount_tax numeric(23,12), + unit_amount_with_tax numeric(23,12), + unit_amount_without_tax numeric(23,12), + charge_instance_id bigint NOT NULL, + counter_id bigint, + currency_id bigint, + priceplan_id bigint, + reratedwalletoperation_id bigint, + seller_id bigint NOT NULL, + wallet_id bigint, + reservation_id bigint, + invoicing_date timestamp without time zone, + input_quantity numeric(23,12), + input_unit_description character varying(20), + rating_unit_description character varying(20), + edr_id bigint, + order_number character varying(100), + parameter_extra text, + raw_amount_without_tax numeric(23,12), + raw_amount_with_tax numeric(23,12), + invoice_sub_category_id bigint, + subscription_id bigint, + tax_id bigint NOT NULL, + rated_transaction_id bigint, + service_instance_id bigint, + offer_id bigint, + input_unitofmeasure bigint, + rating_unitofmeasure bigint, + tax_class_id bigint, + uuid character varying(60) NOT NULL, + cf_values text, + cf_values_accum text, + sort_index integer +); + + +ALTER TABLE public.billing_wallet_operation_other OWNER TO dev_postgres; + +-- +-- Name: billing_wallet_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.billing_wallet_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.billing_wallet_seq OWNER TO dev_postgres; + +-- +-- Name: cat_bundle_product_template; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.cat_bundle_product_template ( + id bigint NOT NULL, + product_template_id bigint, + bundle_template_id bigint, + quantity integer +); + + +ALTER TABLE public.cat_bundle_product_template OWNER TO dev_postgres; + +-- +-- Name: cat_bundle_product_template_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.cat_bundle_product_template_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.cat_bundle_product_template_seq OWNER TO dev_postgres; + +-- +-- Name: cat_business_offer_model; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.cat_business_offer_model ( + id bigint NOT NULL, + offer_template_id bigint +); + + +ALTER TABLE public.cat_business_offer_model OWNER TO dev_postgres; + +-- +-- Name: cat_business_product_model; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.cat_business_product_model ( + id bigint NOT NULL, + product_template_id bigint +); + + +ALTER TABLE public.cat_business_product_model OWNER TO dev_postgres; + +-- +-- Name: cat_business_serv_model; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.cat_business_serv_model ( + id bigint NOT NULL, + service_template_id bigint, + duplicate_service integer DEFAULT 0 NOT NULL, + duplicate_price_plan integer DEFAULT 0 NOT NULL +); + + +ALTER TABLE public.cat_business_serv_model OWNER TO dev_postgres; + +-- +-- Name: cat_calendar; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.cat_calendar ( + cal_type character varying(31) NOT NULL, + id bigint NOT NULL, + version integer, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + code character varying(255) NOT NULL, + description character varying(255), + nb_periods integer, + period_length integer, + period_unit integer, + calendar timestamp without time zone, + join_type character varying(255), + interval_type character varying(255), + creator character varying(100), + updater character varying(100), + join_cal_1_id bigint, + join_cal_2_id bigint, + start_date date, + end_date date, + weekend_begin integer, + weekend_end integer +); + + +ALTER TABLE public.cat_calendar OWNER TO dev_postgres; + +-- +-- Name: cat_calendar_days; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.cat_calendar_days ( + calendar_id bigint NOT NULL, + day_id bigint NOT NULL +); + + +ALTER TABLE public.cat_calendar_days OWNER TO dev_postgres; + +-- +-- Name: cat_calendar_holiday; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.cat_calendar_holiday ( + id bigint NOT NULL, + version integer, + holiday_begin integer NOT NULL, + holiday_end integer NOT NULL, + calendar_id bigint NOT NULL +); + + +ALTER TABLE public.cat_calendar_holiday OWNER TO dev_postgres; + +-- +-- Name: cat_calendar_holiday_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.cat_calendar_holiday_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.cat_calendar_holiday_seq OWNER TO dev_postgres; + +-- +-- Name: cat_calendar_hours; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.cat_calendar_hours ( + calendar_id bigint NOT NULL, + hour_id bigint NOT NULL +); + + +ALTER TABLE public.cat_calendar_hours OWNER TO dev_postgres; + +-- +-- Name: cat_calendar_interval; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.cat_calendar_interval ( + id bigint NOT NULL, + version integer, + interval_begin integer NOT NULL, + interval_end integer NOT NULL, + calendar_id bigint NOT NULL +); + + +ALTER TABLE public.cat_calendar_interval OWNER TO dev_postgres; + +-- +-- Name: cat_calendar_interval_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.cat_calendar_interval_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.cat_calendar_interval_seq OWNER TO dev_postgres; + +-- +-- Name: cat_calendar_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.cat_calendar_seq + START WITH 4 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.cat_calendar_seq OWNER TO dev_postgres; + +-- +-- Name: cat_channel; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.cat_channel ( + id bigint NOT NULL, + version integer, + disabled integer DEFAULT 0 NOT NULL, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + code character varying(255) NOT NULL, + description character varying(255), + creator character varying(100), + updater character varying(100) +); + + +ALTER TABLE public.cat_channel OWNER TO dev_postgres; + +-- +-- Name: cat_channel_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.cat_channel_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.cat_channel_seq OWNER TO dev_postgres; + +-- +-- Name: cat_charge_template; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.cat_charge_template ( + id bigint NOT NULL, + version integer, + disabled integer DEFAULT 0 NOT NULL, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + code character varying(255) NOT NULL, + description character varying(255), + amount_editable integer, + credit_debit_flag integer, + creator character varying(100), + updater character varying(100), + invoice_sub_category bigint NOT NULL, + input_unit_description character varying(20), + rating_unit_description character varying(20), + unit_multiplicator numeric(23,12), + unit_nb_decimal integer, + uuid character varying(60) NOT NULL, + rounding_mode character varying(255) DEFAULT 'NEAREST'::character varying, + revenue_recog_rule_id bigint, + cf_values text, + cf_values_accum text, + description_i18n text, + charge_type character varying(5), + filter_expression character varying(2000), + filter_param_1 character varying(255), + filter_param_2 character varying(255), + filter_param_3 character varying(255), + filter_param_4 character varying(255), + filter_el_sp character varying(2000), + priority integer DEFAULT 1, + trigger_next_charge integer DEFAULT 0, + trigger_next_charge_el character varying(2000), + apply_in_advance integer, + duration_term_in_month integer, + recurrence_type character varying(255), + share_level character varying(20), + subscription_prorata integer, + termination_prorata integer, + calendar_id bigint, + subscription_prorata_el character varying(2000), + termination_prorata_el character varying(2000), + apply_in_advance_el character varying(2000), + duration_term_in_month_el character varying(2000), + calendar_code_el character varying(2000), + immediate_invoicing integer DEFAULT 0, + type character varying(255), + prorata_on_price_change integer DEFAULT 0, + input_unitofmeasure bigint, + rating_unitofmeasure bigint, + input_unit_el character varying(2000), + output_unit_el character varying(2000), + tax_class_id bigint NOT NULL, + tax_class_el character varying(2000), + tax_class_el_sp character varying(2000), + drop_zero_wo integer DEFAULT 0, + rating_script_id bigint, + sort_index_el character varying(2000) +); + + +ALTER TABLE public.cat_charge_template OWNER TO dev_postgres; + +-- +-- Name: cat_charge_template_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.cat_charge_template_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.cat_charge_template_seq OWNER TO dev_postgres; + +-- +-- Name: cat_chrg_edr; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.cat_chrg_edr ( + charge_tmpl_id bigint NOT NULL, + trigg_edr_id bigint NOT NULL +); + + +ALTER TABLE public.cat_chrg_edr OWNER TO dev_postgres; + +-- +-- Name: cat_counter_template; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.cat_counter_template ( + id bigint NOT NULL, + version integer, + disabled integer DEFAULT 0 NOT NULL, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + code character varying(255) NOT NULL, + description character varying(255), + counter_level character varying(255) DEFAULT 'UA'::character varying NOT NULL, + counter_type character varying(255) DEFAULT 'USAGE'::character varying NOT NULL, + level_num numeric(35,12), + unity_description character varying(20), + creator character varying(100), + updater character varying(100), + calendar_id bigint, + ceiling_expression_el character varying(2000), + notification_levels character varying(70), + is_accumulator integer DEFAULT 0, + calendar_code_el character varying(2000), + accumulator_type character varying(35), + filter_el character varying(2000), + key_el character varying(2000), + value_el character varying(2000) +); + + +ALTER TABLE public.cat_counter_template OWNER TO dev_postgres; + +-- +-- Name: cat_counter_template_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.cat_counter_template_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.cat_counter_template_seq OWNER TO dev_postgres; + +-- +-- Name: cat_day_in_year; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.cat_day_in_year ( + id bigint NOT NULL, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + version integer, + day integer, + month character varying(20), + creator character varying(100), + updater character varying(100) +); + + +ALTER TABLE public.cat_day_in_year OWNER TO dev_postgres; + +-- +-- Name: cat_day_in_year_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.cat_day_in_year_seq + START WITH 367 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.cat_day_in_year_seq OWNER TO dev_postgres; + +-- +-- Name: cat_digital_resource; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.cat_digital_resource ( + id bigint NOT NULL, + version integer, + disabled integer DEFAULT 0 NOT NULL, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + code character varying(255) NOT NULL, + description character varying(255), + creator character varying(100), + updater character varying(100), + uri character varying(255), + mime_type character varying(50) +); + + +ALTER TABLE public.cat_digital_resource OWNER TO dev_postgres; + +-- +-- Name: cat_digital_resource_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.cat_digital_resource_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.cat_digital_resource_seq OWNER TO dev_postgres; + +-- +-- Name: cat_discount_plan; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.cat_discount_plan ( + id bigint NOT NULL, + version integer, + disabled integer DEFAULT 0 NOT NULL, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + code character varying(255) NOT NULL, + description character varying(255), + max_duration integer, + min_duration integer, + creator character varying(100), + updater character varying(100), + uuid character varying(60) NOT NULL, + cf_values text, + cf_values_accum text, + start_date date, + end_date date, + default_duration integer, + duration_unit character varying(50) +); + + +ALTER TABLE public.cat_discount_plan OWNER TO dev_postgres; + +-- +-- Name: cat_discount_plan_item; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.cat_discount_plan_item ( + id bigint NOT NULL, + version integer, + disabled integer DEFAULT 0 NOT NULL, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + accounting_code character varying(255), + code character varying(255) NOT NULL, + discount_value numeric(23,12), + creator character varying(100), + updater character varying(100), + discount_plan_id bigint NOT NULL, + invoice_category_id bigint, + invoice_sub_category_id bigint, + expression_el character varying(2000), + expression_el_sp character varying(2000), + discount_value_el character varying(2000), + discount_value_el_sp character varying(2000), + discount_plan_item_type character varying(25), + uuid character varying(60) NOT NULL, + cf_values text, + cf_values_accum text +); + + +ALTER TABLE public.cat_discount_plan_item OWNER TO dev_postgres; + +-- +-- Name: cat_discount_plan_item_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.cat_discount_plan_item_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.cat_discount_plan_item_seq OWNER TO dev_postgres; + +-- +-- Name: cat_discount_plan_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.cat_discount_plan_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.cat_discount_plan_seq OWNER TO dev_postgres; + +-- +-- Name: cat_hour_in_day; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.cat_hour_in_day ( + id bigint NOT NULL, + version integer, + hour integer, + min integer +); + + +ALTER TABLE public.cat_hour_in_day OWNER TO dev_postgres; + +-- +-- Name: cat_hour_in_day_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.cat_hour_in_day_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.cat_hour_in_day_seq OWNER TO dev_postgres; + +-- +-- Name: cat_offer_product_template; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.cat_offer_product_template ( + id bigint NOT NULL, + offer_template_id bigint, + product_template_id bigint, + mandatory integer DEFAULT 0 NOT NULL +); + + +ALTER TABLE public.cat_offer_product_template OWNER TO dev_postgres; + +-- +-- Name: cat_offer_product_template_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.cat_offer_product_template_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.cat_offer_product_template_seq OWNER TO dev_postgres; + +-- +-- Name: cat_offer_serv_incomp; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.cat_offer_serv_incomp ( + offer_service_template_id bigint NOT NULL, + service_template_id bigint NOT NULL +); + + +ALTER TABLE public.cat_offer_serv_incomp OWNER TO dev_postgres; + +-- +-- Name: cat_offer_serv_templates; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.cat_offer_serv_templates ( + offer_template_id bigint NOT NULL, + service_template_id bigint NOT NULL, + id bigint NOT NULL, + mandatory integer DEFAULT 0 NOT NULL, + valid_from timestamp without time zone, + valid_to timestamp without time zone +); + + +ALTER TABLE public.cat_offer_serv_templates OWNER TO dev_postgres; + +-- +-- Name: cat_offer_serv_templt_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.cat_offer_serv_templt_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.cat_offer_serv_templt_seq OWNER TO dev_postgres; + +-- +-- Name: cat_offer_template; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.cat_offer_template ( + id bigint NOT NULL, + version integer, + disabled integer DEFAULT 0 NOT NULL, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + code character varying(255) NOT NULL, + description character varying(255), + creator character varying(100), + updater character varying(100), + uuid character varying(60) NOT NULL, + bom_code character varying(60), + termination_script_instance_id bigint, + subscription_script_instance_id bigint, + name character varying(100), + entity_version integer, + status character varying(50), + business_offer_model_id bigint, + valid_from timestamp without time zone, + valid_to timestamp without time zone, + long_description text, + life_cycle_status character varying(60), + type character varying(20) DEFAULT 'OFFER'::character varying NOT NULL, + product_charge_tmpl_id bigint, + business_product_model_id bigint, + invoicing_calendar_id bigint, + image_path character varying(100), + cf_values text, + cf_values_accum text, + auto_renew integer DEFAULT 0 NOT NULL, + days_notify_renew integer, + end_of_term_action character varying(10), + auto_termin_reason_id bigint, + init_active_unit character varying(5), + init_active integer, + match_end_aggr_date integer DEFAULT 0 NOT NULL, + renew_for_unit character varying(5), + renew_for integer, + description_i18n text, + long_description_i18n text, + script_instance_id bigint, + minimum_amount_el character varying(2000), + minimum_amount_el_sp character varying(2000), + minimum_label_el character varying(2000), + minimum_label_el_sp character varying(2000), + initial_term_type character varying(20) DEFAULT 'RECURRING'::character varying, + auto_end_of_engagement integer, + auto_renew_date timestamp without time zone, + calendar_init_active_id bigint, + calendar_renew_for_id bigint, + renewal_term_type character varying(20), + minimum_invoice_sub_category_id bigint, + minimum_charge_template_id bigint +); + + +ALTER TABLE public.cat_offer_template OWNER TO dev_postgres; + +-- +-- Name: cat_offer_template_category; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.cat_offer_template_category ( + id bigint NOT NULL, + version integer, + disabled integer DEFAULT 0 NOT NULL, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + creator character varying(100), + updater character varying(100), + code character varying(255) NOT NULL, + description character varying(255), + uuid character varying(60) NOT NULL, + name character varying(100) NOT NULL, + offer_template_category_id bigint, + level integer, + image_path character varying(100), + cf_values text, + cf_values_accum text +); + + +ALTER TABLE public.cat_offer_template_category OWNER TO dev_postgres; + +-- +-- Name: cat_offer_template_category_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.cat_offer_template_category_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.cat_offer_template_category_seq OWNER TO dev_postgres; + +-- +-- Name: cat_offer_template_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.cat_offer_template_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.cat_offer_template_seq OWNER TO dev_postgres; + +-- +-- Name: cat_offer_tmpl_discount_plan; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.cat_offer_tmpl_discount_plan ( + offer_tmpl_id bigint NOT NULL, + discount_plan_id bigint NOT NULL +); + + +ALTER TABLE public.cat_offer_tmpl_discount_plan OWNER TO dev_postgres; + +-- +-- Name: cat_price_plan_matrix; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.cat_price_plan_matrix ( + id bigint NOT NULL, + version integer, + disabled integer DEFAULT 0 NOT NULL, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + code character varying(255) NOT NULL, + description character varying(255), + amount_with_tax numeric(35,12), + amount_without_tax numeric(35,12), + criteria_1 character varying(255), + criteria_2 character varying(255), + criteria_3 character varying(255), + criteria_el character varying(2000), + criteria_el_sp character varying(2000), + end_rating_date timestamp without time zone, + end_subscription_date timestamp without time zone, + event_code character varying(255) NOT NULL, + max_quantity numeric(35,12), + max_subscr_age bigint, + min_quantity numeric(35,12), + min_subscr_age bigint, + priority integer DEFAULT 1, + start_rating_date timestamp without time zone, + start_subscription_date timestamp without time zone, + creator character varying(100), + updater character varying(100), + offer_id bigint, + seller_id bigint, + trading_country_id bigint, + trading_currency_id bigint, + valid_cal_id bigint, + amount_without_tax_el text, + amount_without_tax_el_sp text, + amount_with_tax_el text, + amount_with_tax_el_sp text, + sequence bigint, + uuid character varying(60) NOT NULL, + script_instance_id bigint, + cf_values text, + cf_values_accum text, + description_i18n text, + wo_description_el text, + wo_description_el_sp text, + invoice_subcategory_el text, + total_amount_el text, + minimum_amount_el text, + total_amount_el_sp text, + minimum_amount_el_sp text, + validity_from timestamp without time zone, + validity_date timestamp without time zone, + parameter1_el character varying(2000), + parameter2_el character varying(2000), + parameter3_el character varying(2000) +); + + +ALTER TABLE public.cat_price_plan_matrix OWNER TO dev_postgres; + +-- +-- Name: cat_price_plan_matrix_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.cat_price_plan_matrix_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.cat_price_plan_matrix_seq OWNER TO dev_postgres; + +-- +-- Name: cat_product_offer_bam; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.cat_product_offer_bam ( + product_id bigint NOT NULL, + bam_id bigint NOT NULL, + indx integer NOT NULL +); + + +ALTER TABLE public.cat_product_offer_bam OWNER TO dev_postgres; + +-- +-- Name: cat_product_offer_channels; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.cat_product_offer_channels ( + product_id bigint NOT NULL, + channel_id bigint NOT NULL, + indx integer NOT NULL +); + + +ALTER TABLE public.cat_product_offer_channels OWNER TO dev_postgres; + +-- +-- Name: cat_product_offer_customer_category; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.cat_product_offer_customer_category ( + product_id bigint NOT NULL, + customer_category_id bigint NOT NULL, + indx integer NOT NULL +); + + +ALTER TABLE public.cat_product_offer_customer_category OWNER TO dev_postgres; + +-- +-- Name: cat_product_offer_digital_res; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.cat_product_offer_digital_res ( + product_id bigint NOT NULL, + digital_resource_id bigint NOT NULL, + indx integer NOT NULL +); + + +ALTER TABLE public.cat_product_offer_digital_res OWNER TO dev_postgres; + +-- +-- Name: cat_product_offer_seller; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.cat_product_offer_seller ( + product_id bigint NOT NULL, + seller_id bigint NOT NULL +); + + +ALTER TABLE public.cat_product_offer_seller OWNER TO dev_postgres; + +-- +-- Name: cat_product_offer_tmpl_cat; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.cat_product_offer_tmpl_cat ( + product_id bigint NOT NULL, + offer_template_cat_id bigint NOT NULL, + indx integer NOT NULL +); + + +ALTER TABLE public.cat_product_offer_tmpl_cat OWNER TO dev_postgres; + +-- +-- Name: cat_product_templ_charge_templ; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.cat_product_templ_charge_templ ( + product_charge_template_id bigint NOT NULL, + product_template_id bigint NOT NULL +); + + +ALTER TABLE public.cat_product_templ_charge_templ OWNER TO dev_postgres; + +-- +-- Name: cat_product_wallet_template; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.cat_product_wallet_template ( + product_template_id bigint NOT NULL, + wallet_template_id bigint NOT NULL, + indx integer NOT NULL +); + + +ALTER TABLE public.cat_product_wallet_template OWNER TO dev_postgres; + +-- +-- Name: cat_serv_rec_charge_template; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.cat_serv_rec_charge_template ( + id bigint NOT NULL, + version integer, + charge_template_id bigint, + service_template_id bigint, + counter_template_id bigint +); + + +ALTER TABLE public.cat_serv_rec_charge_template OWNER TO dev_postgres; + +-- +-- Name: cat_serv_rec_counter_template; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.cat_serv_rec_counter_template ( + service_rec_templt_id bigint NOT NULL, + counter_template_id bigint NOT NULL, + indx integer NOT NULL +); + + +ALTER TABLE public.cat_serv_rec_counter_template OWNER TO dev_postgres; + +-- +-- Name: cat_serv_rec_wallet_template; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.cat_serv_rec_wallet_template ( + service_rec_templt_id bigint NOT NULL, + wallet_template_id bigint NOT NULL, + indx integer NOT NULL +); + + +ALTER TABLE public.cat_serv_rec_wallet_template OWNER TO dev_postgres; + +-- +-- Name: cat_serv_recchrg_templt_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.cat_serv_recchrg_templt_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.cat_serv_recchrg_templt_seq OWNER TO dev_postgres; + +-- +-- Name: cat_serv_sub_charge_template; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.cat_serv_sub_charge_template ( + id bigint NOT NULL, + version integer, + charge_template_id bigint, + service_template_id bigint, + counter_template_id bigint +); + + +ALTER TABLE public.cat_serv_sub_charge_template OWNER TO dev_postgres; + +-- +-- Name: cat_serv_sub_counter_template; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.cat_serv_sub_counter_template ( + service_sub_templt_id bigint NOT NULL, + counter_template_id bigint NOT NULL, + indx integer NOT NULL +); + + +ALTER TABLE public.cat_serv_sub_counter_template OWNER TO dev_postgres; + +-- +-- Name: cat_serv_sub_wallet_template; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.cat_serv_sub_wallet_template ( + service_sub_templt_id bigint NOT NULL, + wallet_template_id bigint NOT NULL, + indx integer NOT NULL +); + + +ALTER TABLE public.cat_serv_sub_wallet_template OWNER TO dev_postgres; + +-- +-- Name: cat_serv_subchrg_templt_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.cat_serv_subchrg_templt_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.cat_serv_subchrg_templt_seq OWNER TO dev_postgres; + +-- +-- Name: cat_serv_trm_charge_template; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.cat_serv_trm_charge_template ( + id bigint NOT NULL, + version integer, + charge_template_id bigint, + service_template_id bigint, + counter_template_id bigint +); + + +ALTER TABLE public.cat_serv_trm_charge_template OWNER TO dev_postgres; + +-- +-- Name: cat_serv_trm_counter_template; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.cat_serv_trm_counter_template ( + service_trm_templt_id bigint NOT NULL, + counter_template_id bigint NOT NULL, + indx integer NOT NULL +); + + +ALTER TABLE public.cat_serv_trm_counter_template OWNER TO dev_postgres; + +-- +-- Name: cat_serv_trm_wallet_template; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.cat_serv_trm_wallet_template ( + service_trm_templt_id bigint NOT NULL, + wallet_template_id bigint NOT NULL, + indx integer NOT NULL +); + + +ALTER TABLE public.cat_serv_trm_wallet_template OWNER TO dev_postgres; + +-- +-- Name: cat_serv_trmchrg_templt_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.cat_serv_trmchrg_templt_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.cat_serv_trmchrg_templt_seq OWNER TO dev_postgres; + +-- +-- Name: cat_serv_usage_charge_template; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.cat_serv_usage_charge_template ( + id bigint NOT NULL, + version integer, + charge_template_id bigint, + service_template_id bigint, + counter_template_id bigint +); + + +ALTER TABLE public.cat_serv_usage_charge_template OWNER TO dev_postgres; + +-- +-- Name: cat_serv_usage_counter_template; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.cat_serv_usage_counter_template ( + service_usage_templt_id bigint NOT NULL, + counter_template_id bigint NOT NULL, + indx integer NOT NULL +); + + +ALTER TABLE public.cat_serv_usage_counter_template OWNER TO dev_postgres; + +-- +-- Name: cat_serv_usage_wallet_template; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.cat_serv_usage_wallet_template ( + service_usage_templt_id bigint NOT NULL, + wallet_template_id bigint NOT NULL, + indx integer NOT NULL +); + + +ALTER TABLE public.cat_serv_usage_wallet_template OWNER TO dev_postgres; + +-- +-- Name: cat_serv_usagechrg_templt_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.cat_serv_usagechrg_templt_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.cat_serv_usagechrg_templt_seq OWNER TO dev_postgres; + +-- +-- Name: cat_service_template; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.cat_service_template ( + id bigint NOT NULL, + version integer, + disabled integer DEFAULT 0 NOT NULL, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + code character varying(255) NOT NULL, + description character varying(255), + creator character varying(100), + updater character varying(100), + invoicing_calendar_id bigint, + uuid character varying(60) NOT NULL, + termination_script_instance_id bigint, + activation_script_instance_id bigint, + business_service_model_id bigint, + long_description text, + image_path character varying(100), + cf_values text, + cf_values_accum text, + minimum_amount_el character varying(2000), + minimum_amount_el_sp character varying(2000), + minimum_label_el character varying(2000), + minimum_label_el_sp character varying(2000), + auto_renew integer DEFAULT 0 NOT NULL, + days_notify_renew integer, + end_of_term_action character varying(10), + auto_termin_reason_id bigint, + init_active_unit character varying(5), + init_active integer, + match_end_aggr_date integer DEFAULT 0 NOT NULL, + renew_for_unit character varying(5), + renew_for integer, + initial_term_type character varying(20) DEFAULT 'RECURRING'::character varying, + auto_end_of_engagement integer, + auto_renew_date timestamp without time zone, + calendar_init_active_id bigint, + calendar_renew_for_id bigint, + renewal_term_type character varying(20), + minimum_invoice_sub_category_id bigint, + minimum_charge_template_id bigint +); + + +ALTER TABLE public.cat_service_template OWNER TO dev_postgres; + +-- +-- Name: cat_service_template_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.cat_service_template_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.cat_service_template_seq OWNER TO dev_postgres; + +-- +-- Name: cat_triggered_edr; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.cat_triggered_edr ( + id bigint NOT NULL, + version integer, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + code character varying(255) NOT NULL, + description character varying(255), + condition_el character varying(2000), + param_1_el text, + param_1_el_sp text, + param_2_el text, + param_2_el_sp text, + param_3_el text, + param_3_el_sp text, + param_4_el text, + param_4_el_sp text, + quantity_el text, + quantity_el_sp text, + subscription_el text, + subscription_el_sp text, + creator character varying(100), + updater character varying(100), + meveo_instance_id bigint, + condition_el_sp text, + triggered_edr_script_instance_id bigint, + opencell_instance_el text +); + + +ALTER TABLE public.cat_triggered_edr OWNER TO dev_postgres; + +-- +-- Name: cat_triggered_edr_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.cat_triggered_edr_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.cat_triggered_edr_seq OWNER TO dev_postgres; + +-- +-- Name: cat_unit_of_measure; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.cat_unit_of_measure ( + id bigint NOT NULL, + version integer, + creator character varying(100), + updater character varying(100), + code character varying(255), + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + symbol character varying(100) NOT NULL, + description character varying(100), + description_i18n text, + multiplicator bigint DEFAULT 1 NOT NULL, + parent_id bigint +); + + +ALTER TABLE public.cat_unit_of_measure OWNER TO dev_postgres; + +-- +-- Name: cat_unit_of_measure_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.cat_unit_of_measure_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.cat_unit_of_measure_seq OWNER TO dev_postgres; + +-- +-- Name: cat_wallet_template; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.cat_wallet_template ( + id bigint NOT NULL, + version integer, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + code character varying(255) NOT NULL, + description character varying(255), + consumption_alert_set integer DEFAULT 0 NOT NULL, + fast_rating_level integer, + wallet_type character varying(255), + creator character varying(100), + updater character varying(100), + low_balance_level numeric(23,12), + reject_level numeric(23,12) +); + + +ALTER TABLE public.cat_wallet_template OWNER TO dev_postgres; + +-- +-- Name: cat_wallet_template_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.cat_wallet_template_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.cat_wallet_template_seq OWNER TO dev_postgres; + +-- +-- Name: com_campaign; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.com_campaign ( + id bigint NOT NULL, + version integer, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + code character varying(255) NOT NULL, + description character varying(255), + end_date timestamp without time zone, + media character varying(255), + priority integer, + thread_id integer, + schedule_date timestamp without time zone, + start_date timestamp without time zone, + status character varying(255), + sub_media character varying(255), + use_any_media integer, + creator character varying(100), + updater character varying(100) +); + + +ALTER TABLE public.com_campaign OWNER TO dev_postgres; + +-- +-- Name: com_campaign_crm_contact_tag; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.com_campaign_crm_contact_tag ( + campaign_id bigint NOT NULL, + tag character varying(100) NOT NULL +); + + +ALTER TABLE public.com_campaign_crm_contact_tag OWNER TO dev_postgres; + +-- +-- Name: com_campaign_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.com_campaign_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.com_campaign_seq OWNER TO dev_postgres; + +-- +-- Name: com_communication_entity; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.com_communication_entity ( + id bigint NOT NULL, + version integer, + name character varying(50), + description character varying(255), + type character varying(50) +); + + +ALTER TABLE public.com_communication_entity OWNER TO dev_postgres; + +-- +-- Name: com_communication_entity_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.com_communication_entity_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.com_communication_entity_seq OWNER TO dev_postgres; + +-- +-- Name: com_contact; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.com_contact ( + id bigint NOT NULL, + version integer, + nb_max_day bigint, + nb_max_month bigint, + nb_max_week bigint, + delay_min bigint, + email character varying(255) NOT NULL, + assistant_name character varying(50), + assistant_phone character varying(15), + "position" character varying(200), + company character varying(200), + phone character varying(50), + mobile character varying(50), + imported_from character varying(50), + imported_by character varying(50), + social_identifier character varying(2000), + is_vip integer DEFAULT 0, + is_prospect integer DEFAULT 1, + website_url character varying(255), + agreed_ua integer DEFAULT 0, + address_book_id bigint +); + + +ALTER TABLE public.com_contact OWNER TO dev_postgres; + +-- +-- Name: com_contact_com_message; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.com_contact_com_message ( + com_contact_id bigint NOT NULL, + messages_id bigint NOT NULL +); + + +ALTER TABLE public.com_contact_com_message OWNER TO dev_postgres; + +-- +-- Name: com_contact_coords; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.com_contact_coords ( + media character varying(31) NOT NULL, + id bigint NOT NULL, + version integer, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + code character varying(255) NOT NULL, + description character varying(255), + email character varying(255), + creator character varying(100), + updater character varying(100) +); + + +ALTER TABLE public.com_contact_coords OWNER TO dev_postgres; + +-- +-- Name: com_contact_coords_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.com_contact_coords_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.com_contact_coords_seq OWNER TO dev_postgres; + +-- +-- Name: com_contact_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.com_contact_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.com_contact_seq OWNER TO dev_postgres; + +-- +-- Name: com_contact_tag; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.com_contact_tag ( + contact_id bigint NOT NULL, + tag character varying(100) NOT NULL +); + + +ALTER TABLE public.com_contact_tag OWNER TO dev_postgres; + +-- +-- Name: com_message; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.com_message ( + id bigint NOT NULL, + version integer, + media character varying(255), + priority character varying(255), + rejection_reason character varying(255), + status character varying(255), + sub_media character varying(255), + templatecode character varying(255), + campaign_id bigint, + contact_id bigint +); + + +ALTER TABLE public.com_message OWNER TO dev_postgres; + +-- +-- Name: com_message_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.com_message_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.com_message_seq OWNER TO dev_postgres; + +-- +-- Name: com_message_template; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.com_message_template ( + media character varying(31) NOT NULL, + id bigint NOT NULL, + version integer, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + code character varying(255) NOT NULL, + description character varying(255), + end_date timestamp without time zone, + start_date timestamp without time zone, + tag_end character varying(255), + tag_start character varying(255), + type character varying(255), + htmlcontent text, + subject character varying(255), + textcontent text, + jasper_filename character varying(255), + creator character varying(100), + updater character varying(100) +); + + +ALTER TABLE public.com_message_template OWNER TO dev_postgres; + +-- +-- Name: com_meveo_instance; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.com_meveo_instance ( + id bigint NOT NULL, + version integer, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + code character varying(255) NOT NULL, + description character varying(255), + as_vendor character varying(255), + as_version character varying(255), + creation_date timestamp without time zone, + hd_size character varying(255), + installation_mode character varying(255), + java_vendor character varying(255), + java_version character varying(255), + java_vm_name character varying(255), + java_vm_version character varying(255), + key_entreprise character varying(255), + mac_address character varying(255), + machine_vendor character varying(255), + md5 character varying(255), + memory character varying(255), + nb_cores character varying(255), + os_arch character varying(255), + os_name character varying(255), + ps_version character varying(255), + owner character varying(255), + product_name character varying(255), + product_version character varying(255), + status character varying(255), + update_date timestamp without time zone, + creator character varying(100), + updater character varying(100), + user_id bigint, + customer_id bigint, + url character varying(255) DEFAULT 'http://'::character varying NOT NULL, + auth_username character varying(60), + auth_password character varying(60) +); + + +ALTER TABLE public.com_meveo_instance OWNER TO dev_postgres; + +-- +-- Name: com_meveo_instance_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.com_meveo_instance_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.com_meveo_instance_seq OWNER TO dev_postgres; + +-- +-- Name: com_msg_tmpl_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.com_msg_tmpl_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.com_msg_tmpl_seq OWNER TO dev_postgres; + +-- +-- Name: com_msg_tmpl_var_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.com_msg_tmpl_var_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.com_msg_tmpl_var_seq OWNER TO dev_postgres; + +-- +-- Name: com_msg_tmpl_variable; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.com_msg_tmpl_variable ( + id bigint NOT NULL, + version integer, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + code character varying(255) NOT NULL, + description character varying(255), + mandatory integer DEFAULT 0 NOT NULL, + creator character varying(100), + updater character varying(100), + template_id bigint +); + + +ALTER TABLE public.com_msg_tmpl_variable OWNER TO dev_postgres; + +-- +-- Name: com_msg_var_val_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.com_msg_var_val_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.com_msg_var_val_seq OWNER TO dev_postgres; + +-- +-- Name: com_msg_var_value; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.com_msg_var_value ( + id bigint NOT NULL, + version integer, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + code character varying(255) NOT NULL, + description character varying(255), + value character varying(255), + creator character varying(100), + updater character varying(100), + message bigint +); + + +ALTER TABLE public.com_msg_var_value OWNER TO dev_postgres; + +-- +-- Name: com_prov_pol_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.com_prov_pol_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.com_prov_pol_seq OWNER TO dev_postgres; + +-- +-- Name: com_provider_policy; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.com_provider_policy ( + id bigint NOT NULL, + version integer, + nb_max_day bigint, + nb_max_month bigint, + nb_max_week bigint, + delay_min bigint +); + + +ALTER TABLE public.com_provider_policy OWNER TO dev_postgres; + +-- +-- Name: com_sender_config; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.com_sender_config ( + media character varying(31) NOT NULL, + id bigint NOT NULL, + version integer, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + code character varying(255) NOT NULL, + description character varying(255), + non_distrib_email character varying(255), + ack_email character varying(255), + priority character varying(255), + manage_non_distrib integer, + nb_max_day bigint, + nb_max_month bigint, + nb_max_week bigint, + delay_min bigint, + use_ack integer, + stamptype character varying(255), + addaddressfrontpage integer DEFAULT 0 NOT NULL, + envelopformat character varying(255), + printrectoverso integer DEFAULT 0 NOT NULL, + address_1 character varying(255), + address_2 character varying(255), + address_3 character varying(255), + address_city character varying(50), + address_country_id bigint, + address_state character varying(50), + address_zipcode character varying(10), + usecolor integer DEFAULT 0 NOT NULL, + windowtype character varying(255), + smtp_host character varying(255), + smtp_port integer, + default_from_email character varying(255), + default_reply_email character varying(255), + login character varying(50), + password character varying(50), + use_ssl integer, + creator character varying(100), + updater character varying(100) +); + + +ALTER TABLE public.com_sender_config OWNER TO dev_postgres; + +-- +-- Name: com_sndr_conf_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.com_sndr_conf_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.com_sndr_conf_seq OWNER TO dev_postgres; + +-- +-- Name: crm_additional_details; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.crm_additional_details ( + id bigint NOT NULL, + version integer, + company_name character varying(200), + "position" character varying(200), + instant_messengers character varying(2000) +); + + +ALTER TABLE public.crm_additional_details OWNER TO dev_postgres; + +-- +-- Name: crm_additional_details_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.crm_additional_details_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.crm_additional_details_seq OWNER TO dev_postgres; + +-- +-- Name: crm_address_book; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.crm_address_book ( + id bigint NOT NULL, + code character varying(255) NOT NULL, + description character varying(255), + version integer, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + creator character varying(100), + updater character varying(100) +); + + +ALTER TABLE public.crm_address_book OWNER TO dev_postgres; + +-- +-- Name: crm_address_book_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.crm_address_book_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.crm_address_book_seq OWNER TO dev_postgres; + +-- +-- Name: crm_business_account_model; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.crm_business_account_model ( + id bigint NOT NULL, + hierarchy_type character varying(20) NOT NULL +); + + +ALTER TABLE public.crm_business_account_model OWNER TO dev_postgres; + +-- +-- Name: crm_custom_action; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.crm_custom_action ( + id bigint NOT NULL, + version integer, + disabled integer DEFAULT 0 NOT NULL, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + creator character varying(100), + updater character varying(100), + code character varying(255) NOT NULL, + description character varying(255), + applies_to character varying(100) NOT NULL, + applicable_on_el character varying(2000), + label character varying(50), + script_instance_id bigint NOT NULL, + gui_position character varying(2000), + label_i18n text +); + + +ALTER TABLE public.crm_custom_action OWNER TO dev_postgres; + +-- +-- Name: crm_custom_action_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.crm_custom_action_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.crm_custom_action_seq OWNER TO dev_postgres; + +-- +-- Name: crm_custom_field_tmpl; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.crm_custom_field_tmpl ( + id bigint NOT NULL, + version integer, + disabled integer DEFAULT 0 NOT NULL, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + code character varying(255) NOT NULL, + description character varying(255), + field_type character varying(255) NOT NULL, + value_required integer DEFAULT 0 NOT NULL, + creator character varying(100), + updater character varying(100), + versionable integer DEFAULT 0 NOT NULL, + calendar_id bigint, + default_value character varying(250), + entity_clazz character varying(255), + storage_type character varying(255) NOT NULL, + trigger_end_period_event integer DEFAULT 0 NOT NULL, + applies_to character varying(100) NOT NULL, + gui_position character varying(2000), + allow_edit integer DEFAULT 1 NOT NULL, + hide_on_new integer DEFAULT 0 NOT NULL, + max_value bigint, + min_value bigint, + reg_exp character varying(80), + mapkey_type character varying(20), + applicable_on_el character varying(2000), + che_fields character varying(500), + index_type character varying(17), + inh_as_def_value integer DEFAULT 0 NOT NULL, + tags character varying(2000), + description_i18n text, + cf_protectable integer DEFAULT 0, + display_format character varying(80), + nb_decimal integer, + rounding_mode character varying(50), + unique_constraint integer DEFAULT 0, + custom_table_code_el character varying(2000), + data_filter_el character varying(2000), + fields_el character varying(2000), + anonymize_gdpr integer DEFAULT 0 NOT NULL +); + + +ALTER TABLE public.crm_custom_field_tmpl OWNER TO dev_postgres; + +-- +-- Name: crm_custom_field_tmpl_mcols; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.crm_custom_field_tmpl_mcols ( + cft_id bigint NOT NULL, + "position" integer NOT NULL, + code character varying(20) NOT NULL, + label character varying(50) NOT NULL, + key_type integer NOT NULL, + column_use integer DEFAULT 0 NOT NULL +); + + +ALTER TABLE public.crm_custom_field_tmpl_mcols OWNER TO dev_postgres; + +-- +-- Name: crm_custom_field_tmpl_val; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.crm_custom_field_tmpl_val ( + customfieldtemplate_id bigint NOT NULL, + listvalues character varying(255), + listvalues_key character varying(255) NOT NULL +); + + +ALTER TABLE public.crm_custom_field_tmpl_val OWNER TO dev_postgres; + +-- +-- Name: crm_custom_fld_tmp_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.crm_custom_fld_tmp_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.crm_custom_fld_tmp_seq OWNER TO dev_postgres; + +-- +-- Name: crm_customer; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.crm_customer ( + id bigint NOT NULL, + customer_brand_id bigint, + customer_category_id bigint, + seller_id bigint, + additional_details_id bigint, + address_book_id bigint, + minimum_target_account_id bigint, + invoicing_threshold numeric(23,12), + check_threshold character varying(25) +); + + +ALTER TABLE public.crm_customer OWNER TO dev_postgres; + +-- +-- Name: crm_customer_brand; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.crm_customer_brand ( + id bigint NOT NULL, + version integer, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + code character varying(255) NOT NULL, + description character varying(255), + creator character varying(100), + updater character varying(100) +); + + +ALTER TABLE public.crm_customer_brand OWNER TO dev_postgres; + +-- +-- Name: crm_customer_brand_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.crm_customer_brand_seq + START WITH 2 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.crm_customer_brand_seq OWNER TO dev_postgres; + +-- +-- Name: crm_customer_category; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.crm_customer_category ( + id bigint NOT NULL, + version integer, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + code character varying(255) NOT NULL, + description character varying(255), + exonerated_from_taxes integer DEFAULT 0 NOT NULL, + creator character varying(100), + updater character varying(100), + exoneration_tax_el character varying(2000), + exoneration_tax_el_sp character varying(2000), + exoneration_reason character varying(255), + cf_values_accum text, + cf_values text, + uuid character varying(60) NOT NULL, + accounting_code_id bigint, + tax_category_id bigint, + tax_category_el character varying(2000), + tax_category_el_sp character varying(2000) +); + + +ALTER TABLE public.crm_customer_category OWNER TO dev_postgres; + +-- +-- Name: crm_customer_category_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.crm_customer_category_seq + START WITH 3 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.crm_customer_category_seq OWNER TO dev_postgres; + +-- +-- Name: crm_customer_sequence; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.crm_customer_sequence ( + id bigint NOT NULL, + version integer, + disabled integer DEFAULT 0 NOT NULL, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + creator character varying(100), + updater character varying(100), + code character varying(255) NOT NULL, + description character varying(255), + prefix character varying(255), + sequence_size bigint, + current_sequence_nb bigint, + seller_id bigint +); + + +ALTER TABLE public.crm_customer_sequence OWNER TO dev_postgres; + +-- +-- Name: crm_customer_sequence_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.crm_customer_sequence_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.crm_customer_sequence_seq OWNER TO dev_postgres; + +-- +-- Name: crm_email; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.crm_email ( + id bigint NOT NULL, + version integer, + email character varying(255) +); + + +ALTER TABLE public.crm_email OWNER TO dev_postgres; + +-- +-- Name: crm_email_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.crm_email_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.crm_email_seq OWNER TO dev_postgres; + +-- +-- Name: crm_provider; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.crm_provider ( + id bigint NOT NULL, + version integer, + disabled integer DEFAULT 0 NOT NULL, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + code character varying(255) NOT NULL, + description character varying(255), + amount_validation integer DEFAULT 0 NOT NULL, + automatic_invoicing integer DEFAULT 0 NOT NULL, + account_number character varying(11), + account_owner character varying(50), + bank_code character varying(5), + bank_id character varying(50), + bank_name character varying(50), + bic character varying(100), + branch_code character varying(5), + iban character varying(100), + ics character varying(35), + issuer_name character varying(50), + issuer_number character varying(50), + hash_key character varying(2), + discount_accounting_code character varying(255), + display_free_tx_in_invoice integer DEFAULT 0 NOT NULL, + email character varying(100), + entreprise integer DEFAULT 0 NOT NULL, + address_1 character varying(255), + address_2 character varying(255), + address_3 character varying(255), + address_city character varying(50), + address_country_id bigint, + address_state character varying(50), + address_zipcode character varying(10), + center_code character varying(255), + creditor_code character varying(255), + financial_institution_code character varying(255), + nne character varying(255), + level_duplication integer DEFAULT 0 NOT NULL, + multicountry_flag integer DEFAULT 0 NOT NULL, + multicurrency_flag integer DEFAULT 0 NOT NULL, + multilanguage_flag integer DEFAULT 0 NOT NULL, + prepaid_resrv_delay_ms bigint, + creator character varying(100), + updater character varying(100), + billing_account_id bigint, + country_id bigint, + currency_id bigint, + customer_id bigint, + customer_account_id bigint, + language_id bigint, + user_account_id bigint, + credit_note_prefix character varying(255), + current_credit_note_nb bigint, + credit_note_sequence_size integer, + uuid character varying(60) NOT NULL, + recognize_revenue integer DEFAULT 0 NOT NULL, + cf_values text, + cf_values_accum text, + rating_rounding integer DEFAULT 2 NOT NULL, + rounding_mode character varying(50) DEFAULT 'NEAREST'::character varying NOT NULL, + invoice_rounding integer DEFAULT 2 NOT NULL, + invoice_rounding_mode character varying(50) DEFAULT 'NEAREST'::character varying NOT NULL, + rum_prefix character varying(255), + rum_sequence_size bigint, + rum_current_sequence_nb bigint, + cust_no_prefix character varying(255), + cust_no_sequence_size bigint, + cust_no_current_sequence_nb bigint, + invoice_config_id bigint, + gdpr_config_id bigint +); + + +ALTER TABLE public.crm_provider OWNER TO dev_postgres; + +-- +-- Name: crm_provider_contact; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.crm_provider_contact ( + id bigint NOT NULL, + version integer, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + code character varying(255) NOT NULL, + description character varying(255), + address_1 character varying(255), + address_2 character varying(255), + address_3 character varying(255), + address_city character varying(50), + address_country_id bigint, + address_state character varying(50), + address_zipcode character varying(10), + email character varying(100), + fax character varying(50), + firstname character varying(50), + generic_mail character varying(100), + lastname character varying(50), + mobile character varying(50), + phone character varying(50), + creator character varying(100), + updater character varying(100) +); + + +ALTER TABLE public.crm_provider_contact OWNER TO dev_postgres; + +-- +-- Name: crm_provider_contact_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.crm_provider_contact_seq + START WITH 2 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.crm_provider_contact_seq OWNER TO dev_postgres; + +-- +-- Name: crm_provider_pay_methods; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.crm_provider_pay_methods ( + provider_id bigint, + payment_method character varying(255) +); + + +ALTER TABLE public.crm_provider_pay_methods OWNER TO dev_postgres; + +-- +-- Name: crm_provider_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.crm_provider_seq + START WITH 2 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.crm_provider_seq OWNER TO dev_postgres; + +-- +-- Name: crm_seller; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.crm_seller ( + id bigint NOT NULL, + parent_seller_id bigint, + trading_country_id bigint, + trading_currency_id bigint, + trading_language_id bigint, + credit_note_prefix character varying(255), + current_credit_note_nb bigint, + credit_note_sequence_size integer, + registration_no character varying(100), + legal_text text, + legal_type character varying(255), + general_ledger_id bigint +); + + +ALTER TABLE public.crm_seller OWNER TO dev_postgres; + +-- +-- Name: crm_seller_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.crm_seller_seq + START WITH 4 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.crm_seller_seq OWNER TO dev_postgres; + +-- +-- Name: cust_cei; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.cust_cei ( + id bigint NOT NULL, + version integer, + disabled integer DEFAULT 0 NOT NULL, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + description character varying(255), + code character varying(255), + creator character varying(100), + updater character varying(100), + cet_code character varying(255) NOT NULL, + uuid character varying(60) NOT NULL, + parent_uuid character varying(60), + cf_values text, + cf_values_accum text +); + + +ALTER TABLE public.cust_cei OWNER TO dev_postgres; + +-- +-- Name: cust_cei_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.cust_cei_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.cust_cei_seq OWNER TO dev_postgres; + +-- +-- Name: cust_cet; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.cust_cet ( + id bigint NOT NULL, + version integer, + disabled integer DEFAULT 0 NOT NULL, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + description character varying(255), + code character varying(255), + creator character varying(100), + updater character varying(100), + name character varying(100) NOT NULL, + store_as_table integer DEFAULT 0, + unique_constraint_name character varying(120) DEFAULT '0'::character varying +); + + +ALTER TABLE public.cust_cet OWNER TO dev_postgres; + +-- +-- Name: cust_cet_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.cust_cet_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.cust_cet_seq OWNER TO dev_postgres; + +-- +-- Name: databasechangelog; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.databasechangelog ( + id character varying(255) NOT NULL, + author character varying(255) NOT NULL, + filename character varying(255) NOT NULL, + dateexecuted timestamp without time zone NOT NULL, + orderexecuted integer NOT NULL, + exectype character varying(10) NOT NULL, + md5sum character varying(35), + description character varying(255), + comments character varying(255), + tag character varying(255), + liquibase character varying(20), + contexts character varying(255), + labels character varying(255), + deployment_id character varying(10) +); + + +ALTER TABLE public.databasechangelog OWNER TO dev_postgres; + +-- +-- Name: databasechangeloglock; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.databasechangeloglock ( + id integer NOT NULL, + locked boolean NOT NULL, + lockgranted timestamp without time zone, + lockedby character varying(255) +); + + +ALTER TABLE public.databasechangeloglock OWNER TO dev_postgres; + +-- +-- Name: dunning_document; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.dunning_document ( + id bigint NOT NULL, + code character varying(255), + description character varying(255), + version integer, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + creator character varying(100), + updater character varying(100), + customer_account_id bigint, + billing_subscription_id bigint +); + + +ALTER TABLE public.dunning_document OWNER TO dev_postgres; + +-- +-- Name: dunning_document_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.dunning_document_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.dunning_document_seq OWNER TO dev_postgres; + +-- +-- Name: dwh_account_operation; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.dwh_account_operation ( + id bigint NOT NULL, + account_code character varying(50), + account_description character varying(255), + accounting_code_id bigint, + accounting_code_client_side character varying(255), + amount numeric(19,2), + category integer DEFAULT 0, + due_date date, + due_month integer, + occ_code character varying(10), + occ_description character varying(255), + provider_code character varying(20), + reference character varying(50), + status integer DEFAULT 0, + transaction_date date, + type integer DEFAULT 0, + version integer +); + + +ALTER TABLE public.dwh_account_operation OWNER TO dev_postgres; + +-- +-- Name: dwh_account_operation_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.dwh_account_operation_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.dwh_account_operation_seq OWNER TO dev_postgres; + +-- +-- Name: dwh_chart; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.dwh_chart ( + id bigint NOT NULL, + version integer, + disabled integer DEFAULT 0 NOT NULL, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + code character varying(255) NOT NULL, + description character varying(255), + extender character varying(255), + css_style character varying(1000), + css_style_class character varying(255), + creator character varying(100), + updater character varying(100), + msr_qty_id bigint, + role_id bigint, + width character varying(10), + height character varying(10), + visible integer DEFAULT 0 +); + + +ALTER TABLE public.dwh_chart OWNER TO dev_postgres; + +-- +-- Name: dwh_chart_bar; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.dwh_chart_bar ( + animate integer DEFAULT 0 NOT NULL, + barmargin integer NOT NULL, + barpadding integer NOT NULL, + break_on_null integer DEFAULT 0 NOT NULL, + data_tip_format character varying(255), + legend_cols integer, + legend_position character varying(255), + legend_rows integer, + max double precision, + min double precision, + orientation integer, + show_data_tip integer DEFAULT 0 NOT NULL, + stacked integer DEFAULT 0 NOT NULL, + x_axis_angle integer, + x_axis_label character varying(255), + y_axis_angle integer, + y_axis_label character varying(255), + zoom integer DEFAULT 0 NOT NULL, + id bigint NOT NULL +); + + +ALTER TABLE public.dwh_chart_bar OWNER TO dev_postgres; + +-- +-- Name: dwh_chart_line; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.dwh_chart_line ( + animate integer DEFAULT 0 NOT NULL, + break_on_null integer DEFAULT 0 NOT NULL, + data_tip_format character varying(255), + filled integer DEFAULT 0 NOT NULL, + legend_cols integer, + legend_position character varying(255), + legend_rows integer, + max_x integer, + max_y integer, + min_x integer, + min_y integer, + series_colors character varying(1000), + shadow integer DEFAULT 1 NOT NULL, + show_data_tip integer DEFAULT 0 NOT NULL, + stacked integer DEFAULT 0 NOT NULL, + x_axis_angle integer, + x_axis_label character varying(255), + y_axis_angle integer, + y_axis_label character varying(255), + zoom integer DEFAULT 0 NOT NULL, + id bigint NOT NULL +); + + +ALTER TABLE public.dwh_chart_line OWNER TO dev_postgres; + +-- +-- Name: dwh_chart_pie; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.dwh_chart_pie ( + diameter integer, + filled integer DEFAULT 0 NOT NULL, + legend_cols integer, + legend_position character varying(255), + legend_rows integer, + series_colors character varying(1000), + shadow integer DEFAULT 1 NOT NULL, + show_data_labels integer DEFAULT 0 NOT NULL, + slice_margin integer, + id bigint NOT NULL +); + + +ALTER TABLE public.dwh_chart_pie OWNER TO dev_postgres; + +-- +-- Name: dwh_chart_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.dwh_chart_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.dwh_chart_seq OWNER TO dev_postgres; + +-- +-- Name: dwh_journal_entries; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.dwh_journal_entries ( + id bigint NOT NULL, + accounting_code_id bigint, + amount_tax numeric(23,12), + amount_with_tax numeric(23,12), + amount_without_tax numeric(23,12), + customer_account_code character varying(20), + invoice_date date, + invoice_number character varying(20), + origin_id bigint, + provider_code character varying(20), + sub_cat_desc character varying(50), + tax_code character varying(10), + tax_description character varying(20), + tax_percent numeric(19,2), + type character varying(255), + version integer +); + + +ALTER TABLE public.dwh_journal_entries OWNER TO dev_postgres; + +-- +-- Name: dwh_journal_entries_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.dwh_journal_entries_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.dwh_journal_entries_seq OWNER TO dev_postgres; + +-- +-- Name: dwh_measurable_quant; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.dwh_measurable_quant ( + id bigint NOT NULL, + version integer, + disabled integer DEFAULT 0 NOT NULL, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + code character varying(255) NOT NULL, + description character varying(255), + dimension_1 character varying(255), + dimension_2 character varying(255), + dimension_3 character varying(255), + dimension_4 character varying(255), + editable integer DEFAULT 0 NOT NULL, + last_measure_date timestamp without time zone, + measurement_period character varying(255), + sql_query text, + theme character varying(255), + creator character varying(100), + updater character varying(100), + additive integer DEFAULT 0 NOT NULL, + description_i18n text +); + + +ALTER TABLE public.dwh_measurable_quant OWNER TO dev_postgres; + +-- +-- Name: dwh_measurable_quant_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.dwh_measurable_quant_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.dwh_measurable_quant_seq OWNER TO dev_postgres; + +-- +-- Name: dwh_measured_value; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.dwh_measured_value ( + id bigint NOT NULL, + version integer, + date timestamp without time zone, + measurement_period character varying(255), + value numeric(23,12), + measurable_quantity bigint, + dimension_1 character varying(255), + dimension_2 character varying(255), + dimension_3 character varying(255), + dimension_4 character varying(255), + code character varying(255) NOT NULL +); + + +ALTER TABLE public.dwh_measured_value OWNER TO dev_postgres; + +-- +-- Name: dwh_measured_value_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.dwh_measured_value_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.dwh_measured_value_seq OWNER TO dev_postgres; + +-- +-- Name: dwh_report_extract; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.dwh_report_extract ( + id bigint NOT NULL, + version integer, + disabled integer DEFAULT 0 NOT NULL, + creator character varying(100), + updater character varying(100), + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + code character varying(255) NOT NULL, + description character varying(255), + category character varying(50), + script_type character varying(10) NOT NULL, + filename_format character varying(100) NOT NULL, + sql_query text, + script_instance_id bigint, + result_type character varying(10), + style text, + image_path character varying(100), + uuid character varying(60) NOT NULL, + cf_values text, + cf_values_accum text, + output_dir character varying(255) +); + + +ALTER TABLE public.dwh_report_extract OWNER TO dev_postgres; + +-- +-- Name: dwh_report_extract_execution; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.dwh_report_extract_execution ( + id bigint NOT NULL, + version integer, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + creator character varying(100), + updater character varying(100), + report_extract_id bigint NOT NULL, + start_date timestamp without time zone, + end_date timestamp without time zone, + file_path character varying(100), + line_count integer, + origin character varying(20), + error_message text, + status boolean +); + + +ALTER TABLE public.dwh_report_extract_execution OWNER TO dev_postgres; + +-- +-- Name: dwh_report_extract_execution_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.dwh_report_extract_execution_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.dwh_report_extract_execution_seq OWNER TO dev_postgres; + +-- +-- Name: dwh_report_extract_params; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.dwh_report_extract_params ( + reportextract_id bigint NOT NULL, + params character varying(255), + params_key character varying(255) NOT NULL +); + + +ALTER TABLE public.dwh_report_extract_params OWNER TO dev_postgres; + +-- +-- Name: dwh_report_extract_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.dwh_report_extract_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.dwh_report_extract_seq OWNER TO dev_postgres; + +-- +-- Name: flat_file; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.flat_file ( + id bigint NOT NULL, + version integer, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + creator character varying(100), + updater character varying(100), + code character varying(255), + description character varying(255), + status character varying(255), + file_format_id bigint, + processed integer DEFAULT 0, + error_message text, + lines_in_success integer, + lines_in_warning integer, + lines_in_error integer, + processing_attempts integer, + flat_file_job_code character varying(255), + file_original_name character varying(255), + file_current_name character varying(255), + current_directory character varying(255) +); + + +ALTER TABLE public.flat_file OWNER TO dev_postgres; + +-- +-- Name: flat_file_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.flat_file_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.flat_file_seq OWNER TO dev_postgres; + +-- +-- Name: ftp_transferred_file; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.ftp_transferred_file ( + id bigint NOT NULL, + version integer, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + creator character varying(100), + updater character varying(100), + code character varying(255) NOT NULL, + description character varying(255), + uri character varying(2000) NOT NULL, + size bigint, + transfer_date timestamp without time zone, + last_modification timestamp without time zone, + operation character varying(100) DEFAULT 'IMPORT'::character varying +); + + +ALTER TABLE public.ftp_transferred_file OWNER TO dev_postgres; + +-- +-- Name: ftp_transferred_file_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.ftp_transferred_file_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.ftp_transferred_file_seq OWNER TO dev_postgres; + +-- +-- Name: hierarchy_entity; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.hierarchy_entity ( + id bigint NOT NULL, + version integer, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + code character varying(255) NOT NULL, + description character varying(255), + hierarchy_type character varying(10), + parent_id bigint, + order_level bigint, + creator character varying(100), + updater character varying(100) +); + + +ALTER TABLE public.hierarchy_entity OWNER TO dev_postgres; + +-- +-- Name: hierarchy_entity_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.hierarchy_entity_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.hierarchy_entity_seq OWNER TO dev_postgres; + +-- +-- Name: job_execution; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.job_execution ( + id bigint NOT NULL, + version integer, + job_done integer DEFAULT 1 NOT NULL, + end_date timestamp without time zone, + nb_success bigint, + nb_error bigint, + nb_warning bigint, + nb_to_process bigint, + report text, + start_date timestamp without time zone, + job_launcher character varying(255), + job_instance_id bigint NOT NULL +); + + +ALTER TABLE public.job_execution OWNER TO dev_postgres; + +-- +-- Name: job_execution_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.job_execution_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.job_execution_seq OWNER TO dev_postgres; + +-- +-- Name: job_execution_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: dev_postgres +-- + +ALTER SEQUENCE public.job_execution_seq OWNED BY public.job_execution.id; + + +-- +-- Name: medina_access; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.medina_access ( + id bigint NOT NULL, + version integer, + disabled integer DEFAULT 0 NOT NULL, + acces_user_id character varying(255), + end_date timestamp without time zone, + start_date timestamp without time zone, + subscription_id bigint, + uuid character varying(60) NOT NULL, + creator character varying(100), + updater character varying(100), + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + cf_values text, + cf_values_accum text +); + + +ALTER TABLE public.medina_access OWNER TO dev_postgres; + +-- +-- Name: medina_access_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.medina_access_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.medina_access_seq OWNER TO dev_postgres; + +-- +-- Name: meveo_and_composite_filter_condition; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.meveo_and_composite_filter_condition ( + id bigint NOT NULL, + version integer +); + + +ALTER TABLE public.meveo_and_composite_filter_condition OWNER TO dev_postgres; + +-- +-- Name: meveo_filter; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.meveo_filter ( + id bigint NOT NULL, + version integer, + disabled integer DEFAULT 0 NOT NULL, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + code character varying(255) NOT NULL, + description character varying(255), + creator character varying(100), + updater character varying(100), + filter_condition_id bigint, + order_condition_id bigint, + primary_selector_id bigint, + input_xml text, + shared integer DEFAULT 0, + uuid character varying(60) NOT NULL, + cf_values text, + cf_values_accum text +); + + +ALTER TABLE public.meveo_filter OWNER TO dev_postgres; + +-- +-- Name: meveo_filter_condition; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.meveo_filter_condition ( + id bigint NOT NULL, + version integer, + composite_and_filter_condition_id bigint, + composite_or_filter_condition_id bigint, + filter_condition_type character varying(50) NOT NULL +); + + +ALTER TABLE public.meveo_filter_condition OWNER TO dev_postgres; + +-- +-- Name: meveo_filter_condition_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.meveo_filter_condition_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.meveo_filter_condition_seq OWNER TO dev_postgres; + +-- +-- Name: meveo_filter_oc_field_names; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.meveo_filter_oc_field_names ( + field_name character varying(100) NOT NULL, + order_condition_id bigint NOT NULL +); + + +ALTER TABLE public.meveo_filter_oc_field_names OWNER TO dev_postgres; + +-- +-- Name: meveo_filter_order_condition; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.meveo_filter_order_condition ( + id bigint NOT NULL, + version integer, + ascending integer DEFAULT 0 NOT NULL +); + + +ALTER TABLE public.meveo_filter_order_condition OWNER TO dev_postgres; + +-- +-- Name: meveo_filter_order_condition_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.meveo_filter_order_condition_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.meveo_filter_order_condition_seq OWNER TO dev_postgres; + +-- +-- Name: meveo_filter_selector; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.meveo_filter_selector ( + id bigint NOT NULL, + version integer, + target_entity character varying(100) NOT NULL, + alias character varying(50), + filter_id bigint +); + + +ALTER TABLE public.meveo_filter_selector OWNER TO dev_postgres; + +-- +-- Name: meveo_filter_selector_display_fields; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.meveo_filter_selector_display_fields ( + filter_selector_id bigint NOT NULL, + display_field character varying(100) NOT NULL +); + + +ALTER TABLE public.meveo_filter_selector_display_fields OWNER TO dev_postgres; + +-- +-- Name: meveo_filter_selector_export_fields; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.meveo_filter_selector_export_fields ( + filter_selector_id bigint NOT NULL, + export_field character varying(100) NOT NULL +); + + +ALTER TABLE public.meveo_filter_selector_export_fields OWNER TO dev_postgres; + +-- +-- Name: meveo_filter_selector_ignore_fields; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.meveo_filter_selector_ignore_fields ( + filter_selector_id bigint NOT NULL, + ignored_field character varying(100) NOT NULL +); + + +ALTER TABLE public.meveo_filter_selector_ignore_fields OWNER TO dev_postgres; + +-- +-- Name: meveo_filter_selector_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.meveo_filter_selector_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.meveo_filter_selector_seq OWNER TO dev_postgres; + +-- +-- Name: meveo_filter_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.meveo_filter_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.meveo_filter_seq OWNER TO dev_postgres; + +-- +-- Name: meveo_job_instance; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.meveo_job_instance ( + id bigint NOT NULL, + version integer, + disabled integer DEFAULT 0 NOT NULL, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + code character varying(255) NOT NULL, + description character varying(255), + job_category character varying(255), + job_template character varying(255) NOT NULL, + parametres character varying(255), + creator character varying(100), + updater character varying(100), + timerentity_id bigint, + following_job_id bigint, + uuid character varying(60) NOT NULL, + run_on_nodes character varying(100), + single_node integer DEFAULT 1, + cf_values text, + cf_values_accum text, + exclude_inv_without_amount integer DEFAULT 0, + verbose_report integer DEFAULT 1 +); + + +ALTER TABLE public.meveo_job_instance OWNER TO dev_postgres; + +-- +-- Name: meveo_job_instance_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.meveo_job_instance_seq + START WITH 12 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.meveo_job_instance_seq OWNER TO dev_postgres; + +-- +-- Name: meveo_metrics_config; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.meveo_metrics_config ( + id bigint NOT NULL, + code character varying(100) NOT NULL, + description text, + full_path text, + method text, + metrics_type text, + metrics_unit text, + version integer, + updated timestamp without time zone, + created timestamp without time zone NOT NULL, + creator character varying(100), + updater character varying(100) +); + + +ALTER TABLE public.meveo_metrics_config OWNER TO dev_postgres; + +-- +-- Name: meveo_metrics_config_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.meveo_metrics_config_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.meveo_metrics_config_seq OWNER TO dev_postgres; + +-- +-- Name: meveo_module; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.meveo_module ( + id bigint NOT NULL, + version integer, + disabled integer DEFAULT 0 NOT NULL, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + creator character varying(100), + updater character varying(100), + code character varying(255) NOT NULL, + description character varying(255), + module_license character varying(20) NOT NULL, + logo_picture character varying(255), + script_instance_id bigint, + installed integer DEFAULT 0 NOT NULL, + module_source text +); + + +ALTER TABLE public.meveo_module OWNER TO dev_postgres; + +-- +-- Name: meveo_module_item; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.meveo_module_item ( + id bigint NOT NULL, + version integer, + module_id bigint, + applies_to character varying(100), + item_type character varying(100) NOT NULL, + item_code character varying(255) NOT NULL, + valid_from timestamp without time zone, + valid_to timestamp without time zone +); + + +ALTER TABLE public.meveo_module_item OWNER TO dev_postgres; + +-- +-- Name: meveo_module_item_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.meveo_module_item_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.meveo_module_item_seq OWNER TO dev_postgres; + +-- +-- Name: meveo_module_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.meveo_module_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.meveo_module_seq OWNER TO dev_postgres; + +-- +-- Name: meveo_native_filter_condition; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.meveo_native_filter_condition ( + id bigint NOT NULL, + version integer, + el character varying(2000), + jpql character varying(2000) +); + + +ALTER TABLE public.meveo_native_filter_condition OWNER TO dev_postgres; + +-- +-- Name: meveo_native_filter_condition_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.meveo_native_filter_condition_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.meveo_native_filter_condition_seq OWNER TO dev_postgres; + +-- +-- Name: meveo_or_composite_filter_condition; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.meveo_or_composite_filter_condition ( + id bigint NOT NULL, + version integer +); + + +ALTER TABLE public.meveo_or_composite_filter_condition OWNER TO dev_postgres; + +-- +-- Name: meveo_primitive_filter_condition; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.meveo_primitive_filter_condition ( + id bigint NOT NULL, + version integer, + field_name character varying(60), + operator character varying(60), + operand character varying(255) +); + + +ALTER TABLE public.meveo_primitive_filter_condition OWNER TO dev_postgres; + +-- +-- Name: meveo_primitive_filter_condition_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.meveo_primitive_filter_condition_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.meveo_primitive_filter_condition_seq OWNER TO dev_postgres; + +-- +-- Name: meveo_script_instance; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.meveo_script_instance ( + id bigint NOT NULL, + version integer, + disabled integer DEFAULT 0 NOT NULL, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + code character varying(255) NOT NULL, + description character varying(255), + script text, + script_instance_cat_id bigint, + creator character varying(100), + updater character varying(100), + src_type character varying(100), + is_error integer DEFAULT 0, + reuse integer DEFAULT 0 +); + + +ALTER TABLE public.meveo_script_instance OWNER TO dev_postgres; + +-- +-- Name: meveo_script_instance_cat; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.meveo_script_instance_cat ( + id bigint NOT NULL, + version integer, + disabled integer DEFAULT 0 NOT NULL, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + code character varying(255) NOT NULL, + description character varying(255), + creator character varying(100), + updater character varying(100) +); + + +ALTER TABLE public.meveo_script_instance_cat OWNER TO dev_postgres; + +-- +-- Name: meveo_script_instance_cat_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.meveo_script_instance_cat_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.meveo_script_instance_cat_seq OWNER TO dev_postgres; + +-- +-- Name: meveo_script_instance_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.meveo_script_instance_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.meveo_script_instance_seq OWNER TO dev_postgres; + +-- +-- Name: meveo_timer; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.meveo_timer ( + id bigint NOT NULL, + version integer, + sc_d_o_month character varying(255) NOT NULL, + sc_d_o_week character varying(255) NOT NULL, + sc_end timestamp without time zone, + sc_hour character varying(255) NOT NULL, + sc_min character varying(255) NOT NULL, + sc_month character varying(255) NOT NULL, + sc_sec character varying(255) NOT NULL, + sc_start timestamp without time zone, + sc_year character varying(255) NOT NULL, + code character varying(255) NOT NULL, + description character varying(255), + created timestamp without time zone NOT NULL, + creator character varying(100), + updated timestamp without time zone, + updater character varying(100), + disabled integer DEFAULT 0 NOT NULL +); + + +ALTER TABLE public.meveo_timer OWNER TO dev_postgres; + +-- +-- Name: meveo_timer_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.meveo_timer_seq + START WITH 2 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.meveo_timer_seq OWNER TO dev_postgres; + +-- +-- Name: ord_item_offerings; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.ord_item_offerings ( + order_item_id bigint NOT NULL, + prd_offering_id bigint NOT NULL, + id bigint NOT NULL, + item_order integer NOT NULL +); + + +ALTER TABLE public.ord_item_offerings OWNER TO dev_postgres; + +-- +-- Name: ord_item_offerings_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.ord_item_offerings_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.ord_item_offerings_seq OWNER TO dev_postgres; + +-- +-- Name: ord_item_prd_instance; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.ord_item_prd_instance ( + order_item_id bigint NOT NULL, + prd_instance_id bigint NOT NULL +); + + +ALTER TABLE public.ord_item_prd_instance OWNER TO dev_postgres; + +-- +-- Name: ord_order; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.ord_order ( + id bigint NOT NULL, + version integer, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + creator character varying(100), + updater character varying(100), + code character varying(255) NOT NULL, + description character varying(255), + external_id character varying(100), + delivery_instructions text, + order_date timestamp without time zone NOT NULL, + req_start_date timestamp without time zone, + req_completion_date timestamp without time zone, + exp_completion_date timestamp without time zone, + completion_date timestamp without time zone, + priority integer DEFAULT 2, + category character varying(200), + status character varying(20) NOT NULL, + status_message character varying(2000), + routed_to_user_group_id bigint, + received_from character varying(50), + start_date timestamp without time zone, + uuid character varying(60) NOT NULL, + due_date_delay_el character varying(2000), + due_date_delay_el_sp character varying(2000), + payment_method_id bigint, + cf_values text, + cf_values_accum text, + quote_id bigint, + billing_cycle bigint, + billing_run bigint, + order_number character varying(255), + mailing_type character varying(255), + cced_emails character varying(2000), + email character varying(255), + electronic_billing integer DEFAULT 0 NOT NULL, + email_template_id bigint +); + + +ALTER TABLE public.ord_order OWNER TO dev_postgres; + +-- +-- Name: ord_order_history; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.ord_order_history ( + id bigint NOT NULL, + version integer, + order_item_id bigint, + service_instance_id bigint, + action character varying(25) NOT NULL, + event_date timestamp without time zone NOT NULL, + order_number character varying(100) +); + + +ALTER TABLE public.ord_order_history OWNER TO dev_postgres; + +-- +-- Name: ord_order_history_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.ord_order_history_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.ord_order_history_seq OWNER TO dev_postgres; + +-- +-- Name: ord_order_item; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.ord_order_item ( + id bigint NOT NULL, + version integer, + order_id bigint NOT NULL, + item_id character varying(10) NOT NULL, + action character varying(10) NOT NULL, + user_account_id bigint, + source text NOT NULL, + status character varying(20) NOT NULL, + subscription_id bigint, + description character varying(255), + address_1 character varying(255), + address_2 character varying(255), + address_3 character varying(255), + address_city character varying(50), + address_country_id bigint, + address_state character varying(50), + address_zipcode character varying(10), + code character varying(255) NOT NULL, + created timestamp without time zone, + updated timestamp without time zone, + creator character varying(100), + updater character varying(100), + uuid character varying(60) NOT NULL, + cf_values text, + cf_values_accum text +); + + +ALTER TABLE public.ord_order_item OWNER TO dev_postgres; + +-- +-- Name: ord_order_item_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.ord_order_item_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.ord_order_item_seq OWNER TO dev_postgres; + +-- +-- Name: ord_order_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.ord_order_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.ord_order_seq OWNER TO dev_postgres; + +-- +-- Name: ord_quot_item_offerings; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.ord_quot_item_offerings ( + quote_item_id bigint NOT NULL, + prd_offering_id bigint NOT NULL, + id bigint NOT NULL, + item_order integer NOT NULL +); + + +ALTER TABLE public.ord_quot_item_offerings OWNER TO dev_postgres; + +-- +-- Name: ord_quot_item_offerings_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.ord_quot_item_offerings_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.ord_quot_item_offerings_seq OWNER TO dev_postgres; + +-- +-- Name: ord_quote; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.ord_quote ( + id bigint NOT NULL, + version integer, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + creator character varying(100), + updater character varying(100), + code character varying(255) NOT NULL, + description character varying(255), + external_id character varying(100), + quote_version character varying(10), + contact character varying(100), + quote_date timestamp without time zone NOT NULL, + valid_from timestamp without time zone, + valid_to timestamp without time zone, + req_completion_date timestamp without time zone, + order_start_date timestamp without time zone, + completion_date timestamp without time zone, + category character varying(200), + status character varying(20) NOT NULL, + status_message character varying(2000), + routed_to_user_group_id bigint, + received_from character varying(50), + uuid character varying(60) NOT NULL, + user_account_id bigint, + cf_values text, + cf_values_accum text +); + + +ALTER TABLE public.ord_quote OWNER TO dev_postgres; + +-- +-- Name: ord_quote_item; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.ord_quote_item ( + id bigint NOT NULL, + version integer, + quote_id bigint NOT NULL, + item_id character varying(10) NOT NULL, + source text NOT NULL, + status character varying(20) NOT NULL, + user_account_id bigint NOT NULL +); + + +ALTER TABLE public.ord_quote_item OWNER TO dev_postgres; + +-- +-- Name: ord_quote_item_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.ord_quote_item_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.ord_quote_item_seq OWNER TO dev_postgres; + +-- +-- Name: ord_quote_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.ord_quote_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.ord_quote_seq OWNER TO dev_postgres; + +-- +-- Name: rating_cdr; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.rating_cdr ( + id bigint NOT NULL, + version integer, + created timestamp without time zone, + event_date timestamp without time zone, + last_updated timestamp without time zone, + origin_batch character varying(255), + origin_record character varying(255), + quantity numeric, + reject_reason text, + status character varying(255), + status_date timestamp without time zone, + parameter_1 character varying(255), + parameter_2 character varying(255), + parameter_3 character varying(255), + parameter_4 character varying(255), + parameter_5 character varying(255), + parameter_6 character varying(255), + parameter_7 character varying(255), + parameter_8 character varying(255), + parameter_9 character varying(255), + date_parameter_1 timestamp without time zone, + date_parameter_2 timestamp without time zone, + date_parameter_3 timestamp without time zone, + date_parameter_4 timestamp without time zone, + date_parameter_5 timestamp without time zone, + decimal_parameter_1 numeric, + decimal_parameter_2 numeric, + decimal_parameter_3 numeric, + decimal_parameter_4 numeric, + decimal_parameter_5 numeric, + access_code character varying(255), + header_edr_id bigint, + extra_parameter text +); + + +ALTER TABLE public.rating_cdr OWNER TO dev_postgres; + +-- +-- Name: rating_cdr_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.rating_cdr_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.rating_cdr_seq OWNER TO dev_postgres; + +-- +-- Name: rating_edr; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.rating_edr ( + id bigint NOT NULL, + version integer, + created timestamp without time zone, + event_date timestamp without time zone, + last_updated timestamp without time zone, + origin_batch character varying(255), + origin_record character varying(255), + parameter_1 character varying(255), + parameter_2 character varying(255), + parameter_3 character varying(255), + parameter_4 character varying(255), + quantity numeric(23,12), + reject_reason text, + status character varying(255) NOT NULL, + subscription_id bigint NOT NULL, + parameter_5 character varying(255), + parameter_6 character varying(255), + parameter_7 character varying(255), + parameter_8 character varying(255), + parameter_9 character varying(255), + date_parameter_1 timestamp without time zone, + date_parameter_2 timestamp without time zone, + date_parameter_3 timestamp without time zone, + date_parameter_4 timestamp without time zone, + date_parameter_5 timestamp without time zone, + decimal_parameter_1 numeric(23,12), + decimal_parameter_2 numeric(23,12), + decimal_parameter_3 numeric(23,12), + decimal_parameter_4 numeric(23,12), + decimal_parameter_5 numeric(23,12), + access_code character varying(255), + header_edr_id bigint, + extra_parameter text +) +PARTITION BY LIST (status); + + +ALTER TABLE public.rating_edr OWNER TO dev_postgres; + +-- +-- Name: rating_edr_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.rating_edr_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.rating_edr_seq OWNER TO dev_postgres; + +-- +-- Name: rating_edr_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: dev_postgres +-- + +ALTER SEQUENCE public.rating_edr_seq OWNED BY public.rating_edr.id; + + +-- +-- Name: rating_edr_open; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.rating_edr_open ( + id bigint DEFAULT nextval('public.rating_edr_seq'::regclass) NOT NULL, + version integer, + created timestamp without time zone, + event_date timestamp without time zone, + last_updated timestamp without time zone, + origin_batch character varying(255), + origin_record character varying(255), + parameter_1 character varying(255), + parameter_2 character varying(255), + parameter_3 character varying(255), + parameter_4 character varying(255), + quantity numeric(23,12), + reject_reason text, + status character varying(255) NOT NULL, + subscription_id bigint NOT NULL, + parameter_5 character varying(255), + parameter_6 character varying(255), + parameter_7 character varying(255), + parameter_8 character varying(255), + parameter_9 character varying(255), + date_parameter_1 timestamp without time zone, + date_parameter_2 timestamp without time zone, + date_parameter_3 timestamp without time zone, + date_parameter_4 timestamp without time zone, + date_parameter_5 timestamp without time zone, + decimal_parameter_1 numeric(23,12), + decimal_parameter_2 numeric(23,12), + decimal_parameter_3 numeric(23,12), + decimal_parameter_4 numeric(23,12), + decimal_parameter_5 numeric(23,12), + access_code character varying(255), + header_edr_id bigint, + extra_parameter text +); + + +ALTER TABLE public.rating_edr_open OWNER TO dev_postgres; + +-- +-- Name: rating_edr_other; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.rating_edr_other ( + id bigint DEFAULT nextval('public.rating_edr_seq'::regclass) NOT NULL, + version integer, + created timestamp without time zone, + event_date timestamp without time zone, + last_updated timestamp without time zone, + origin_batch character varying(255), + origin_record character varying(255), + parameter_1 character varying(255), + parameter_2 character varying(255), + parameter_3 character varying(255), + parameter_4 character varying(255), + quantity numeric(23,12), + reject_reason text, + status character varying(255) NOT NULL, + subscription_id bigint NOT NULL, + parameter_5 character varying(255), + parameter_6 character varying(255), + parameter_7 character varying(255), + parameter_8 character varying(255), + parameter_9 character varying(255), + date_parameter_1 timestamp without time zone, + date_parameter_2 timestamp without time zone, + date_parameter_3 timestamp without time zone, + date_parameter_4 timestamp without time zone, + date_parameter_5 timestamp without time zone, + decimal_parameter_1 numeric(23,12), + decimal_parameter_2 numeric(23,12), + decimal_parameter_3 numeric(23,12), + decimal_parameter_4 numeric(23,12), + decimal_parameter_5 numeric(23,12), + access_code character varying(255), + header_edr_id bigint, + extra_parameter text +); + + +ALTER TABLE public.rating_edr_other OWNER TO dev_postgres; + +-- +-- Name: report_emails; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.report_emails ( + email_id bigint NOT NULL, + report_id bigint NOT NULL +); + + +ALTER TABLE public.report_emails OWNER TO dev_postgres; + +-- +-- Name: rm_service_param_template; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.rm_service_param_template ( + id bigint NOT NULL, + version integer, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + code character varying(255) NOT NULL, + description character varying(255), + cumulative_periods integer, + default_value character varying(255), + name character varying(255), + value character varying(255), + creator character varying(100), + updater character varying(100) +); + + +ALTER TABLE public.rm_service_param_template OWNER TO dev_postgres; + +-- +-- Name: rm_service_param_template_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.rm_service_param_template_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.rm_service_param_template_seq OWNER TO dev_postgres; + +-- +-- Name: wf_action; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.wf_action ( + id bigint NOT NULL, + version integer, + action_el character varying(2000), + condition_el character varying(2000), + priority integer, + wf_transition_id bigint, + uuid character varying(60) NOT NULL +); + + +ALTER TABLE public.wf_action OWNER TO dev_postgres; + +-- +-- Name: wf_action_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.wf_action_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.wf_action_seq OWNER TO dev_postgres; + +-- +-- Name: wf_decision_rule; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.wf_decision_rule ( + id bigint NOT NULL, + version integer, + condition_el character varying(2000), + name character varying(255), + value character varying(255), + type character varying(255), + model integer DEFAULT 0 NOT NULL +); + + +ALTER TABLE public.wf_decision_rule OWNER TO dev_postgres; + +-- +-- Name: wf_decision_rule_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.wf_decision_rule_seq + START WITH 10 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.wf_decision_rule_seq OWNER TO dev_postgres; + +-- +-- Name: wf_generic_transition; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.wf_generic_transition ( + id bigint NOT NULL, + uuid character varying(60) NOT NULL, + version integer, + from_status character varying(255), + to_status character varying(255), + priority integer, + description character varying(255), + generic_wf_id bigint, + action_script_id bigint, + condition_el character varying(2000) +); + + +ALTER TABLE public.wf_generic_transition OWNER TO dev_postgres; + +-- +-- Name: wf_generic_transition_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.wf_generic_transition_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.wf_generic_transition_seq OWNER TO dev_postgres; + +-- +-- Name: wf_generic_workflow; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.wf_generic_workflow ( + id bigint NOT NULL, + version integer, + disabled integer DEFAULT 0 NOT NULL, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + creator character varying(100), + updater character varying(100), + code character varying(255) NOT NULL, + description character varying(255), + target_entity_class character varying(255) NOT NULL, + enable_history integer DEFAULT 0 NOT NULL, + init_status character varying(255), + target_cet_code character varying(255), + filter_id bigint, + cf_values_accum text, + cf_values text, + uuid character varying(60) +); + + +ALTER TABLE public.wf_generic_workflow OWNER TO dev_postgres; + +-- +-- Name: wf_generic_workflow_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.wf_generic_workflow_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.wf_generic_workflow_seq OWNER TO dev_postgres; + +-- +-- Name: wf_history; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.wf_history ( + id bigint NOT NULL, + version integer, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + creator character varying(100), + updater character varying(100), + entity_instance_code character varying(255) NOT NULL, + from_status character varying(255) NOT NULL, + to_status character varying(255) NOT NULL, + transition_name character varying(255), + action_date timestamp without time zone, + workflow_id bigint +); + + +ALTER TABLE public.wf_history OWNER TO dev_postgres; + +-- +-- Name: wf_history_action; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.wf_history_action ( + id bigint NOT NULL, + version integer, + action character varying(2000), + result character varying(2000), + wf_history_id bigint +); + + +ALTER TABLE public.wf_history_action OWNER TO dev_postgres; + +-- +-- Name: wf_history_action_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.wf_history_action_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.wf_history_action_seq OWNER TO dev_postgres; + +-- +-- Name: wf_history_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.wf_history_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.wf_history_seq OWNER TO dev_postgres; + +-- +-- Name: wf_instance; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.wf_instance ( + id bigint NOT NULL, + version integer, + target_entity_class character varying(255) NOT NULL, + generic_wf_id bigint, + current_wf_status_id bigint, + entity_instance_code character varying(255) NOT NULL, + target_cet_code character varying(255), + entity_instance_id bigint NOT NULL +); + + +ALTER TABLE public.wf_instance OWNER TO dev_postgres; + +-- +-- Name: wf_instance_history; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.wf_instance_history ( + id bigint NOT NULL, + version integer, + action_date timestamp without time zone, + from_status character varying(255), + to_status character varying(255), + transition_name character varying(255), + wf_instance_id bigint +); + + +ALTER TABLE public.wf_instance_history OWNER TO dev_postgres; + +-- +-- Name: wf_instance_history_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.wf_instance_history_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.wf_instance_history_seq OWNER TO dev_postgres; + +-- +-- Name: wf_instance_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.wf_instance_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.wf_instance_seq OWNER TO dev_postgres; + +-- +-- Name: wf_status; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.wf_status ( + id bigint NOT NULL, + version integer, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + creator character varying(100), + updater character varying(100), + code character varying(255), + description character varying(255), + uuid character varying(60) NOT NULL, + generic_wf_id bigint +); + + +ALTER TABLE public.wf_status OWNER TO dev_postgres; + +-- +-- Name: wf_status_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.wf_status_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.wf_status_seq OWNER TO dev_postgres; + +-- +-- Name: wf_transition; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.wf_transition ( + id bigint NOT NULL, + version integer, + condition_el character varying(2000), + from_status character varying(255), + to_status character varying(255), + workflow_id bigint, + priority integer, + description character varying(255), + uuid character varying(60) NOT NULL +); + + +ALTER TABLE public.wf_transition OWNER TO dev_postgres; + +-- +-- Name: wf_transition_decision_rule; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.wf_transition_decision_rule ( + transition_id bigint NOT NULL, + decision_rule_id bigint NOT NULL +); + + +ALTER TABLE public.wf_transition_decision_rule OWNER TO dev_postgres; + +-- +-- Name: wf_transition_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.wf_transition_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.wf_transition_seq OWNER TO dev_postgres; + +-- +-- Name: wf_workflow; Type: TABLE; Schema: public; Owner: dev_postgres +-- + +CREATE TABLE public.wf_workflow ( + id bigint NOT NULL, + version integer, + disabled integer DEFAULT 0 NOT NULL, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + code character varying(255) NOT NULL, + description character varying(255), + enable_history integer DEFAULT 0 NOT NULL, + wf_type character varying(255), + creator character varying(100), + updater character varying(100) +); + + +ALTER TABLE public.wf_workflow OWNER TO dev_postgres; + +-- +-- Name: wf_workflow_seq; Type: SEQUENCE; Schema: public; Owner: dev_postgres +-- + +CREATE SEQUENCE public.wf_workflow_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.wf_workflow_seq OWNER TO dev_postgres; + +-- +-- Name: billing_rated_transaction_open; Type: TABLE ATTACH; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_rated_transaction ATTACH PARTITION public.billing_rated_transaction_open FOR VALUES IN ('OPEN'); + + +-- +-- Name: billing_rated_transaction_other; Type: TABLE ATTACH; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_rated_transaction ATTACH PARTITION public.billing_rated_transaction_other DEFAULT; + + +-- +-- Name: billing_wallet_operation_open; Type: TABLE ATTACH; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_wallet_operation ATTACH PARTITION public.billing_wallet_operation_open FOR VALUES IN ('OPEN'); + + +-- +-- Name: billing_wallet_operation_other; Type: TABLE ATTACH; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_wallet_operation ATTACH PARTITION public.billing_wallet_operation_other DEFAULT; + + +-- +-- Name: rating_edr_open; Type: TABLE ATTACH; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.rating_edr ATTACH PARTITION public.rating_edr_open FOR VALUES IN ('OPEN'); + + +-- +-- Name: rating_edr_other; Type: TABLE ATTACH; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.rating_edr ATTACH PARTITION public.rating_edr_other DEFAULT; + + +-- +-- Name: billing_invoice id; Type: DEFAULT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_invoice ALTER COLUMN id SET DEFAULT nextval('public.billing_invoice_seq'::regclass); + + +-- +-- Name: billing_invoice_agregate id; Type: DEFAULT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_invoice_agregate ALTER COLUMN id SET DEFAULT nextval('public.billing_invoice_agregate_seq'::regclass); + + +-- +-- Name: billing_rated_transaction id; Type: DEFAULT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_rated_transaction ALTER COLUMN id SET DEFAULT nextval('public.billing_rated_transaction_seq'::regclass); + + +-- +-- Name: billing_wallet_operation id; Type: DEFAULT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_wallet_operation ALTER COLUMN id SET DEFAULT nextval('public.billing_wallet_operation_seq'::regclass); + + +-- +-- Name: job_execution id; Type: DEFAULT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.job_execution ALTER COLUMN id SET DEFAULT nextval('public.job_execution_seq'::regclass); + + +-- +-- Name: rating_edr id; Type: DEFAULT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.rating_edr ALTER COLUMN id SET DEFAULT nextval('public.rating_edr_seq'::regclass); + + +-- +-- Data for Name: account_entity; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.account_entity (id, version, created, updated, code, description, address_1, address_2, address_3, address_city, address_country_id, address_state, address_zipcode, default_level, external_ref_1, external_ref_2, firstname, lastname, provider_contact, creator, updater, title_id, primary_contact, account_type, uuid, bam_id, cf_values, cf_values_accum, job_title, email, fax, mobile, phone, vat_no, registration_no, minimum_amount_el, minimum_label_el, minimum_amount_el_sp, minimum_label_el_sp, minimum_charge_template_id) FROM stdin; +1 0 2024-01-31 09:06:24.733 \N MAIN_SELLER \N \N \N \N \N \N \N \N 1 \N \N \N \N \N public.superadmin \N \N \N ACCT_S 5ac2d000-8d36-4d60-8b62-3fc267646252 \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N +2 0 2024-01-31 11:17:01.459 \N 30fe15a0-6d6c-4728-a5e8-a75e12bd17eb IBASISINNOVATIONCENTER Tudor Arghezi 25 Bucharest \N Bucharest 061461 1 \N \N IBASISINNOVATIONCENTER IBASISINNOVATIONCENTER \N public.superadmin \N \N \N ACCT_CUST 3d319814-e6f1-43a7-b0f4-a44c0c333916 \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N +3 0 2024-01-31 11:17:01.66 \N 30fe15a0-6d6c-4728-a5e8-a75e12bd17eb IBASISINNOVATIONCENTER \N \N \N \N \N \N \N 1 \N \N IBASISINNOVATIONCENTER IBASISINNOVATIONCENTER \N public.superadmin \N \N \N ACCT_CA 661c08b9-5b2e-479b-9d40-0bb0e86c5acd \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N +4 0 2024-01-31 11:17:01.898 \N 4b160c32-9f83-4368-b550-66ef97a98073 IBASISINNOVATIONCENTER_1_DEFAULT \N \N \N \N \N \N \N 1 \N \N iBasis Innovation Center iBasis Innovation Center \N public.superadmin \N \N \N ACCT_BA d3aa4d88-1cee-4d67-b755-05366021e4f4 \N \N \N \N \N \N \N \N 0123456789 \N \N \N \N \N \N +5 0 2024-10-10 13:39:13.102 \N eb865402-2d30-4e69-9233-649b66ca5088 IBASISINDIAPRIVATELIMITED Sai Baba colony, Kukatpally Hyderabad \N Telangana 500072 1 \N \N IBASISINDIAPRIVATELIMITED IBASISINDIAPRIVATELIMITED \N development@simfony.com \N \N \N ACCT_CUST 1c6943cb-a8d3-4d9c-85f0-303cb9973e48 \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N +6 0 2024-10-10 13:39:13.947 \N eb865402-2d30-4e69-9233-649b66ca5088 IBASISINDIAPRIVATELIMITED \N \N \N \N \N \N \N 1 \N \N IBASISINDIAPRIVATELIMITED IBASISINDIAPRIVATELIMITED \N development@simfony.com \N \N \N ACCT_CA 055c1212-6613-4c66-865d-19044dafd5fa \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N +7 0 2024-10-10 13:39:14.676 \N 51da8003-e7dd-4b68-a856-871e27a83c97 IBASISINDIAPRIVATELIMITED_1_DEFAULT \N \N \N \N \N \N \N 1 \N \N IBASIS INDIA PRIVATE LIMITED IBASIS INDIA PRIVATE LIMITED \N development@simfony.com \N \N \N ACCT_BA 0d26b127-0b57-4878-aa25-7e861b028f74 \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N +8 1 2024-10-11 11:08:11.229 \N e4ab2217-c603-477b-a22a-817f11fe3b64 SIM_CARD_4263a4a9-9c4c-46e2-aa26-bef0d64c9fd4_968069223012599 \N \N \N \N \N \N \N 1 \N \N firstName lastName \N development@simfony.com \N 38 \N ACCT_UA 469f3600-e6d8-4402-a287-6a02dc52ec65 \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N +9 2 2024-10-11 11:19:56.201 2024-10-11 11:21:12.791 e322b645-6a1a-4b79-8450-8648118faa03 TERMINATED \N \N \N \N \N \N \N 1 \N \N firstName lastName \N development@simfony.com development@simfony.com 38 \N ACCT_UA 82fd927b-98a1-45cf-9844-68f062d6c97e \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N +10 2 2024-10-11 11:23:20.821 2024-10-11 11:25:08.322 31831cc9-0c10-4140-b1e1-15962d0070a9 TERMINATED \N \N \N \N \N \N \N 1 \N \N firstName lastName \N development@simfony.com development@simfony.com 38 \N ACCT_UA 6cc8a002-bce5-4c28-98cc-656684e834e6 \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N +\. + + +-- +-- Data for Name: adm_country; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.adm_country (id, created, updated, version, country_code, description, creator, updater, currency_id, language_id, description_i18n) FROM stdin; +1 2015-03-19 00:04:03.579 \N 1 AD Andorra \N \N 5 8 {"FRA":"Andorre","ENG":"Andorra"} +2 2015-03-19 00:04:03.6 \N 1 AE United Arab Emirates \N \N 54 3 {"FRA":"Emirats Arabes Unis","ENG":"United Arab Emirates"} +3 2015-03-19 00:04:03.621 \N 1 AF Afghanistan \N \N 1 2 {"FRA":"Afghanistan","ENG":"Afghanistan"} +4 2015-03-19 00:04:03.641 \N 1 AG Antigua and Barbuda \N \N 7 2 {"FRA":"Antigua-et-Barbuda","ENG":"Antigua and Barbuda"} +5 2015-03-19 00:04:03.663 \N 1 AI Anguilla \N \N 7 2 {"FRA":"Anguilla","ENG":"Anguilla"} +6 2015-03-19 00:04:03.684 \N 1 AL Albania \N \N 3 2 {"FRA":"Albanie","ENG":"Albania"} +7 2015-03-19 00:04:03.706 \N 1 AM Armenia \N \N 11 2 {"FRA":"Arménie","ENG":"Armenia"} +8 2015-03-19 00:04:03.727 \N 1 AN Netherlands Antilles \N \N 8 21 {"FRA":"Antilles néerlandaises","ENG":"Netherlands Antilles"} +9 2015-03-19 00:04:03.748 \N 1 AO Angola \N \N 6 2 {"FRA":"Angola","ENG":"Angola"} +10 2015-03-19 00:04:03.768 \N 1 AR Argentina \N \N 10 8 {"FRA":"Argentine","ENG":"Argentina"} +11 2015-03-19 00:04:03.796 \N 1 AS American Samoa \N \N 49 1 {"FRA":"Samoa orientales","ENG":"American Samoa"} +12 2015-03-19 00:04:03.816 \N 1 AT Austria \N \N 5 1 {"FRA":"Autriche","ENG":"Austria"} +13 2015-03-19 00:04:03.839 \N 1 AU Australia \N \N 13 2 {"FRA":"Australie","ENG":"Australia"} +14 2015-03-19 00:04:03.86 \N 1 AW Aruba \N \N 12 2 {"FRA":"Aruba","ENG":"Aruba"} +15 2015-03-19 00:04:03.882 \N 1 AZ Azerbaijan \N \N 6 2 {"FRA":"Azerbaïdjan","ENG":"Azerbaijan"} +16 2015-03-19 00:04:03.903 \N 1 BA Bosnia and Herzegovina \N \N 25 2 {"FRA":"Bosnie-Herzégovine","ENG":"Bosnia and Herzegovina"} +17 2015-03-19 00:04:03.924 \N 1 BB Barbados \N \N 18 2 {"FRA":"Barbade","ENG":"Barbados"} +18 2015-03-19 00:04:03.951 \N 1 BD Bangladesh \N \N 17 2 {"FRA":"Bangladesh","ENG":"Bangladesh"} +19 2015-03-19 00:04:03.973 \N 1 BE Belgium \N \N 5 12 {"FRA":"Belgique","ENG":"Belgium"} +20 2015-03-19 00:04:03.994 \N 1 BF Burkina Faso \N \N 20 2 {"FRA":"Burkina Faso","ENG":"Burkina Faso"} +21 2015-03-19 00:04:04.016 \N 1 BG Bulgaria \N \N 5 2 {"FRA":"Bulgarie","ENG":"Bulgaria"} +22 2015-03-19 00:04:04.037 \N 1 BH Bahrain \N \N 16 2 {"FRA":"Bahreïn","ENG":"Bahrain"} +23 2015-03-19 00:04:04.057 \N 1 BI Burundi \N \N 30 2 {"FRA":"Burundi","ENG":"Burundi"} +24 2015-03-19 00:04:04.079 \N 1 BJ Benin \N \N 20 2 {"FRA":"Bénin","ENG":"Benin"} +25 2015-03-19 00:04:04.1 \N 1 BM Bermuda \N \N 21 2 {"FRA":"Bermudes","ENG":"Bermuda"} +26 2015-03-19 00:04:04.12 \N 1 BN Brunei Darussalam \N \N 28 2 {"FRA":"Bruneï","ENG":"Brunei Darussalam"} +27 2015-03-19 00:04:04.142 \N 1 BO Bolivia \N \N 24 2 {"FRA":"Bolivie","ENG":"Bolivia"} +28 2015-03-19 00:04:04.163 \N 1 BR Brazil \N \N 27 2 {"FRA":"Brésil","ENG":"Brazil"} +29 2015-03-19 00:04:04.185 \N 1 BS The Bahamas \N \N 15 2 {"FRA":"Bahamas","ENG":"The Bahamas"} +30 2015-03-19 00:04:04.206 \N 1 BT Bhutan \N \N 16 2 {"FRA":"Bhoutan","ENG":"Bhutan"} +31 2015-03-19 00:04:04.234 \N 1 BV Bouvet Island \N \N 31 2 {"FRA":"Bouvet (Île)","ENG":"Bouvet Island"} +32 2015-03-19 00:04:04.255 \N 1 BW Botswana \N \N 26 2 {"FRA":"Botswana","ENG":"Botswana"} +33 2015-03-19 00:04:04.276 \N 1 BY Belarus \N \N 23 2 {"FRA":"Biélorussie","ENG":"Belarus"} +34 2015-03-19 00:04:04.297 \N 1 BZ Belize \N \N 19 2 {"FRA":"Bélize","ENG":"Belize"} +35 2015-03-19 00:04:04.318 \N 1 CA Canada \N \N 35 2 {"FRA":"Canada","ENG":"Canada"} +36 2015-03-19 00:04:04.34 \N 1 CC Cocos (Keeling) Islands \N \N 13 2 {"FRA":"Cocos / Keeling (Îles)","ENG":"Cocos (Keeling) Islands"} +37 2015-03-19 00:04:04.361 \N 1 CD Congo, Democratic Republic of the \N \N 43 12 {"FRA":"République Démocratique du Congo","ENG":"Congo , Democratic Republic of the"} +38 2015-03-19 00:04:04.382 \N 1 CF Central African Republic \N \N 34 12 {"FRA":"République Centrafricaine","ENG":"Central African Republic"} +39 2015-03-19 00:04:04.404 \N 1 CG Congo, Republic of the \N \N 34 12 {"FRA":"Congo","ENG":"Congo, Republic of the"} +40 2015-03-19 00:04:04.425 \N 1 CH Switzerland \N \N 92 2 {"FRA":"Suisse","ENG":"Switzerland"} +41 2015-03-19 00:04:04.452 \N 1 CI Cote Ivoire \N \N 20 12 {"FRA":"Côte DIvoire","ENG":"Cote Ivoire"} +42 2015-03-19 00:04:04.474 \N 1 CK Cook Islands \N \N 72 2 {"FRA":"Cook (Îles)","ENG":"Cook Islands"} +43 2015-03-19 00:04:04.494 \N 1 CL Chile \N \N 38 2 {"FRA":"Chili","ENG":"Chile"} +44 2015-03-19 00:04:04.516 \N 1 CM Cameroon \N \N 34 12 {"FRA":"Cameroun","ENG":"Cameroon"} +45 2015-03-19 00:04:04.536 \N 1 CN China \N \N 39 6 {"FRA":"Chine","ENG":"China"} +46 2015-03-19 00:04:04.559 \N 1 CO Colombia \N \N 41 8 {"FRA":"Colombie","ENG":"Colombia"} +47 2015-03-19 00:04:04.58 \N 1 CR Costa Rica \N \N 46 8 {"FRA":"Costa Rica","ENG":"Costa Rica"} +48 2015-03-19 00:04:04.601 \N 1 CU Cuba \N \N 48 8 {"FRA":"Cuba","ENG":"Cuba"} +49 2015-03-19 00:04:04.622 \N 1 CV Cape Verde \N \N 36 8 {"FRA":"Cap Vert","ENG":"Cape Verde"} +50 2015-03-19 00:04:04.644 \N 1 CX Christmas Island \N \N 13 2 {"FRA":"Christmas (Île)","ENG":"Christmas Island"} +51 2015-03-19 00:04:04.665 \N 1 CY Cyprus \N \N 40 2 {"FRA":"Chypre","ENG":"Cyprus"} +52 2015-03-19 00:04:04.687 \N 1 CZ Czech Republic \N \N 152 2 {"FRA":"République Tchèque","ENG":"Czech Republic"} +53 2015-03-19 00:04:04.708 \N 1 DE Germany \N \N 5 1 {"FRA":"Allemagne","ENG":"Germany"} +54 2015-03-19 00:04:04.729 \N 1 DJ Djibouti \N \N 51 12 {"FRA":"Djibouti","ENG":"Djibouti"} +55 2015-03-19 00:04:04.75 \N 1 DK Denmark \N \N 50 2 {"FRA":"Danemark","ENG":"Denmark"} +56 2015-03-19 00:04:04.772 \N 1 DM Dominica \N \N 7 2 {"FRA":"Dominique","ENG":"Dominica"} +57 2015-03-19 00:04:04.795 \N 1 DO Dominican Republic \N \N 52 2 {"FRA":"République Dominicaine","ENG":"Dominican Republic"} +58 2015-03-19 00:04:04.816 \N 1 DZ Algeria \N \N 4 8 {"FRA":"Algérie","ENG":"Algeria"} +59 2015-03-19 00:04:04.837 \N 1 EC Ecuador \N \N 49 2 {"FRA":"Equateur","ENG":"Ecuador"} +60 2015-03-19 00:04:04.857 \N 1 EE Estonia \N \N 56 2 {"FRA":"Estonie","ENG":"Estonia"} +61 2015-03-19 00:04:04.879 \N 1 EG Egypt \N \N 53 8 {"FRA":"Egypte","ENG":"Egypt"} +62 2015-03-19 00:04:05.043 \N 1 ER Eritrea \N \N 55 2 {"FRA":"Erythrée","ENG":"Eritrea"} +63 2015-03-19 00:04:05.064 \N 1 ES Spain \N \N 5 8 {"FRA":"Espagne","ENG":"Spain"} +64 2015-03-19 00:04:05.086 \N 1 ET Ethiopia \N \N 57 2 {"FRA":"Ethiopie","ENG":"Ethiopia"} +65 2015-03-19 00:04:05.109 \N 1 FI Finland \N \N 5 2 {"FRA":"Finlande","ENG":"Finland"} +66 2015-03-19 00:04:05.129 \N 1 FJ Fiji \N \N 59 2 {"FRA":"Fiji","ENG":"Fiji"} +67 2015-03-19 00:04:05.151 \N 1 FK Falkland Islands (Islas Malvinas) \N \N 58 2 {"FRA":"Falkland / Malouines (Îles)","ENG":"Falkland Islands (Islas Malvinas)"} +68 2015-03-19 00:04:05.172 \N 1 FM Micronesia, Federated States of \N \N 49 2 {"FRA":"Micronésie (Etats fédérés de)","ENG":"Micronesia, Federated States of"} +69 2015-03-19 00:04:05.192 \N 1 FO Faroe Islands \N \N 50 2 {"FRA":"Féroé (Îles)","ENG":"Faroe Islands"} +70 2015-03-19 00:04:05.214 \N 1 FR France \N \N 5 12 {"FRA":"France","ENG":"France"} +71 2015-03-19 00:04:05.236 \N 1 GA Gabon \N \N 34 12 {"FRA":"Gabon","ENG":"Gabon"} +72 2015-03-19 00:04:05.257 \N 1 GD Grenada \N \N 7 2 {"FRA":"Grenade","ENG":"Grenada"} +73 2015-03-19 00:04:05.277 \N 1 GE Georgia \N \N 61 2 {"FRA":"Géorgie","ENG":"Georgia"} +74 2015-03-19 00:04:05.298 \N 1 GF French Guiana \N \N 5 2 {"FRA":"Guyane française","ENG":"French Guiana"} +75 2015-03-19 00:04:05.324 \N 1 GH Ghana \N \N 62 2 {"FRA":"Ghana","ENG":"Ghana"} +76 2015-03-19 00:04:05.345 \N 1 GI Gibraltar \N \N 63 2 {"FRA":"Gibraltar","ENG":"Gibraltar"} +77 2015-03-19 00:04:05.366 \N 1 GL Greenland \N \N 50 2 {"FRA":"Groënland","ENG":"Greenland"} +78 2015-03-19 00:04:05.391 \N 1 GM The Gambia \N \N 60 2 {"FRA":"Gambie","ENG":"The Gambia"} +79 2015-03-19 00:04:05.411 \N 1 GN Guinea \N \N 66 2 {"FRA":"Guinée","ENG":"Guinea"} +80 2015-03-19 00:04:05.432 \N 1 GP Guadeloupe \N \N 5 12 {"FRA":"Guadeloupe","ENG":"Guadeloupe"} +81 2015-03-19 00:04:05.454 \N 1 GQ Equatorial Guinea \N \N 34 2 {"FRA":"Guinée Equatoriale","ENG":"Equatorial Guinea"} +82 2015-03-19 00:04:05.476 \N 1 GR Greece \N \N 5 2 {"FRA":"Grèce","ENG":"Greece"} +83 2015-03-19 00:04:05.496 \N 1 GS South Georgia and the South Sand \N \N 65 2 {"FRA":"Géorgie du Sud et îles Sandwich du Sud","ENG":"South Georgia and the South Sand"} +84 2015-03-19 00:04:05.518 \N 1 GT Guatemala \N \N 64 2 {"FRA":"Guatemala","ENG":"Guatemala"} +85 2015-03-19 00:04:05.546 \N 1 GU Guam \N \N 49 2 {"FRA":"Guam","ENG":"Guam"} +86 2015-03-19 00:04:05.567 \N 1 GW Guinea-Bissau \N \N 20 2 {"FRA":"Guinée-Bissau","ENG":"Guinea-Bissau"} +87 2015-03-19 00:04:05.589 \N 1 GY Guyana \N \N 67 2 {"FRA":"Guyana","ENG":"Guyana"} +88 2015-03-19 00:04:05.611 \N 1 HK Hong Kong (SAR) \N \N 70 2 {"FRA":"Hong Kong","ENG":"Hong Kong (SAR)"} +89 2015-03-19 00:04:05.631 \N 1 HM Heard Island and McDonald Island \N \N 13 2 {"FRA":"Territoire des Îles Heard et McDonald","ENG":"Heard Island and McDonald Island"} +90 2015-03-19 00:04:05.653 \N 1 HN Honduras \N \N 69 2 {"FRA":"Honduras","ENG":"Honduras"} +91 2015-03-19 00:04:05.676 \N 1 HR Croatia \N \N 47 2 {"FRA":"Croatie","ENG":"Croatia"} +92 2015-03-19 00:04:05.7 \N 1 HT Haiti \N \N 68 2 {"FRA":"Haïti","ENG":"Haiti"} +93 2015-03-19 00:04:05.722 \N 1 HU Hungary \N \N 71 2 {"FRA":"Hongrie","ENG":"Hungary"} +94 2015-03-19 00:04:05.743 \N 1 ID Indonesia \N \N 74 2 {"FRA":"Indonésie","ENG":"Indonesia"} +95 2015-03-19 00:04:05.765 \N 1 IE Ireland \N \N 5 2 {"FRA":"Irlande","ENG":"Ireland"} +96 2015-03-19 00:04:05.786 \N 1 IL Israel \N \N 78 2 {"FRA":"Israël","ENG":"Israel"} +97 2015-03-19 00:04:05.808 \N 1 IN India \N \N 73 2 {"FRA":"Indie","ENG":"India"} +98 2015-03-19 00:04:05.829 \N 1 IO British Indian Ocean Territory \N \N 49 2 {"FRA":"Territoire britannique de l Océan Indien","ENG":"British Indian Ocean Territory"} +99 2015-03-19 00:04:05.85 \N 1 IQ Iraq \N \N 76 8 {"FRA":"Irak","ENG":"Iraq"} +100 2015-03-19 00:04:05.871 \N 1 IR Iran \N \N 75 2 {"FRA":"Iran (République islamique d)","ENG":"Iran"} +101 2015-03-19 00:04:05.892 \N 1 IS Iceland \N \N 77 2 {"FRA":"Islande","ENG":"Iceland"} +102 2015-03-19 00:04:05.913 \N 1 IT Italy \N \N 5 2 {"FRA":"Italie","ENG":"Italy"} +103 2015-03-19 00:04:05.933 \N 1 JM Jamaica \N \N 79 2 {"FRA":"Jamaïque","ENG":"Jamaica"} +104 2015-03-19 00:04:05.955 \N 1 JO Jordan \N \N 81 2 {"FRA":"Jordanie","ENG":"Jordan"} +105 2015-03-19 00:04:05.977 \N 1 JP Japan \N \N 80 2 {"FRA":"Japon","ENG":"Japan"} +106 2015-03-19 00:04:05.998 \N 1 KE Kenya \N \N 83 2 {"FRA":"Kenya","ENG":"Kenya"} +107 2015-03-19 00:04:06.019 \N 1 KG Kyrgyzstan \N \N 84 2 {"FRA":"Kyrgyzstan","ENG":"Kyrgyzstan"} +108 2015-03-19 00:04:06.045 \N 1 KH Cambodia \N \N 33 2 {"FRA":"Cambodge","ENG":"Cambodia"} +109 2015-03-19 00:04:06.066 \N 1 KI Kiribati \N \N 13 2 {"FRA":"Kiribati","ENG":"Kiribati"} +110 2015-03-19 00:04:06.087 \N 1 KM Comoros \N \N 42 2 {"FRA":"Comores","ENG":"Comoros"} +111 2015-03-19 00:04:06.11 \N 1 KN Saint Kitts and Nevis \N \N 7 2 {"FRA":"Saint Kitts et Nevis","ENG":"Saint Kitts and Nevis"} +112 2015-03-19 00:04:06.132 \N 1 KP Korea, North \N \N 45 2 {"FRA":"Corée (République populaire démocratique du)","ENG":"Korea, North"} +113 2015-03-19 00:04:06.153 \N 1 KR Korea, South \N \N 44 2 {"FRA":"Corée (République démocratique du)","ENG":"Korea, South"} +114 2015-03-19 00:04:06.174 \N 1 KW Kuwait \N \N 85 2 {"FRA":"Koweït","ENG":"Kuwait"} +115 2015-03-19 00:04:06.195 \N 1 KY Cayman Islands \N \N 32 2 {"FRA":"Caïmans (Îles)","ENG":"Cayman Islands"} +116 2015-03-19 00:04:06.215 \N 1 KZ Kazakhstan \N \N 82 2 {"FRA":"Kazakstan","ENG":"Kazakhstan"} +117 2015-03-19 00:04:06.237 \N 1 LA Laos \N \N 86 2 {"FRA":"Laos (République populaire démocratique du)","ENG":"Laos"} +118 2015-03-19 00:04:06.258 \N 1 LB Lebanon \N \N 89 2 {"FRA":"Liban","ENG":"Lebanon"} +119 2015-03-19 00:04:06.279 \N 1 LC Saint Lucia \N \N 7 2 {"FRA":"Sainte Lucie","ENG":"Saint Lucia"} +120 2015-03-19 00:04:06.3 \N 1 LI Liechtenstein \N \N 92 2 {"FRA":"Liechtenstein","ENG":"Liechtenstein"} +121 2015-03-19 00:04:06.326 \N 1 LK Sri Lanka \N \N 143 2 {"FRA":"Sri Lanka","ENG":"Sri Lanka"} +122 2015-03-19 00:04:06.346 \N 1 LR Liberia \N \N 90 2 {"FRA":"Libéria","ENG":"Liberia"} +123 2015-03-19 00:04:06.368 \N 1 LS Lesotho \N \N 87 2 {"FRA":"Lesotho","ENG":"Lesotho"} +124 2015-03-19 00:04:06.389 \N 1 LT Lithuania \N \N 93 2 {"FRA":"Lithuanie","ENG":"Lithuania"} +125 2015-03-19 00:04:06.411 \N 1 LU Luxembourg \N \N 5 12 {"FRA":"Luxembourg","ENG":"Luxembourg"} +126 2015-03-19 00:04:06.432 \N 1 LV Latvia \N \N 88 2 {"FRA":"Lettonie","ENG":"Latvia"} +127 2015-03-19 00:04:06.452 \N 1 LY Libya \N \N 91 2 {"FRA":"Libye (Jamahiriya Arabe Libyenne)","ENG":"Libya"} +128 2015-03-19 00:04:06.475 \N 1 MA Morocco \N \N 102 3 {"FRA":"Maroc","ENG":"Morocco"} +129 2015-03-19 00:04:06.495 \N 1 MC Monaco \N \N 5 2 {"FRA":"Monaco","ENG":"Monaco"} +130 2015-03-19 00:04:06.516 \N 1 MD Moldova \N \N 106 2 {"FRA":"Moldavie","ENG":"Moldova"} +131 2015-03-19 00:04:06.537 \N 1 MG Madagascar \N \N 97 2 {"FRA":"Madagascar","ENG":"Madagascar"} +132 2015-03-19 00:04:06.558 \N 1 MH Marshall Islands \N \N 49 2 {"FRA":"Marshall (Îles)","ENG":"Marshall Islands"} +133 2015-03-19 00:04:06.581 \N 1 MK Macedonia, The Former Yugoslav R \N \N 95 2 {"FRA":"Macédoine (ancienne République yougoslave de)","ENG":"Macedonia, The Former Yugoslav R"} +134 2015-03-19 00:04:06.608 \N 1 ML Mali \N \N 20 12 {"FRA":"Mali","ENG":"Mali"} +135 2015-03-19 00:04:06.631 \N 1 MM Burma \N \N 109 2 {"FRA":"Myanmar","ENG":"Burma"} +136 2015-03-19 00:04:06.652 \N 1 MN Mongolia \N \N 107 2 {"FRA":"Mongolie","ENG":"Mongolia"} +137 2015-03-19 00:04:06.673 \N 1 MO Macao \N \N 94 2 {"FRA":"Macau","ENG":"Macao"} +138 2015-03-19 00:04:06.695 \N 1 MP Northern Mariana Islands \N \N 49 2 {"FRA":"Mariannes (Îles)","ENG":"Northern Mariana Islands"} +139 2015-03-19 00:04:06.715 \N 1 MQ Martinique \N \N 5 2 {"FRA":"Martinique","ENG":"Martinique"} +140 2015-03-19 00:04:06.738 \N 1 MR Mauritania \N \N 104 2 {"FRA":"Mauritanie","ENG":"Mauritania"} +141 2015-03-19 00:04:06.764 \N 1 MS Montserrat \N \N 7 2 {"FRA":"Montserrat","ENG":"Montserrat"} +142 2015-03-19 00:04:06.784 \N 1 MT Malta \N \N 101 2 {"FRA":"Malte","ENG":"Malta"} +143 2015-03-19 00:04:06.805 \N 1 MU Mauritius \N \N 103 2 {"FRA":"Maurice","ENG":"Mauritius"} +144 2015-03-19 00:04:06.827 \N 1 MV Maldives \N \N 100 2 {"FRA":"Maldives","ENG":"Maldives"} +145 2015-03-19 00:04:06.849 \N 1 MW Malawi \N \N 99 2 {"FRA":"Malawi","ENG":"Malawi"} +146 2015-03-19 00:04:06.869 \N 1 MX Mexico \N \N 105 2 {"FRA":"Mexique","ENG":"Mexico"} +147 2015-03-19 00:04:06.891 \N 1 MY Malaysia \N \N 98 2 {"FRA":"Malaysie","ENG":"Malaysia"} +148 2015-03-19 00:04:06.911 \N 1 MZ Mozambique \N \N 108 2 {"FRA":"Mozambique","ENG":"Mozambique"} +149 2015-03-19 00:04:06.931 \N 1 NA Namibia \N \N 110 2 {"FRA":"Namibie","ENG":"Namibia"} +150 2015-03-19 00:04:06.952 \N 1 NC New Caledonia \N \N 114 2 {"FRA":"Nouvelle-Calédonie","ENG":"New Caledonia"} +151 2015-03-19 00:04:06.974 \N 1 NE Niger \N \N 20 12 {"FRA":"Niger","ENG":"Niger"} +152 2015-03-19 00:04:06.994 \N 1 NF Norfolk Island \N \N 13 2 {"FRA":"Norfolk (Île)","ENG":"Norfolk Island"} +153 2015-03-19 00:04:07.016 \N 1 NG Nigeria \N \N 113 2 {"FRA":"Nigéria","ENG":"Nigeria"} +154 2015-03-19 00:04:07.038 \N 1 NI Nicaragua \N \N 112 8 {"FRA":"Nicaragua","ENG":"Nicaragua"} +155 2015-03-19 00:04:07.059 \N 1 NL Netherlands \N \N 5 2 {"FRA":"Pays-Bas","ENG":"Netherlands"} +156 2015-03-19 00:04:07.081 \N 1 NO Norway \N \N 31 2 {"FRA":"Norvège","ENG":"Norway"} +157 2015-03-19 00:04:07.108 \N 1 NP Nepal \N \N 111 2 {"FRA":"Népal","ENG":"Nepal"} +158 2015-03-19 00:04:07.128 \N 1 NR Nauru \N \N 13 2 {"FRA":"Nauru","ENG":"Nauru"} +159 2015-03-19 00:04:07.15 \N 1 NU Niue \N \N 72 2 {"FRA":"Niue","ENG":"Niue"} +160 2015-03-19 00:04:07.171 \N 1 NZ New Zealand \N \N 72 2 {"FRA":"Nouvelle-Zélande","ENG":"New Zealand"} +161 2015-03-19 00:04:07.191 \N 1 OM Oman \N \N 115 2 {"FRA":"Oman","ENG":"Oman"} +162 2015-03-19 00:04:07.214 \N 1 PA Panama \N \N 120 8 {"FRA":"Panama","ENG":"Panama"} +163 2015-03-19 00:04:07.254 \N 1 PE Peru \N \N 123 8 {"FRA":"Pérou","ENG":"Peru"} +164 2015-03-19 00:04:07.297 \N 1 PF French Polynesia \N \N 114 12 {"FRA":"Polynésie française","ENG":"French Polynesia"} +165 2015-03-19 00:04:07.318 \N 1 PG Papua New Guinea \N \N 121 12 {"FRA":"Papouasie Nouvelle-Guinée","ENG":"Papua New Guinea"} +166 2015-03-19 00:04:07.34 \N 1 PH Philippines \N \N 124 2 {"FRA":"Philippines","ENG":"Philippines"} +167 2015-03-19 00:04:07.361 \N 1 PK Pakistan \N \N 119 2 {"FRA":"Pakistan","ENG":"Pakistan"} +168 2015-03-19 00:04:07.382 \N 1 PL Poland \N \N 125 2 {"FRA":"Pologne","ENG":"Poland"} +169 2015-03-19 00:04:07.404 \N 1 PM Saint Pierre and Miquelon \N \N 5 2 {"FRA":"St. Pierre et Miquelon","ENG":"Saint Pierre and Miquelon"} +170 2015-03-19 00:04:07.425 \N 1 PN Pitcairn Islands \N \N 72 2 {"FRA":"Pitcaïrn","ENG":"Pitcairn Islands"} +171 2015-03-19 00:04:07.452 \N 1 PR Puerto Rico \N \N 49 8 {"FRA":"Porto Rico","ENG":"Puerto Rico"} +172 2015-03-19 00:04:07.472 \N 1 PS Palestinian Territory, Occupied \N \N 5 2 {"FRA":"Territoire Palestinien Occupé","ENG":"Palestinian Territory, Occupied"} +173 2015-03-19 00:04:07.494 \N 1 PT Portugal \N \N 5 2 {"FRA":"Portugal","ENG":"Portugal"} +174 2015-03-19 00:04:07.515 \N 1 PW Palau \N \N 49 2 {"FRA":"Palau","ENG":"Palau"} +175 2015-03-19 00:04:07.538 \N 1 PY Paraguay \N \N 122 2 {"FRA":"Paraguay","ENG":"Paraguay"} +176 2015-03-19 00:04:07.559 \N 1 QA Qatar \N \N 126 2 {"FRA":"Quatar","ENG":"Qatar"} +177 2015-03-19 00:04:07.579 \N 1 RE Réunion \N \N 5 2 {"FRA":"Réunion","ENG":"Réunion"} +178 2015-03-19 00:04:07.607 \N 1 RO Romania \N \N 128 2 {"FRA":"Romania","ENG":"Romania"} +179 2015-03-19 00:04:07.629 \N 1 RU Russia \N \N 129 2 {"FRA":"Russie (Fédération de)","ENG":"Russia"} +180 2015-03-19 00:04:07.651 \N 1 RW Rwanda \N \N 130 2 {"FRA":"Rwanda","ENG":"Rwanda"} +181 2015-03-19 00:04:07.672 \N 1 SA Saudi Arabia \N \N 9 2 {"FRA":"Arabie Séoudite","ENG":"Saudi Arabia"} +182 2015-03-19 00:04:07.692 \N 1 SB Solomon Islands \N \N 131 2 {"FRA":"Salomon (Îles)","ENG":"Solomon Islands"} +183 2015-03-19 00:04:07.714 \N 1 SC Seychelles \N \N 136 2 {"FRA":"Seychelles","ENG":"Seychelles"} +184 2015-03-19 00:04:07.736 \N 1 SD Sudan \N \N 21 2 {"FRA":"Soudan","ENG":"Sudan"} +185 2015-03-19 00:04:07.757 \N 1 SE Sweden \N \N 145 2 {"FRA":"Suède","ENG":"Sweden"} +186 2015-03-19 00:04:07.779 \N 1 SG Singapore \N \N 138 2 {"FRA":"Singapour","ENG":"Singapore"} +187 2015-03-19 00:04:07.8 \N 1 SH Saint Helena \N \N 144 2 {"FRA":"Ste Hélène","ENG":"Saint Helena"} +188 2015-03-19 00:04:07.821 \N 1 SI Slovenia \N \N 140 2 {"FRA":"Slovénie","ENG":"Slovenia"} +189 2015-03-19 00:04:07.842 \N 1 SJ Svalbard \N \N 31 2 {"FRA":"Svalbard et Jan Mayen (Îles)","ENG":"Svalbard"} +190 2015-03-19 00:04:07.863 \N 1 SK Slovakia \N \N 139 2 {"FRA":"Slovaquie","ENG":"Slovakia"} +191 2015-03-19 00:04:07.891 \N 1 SL Sierra Leone \N \N 137 2 {"FRA":"Sierra Léone","ENG":"Sierra Leone"} +192 2015-03-19 00:04:07.911 \N 1 SM San Marino \N \N 5 2 {"FRA":"San Marin","ENG":"San Marino"} +193 2015-03-19 00:04:07.933 \N 1 SN Senegal \N \N 20 2 {"FRA":"Sénégal","ENG":"Senegal"} +194 2015-03-19 00:04:07.955 \N 1 SO Somalia \N \N 141 2 {"FRA":"Somalie","ENG":"Sénégal"} +195 2015-03-19 00:04:07.982 \N 1 SR Suriname \N \N 5 2 {"FRA":"Surinam","ENG":"Suriname"} +196 2015-03-19 00:04:08.004 \N 1 ST Santo Tomas and Principe \N \N 134 2 {"FRA":"Sao Tomé et Principe","ENG":"Santo Tomas and Principe"} +197 2015-03-19 00:04:08.025 \N 1 SV El Salvador \N \N 132 2 {"FRA":"Salvador","ENG":"El Salvador"} +198 2015-03-19 00:04:08.047 \N 1 SY Syria \N \N 148 2 {"FRA":"Syrie (République arabe syrienne)","ENG":"Syria"} +199 2015-03-19 00:04:08.068 \N 1 SZ Swaziland \N \N 147 2 {"FRA":"Swaziland","ENG":"Swaziland"} +200 2015-03-19 00:04:08.089 \N 1 TC Turks and Caicos Islands \N \N 49 2 {"FRA":"Turks et Caicos (Îles)","ENG":"Turks and Caicos Islands"} +201 2015-03-19 00:04:08.111 \N 1 TD Chad \N \N 34 2 {"FRA":"Tchad","ENG":"Chad"} +202 2015-03-19 00:04:08.132 \N 1 TF French Southern and Antarctic Land \N \N 5 2 {"FRA":"Territoires Antarctiques français","ENG":"French Southern and Antarctic Land"} +203 2015-03-19 00:04:08.154 \N 1 TG Togo \N \N 20 2 {"FRA":"Togo","ENG":"Togo"} +204 2015-03-19 00:04:08.174 \N 1 TH Thailand \N \N 153 2 {"FRA":"Thaïlande","ENG":"Thailand"} +205 2015-03-19 00:04:08.202 \N 1 TJ Tajikistan \N \N 149 2 {"FRA":"Tadjikistan","ENG":"Tajikistan"} +206 2015-03-19 00:04:08.224 \N 1 TK Tokelau \N \N 72 2 {"FRA":"Tokelau","ENG":"Tokelau"} +207 2015-03-19 00:04:08.245 \N 1 TM Turkmenistan \N \N 157 2 {"FRA":"Turkménistan","ENG":"Turkmenistan"} +208 2015-03-19 00:04:08.266 \N 1 TN Tunisia \N \N 156 2 {"FRA":"Tunisie","ENG":"Tunisia"} +209 2015-03-19 00:04:08.287 \N 1 TO Tonga \N \N 154 2 {"FRA":"Tonga","ENG":"Tonga"} +210 2015-03-19 00:04:08.307 \N 1 TL East timor \N \N 5 2 {"FRA":"Timor oriental","ENG":"East timor"} +211 2015-03-19 00:04:08.33 \N 1 TR Turkey \N \N 159 2 {"FRA":"Turquie","ENG":"Turkey"} +212 2015-03-19 00:04:08.351 \N 1 TT Trinidad and Tobago \N \N 155 2 {"FRA":"Trinidad et Tobago","ENG":"Trinidad and Tobago"} +213 2015-03-19 00:04:08.372 \N 1 TV Tuvalu \N \N 13 2 {"FRA":"Tuvalu","ENG":"Tuvalu"} +214 2015-03-19 00:04:08.393 \N 1 TW Taiwan \N \N 150 2 {"FRA":"Taiwan","ENG":"Taiwan"} +215 2015-03-19 00:04:08.421 \N 1 TZ Tanzania \N \N 151 2 {"FRA":"Tanzanie","ENG":"Tanzania"} +216 2015-03-19 00:04:08.441 \N 1 UA Ukraine \N \N 160 2 {"FRA":"Ukraine","ENG":"Ukraine"} +217 2015-03-19 00:04:08.463 \N 1 UG Uganda \N \N 117 2 {"FRA":"Ouganda","ENG":"Uganda"} +218 2015-03-19 00:04:08.485 \N 1 GB United Kingdom \N \N 65 2 {"FRA":"Royaume-Uni","ENG":"United Kingdom"} +219 2015-03-19 00:04:08.505 \N 1 UM United States Minor Outlying Island \N \N 49 2 {"FRA":"Territoires non incorporés des États-Unis","ENG":"United States Minor Outlying Island"} +220 2015-03-19 00:04:08.528 \N 1 US United States \N \N 49 2 {"FRA":"Etats-Unis d Amérique","ENG":"United States"} +221 2015-03-19 00:04:08.55 \N 1 UY Uruguay \N \N 161 2 {"FRA":"Uruguay","ENG":"Uruguay"} +222 2015-03-19 00:04:08.577 \N 1 UZ Uzbekistan \N \N 118 2 {"FRA":"Ouzbékistan","ENG":"Uzbekistan"} +223 2015-03-19 00:04:08.599 \N 1 VA Holy See Vatican City \N \N 5 2 {"FRA":"Vatican","ENG":"Holy See Vatican City"} +224 2015-03-19 00:04:08.621 \N 1 VC Saint Vincent and the Grenadines \N \N 7 2 {"FRA":"Saint Vincent et Grenadines","ENG":"Saint Vincent and the Grenadines"} +225 2015-03-19 00:04:08.641 \N 1 VE Venezuela \N \N 5 2 {"FRA":"Vénézuela","ENG":"Venezuela"} +226 2015-03-19 00:04:08.662 \N 1 VG British Virgin Islands \N \N 49 2 {"FRA":"Vierges (Îles) - RU","ENG":"British Virgin Islands"} +227 2015-03-19 00:04:08.683 \N 1 VI Virgin Islands \N \N 49 2 {"FRA":"Vierges (Îles) - EU","ENG":"Virgin Islands"} +228 2015-03-19 00:04:08.705 \N 1 VN Vietnam \N \N 164 2 {"FRA":"Vietnam","ENG":"Vietnam"} +229 2015-03-19 00:04:08.726 \N 1 VU Vanuatu \N \N 162 2 {"FRA":"Vanuatu","ENG":"Vanuatu"} +230 2015-03-19 00:04:08.748 \N 1 WF Wallis and Futuna \N \N 114 2 {"FRA":"Wallis et Futuna (Îles)","ENG":"Wallis and Futuna"} +231 2015-03-19 00:04:08.769 \N 1 WS Samoa \N \N 133 2 {"FRA":"Samoa","ENG":"Samoa"} +232 2015-03-19 00:04:08.79 \N 1 YE Yemen \N \N 165 2 {"FRA":"Yemen","ENG":"Yemen"} +233 2015-03-19 00:04:08.811 \N 1 YT Mayotte \N \N 5 2 {"FRA":"Mayotte","ENG":"Mayotte"} +234 2015-03-19 00:04:08.833 \N 1 YU Yugoslavia \N \N 5 2 {"FRA":"Yougoslavie","ENG":"Yugoslavia"} +235 2015-03-19 00:04:08.854 \N 1 ZA South Africa \N \N 2 2 {"FRA":"Afrique du Sud","ENG":"South Africa"} +236 2015-03-19 00:04:08.875 \N 1 ZM Zambia \N \N 166 2 {"FRA":"Zambie","ENG":"Zambia"} +237 2015-03-19 00:04:08.896 \N 1 ZW Zimbabwe \N \N 167 2 {"FRA":"Zimbabwe","ENG":"Zimbabwe"} +\. + + +-- +-- Data for Name: adm_currency; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.adm_currency (id, created, updated, version, currency_code, description_en, system_currency, creator, updater) FROM stdin; +1 2015-03-19 00:03:59.913 \N 1 AFA Afghani 1 \N \N +2 2015-03-19 00:03:59.935 \N 1 ZAR Rand 1 \N \N +3 2015-03-19 00:03:59.956 \N 1 ALL Lek 1 \N \N +4 2015-03-19 00:03:59.983 \N 1 DZD Dinar algérien 1 \N \N +5 2015-03-19 00:04:00.004 \N 1 EUR Euro 1 \N \N +6 2015-03-19 00:04:00.024 \N 1 AOA Kwanza 1 \N \N +7 2015-03-19 00:04:00.047 \N 1 XCD Dollar des Cara bes de lEst 1 \N \N +8 2015-03-19 00:04:00.069 \N 1 ANG Florin des Antilles 1 \N \N +9 2015-03-19 00:04:00.089 \N 1 SAR Riyal saoudien 1 \N \N +10 2015-03-19 00:04:00.111 \N 1 ARS Peso 1 \N \N +11 2015-03-19 00:04:00.131 \N 1 AMD Dram 1 \N \N +12 2015-03-19 00:04:00.152 \N 1 AWG Florin d Aruba 1 \N \N +13 2015-03-19 00:04:00.173 \N 1 AUD Dollar australien 1 \N \N +14 2015-03-19 00:04:00.194 \N 1 AZM Manat azerbaïdjanais 1 \N \N +15 2015-03-19 00:04:00.215 \N 1 BSD Dollar des Bahamas 1 \N \N +16 2015-03-19 00:04:00.237 \N 1 BHD Dinar de Bahreïn 1 \N \N +17 2015-03-19 00:04:00.258 \N 1 BDT Taka 1 \N \N +18 2015-03-19 00:04:00.28 \N 1 BBD Dollar de Barbade 1 \N \N +19 2015-03-19 00:04:00.3 \N 1 BZD Dollar de Belize 1 \N \N +20 2015-03-19 00:04:00.327 \N 1 XOF Franc CFA - BCEAO 1 \N \N +21 2015-03-19 00:04:00.347 \N 1 BMD Dollar des Bermudes 1 \N \N +22 2015-03-19 00:04:00.369 \N 1 BTN Ngultrum 1 \N \N +23 2015-03-19 00:04:00.391 \N 1 BYR Rouble biãlorussie 1 \N \N +24 2015-03-19 00:04:00.411 \N 1 BOB Boliviano 1 \N \N +25 2015-03-19 00:04:00.433 \N 1 BAM Mark bosniaque convertible 1 \N \N +26 2015-03-19 00:04:00.455 \N 1 BWP Pula 1 \N \N +27 2015-03-19 00:04:00.481 \N 1 BRL Real 1 \N \N +28 2015-03-19 00:04:00.502 \N 1 BND Dollar de Brunéi 1 \N \N +29 2015-03-19 00:04:00.523 \N 1 BGN Lev 1 \N \N +30 2015-03-19 00:04:00.545 \N 1 BIF Franc du Burundi 1 \N \N +31 2015-03-19 00:04:00.567 \N 1 NOK Couronne norvégienne 1 \N \N +32 2015-03-19 00:04:00.587 \N 1 KYD Dollar des îles Caïmanes 1 \N \N +33 2015-03-19 00:04:00.609 \N 1 KHR Riel 1 \N \N +34 2015-03-19 00:04:00.631 \N 1 XAF Franc CFA - BEAC 1 \N \N +35 2015-03-19 00:04:00.652 \N 1 CAD Dollar canadien 1 \N \N +36 2015-03-19 00:04:00.673 \N 1 CVE Escudo du Cap-Vert 1 \N \N +37 2015-03-19 00:04:00.694 \N 1 CFA FRANC CFA-BEAC 1 \N \N +38 2015-03-19 00:04:00.716 \N 1 CLP Peso chilien 1 \N \N +39 2015-03-19 00:04:00.737 \N 1 CNY Yuan Ren-Min-Bi 1 \N \N +40 2015-03-19 00:04:00.763 \N 1 CYP Livre chypriote 1 \N \N +41 2015-03-19 00:04:00.784 \N 1 COP Peso colombien 1 \N \N +42 2015-03-19 00:04:00.804 \N 1 KMF Franc des Comores 1 \N \N +43 2015-03-19 00:04:00.827 \N 1 CDF FRANC DU CONGO DEMOCRATIQUE 1 \N \N +44 2015-03-19 00:04:00.847 \N 1 KRW Won 1 \N \N +45 2015-03-19 00:04:00.869 \N 1 KPW Won de la Corée du Nord 1 \N \N +46 2015-03-19 00:04:00.891 \N 1 CRC Colon de Costa Rica 1 \N \N +47 2015-03-19 00:04:00.912 \N 1 HRK Kuna 1 \N \N +48 2015-03-19 00:04:00.934 \N 1 CUP Peso cubain 1 \N \N +49 2015-03-19 00:04:00.955 \N 1 USD Dollar des Etats-unis 1 \N \N +50 2015-03-19 00:04:00.983 \N 1 DKK Couronne danoise 1 \N \N +51 2015-03-19 00:04:01.004 \N 1 DJF Franc de Djibouti 1 \N \N +52 2015-03-19 00:04:01.025 \N 1 DOP Peso dominicain 1 \N \N +53 2015-03-19 00:04:01.047 \N 1 EGP Livre égyptienne 1 \N \N +54 2015-03-19 00:04:01.068 \N 1 AED Dirham des émirats arabes unis 1 \N \N +55 2015-03-19 00:04:01.089 \N 1 ERN Nafka 1 \N \N +56 2015-03-19 00:04:01.111 \N 1 EEK Couronne d Estonie 1 \N \N +57 2015-03-19 00:04:01.132 \N 1 ETB Birr éthiopien 1 \N \N +58 2015-03-19 00:04:01.152 \N 1 FKP Livre de Falkland 1 \N \N +59 2015-03-19 00:04:01.174 \N 1 FJD Dollar des Fidji 1 \N \N +60 2015-03-19 00:04:01.198 \N 1 GMD Dalasie 1 \N \N +61 2015-03-19 00:04:01.218 \N 1 GEL Lari 1 \N \N +62 2015-03-19 00:04:01.24 \N 1 GHC Cedi ghanéen 1 \N \N +63 2015-03-19 00:04:01.266 \N 1 GIP Livre de Gibraltar 1 \N \N +64 2015-03-19 00:04:01.287 \N 1 GTQ Quetzal 1 \N \N +65 2015-03-19 00:04:01.309 \N 1 GBP Livre sterling 1 \N \N +66 2015-03-19 00:04:01.33 \N 1 GNF Franc guinéen 1 \N \N +67 2015-03-19 00:04:01.357 \N 1 GYD Dollar de Guyane 1 \N \N +68 2015-03-19 00:04:01.379 \N 1 HTG Gourde 1 \N \N +69 2015-03-19 00:04:01.4 \N 1 HNL Lempira 1 \N \N +70 2015-03-19 00:04:01.421 \N 1 HKD Dollar de Hong-Kong 1 \N \N +71 2015-03-19 00:04:01.443 \N 1 HUF Forint 1 \N \N +72 2015-03-19 00:04:01.464 \N 1 NZD Dollar néo-zélandais 1 \N \N +73 2015-03-19 00:04:01.484 \N 1 INR Roupie indienne 1 \N \N +74 2015-03-19 00:04:01.507 \N 1 IDR Rupiah 1 \N \N +75 2015-03-19 00:04:01.528 \N 1 IRR Rial iranien 1 \N \N +76 2015-03-19 00:04:01.549 \N 1 IQD Dinar iraquien 1 \N \N +77 2015-03-19 00:04:01.577 \N 1 ISK Couronne islandaise 1 \N \N +78 2015-03-19 00:04:01.598 \N 1 ILS Sheqel 1 \N \N +79 2015-03-19 00:04:01.619 \N 1 JMD Dollar jamaïcain 1 \N \N +80 2015-03-19 00:04:01.641 \N 1 JPY Yen 1 \N \N +81 2015-03-19 00:04:01.663 \N 1 JOD Dinar jordanien 1 \N \N +82 2015-03-19 00:04:01.683 \N 1 KZT Tenge 1 \N \N +83 2015-03-19 00:04:01.705 \N 1 KES Shilling du Kenya 1 \N \N +84 2015-03-19 00:04:01.733 \N 1 KGS Som 1 \N \N +85 2015-03-19 00:04:01.754 \N 1 KWD Dinar koweïtien 1 \N \N +86 2015-03-19 00:04:01.775 \N 1 LAK Kip 1 \N \N +87 2015-03-19 00:04:01.797 \N 1 LSL Loti 1 \N \N +88 2015-03-19 00:04:01.817 \N 1 LVL Lats letton 1 \N \N +89 2015-03-19 00:04:01.839 \N 1 LBP Livre libanaise 1 \N \N +90 2015-03-19 00:04:01.861 \N 1 LRD Dollar libérien 1 \N \N +91 2015-03-19 00:04:01.882 \N 1 LYD Dinar libyen 1 \N \N +92 2015-03-19 00:04:01.903 \N 1 CHF Franc suisse 1 \N \N +93 2015-03-19 00:04:01.924 \N 1 LTL Litas lituanien 1 \N \N +94 2015-03-19 00:04:01.95 \N 1 MOP Pataca 1 \N \N +95 2015-03-19 00:04:01.973 \N 1 MKD Denar 1 \N \N +96 2015-03-19 00:04:01.994 \N 1 MGA Ariary malgache 1 \N \N +97 2015-03-19 00:04:02.014 \N 1 MGF Franc malgache 1 \N \N +98 2015-03-19 00:04:02.036 \N 1 MYR Ringgit de Malaisie 1 \N \N +99 2015-03-19 00:04:02.058 \N 1 MWK Kwacha 1 \N \N +100 2015-03-19 00:04:02.08 \N 1 MVR Rufiyaa 1 \N \N +101 2015-03-19 00:04:02.1 \N 1 MTL Livre maltaise 1 \N \N +102 2015-03-19 00:04:02.122 \N 1 MAD Dirham marocain 1 \N \N +103 2015-03-19 00:04:02.143 \N 1 MUR Roupie mauricienne 1 \N \N +104 2015-03-19 00:04:02.17 \N 1 MRO Ouguija 1 \N \N +105 2015-03-19 00:04:02.191 \N 1 MXN Peso mexicain 1 \N \N +106 2015-03-19 00:04:02.212 \N 1 MDL Leu de Moldave 1 \N \N +107 2015-03-19 00:04:02.235 \N 1 MNT Tugrik 1 \N \N +108 2015-03-19 00:04:02.257 \N 1 MZM Metical 1 \N \N +109 2015-03-19 00:04:02.278 \N 1 MMK Kyat 1 \N \N +110 2015-03-19 00:04:02.299 \N 1 NAD Dollar namibien 1 \N \N +111 2015-03-19 00:04:02.32 \N 1 NPR Roupie Népalaise 1 \N \N +112 2015-03-19 00:04:02.342 \N 1 NIO Cordoba oro 1 \N \N +113 2015-03-19 00:04:02.362 \N 1 NGN Naira 1 \N \N +114 2015-03-19 00:04:02.387 \N 1 XPF Franc CFP 1 \N \N +115 2015-03-19 00:04:02.407 \N 1 OMR Rial Omani 1 \N \N +116 2015-03-19 00:04:02.428 \N 1 XAU Opérations sur or 1 \N \N +117 2015-03-19 00:04:02.449 \N 1 UGX Shilling ougandais 1 \N \N +118 2015-03-19 00:04:02.471 \N 1 UZS Soum ouzbek 1 \N \N +119 2015-03-19 00:04:02.492 \N 1 PKR Roupie pakistanaise 1 \N \N +120 2015-03-19 00:04:02.515 \N 1 PAB Balboa 1 \N \N +121 2015-03-19 00:04:02.535 \N 1 PGK Kina 1 \N \N +122 2015-03-19 00:04:02.558 \N 1 PYG Guarani 1 \N \N +123 2015-03-19 00:04:02.578 \N 1 PEN Nouveau sol 1 \N \N +124 2015-03-19 00:04:02.601 \N 1 PHP Peso philippin 1 \N \N +125 2015-03-19 00:04:02.622 \N 1 PLN Zloty 1 \N \N +126 2015-03-19 00:04:02.643 \N 1 QAR Riyal du Qatar 1 \N \N +127 2015-03-19 00:04:02.664 \N 1 RON LEI (Nouveau Leu) 1 \N \N +128 2015-03-19 00:04:02.686 \N 1 ROL Leu 1 \N \N +129 2015-03-19 00:04:02.707 \N 1 RUB Rouble russe (nouveau) 1 \N \N +130 2015-03-19 00:04:02.731 \N 1 RWF Franc du Rwanda 1 \N \N +131 2015-03-19 00:04:02.752 \N 1 SBD Dollar des îles Salomon 1 \N \N +132 2015-03-19 00:04:02.774 \N 1 SVC Colon salvadorien 1 \N \N +133 2015-03-19 00:04:02.796 \N 1 WST Tala 1 \N \N +134 2015-03-19 00:04:02.816 \N 1 STD Dobra 1 \N \N +135 2015-03-19 00:04:02.837 \N 1 CSD Dinar Serbe 1 \N \N +136 2015-03-19 00:04:02.86 \N 1 SCR Roupie des Seychelles 1 \N \N +137 2015-03-19 00:04:02.881 \N 1 SLL Leone 1 \N \N +138 2015-03-19 00:04:02.902 \N 1 SGD Dollar de Singapour 1 \N \N +139 2015-03-19 00:04:02.922 \N 1 SKK Couronne slovaque 1 \N \N +140 2015-03-19 00:04:02.944 \N 1 SIT Tolar 1 \N \N +141 2015-03-19 00:04:02.965 \N 1 SOS Shilling Somalien 1 \N \N +142 2015-03-19 00:04:02.987 \N 1 SDG Livre soudanaise 1 \N \N +143 2015-03-19 00:04:03.014 \N 1 LKR Roupie de Sri Lanka 1 \N \N +144 2015-03-19 00:04:03.035 \N 1 SHP Livre de Sainte-Hélène 1 \N \N +145 2015-03-19 00:04:03.055 \N 1 SEK Couronne suédoise 1 \N \N +146 2015-03-19 00:04:03.077 \N 1 SRD Florin du suriname 1 \N \N +147 2015-03-19 00:04:03.099 \N 1 SZL Lilangeni 1 \N \N +148 2015-03-19 00:04:03.119 \N 1 SYP Livre syrienne 1 \N \N +149 2015-03-19 00:04:03.141 \N 1 TJS Somoni 1 \N \N +150 2015-03-19 00:04:03.163 \N 1 TWD Nouveau dollar de Taïwan 1 \N \N +151 2015-03-19 00:04:03.184 \N 1 TZS Shilling tanzanien 1 \N \N +152 2015-03-19 00:04:03.206 \N 1 CZK Couronne tchèque 1 \N \N +153 2015-03-19 00:04:03.233 \N 1 THB Baht 1 \N \N +154 2015-03-19 00:04:03.254 \N 1 TOP Pa anga 1 \N \N +155 2015-03-19 00:04:03.274 \N 1 TTD Dollar de Trinité et de Tobago 1 \N \N +156 2015-03-19 00:04:03.296 \N 1 TND Dinar tunisien 1 \N \N +157 2015-03-19 00:04:03.318 \N 1 TMM Manat turkmène 1 \N \N +158 2015-03-19 00:04:03.339 \N 1 TRY Nouvelle Livre turque 1 \N \N +159 2015-03-19 00:04:03.36 \N 1 TRL Livre turque 1 \N \N +160 2015-03-19 00:04:03.38 \N 1 UAH HRYVNIA 1 \N \N +161 2015-03-19 00:04:03.403 \N 1 UYU Nouveau Peso uruguayen 1 \N \N +162 2015-03-19 00:04:03.423 \N 1 VUV Vatu 1 \N \N +163 2015-03-19 00:04:03.445 \N 1 VEF Bolivar Fuerte 1 \N \N +164 2015-03-19 00:04:03.466 \N 1 VND Dong 1 \N \N +165 2015-03-19 00:04:03.487 \N 1 YER Riyal yéménite 1 \N \N +166 2015-03-19 00:04:03.507 \N 1 ZMK Kwacha de Zambie 1 \N \N +167 2015-03-19 00:04:03.53 \N 1 ZWD Dollar du Zimbabwe 1 \N \N +\. + + +-- +-- Data for Name: adm_custom_generic_entity_code; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.adm_custom_generic_entity_code (id, entity_class, code_el, sequence_size, sequence_current_value, version, created, updated, creator, updater) FROM stdin; +1 Customer CUST_#{entity.customerCategory.code}_#{sequenceNextValue} 5 0 1 2018-10-02 12:09:00.913 \N OPENCELL.ADMIN \N +2 Subscription SU_#{entity.userAccount.code}_#{sequenceNextValue} 9 0 1 2018-10-02 12:12:09.935 \N OPENCELL.ADMIN \N +\. + + +-- +-- Data for Name: adm_file_format; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.adm_file_format (id, version, created, updated, creator, updater, file_name_pattern, configuration_template, record_name, input_directory, output_directory, reject_directory, archive_directory, code, description, job_code) FROM stdin; +\. + + +-- +-- Data for Name: adm_file_format_file_type; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.adm_file_format_file_type (file_format_id, file_type_id) FROM stdin; +\. + + +-- +-- Data for Name: adm_file_type; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.adm_file_type (id, version, created, updated, creator, updater, code, description) FROM stdin; +\. + + +-- +-- Data for Name: adm_gdpr_configuration; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.adm_gdpr_configuration (id, version, inactive_subscription_life, inactive_order_life, invoice_life, accounting_life, customer_profile_life, mailing_life, ao_check_unpaid_life, delete_sub, delete_order, delete_invoice, delete_accounting, delete_cust_prospect, delete_mailing_life, delete_ao_check_unpaid) FROM stdin; +1 0 5 10 10 10 3 3 3 0 0 0 0 0 0 0 +\. + + +-- +-- Data for Name: adm_inbound_req_cookies; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.adm_inbound_req_cookies (inboundrequest_id, coockies, coockies_key) FROM stdin; +\. + + +-- +-- Data for Name: adm_inbound_req_headers; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.adm_inbound_req_headers (inboundrequest_id, headers, headers_key) FROM stdin; +\. + + +-- +-- Data for Name: adm_inbound_req_params; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.adm_inbound_req_params (inboundrequest_id, parameters, parameters_key) FROM stdin; +\. + + +-- +-- Data for Name: adm_inbound_request; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.adm_inbound_request (id, version, created, updated, code, description, auth_type, content_length, content_type, method, path_info, protocol, remote_adrr, remote_port, request_uri, resp_content_type, resp_encoding, scheme, creator, updater, body, resp_status) FROM stdin; +\. + + +-- +-- Data for Name: adm_inbound_resp_cookies; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.adm_inbound_resp_cookies (inboundrequest_id, responsecoockies, responsecoockies_key) FROM stdin; +\. + + +-- +-- Data for Name: adm_inbound_resp_headers; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.adm_inbound_resp_headers (inboundrequest_id, responseheaders, responseheaders_key) FROM stdin; +\. + + +-- +-- Data for Name: adm_input_history; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.adm_input_history (input_type, id, version, end_date, start_date, ignored_tickets, name, parsed_tickets, rejected_tickets, succeeded_tickets) FROM stdin; +\. + + +-- +-- Data for Name: adm_language; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.adm_language (id, created, updated, version, description_en, language_code, creator, updater) FROM stdin; +1 2015-03-19 00:03:59.123 \N 1 Deutsch DEU \N \N +2 2015-03-19 00:03:59.205 \N 1 English ENG \N \N +3 2015-03-19 00:03:59.23 \N 1 Arabic ARA \N \N +4 2015-03-19 00:03:59.251 \N 1 Bulgarian BUL \N \N +5 2015-03-19 00:03:59.272 \N 1 Catalan CAT \N \N +6 2015-03-19 00:03:59.293 \N 1 Chinese ZHO \N \N +7 2015-03-19 00:03:59.315 \N 1 Danish DAN \N \N +8 2015-03-19 00:03:59.335 \N 1 Spanish SPA \N \N +9 2015-03-19 00:03:59.355 \N 1 Estonian EST \N \N +10 2015-03-19 00:03:59.376 \N 1 Faroese FAO \N \N +11 2015-03-19 00:03:59.399 \N 1 Finnish FIN \N \N +12 2015-03-19 00:03:59.441 \N 1 French FRA \N \N +13 2015-03-19 00:03:59.463 \N 1 Greek ELL \N \N +14 2015-03-19 00:03:59.484 \N 1 Hindi HIN \N \N +15 2015-03-19 00:03:59.505 \N 1 Hungarian HUN \N \N +16 2015-03-19 00:03:59.527 \N 1 Icelandic ISL \N \N +17 2015-03-19 00:03:59.548 \N 1 Italian ITA \N \N +18 2015-03-19 00:03:59.569 \N 1 Japanese JPN \N \N +19 2015-03-19 00:03:59.59 \N 1 Latvian LAV \N \N +20 2015-03-19 00:03:59.612 \N 1 Lithuanian LIT \N \N +21 2015-03-19 00:03:59.634 \N 1 Dutch NLD \N \N +22 2015-03-19 00:03:59.655 \N 1 Norwegian NOR \N \N +23 2015-03-19 00:03:59.677 \N 1 Polish POL \N \N +24 2015-03-19 00:03:59.702 \N 1 Portuguese POR \N \N +25 2015-03-19 00:03:59.724 \N 1 Romanian RON \N \N +26 2015-03-19 00:03:59.744 \N 1 Russian RUS \N \N +27 2015-03-19 00:03:59.766 \N 1 Serbian SRP \N \N +28 2015-03-19 00:03:59.787 \N 1 Slovak SLK \N \N +29 2015-03-19 00:03:59.808 \N 1 Slovene SLV \N \N +30 2015-03-19 00:03:59.83 \N 1 Swedish SWE \N \N +31 2015-03-19 00:03:59.851 \N 1 Czech CES \N \N +32 2015-03-19 00:03:59.872 \N 1 Turkish TUR \N \N +33 2015-03-19 00:03:59.872 \N 1 Croatian HRV \N \N +\. + + +-- +-- Data for Name: adm_notif_email; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.adm_notif_email (email_from, email_to_el, id, email_template_id) FROM stdin; +\. + + +-- +-- Data for Name: adm_notif_email_attach; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.adm_notif_email_attach (emailnotification_id, attachmentexpressions) FROM stdin; +\. + + +-- +-- Data for Name: adm_notif_email_list; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.adm_notif_email_list (emailnotification_id, emails) FROM stdin; +\. + + +-- +-- Data for Name: adm_notif_email_user; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.adm_notif_email_user (emailnotification_id, users_id) FROM stdin; +\. + + +-- +-- Data for Name: adm_notif_history; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.adm_notif_history (id, version, created, updated, entity_classname, entity_code, nb_retry, result, serialized_entity, status, creator, updater, inbound_request_id, notification_id) FROM stdin; +\. + + +-- +-- Data for Name: adm_notif_im; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.adm_notif_im (id_expression, im_provider, message, id) FROM stdin; +\. + + +-- +-- Data for Name: adm_notif_im_list; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.adm_notif_im_list (instantmessagingnotification_id, ids) FROM stdin; +\. + + +-- +-- Data for Name: adm_notif_im_user; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.adm_notif_im_user (instantmessagingnotification_id, users_id) FROM stdin; +\. + + +-- +-- Data for Name: adm_notif_job; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.adm_notif_job (job_instance_id, id) FROM stdin; +\. + + +-- +-- Data for Name: adm_notif_job_params; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.adm_notif_job_params (jobtrigger_id, jobparams, jobparams_key) FROM stdin; +\. + + +-- +-- Data for Name: adm_notif_webhook_header; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.adm_notif_webhook_header (webhook_id, headers, headers_key) FROM stdin; +1 */* Accept +1 application/json Content-Type +2 public X-TenantID +2 application/json Content-Type +\. + + +-- +-- Data for Name: adm_notif_webhook_param; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.adm_notif_webhook_param (webhook_id, webhookparams, webhookparams_key) FROM stdin; +\. + + +-- +-- Data for Name: adm_notif_webhooks; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.adm_notif_webhooks (http_host, http_method, http_page, http_protocol, password, http_port, username, id, body_el) FROM stdin; +10.12.174.52:9090 HTTP_POST /api/low-balance-webhook HTTP \N \N \N 1 {\r\n"billingAccountCode":"#{event.userAccount.code}",\r\n"walletTemplateCode":"#{event.code}",\r\n"tenant":"public"\r\n} +10.12.174.52:9090 HTTP_POST /api/order/integration/billing HTTP \N \N \N 2 {\r\n"event":"#{event.code}",\r\n"user":"#{context.currentUser.userName}"\r\n} +\. + + +-- +-- Data for Name: adm_notification; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.adm_notification (id, version, disabled, created, updated, code, description, class_name_filter, event_expression_filter, event_type_filter, creator, updater, counter_instance_id, counter_template_id, script_instance_id, priority, run_async, cf_values_accum, cf_values, uuid, save_successful_notif) FROM stdin; +-10 0 0 2024-01-26 14:02:20.021235 \N PaymentCallBack \N org.meveo.model.notification.InboundRequest #{event.pathInfo.startsWith("/DEMO/custom_payment-callback?")} INBOUND_REQ opencell.admin \N \N \N -11 0 0 \N \N -10 1 +1 0 0 2024-01-31 10:26:16.893 \N LOW_BALANCE \N org.meveo.model.billing.WalletInstance \N LOW_BALANCE public.superadmin \N \N \N \N 1 0 \N \N 9db48a83-641d-41d6-8df3-d0112249ec01 1 +2 0 0 2024-01-31 10:34:53.529 \N WALLET_RESET \N org.meveo.model.jobs.JobExecutionResultImpl \N CREATED public.superadmin \N \N \N \N 1 0 \N \N 7284f749-a173-4d02-9f43-7c269c9b2a53 1 +\. + + +-- +-- Data for Name: adm_notification_params; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.adm_notification_params (notification_id, params, params_key) FROM stdin; +-10 #{event.getParameters()} params +\. + + +-- +-- Data for Name: adm_permission; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.adm_permission (id, name, permission) FROM stdin; +1 Administration visualization administrationVisualization +2 Administration management administrationManagement +3 Catalog visualization catalogVisualization +4 Catalog management catalogManagement +5 Account visualization accountVisualization +6 Account management accountManagement +7 Reporting visualization reportingVisualization +8 Reporting management reportingManagement +9 Customer summary visualization customerSummaryVisualization +10 Billing visualization billingVisualization +11 Billing management billingManagement +12 SuperAdmin management superAdminManagement +13 Remote import remoteImport +14 API User apiAccess +15 FTP Read ftpread +16 FTP Write ftpwrite +-17 Marketing Catalog marketingCatalogManager +-18 Orders visualization orderVisualization +-19 Order management orderManagement +-20 Finance visualization financeVisualization +-21 Finance management financeManagement +-22 Marketing Catalog visualization marketingCatalogVisualization +-23 Quote visualization quoteVisualization +-24 Quote management quoteManagement +-25 User Management userManagement +-26 User Self Management userSelfManagement +-27 Create invoice createInvoice +-28 User visualization userVisualization +-31 cc-module-customers-payment-view cc-module-customers-payment-view +-32 cc-module-customers-ba-view cc-module-customers-ba-view +-33 cc-module-customers-edit-ba-ua-suspend cc-module-customers-edit-ba-ua-suspend +-34 cc-module-customers-ba-inv-exceptional. cc-module-customers-ba-inv-exceptional +-35 cc-module-customers-edit-c-delete cc-module-customers-edit-c-delete +-36 cc-module-customers-edit-c-update cc-module-customers-edit-c-update +-37 cc-module-customers-edit-inv-pmt-view cc-module-customers-edit-inv-pmt-view +-38 cc-module-customers-ba-inv-unbilled cc-module-customers-ba-inv-unbilled +-39 cc-module-customers-edit-ba-ua-reactivate cc-module-customers-edit-ba-ua-reactivate +-40 cc-module-customers-edit-ca-pm-add cc-module-customers-edit-ca-pm-add +-41 cc-module-customers-edit-inv-view cc-module-customers-edit-inv-view +-42 cc-module-customers-edit-ba-ua-view cc-module-customers-edit-ba-ua-view +-43 cc-module-customers-edit-ba-ua-add cc-module-customers-edit-ba-ua-add +-44 cc-module-customers-ba-add cc-module-customers-ba-add +-45 cc-module-customers-edit-ca-pm-update cc-module-customers-edit-ca-pm-update +-46 cc-module-customers-edit-inv-sub-new cc-module-customers-edit-inv-sub-new +-47 cc-module-customers-edit-ca-pm-wiretransfer cc-module-customers-edit-ca-pm-wiretransfer +-48 cc-module-customers-edit-ca-read cc-module-customers-edit-ca-read +-49 cc-module-customers-ba-proforma cc-module-customers-ba-proforma +-50 cc-module-customers-edit-ao-manage cc-module-customers-edit-ao-manage +-51 cc-module-customers-edit-ca-pm-check cc-module-customers-edit-ca-pm-check +-52 cc-module-customers-edit-ca-update cc-module-customers-edit-ca-update +-53 cc-module-customers-menu cc-module-customers-menu +-54 cc-module-customers-edit-ca-resiliate cc-module-customers-edit-ca-resiliate +-55 cc-module-customers-edit-inv-ba-new cc-module-customers-edit-inv-ba-new +-56 cc-module-customers-edit-c-read cc-module-customers-edit-c-read +-57 cc-module-customers-edit-ao-view cc-module-customers-edit-ao-view +-58 cc-module-customers-edit-ca-pm-directdebit cc-module-customers-edit-ca-pm-directdebit +-59 cc-module-customers-edit-ba-ua-update cc-module-customers-edit-ba-ua-update +-60 cc-module-customers-edit-ca-pm-tip cc-module-customers-edit-ca-pm-tip +-61 cc-module-customers-edit-ca-pm-creditcard cc-module-customers-edit-ca-pm-creditcard +-62 cc-module-customers-edit-ca-pm-slimpay cc-module-customers-edit-ca-pm-slimpay +-63 cc-module-customers-ba-sub-new cc-module-customers-ba-sub-new +-64 cc-module-customers-edit-payment-add cc-module-customers-edit-payment-add +-65 cc-module-customers-edit-ca-reactivate cc-module-customers-edit-ca-reactivate +-66 cc-module-customers-edit-ba-ua-read cc-module-customers-edit-ba-ua-read +-67 cc-module-customers-ba-update cc-module-customers-ba-update +-68 cc-module-customers-edit-c-selfcare cc-module-customers-edit-c-selfcare +-69 cc-module-customers-edit-ba-ua-resiliate cc-module-customers-edit-ba-ua-resiliate +-70 pc-module-customers-menu pc-module-customers-menu +-71 cc-module-customers-new cc-module-customers-new +-72 cc-module-customers-edit-ca-suspend cc-module-customers-edit-ca-suspend +-73 cc-module-customers-ba-inv-view cc-module-customers-ba-inv-view +-74 cc-module-customers-edit-ca-add cc-module-customers-edit-ca-add +-75 cc-module-settings-files-createdir cc-module-settings-files-createdir +-76 cc-module-settings-users-add cc-module-settings-users-add +-77 cc-module-settings-files-menu cc-module-settings-files-menu +-78 cc-module-settings-menu cc-module-settings-menu +-79 cc-module-settings-users-update cc-module-settings-users-update +-80 cc-module-settings-users-view cc-module-settings-users-view +-81 cc-module-settings-files-download cc-module-settings-files-download +-82 cc-module-settings-users-submenu cc-module-settings-users-submenu +-83 cc-module-settings-files-upload cc-module-settings-files-upload +-84 cc-module-subscriptions-proforma cc-module-subscriptions-proforma +-85 cc-module-subscriptions-menu cc-module-subscriptions-menu +-86 cc-module-subscriptions-validate cc-module-subscriptions-validate +-87 cc-module-subscriptions-service-resiliate cc-module-subscriptions-service-resiliate +-88 cc-module-subscriptions-service-reactivate cc-module-subscriptions-service-reactivate +-89 cc-module-subscriptions-view cc-module-subscriptions-view +-90 cc-module-subscriptions-view-suspend cc-module-subscriptions-view-suspend +-91 cc-module-subscriptions-service-suspend cc-module-subscriptions-service-suspend +-92 cc-module-subscriptions-view-reactivate cc-module-subscriptions-view-reactivate +-93 cc-module-subscriptions-view-resiliate cc-module-subscriptions-view-resiliate +-94 cc-module-subscriptions-view-new cc-module-subscriptions-view-new +-95 pc-module-seller-new pc-module-seller-new +-96 pc-module-seller-menu pc-module-seller-menu +-97 cc-module-users-menu cc-module-users-menu +-98 pc-module-myaccount-menu pc-module-myaccount-menu +-99 cc-module-accounting-menu cc-module-accounting-menu +-100 cc-module-payment-menu cc-module-payment-menu +-101 cc-module-read cc-module-read +-102 cc-module-tickets-menu cc-module-tickets-menu +-103 cc-module-mediation-menu cc-module-mediation-menu +-104 sc-module-home-menu sc-module-home-menu +-105 sc-module-myaccount-menu sc-module-myaccount-menu +-106 sc-module-mysubs-menu sc-module-mysubs-menu +-107 sc-module-myusers-menu sc-module-myusers-menu +-108 Country Management countryManagement +-109 Country Visualization countryVisualization +-110 Language Management languageManagement +-111 Language Visualization languageVisualization +-112 Currency Management currencyManagement +-113 Currency Visualization currencyVisualization +-114 Job execution useJob +-115 Job management createJob +-116 cc-gui-access cc-gui-access +-117 API User apiAccess +-118 Administration visualization administrationVisualization +\. + + +-- +-- Data for Name: adm_role; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.adm_role (id, version, role_description, role_name) FROM stdin; +-1 0 Administrateur administrateur +-2 0 Super Administrateur superAdministrateur +-3 0 Modify all custom entities ModifyAllCE +-4 0 Read all custom entities ReadAllCE +-5 0 Marketing marketingManager +-6 0 Customer care user CUSTOMER_CARE_USER +-7 0 CC_ADMIN CC_ADMIN +-8 0 CC_LEVEL_1 CC_LEVEL_1 +-9 0 CC_LEVEL_2 CC_LEVEL_2 +-10 0 PC_ADMIN PC_ADMIN +-11 0 PC_LEVEL_1 PC_LEVEL_1 +-12 0 PC_LEVEL_2 PC_LEVEL_2 +-13 0 SC_LEVEL_1 SC_LEVEL_1 +-14 0 SUPER_ADMIN SUPER_ADMIN +-15 0 Hide Menu Header and Footer hideMenuHeaderFooter +-108 0 reportExtractManagement reportExtractManagement +-109 0 filesManagement filesManagement +-110 0 creditNoteVisualization creditNoteVisualization +-111 0 creditNoteManagement creditNoteManagement +-112 0 selfcareDefault selfcareDefault +\. + + +-- +-- Data for Name: adm_role_permission; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.adm_role_permission (role_id, permission_id) FROM stdin; +-1 1 +-1 2 +-1 3 +-1 4 +-1 5 +-1 6 +-1 7 +-1 8 +-1 9 +-1 10 +-1 11 +-2 1 +-2 12 +-2 13 +-1 14 +-1 13 +-1 15 +-1 16 +-2 14 +-5 -17 +-5 13 +-1 -18 +-1 -19 +-1 -23 +-1 -24 +-1 -25 +-1 -26 +-1 -27 +-1 -28 +-6 14 +-6 1 +-1 -20 +-1 -21 +-7 -104 +-7 -105 +-7 -106 +-7 -107 +-7 -45 +-7 -101 +-7 -39 +-7 -86 +-7 -50 +-7 -59 +-7 -94 +-7 -99 +-7 -75 +-7 -43 +-7 -100 +-7 -78 +-7 -83 +-7 -82 +-7 -84 +-7 -61 +-7 -91 +-7 -46 +-7 -48 +-7 -97 +-7 -64 +-7 -42 +-7 -56 +-7 -31 +-7 -80 +-7 -55 +-7 -79 +-7 -66 +-7 -72 +-7 -63 +-7 -89 +-7 -76 +-7 -52 +-7 -92 +-7 -41 +-7 -62 +-7 -53 +-7 -74 +-7 -44 +-7 -87 +-7 -73 +-7 -85 +-7 -68 +-7 -93 +-7 -71 +-7 -32 +-7 -33 +-7 -34 +-7 -49 +-7 -54 +-7 -67 +-7 -81 +-7 -38 +-7 -90 +-7 -58 +-7 -69 +-7 -37 +-7 -35 +-7 -25 +-7 -57 +-7 -88 +-7 -36 +-7 -40 +-7 -65 +-7 -51 +-7 -77 +-7 -60 +-7 -47 +-8 -101 +-8 -91 +-8 -40 +-8 -49 +-8 -73 +-8 -88 +-8 -65 +-8 -37 +-8 -84 +-8 -90 +-8 -85 +-8 -68 +-8 -92 +-8 -51 +-8 -64 +-8 -60 +-8 -61 +-8 -48 +-8 -46 +-8 -38 +-8 -45 +-8 -66 +-8 -55 +-8 -89 +-8 -35 +-8 -72 +-8 -39 +-8 -58 +-8 -54 +-8 -94 +-8 -53 +-8 -83 +-8 -56 +-8 -69 +-8 -47 +-8 -78 +-8 -41 +-8 -63 +-8 -43 +-8 -81 +-8 -33 +-8 -93 +-8 -71 +-8 -57 +-8 -77 +-8 -59 +-8 -36 +-8 -31 +-8 -42 +-8 -87 +-9 -89 +-9 -91 +-9 -84 +-9 -93 +-9 -94 +-9 -88 +-9 -90 +-9 -92 +-9 -85 +-9 -87 +-9 -86 +-9 -75 +-9 -83 +-9 -77 +-9 -81 +-9 -78 +-9 -101 +-9 -31 +-9 -71 +-9 -53 +-9 -39 +-9 -66 +-9 -36 +-9 -69 +-9 -64 +-9 -33 +-9 -47 +-9 -65 +-9 -41 +-9 -37 +-9 -42 +-9 -54 +-9 -55 +-9 -43 +-9 -57 +-9 -68 +-9 -59 +-9 -40 +-9 -35 +-9 -74 +-9 -48 +-9 -51 +-9 -61 +-9 -72 +-9 -58 +-9 -46 +-9 -60 +-9 -50 +-9 -45 +-9 -52 +-9 -62 +-9 -56 +-9 -73 +-9 -63 +-9 -32 +-9 -34 +-9 -38 +-9 -49 +-10 -101 +-10 -100 +-10 -99 +-10 -97 +-10 -96 +-10 -95 +-10 -94 +-10 -93 +-10 -92 +-10 -91 +-10 -90 +-10 -89 +-10 -88 +-10 -87 +-10 -86 +-10 -85 +-10 -84 +-10 -83 +-10 -82 +-10 -81 +-10 -80 +-10 -79 +-10 -78 +-10 -77 +-10 -76 +-10 -75 +-10 -74 +-10 -73 +-10 -72 +-10 -71 +-10 -70 +-10 -69 +-10 -68 +-10 -67 +-10 -66 +-10 -65 +-10 -64 +-10 -63 +-10 -62 +-10 -61 +-10 -60 +-10 -59 +-10 -58 +-10 -57 +-10 -56 +-10 -55 +-10 -54 +-10 -53 +-10 -52 +-10 -51 +-10 -50 +-10 -49 +-10 -48 +-10 -47 +-10 -46 +-10 -45 +-10 -44 +-10 -43 +-10 -42 +-10 -41 +-10 -40 +-10 -39 +-10 -38 +-10 -37 +-10 -36 +-10 -35 +-10 -34 +-10 -33 +-10 -32 +-10 -31 +-11 -51 +-11 -45 +-11 -50 +-11 -33 +-11 -67 +-11 -81 +-11 -32 +-11 -68 +-11 -38 +-11 -55 +-11 -90 +-11 -82 +-11 -85 +-11 -98 +-11 -60 +-11 -100 +-11 -73 +-11 -79 +-11 -65 +-11 -42 +-11 -75 +-11 -54 +-11 -64 +-11 -99 +-11 -66 +-11 -46 +-11 -83 +-11 -93 +-11 -43 +-11 -74 +-11 -71 +-11 -101 +-11 -48 +-11 -37 +-11 -61 +-11 -58 +-11 -62 +-11 -96 +-11 -84 +-11 -31 +-11 -87 +-11 -53 +-11 -39 +-11 -47 +-11 -92 +-11 -35 +-11 -56 +-11 -88 +-11 -52 +-11 -40 +-11 -59 +-11 -78 +-11 -44 +-11 -94 +-11 -57 +-11 -77 +-11 -91 +-11 -49 +-11 -63 +-11 -34 +-11 -69 +-11 -76 +-11 -89 +-11 -36 +-11 -41 +-11 -72 +-12 -101 +-12 -98 +-12 -94 +-12 -93 +-12 -92 +-12 -91 +-12 -90 +-12 -89 +-12 -88 +-12 -87 +-12 -86 +-12 -85 +-12 -84 +-12 -83 +-12 -81 +-12 -78 +-12 -77 +-12 -75 +-12 -74 +-12 -73 +-12 -72 +-12 -71 +-12 -70 +-12 -69 +-12 -68 +-12 -66 +-12 -65 +-12 -64 +-12 -63 +-12 -61 +-12 -60 +-12 -59 +-12 -58 +-12 -57 +-12 -56 +-12 -55 +-12 -54 +-12 -53 +-12 -52 +-12 -51 +-12 -50 +-12 -49 +-12 -48 +-12 -47 +-12 -46 +-12 -45 +-12 -43 +-12 -42 +-12 -41 +-12 -40 +-12 -39 +-12 -38 +-12 -37 +-12 -36 +-12 -34 +-12 -33 +-12 -31 +-14 -86 +-14 -102 +-14 -103 +-14 -42 +-14 -52 +-14 -78 +-14 -41 +-14 -49 +-14 -81 +-14 -97 +-14 -58 +-14 -65 +-14 -62 +-14 -55 +-14 -76 +-14 -50 +-14 -47 +-14 -85 +-14 -32 +-14 -61 +-14 -94 +-14 -63 +-14 -99 +-14 -46 +-14 -91 +-14 -34 +-14 -79 +-14 -96 +-14 -83 +-14 -37 +-14 -64 +-14 -84 +-14 -60 +-14 -69 +-14 -38 +-14 -100 +-14 -57 +-14 -75 +-14 -93 +-14 -56 +-14 -92 +-14 -67 +-14 -77 +-14 -80 +-14 -35 +-14 -48 +-14 -43 +-14 -68 +-14 -31 +-14 -88 +-14 -66 +-14 -39 +-14 -95 +-14 -33 +-14 -45 +-14 -73 +-14 -71 +-14 -40 +-14 -44 +-14 -70 +-14 -87 +-14 -101 +-14 -36 +-14 -59 +-14 -74 +-14 -51 +-14 -82 +-14 -89 +-14 -90 +-14 -53 +-14 -54 +-14 -72 +-2 -108 +-1 -109 +-2 -110 +-1 -111 +-2 -112 +-1 -113 +-1 -114 +-1 -115 +-14 -116 +-7 -116 +-8 -116 +-9 -116 +-10 -116 +-112 -117 +-112 -118 +\. + + +-- +-- Data for Name: adm_role_role; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.adm_role_role (role_id, child_role_id) FROM stdin; +-2 -1 +-1 -3 +-3 -4 +-6 -3 +\. + + +-- +-- Data for Name: adm_role_secured_entity; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.adm_role_secured_entity (role_id, code, entity_class) FROM stdin; +\. + + +-- +-- Data for Name: adm_script_exec_role; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.adm_script_exec_role (script_instance_id, role_id) FROM stdin; +\. + + +-- +-- Data for Name: adm_script_notification; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.adm_script_notification (id) FROM stdin; +\. + + +-- +-- Data for Name: adm_script_sourc_role; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.adm_script_sourc_role (script_instance_id, role_id) FROM stdin; +\. + + +-- +-- Data for Name: adm_secured_entity; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.adm_secured_entity (user_id, code, entity_class) FROM stdin; +\. + + +-- +-- Data for Name: adm_title; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.adm_title (id, version, created, updated, code, description, is_company, creator, updater, description_i18n) FROM stdin; +-1 0 2016-11-03 00:00:00 \N ASSOC Assoc. 1 OPENCELL.ADMIN \N {"FRA":"Assoc.","ENG":"Assoc."} +-2 0 2016-11-03 00:00:00 \N CIE Cie. 1 OPENCELL.ADMIN \N {"FRA":"Sté","ENG":"Cie."} +-3 0 2016-11-03 00:00:00 \N MR Mr. 0 OPENCELL.ADMIN \N {"FRA":"M.","ENG":"Mr."} +-4 0 2016-11-03 00:00:00 \N MRS Mrs. 0 OPENCELL.ADMIN \N {"FRA":"Mme.","ENG":"Mrs."} +-5 0 2016-11-03 00:00:00 \N MS Ms. 0 OPENCELL.ADMIN \N {"FRA":"Mlle","ENG":"Ms."} +-6 0 2016-11-03 00:00:00 \N DR Dr. 0 OPENCELL.ADMIN \N {"FRA":"Dr","ENG":"Dr."} +-7 0 2016-11-03 00:00:00 \N PROF Prof. 0 OPENCELL.ADMIN \N {"FRA":"Pr","ENG":"Prof."} +38 0 2020-10-29 00:00:00 \N DEV Sim Card. 1 OPENCELL.ADMIN \N {"FRA":"SimCard","ENG":"SimCard"} +\. + + +-- +-- Data for Name: adm_user; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.adm_user (id, version, created, updated, email, firstname, lastname, username, creator, updater, title_id, hierarchy_level_id, uuid, cf_values, cf_values_accum, last_login_date, crm_address_book_id) FROM stdin; +-1 0 2015-03-19 00:04:09.745 \N \N \N \N OPENCELL.ADMIN \N \N \N \N OPENCELL.ADMIN \N \N \N \N +-2 0 2015-03-19 00:04:09.787 \N \N \N \N OPENCELL.SUPERADMIN \N \N \N \N OPENCELL.SUPERADMIN \N \N \N \N +-3 0 2015-03-19 00:04:09.787 \N \N \N \N OPENCELL.MARKETINGMANAGER \N \N \N \N OPENCELL.MARKETINGMANAGER \N \N \N \N +-4 0 2018-12-18 00:00:00 \N opencell.customercare@opencellsoft.com Jeanette Doe opencell.customercare \N \N \N \N opencell.customercare \N \N \N \N +-5 0 2024-01-26 14:03:24.239422 \N DEMO.selfcare.api@opencellsoft.com selfcare.api DEMO DEMO.selfcare.api \N \N \N \N DEMO.selfcare.api \N \N \N \N +3 0 2024-01-31 04:25:10.748 \N \N \N \N APPLICATIONINITIALIZER applicationInitializer \N \N \N 622d41c2-99e1-4cca-a382-2b4b9278471b \N \N 2024-01-31 04:25:10.748 \N +4 3 2024-01-31 04:26:08.718 \N \N public superadmin V2_FIDENTY.SUPERADMIN public.superadmin \N \N \N 4da4027f-dd78-49bc-b09b-002234ceac13 \N \N 2024-01-31 09:01:57.875 \N +5 0 2024-10-07 15:00:00.027 \N \N \N \N PUBLIC.SUPERADMIN public.superadmin \N \N \N 22341653-febb-47fd-a6b5-7e5dc6878b8b \N \N 2024-10-07 15:00:00.027 \N +6 5 2024-10-07 15:13:17.859 \N \N \N \N DEVELOPMENT@SIMFONY.COM development@simfony.com \N \N \N 1f9c4555-213d-420b-ab73-e51c58b1b1cd \N \N 2024-10-11 11:07:36.661 \N +\. + + +-- +-- Data for Name: adm_user_role; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.adm_user_role (user_id, role_id) FROM stdin; +-1 -1 +-2 -2 +-3 -5 +-1 -6 +-3 -6 +-4 -6 +-4 -14 +-5 -112 +\. + + +-- +-- Data for Name: ar_account_operation; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.ar_account_operation (transaction_type, id, version, created, updated, accounting_code_id, account_code_client_side, amount, due_date, matching_amount, matching_status, code, description, reference, transaction_category, transaction_date, un_matching_amount, bank_lot, bank_reference, rejected_code, rejected_date, rejected_description, rejected_type, payment_method, amount_without_tax, billing_account_name, invoice_date, net_to_pay, payment_info, payment_info1, payment_info2, payment_info3, payment_info4, payment_info5, payment_info6, production_date, tax_amount, operation_date, bank_collection_date, deposit_date, creator, updater, customer_account_id, uuid, order_num, payment_order, payment_fees, comment, cf_values, cf_values_accum, recorded_invoice_id, cat_inv_agregate_id, ddrequest_item_id, sub_cat_inv_agregate_id, pay_schdl_inst_item_id, rejected_payment_id, seller_id, subscription_id, dunning_document_id, invoice_id) FROM stdin; +\. + + +-- +-- Data for Name: ar_accounting_writing; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.ar_accounting_writing (id, version, created, updated, creator, updater, origin_writing_id, tax_id, invoice_category_id, accounting_code_id, event_date, export_date, amount, event_type, extra_param_1, extra_param_2, extra_param_3) FROM stdin; +\. + + +-- +-- Data for Name: ar_accounting_writing_acc_operations; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.ar_accounting_writing_acc_operations (accounting_writing_id, account_operation_id) FROM stdin; +\. + + +-- +-- Data for Name: ar_action_dunning; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.ar_action_dunning (id, version, created, updated, amount_due, creaton_date, from_level, status, status_date, to_level, action_type, creator, updater, action_plan_item_id, customer_account_id, dunning_lot_id, recorded_invoice_id) FROM stdin; +\. + + +-- +-- Data for Name: ar_bank_operation; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.ar_bank_operation (id, version, disabled, created, updated, code_op, credit, date_op, date_val, debit, error_cause, file_name, invoice_id, is_valid, label_1, label_2, label_3, reference, creator, updater) FROM stdin; +\. + + +-- +-- Data for Name: ar_credit_category; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.ar_credit_category (id, version, created, updated, code, description, creator, updater) FROM stdin; +-1 0 2015-03-19 00:04:19.913 \N PART_C Part C \N \N +-2 0 2015-03-19 00:04:19.913 \N PART_M Part M \N \N +-3 0 2015-03-19 00:04:19.913 \N PRO PRO \N \N +-4 0 2015-03-19 00:04:19.913 \N VIP VIP \N \N +-5 0 2015-03-19 00:04:19.913 \N NEWCUSTOMER New Customer \N \N +\. + + +-- +-- Data for Name: ar_customer_account; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.ar_customer_account (credit_category, date_dunning_level, date_status, dunning_level, password, status, id, customer_id, trading_currency_id, trading_language_id, credit_category_id, due_date_delay_el, due_date_delay_el_sp, excluded_from_payment, crm_address_book_id, minimum_target_account_id, invoicing_threshold, check_threshold) FROM stdin; +\N 2024-01-31 11:17:01.657 2024-01-31 11:17:01.657 R0 \N ACTIVE 3 2 -2 -1 \N \N \N 0 2 \N \N \N +\N 2024-10-10 13:39:13.903 2024-10-10 13:39:13.903 R0 \N ACTIVE 6 5 -2 -1 \N \N \N 0 4 \N \N \N +\. + + +-- +-- Data for Name: ar_ddrequest_builder; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.ar_ddrequest_builder (id, version, disabled, created, updated, code, description, type, implementation_class_name, script_instance_id, nb_ops_file, max_size_file, uuid, creator, updater, cf_values, cf_values_accum, payment_level) FROM stdin; +-1 0 0 2018-08-12 14:04:19.955 \N Sepa_STD Sepa : urn:iso:std:iso:20022:tech:xsd:pain.008.001.02 and Sepa reject file Pain002 NATIF org.meveo.admin.sepa.SepaFile \N -1 -1 44bb7507-11cc-4a98-aa50-1777ddae3e6c opencell.admin \N \N \N AO +-2 0 0 2018-08-12 14:05:32.622 \N Sepa_Paynum Sepa Paynum NATIF org.meveo.admin.sepa.PaynumFile \N -1 -1 a6873856-1d25-4df8-8801-09314528aa17 opencell.admin \N \N \N AO +\. + + +-- +-- Data for Name: ar_ddrequest_item; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.ar_ddrequest_item (id, version, created, updated, amount, amount_invoices, billing_account_name, due_date, payment_info, payment_info1, payment_info2, payment_info3, payment_info4, payment_info5, payment_info6, reference, creator, updater, payment_id, ddrequest_lot_id, error_msg, refund_id, rejected_file_name) FROM stdin; +\. + + +-- +-- Data for Name: ar_ddrequest_lot; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.ar_ddrequest_lot (id, version, created, updated, file_name, invoice_amount, invoice_number, is_payment_created, return_file_name, return_status_code, send_date, creator, updater, rejected_cause, rejected_invoices, ddrequest_builder_id, payment_or_refund, seller_id) FROM stdin; +\. + + +-- +-- Data for Name: ar_ddrequest_lot_op; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.ar_ddrequest_lot_op (id, version, created, updated, ddrequest_op, error_cause, from_due_date, ddrequest_op_status, to_due_date, creator, updater, ddrequest_lot_id, ddrequest_builder_id, filter_id, script_instance_id, recurrent, payment_or_refund, seller_id) FROM stdin; +\. + + +-- +-- Data for Name: ar_due_date; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.ar_due_date (id, version, created, updated, due_date, invoice_amount, invoice_number, payment_method, creator, updater) FROM stdin; +\. + + +-- +-- Data for Name: ar_dunning_lot; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.ar_dunning_lot (id, version, created, updated, action_type, file_name, creator, updater, dunning_history_id) FROM stdin; +\. + + +-- +-- Data for Name: ar_matching_amount; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.ar_matching_amount (id, version, created, updated, matching_amount, creator, updater, account_operation_id, matching_code_id) FROM stdin; +\. + + +-- +-- Data for Name: ar_matching_code; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.ar_matching_code (id, version, created, updated, code, matching_amount_credit, matching_amount_debit, matching_date, matching_type, creator, updater) FROM stdin; +\. + + +-- +-- Data for Name: ar_occ_template; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.ar_occ_template (id, version, created, updated, accounting_code_id, account_code_client_side, code, description, occ_category, creator, updater) FROM stdin; +-1 0 2015-03-19 00:04:20.046 \N -3 411000000 PAY_CHK Payment - check CREDIT \N \N +-2 0 2015-03-19 00:04:20.067 \N -3 411000000 PAY_TIP Payment - TIP CREDIT \N \N +-3 0 2015-03-19 00:04:20.088 \N -3 411000000 PAY_DDT Payment - direct debit CREDIT \N \N +-5 0 2015-03-19 00:04:20.13 \N -3 411000000 REJ_CHK Rejected payment - check DEBIT \N \N +-6 0 2015-03-19 00:04:20.171 \N -3 411000000 REJ_DDT Rejected payment - direct debit DEBIT \N \N +-7 0 2015-03-19 00:04:20.192 \N -3 411000000 REJ_TIP Rejected payment - TIP DEBIT \N \N +-8 0 2015-03-19 00:04:20.215 \N -3 419120000 PAY_NID Other - unidentified payment CREDIT \N \N +-9 0 2015-03-19 00:04:20.236 \N -3 419120000 PAY_REC Other - unidentified payment CREDIT \N \N +-10 0 2015-03-19 00:04:20.257 \N -3 411000000 REF_CHK Refund - check DEBIT \N \N +-11 0 2015-03-19 00:04:20.278 \N -3 411000000 REF_DDT Refund - direct debit DEBIT \N \N +-18 0 2015-03-19 00:04:20.435 \N -4 411000000 RND_EXP Expense - payment rounding DEBIT \N \N +-19 0 2015-03-19 00:04:20.456 \N -5 411000000 RND_INC Income - payment rounding CREDIT \N \N +-20 0 2015-03-19 00:04:20.485 \N -3 419110000 PAY_DEP Other - deposit CREDIT \N \N +-24 0 2015-03-19 00:04:20.578 \N -6 763100000 INV_FEE Fee - late payment DEBIT \N \N +-25 0 2015-03-19 00:04:20.599 \N -6 445510000 INV_STD Standard invoice sub-item DEBIT \N \N +-30 0 2024-01-26 14:02:09.459604 \N -3 411000000 REF_CRD Refund - card DEBIT \N \N +-31 0 2024-01-26 14:02:09.459604 \N -6 445510000 TAX_VAT_00 Tax - VAT DEBIT \N \N +-32 0 2024-01-26 14:02:09.459604 \N -6 445510000 TAX_VAT_05 Tax - VAT DEBIT \N \N +-33 0 2024-01-26 14:02:09.459604 \N -6 445510000 TAX_VAT_20 Tax - VAT DEBIT \N \N +-34 0 2024-01-26 14:02:09.459604 \N -6 445510000 TAX_VAT_10 Tax - VAT DEBIT \N \N +-35 0 2024-01-26 14:02:09.459604 \N -3 411000000 REJ_CRD Rejected payment - card DEBIT \N \N +-36 0 2024-01-26 14:02:09.459604 \N -3 411000000 REJ_RCR Rejected refund - card CREDIT \N \N +-37 0 2024-01-26 14:02:09.459604 \N -3 411000000 REJ_RDD Rejected refund - direct debit CREDIT \N \N +-38 0 2024-01-26 14:02:09.459604 \N -6 709000000 INV_REB Invoice - rebate sub-item CREDIT \N \N +-39 0 2024-01-26 14:02:09.459604 \N -6 709000000 INV_DIS Invoice - discount sub-item CREDIT \N \N +-40 0 2024-01-26 14:02:09.459604 \N -6 701000000 INV_CRN Invoice - credit note sub-item CREDIT \N \N +-41 0 2024-01-26 14:02:09.459604 \N -3 411000000 REF_TIP Refund - TIP DEBIT \N \N +-42 0 2024-01-26 14:02:09.459604 \N -7 411000000 EXP_WRT Expense - bad debt write-off DEBIT \N \N +-43 0 2024-01-26 14:02:09.459604 \N -3 411000000 PAY_CRD Payment - card CREDIT \N \N +-44 0 2024-01-26 14:03:27.785341 \N -3 411000000 DBT_TRS Debit for credit transfer DEBIT \N \N +-45 0 2024-01-26 14:03:27.785341 \N -3 411000000 CRD_TRS Credit for debit transfer CREDIT \N \N +-46 0 2024-01-26 14:03:30.793229 \N -3 411000000 PAY_PAL Payment Paypal CREDIT \N \N +-47 0 2024-01-26 14:03:30.793229 \N -3 411000000 PAY_STP Payment Stripe CREDIT \N \N +\. + + +-- +-- Data for Name: ar_other_transaction; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.ar_other_transaction (transaction_type, id, version, description, created, updated, amount, due_date, matching_amount, matching_status, occ_code, occ_description, reference, transaction_category, transaction_date, un_matching_amount, bank_lot, bank_reference, payment_method, amount_without_tax, billing_account_name, invoice_date, payment_info, payment_info1, payment_info2, payment_info3, payment_info4, payment_info5, payment_info6, payment_info7, tax_amount, operation_date, bank_collection_date, deposit_date, creator, updater, uuid, order_num, cf_values, cf_values_accum, general_ledger_id, accounting_code_id) FROM stdin; +\. + + +-- +-- Data for Name: ar_payment_gateway; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.ar_payment_gateway (id, version, disabled, created, updated, code, description, type, payment_method, card_type, implementation_class_name, script_instance_id, trading_currency_id, application_el, uuid, creator, updater, cf_values, cf_values_accum, country_id, nb_tries, replay_cause, errors_to_replay, marchand_id, secret_key, api_key, profile, webhooks_secret_key, webhooks_key_id, account_number, account_owner, bank_code, bank_id, bank_name, bic, branch_code, iban, ics, issuer_name, issuer_number, hash_key, seller_id) FROM stdin; +-10 0 0 2024-01-26 14:02:20.021235 \N customGatewayDemo A customGateway for Demo CUSTOM CARD \N \N -10 \N \N 3bb099a3-e72d-49ea-9d96-908e74569e02 opencell.admin \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N +-1 0 1 2024-01-26 14:02:19.533321 \N INGENICO_OGONE_SEPA Ingenico API Connect OGONE for Sepa payments NATIF DIRECTDEBIT \N org.meveo.service.payments.impl.IngenicoGatewayPayment \N \N #{"is already setup" eq "OK"} gateway_INGENICO_ONGONE \N \N \N \N 70 \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N +-2 0 0 2024-01-26 14:02:19.533321 \N SLIMPAY_SEPA Slimpay for Sepa payments NATIF DIRECTDEBIT \N org.meveo.service.payments.impl.SlimpayGatewayPayment \N \N #{"is already setup" eq "OK"} gateway_SLIMPAY \N \N \N \N 102 \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N +-3 0 0 2024-01-26 14:02:19.533321 \N INGENICO_OGONE_CARD Ingenico API Connect OGONE for Card payments NATIF CARD \N org.meveo.service.payments.impl.SlimpayGatewayPayment \N -2 #{"is already setup" eq "OK"} gateway_SLIMPAY \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N +\. + + +-- +-- Data for Name: ar_payment_gateway_rum_sequence; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.ar_payment_gateway_rum_sequence (id, version, disabled, created, updated, creator, updater, code, description, prefix, sequence_size, current_sequence_nb, payment_gateway_id) FROM stdin; +\. + + +-- +-- Data for Name: ar_payment_history; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.ar_payment_history (id, version, created, updated, customer_account_code, customer_account_name, seller_code, operation_date, last_update_date, amount_cts, sync_status, async_status, status, external_payment_id, error_code, error_message, error_type, operation_category, payment_gateway_code, payment_method_type, payment_method_name, payment_id, refund_id, creator, updater, customer_code) FROM stdin; +\. + + +-- +-- Data for Name: ar_payment_schedule_inst; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.ar_payment_schedule_inst (id, version, disabled, creator, updater, created, updated, code, description, start_date, end_date, status, status_date, amount, calendar_id, payment_schedule_tmpl_id, service_instance_id, payment_day_in_month, cf_values, cf_values_accum, uuid) FROM stdin; +\. + + +-- +-- Data for Name: ar_payment_schedule_inst_item; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.ar_payment_schedule_inst_item (id, version, disabled, creator, updater, created, updated, payment_schedule_inst_id, due_date, request_pay_date, ao_ps_id, invoice_id, is_last) FROM stdin; +\. + + +-- +-- Data for Name: ar_payment_schedule_tmpl; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.ar_payment_schedule_tmpl (id, version, disabled, creator, updater, created, updated, code, description, calendar_id, service_template_id, adv_pay_inv_type_id, adv_pay_sub_cat_id, is_generate_adv_pay_inv, is_do_payment, amount, payment_day_in_month, apply_agreement, payment_label, uuid, cf_values, cf_values_accum, script_instance_id, amount_el, filter_el) FROM stdin; +\. + + +-- +-- Data for Name: ar_payment_token; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.ar_payment_token (token_type, id, version, card_type, owner, month_expiration, year_expiration, token_id, alias, is_default, card_number, customer_account_id, user_id, info_1, info_2, info_3, info_4, info_5, bank_code, branch_code, account_number, hash_key, iban, bic, account_owner, bank_id, bank_name, issuer_name, issuer_number, ics, mandate_date, mandate_identification, creator, created, updater, updated, disabled) FROM stdin; +CHECK 1 0 \N \N \N \N \N \N 1 \N 3 \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N public.superadmin 2024-01-31 11:17:01.658 public.superadmin 2024-01-31 11:17:01.66 0 +CHECK 2 0 \N \N \N \N \N \N 1 \N 6 \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N development@simfony.com 2024-10-10 13:39:13.923 development@simfony.com 2024-10-10 13:39:13.947 0 +\. + + +-- +-- Data for Name: ar_payment_ventilation; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.ar_payment_ventilation (id, version, created, updated, code, ventilation_amount, ventilation_date, creator, updater, customer_account_id, original_ot_id, new_ot_id, account_operation_id, ventilation_action_status) FROM stdin; +\. + + +-- +-- Data for Name: ar_revenue_recog_rule; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.ar_revenue_recog_rule (id, version, disabled, created, updated, creator, updater, code, description, script_instance_id, start_delay, start_unit, start_event, stop_delay, stop_unit, stop_event) FROM stdin; +\. + + +-- +-- Data for Name: ar_revenue_schedule; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.ar_revenue_schedule (id, version, charge_instance_id, revenue_date, recognized_revenue, invoiced_revenue, accrued_revenue, deffered_revenue) FROM stdin; +\. + + +-- +-- Data for Name: audit_field_changes_history; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.audit_field_changes_history (id, version, entity_class, entity_id, field_name, change_type, change_origin, origin_name, previous_state, current_state, created, actor) FROM stdin; +1 0 org.meveo.model.billing.Subscription 1 status STATUS API /billing/subscription/createOrUpdate CREATED 2024-10-11 11:19:57.762 development@simfony.com +2 0 org.meveo.model.billing.ServiceInstance 1 status STATUS API /billing/subscription/instantiateServices INACTIVE 2024-10-11 11:19:58.611 development@simfony.com +3 0 org.meveo.model.billing.ServiceInstance 2 status STATUS API /billing/subscription/instantiateServices INACTIVE 2024-10-11 11:19:59.706 development@simfony.com +4 0 org.meveo.model.billing.Subscription 1 status STATUS API /billing/subscription/activateServices CREATED ACTIVE 2024-10-11 11:20:02.358 development@simfony.com +5 0 org.meveo.model.billing.ServiceInstance 2 status STATUS API /billing/subscription/activateServices INACTIVE ACTIVE 2024-10-11 11:20:02.361 development@simfony.com +6 0 org.meveo.model.billing.ServiceInstance 1 status STATUS API /billing/subscription/activateServices INACTIVE ACTIVE 2024-10-11 11:20:31.207 development@simfony.com +7 0 org.meveo.model.billing.ServiceInstance 2 status STATUS API /billing/subscriptionsuspendServices ACTIVE SUSPENDED 2024-10-11 11:20:31.381 development@simfony.com +8 0 org.meveo.model.billing.Subscription 1 status STATUS API /billing/subscription/terminate ACTIVE RESILIATED 2024-10-11 11:21:12.444 development@simfony.com +9 0 org.meveo.model.billing.ServiceInstance 2 status STATUS API /billing/subscription/terminate SUSPENDED TERMINATED 2024-10-11 11:21:12.449 development@simfony.com +10 0 org.meveo.model.billing.ServiceInstance 1 status STATUS API /billing/subscription/terminate ACTIVE TERMINATED 2024-10-11 11:21:12.452 development@simfony.com +11 0 org.meveo.model.billing.Subscription 2 status STATUS API /billing/subscription/createOrUpdate CREATED 2024-10-11 11:23:22.402 development@simfony.com +12 0 org.meveo.model.billing.ServiceInstance 3 status STATUS API /billing/subscription/instantiateServices INACTIVE 2024-10-11 11:23:23.033 development@simfony.com +13 0 org.meveo.model.billing.ServiceInstance 4 status STATUS API /billing/subscription/instantiateServices INACTIVE 2024-10-11 11:23:24.031 development@simfony.com +14 0 org.meveo.model.billing.Subscription 2 status STATUS API /billing/subscription/activateServices CREATED ACTIVE 2024-10-11 11:23:26.469 development@simfony.com +15 0 org.meveo.model.billing.ServiceInstance 4 status STATUS API /billing/subscription/activateServices INACTIVE ACTIVE 2024-10-11 11:23:26.472 development@simfony.com +16 0 org.meveo.model.billing.ServiceInstance 3 status STATUS API /billing/subscription/activateServices INACTIVE ACTIVE 2024-10-11 11:23:51.286 development@simfony.com +17 0 org.meveo.model.billing.ServiceInstance 4 status STATUS API /billing/subscriptionsuspendServices ACTIVE SUSPENDED 2024-10-11 11:23:51.448 development@simfony.com +18 0 org.meveo.model.billing.Subscription 2 status STATUS API /billing/subscription/terminate ACTIVE RESILIATED 2024-10-11 11:25:07.529 development@simfony.com +19 0 org.meveo.model.billing.ServiceInstance 4 status STATUS API /billing/subscription/terminate SUSPENDED TERMINATED 2024-10-11 11:25:07.533 development@simfony.com +20 0 org.meveo.model.billing.ServiceInstance 3 status STATUS API /billing/subscription/terminate ACTIVE TERMINATED 2024-10-11 11:25:07.536 development@simfony.com +\. + + +-- +-- Data for Name: audit_log; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.audit_log (id, version, created, actor, entity, origin, action, parameters) FROM stdin; +\. + + +-- +-- Data for Name: bi_job; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.bi_job (id, created, updated, version, active, job_frequency, job_repository_id, last_execution_date, name, next_execution_date, creator, updater) FROM stdin; +\. + + +-- +-- Data for Name: bi_job_history; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.bi_job_history (history_type, id, version, execution_date, lines_inserted, lines_read, lines_rejected, file_name, nb_subscriptions, nb_subscriptions_created, nb_subscriptions_error, nb_subscriptions_ignored, nb_subscriptions_terminated, nb_billing_accounts, nb_billing_accounts_created, nb_billing_accounts_error, nb_billing_accounts_ignored, nb_billing_accounts_warning, nb_user_accounts, nb_user_accounts_created, nb_user_accounts_error, nb_user_acounts_ignored, nb_user_acounts_warning, nb_customer_accounts, nb_customer_accounts_created, nb_customer_accounts_error, nb_customer_acounts_ignored, nb_customer_acounts_warning, nb_customers, nb_customers_created, nb_customers_error, nb_customers_ignored, nb_customers_warning, nb_sellers, nb_sellers_created, nb_sellers_error, nb_sellers_ignored, nb_sellers_warning, nb_invoices_ignored, job_id) FROM stdin; +\. + + +-- +-- Data for Name: bi_report; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.bi_report (id, version, action_name, description, end_date, execution_day_of_month, execution_day_of_week, execution_hour, execution_interval_minutes, execution_interval_seconds, execution_minutes, report_file_name, report_frequency, name, output_format, producer_class_name, ds_record_path, schedule, start_date) FROM stdin; +\. + + +-- +-- Data for Name: bi_report_emails; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.bi_report_emails (report_id, email_id) FROM stdin; +\. + + +-- +-- Data for Name: billing_accounting_code; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.billing_accounting_code (id, version, disabled, created, updated, code, description, creator, updater, parent_accounting_code_id, chart_of_account_type, reporting_account, chart_of_account_view_type, notes, migrated) FROM stdin; +-1 0 0 2015-03-19 00:04:19.68 \N 120.121.21.2 \N \N \N \N ASSETS \N REGULAR \N 0 +-2 0 0 2015-03-19 00:04:19.68 \N 120.121.21.4 \N \N \N \N ASSETS \N REGULAR \N 0 +-3 0 0 2015-03-19 00:04:19.68 \N 512010000 Cash Deposit - BNP #123456 \N \N \N ASSETS \N REGULAR \N 0 +-4 0 0 2015-03-19 00:04:19.68 \N 658100000 Payment loss \N \N \N EXPENSE \N REGULAR \N 0 +-5 0 0 2015-03-19 00:04:19.68 \N 758100000 Payment profit \N \N \N REVENUE \N REGULAR \N 0 +-6 0 0 2015-03-19 00:04:19.68 \N 411000000 Gross receivables \N \N \N ASSETS \N REGULAR \N 0 +-7 0 0 2015-03-19 00:04:19.68 \N 654100000 Bad debt write-off \N \N \N EXPENSE \N REGULAR \N 0 +-8 0 0 2024-01-26 14:02:07.52586 \N 400000000 Accounts payable OPENCELL.ADMIN \N \N LIABILITIES \N VIEW \N 0 +-9 0 0 2024-01-26 14:02:07.52586 \N 401000000 General AP OPENCELL.ADMIN \N \N LIABILITIES \N REGULAR \N 0 +-10 0 0 2024-01-26 14:02:07.52586 \N 408000000 Accrued payables OPENCELL.ADMIN \N \N LIABILITIES \N REGULAR \N 0 +-11 0 0 2024-01-26 14:02:07.52586 \N 410000000 Accounts receivable OPENCELL.ADMIN \N \N ASSETS \N VIEW \N 0 +-13 0 0 2024-01-26 14:02:07.52586 \N 416000000 Doubtful receivables OPENCELL.ADMIN \N \N ASSETS \N REGULAR \N 0 +-14 0 0 2024-01-26 14:02:07.52586 \N 418100000 Accrued receivables OPENCELL.ADMIN \N \N ASSETS \N REGULAR \N 0 +-15 0 0 2024-01-26 14:02:07.52586 \N 445510000 VAT due OPENCELL.ADMIN \N \N LIABILITIES \N REGULAR \N 0 +-16 0 0 2024-01-26 14:02:07.52586 \N 445660000 VAT deductible OPENCELL.ADMIN \N \N ASSETS \N REGULAR \N 0 +-17 0 0 2024-01-26 14:02:07.52586 \N 445670000 VAT credit OPENCELL.ADMIN \N \N ASSETS \N REGULAR \N 0 +-18 0 0 2024-01-26 14:02:07.52586 \N 445710000 VAT collected OPENCELL.ADMIN \N \N LIABILITIES \N REGULAR \N 0 +-19 0 0 2024-01-26 14:02:07.52586 \N 487000000 Deferred revenue OPENCELL.ADMIN \N \N LIABILITIES \N REGULAR \N 0 +-20 0 0 2024-01-26 14:02:07.52586 \N 512000000 Cash OPENCELL.ADMIN \N \N ASSETS \N VIEW \N 0 +-22 0 0 2024-01-26 14:02:07.52586 \N 512020000 Cash Payment - BNP #345678 OPENCELL.ADMIN \N \N ASSETS \N REGULAR \N 0 +-23 0 0 2024-01-26 14:02:07.52586 \N 622000000 Reseller commission OPENCELL.ADMIN \N \N EXPENSE \N REGULAR \N 0 +-24 0 0 2024-01-26 14:02:07.52586 \N 651100000 Bad debt OPENCELL.ADMIN \N \N EXPENSE \N REGULAR \N 0 +-27 0 0 2024-01-26 14:02:07.52586 \N 701000000 Revenue OPENCELL.ADMIN \N \N REVENUE \N VIEW \N 0 +-28 0 0 2024-01-26 14:02:07.52586 \N 701010000 Gross Revenue OPENCELL.ADMIN \N \N REVENUE \N REGULAR \N 0 +-29 0 0 2024-01-26 14:02:07.52586 \N 701020000 Discounts OPENCELL.ADMIN \N \N REVENUE \N REGULAR \N 0 +\. + + +-- +-- Data for Name: billing_billing_account; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.billing_billing_account (br_amount_with_tax, br_amount_without_tax, discount_rate, electronic_billing, invoice_prefix, next_invoice_date, status, status_date, subscription_date, termination_date, id, billing_cycle, billing_run, customer_account_id, termin_reason_id, trading_country_id, trading_language_id, invoicing_threshold, minimum_amount_el, minimum_amount_el_sp, minimum_label_el, minimum_label_el_sp, mailing_type, cced_emails, email_template_id, minimum_invoice_sub_category_id, tax_category_id, check_threshold) FROM stdin; +\N \N \N 0 \N 2024-01-31 11:17:01.898 ACTIVE 2024-01-31 11:17:01.898 2024-01-31 11:17:01.898 \N 4 -1 \N 3 \N -1 -1 \N \N \N \N \N \N \N \N \N 3 \N +\N \N \N 0 \N 2024-10-10 13:39:14.676 ACTIVE 2024-10-10 13:39:14.676 2024-10-10 13:39:14.676 \N 7 -1 \N 6 \N -1 -1 \N \N \N \N \N \N \N \N \N 1 \N +\. + + +-- +-- Data for Name: billing_billing_run; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.billing_billing_run (id, version, created, updated, nb_invoice, nb_billable_billing_account, nb_billing_account, end_date, pr_amount_tax, pr_amount_with_tax, pr_amount_without_tax, process_date, process_type, producible_amount_tax, producible_amount_with_tax, producible_amount_without_tax, nb_producible_invoice, rejection_reason, selected_billing_accounts, start_date, status, status_date, creator, updater, billing_cycle_id, pr_country_id, pr_currency_id, pr_language_id, invoice_date, last_transaction_date, uuid, cf_values, cf_values_accum, reference_date) FROM stdin; +\. + + +-- +-- Data for Name: billing_billing_run_list; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.billing_billing_run_list (id, version, created, updated, rated_amount2_without_tax, rated_amount_tax, rated_amount_with_tax, rated_amount_without_tax, invoice, creator, updater, billing_account_id, billing_run_id) FROM stdin; +\. + + +-- +-- Data for Name: billing_charge_instance; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.billing_charge_instance (id, version, created, updated, code, description, amount_with_tax, amount_without_tax, charge_date, criteria_1, criteria_2, criteria_3, is_prepaid, status, status_date, termination_date, creator, updater, charge_template_id, trading_country, trading_currency, seller_id, subscription_id, invoicing_calendar_id, user_account_id, order_number, charge_type, quantity, product_instance_id, next_charge_date, subscription_date, service_instance_id, counter_id, rating_unit_description, priority, cf_values_accum, cf_values, uuid, calendar_id, apply_in_advance) FROM stdin; +12 3 2024-10-11 11:19:59.733 2024-10-11 11:21:11.939 REC_MODATA_TEST_DATA_150.000000000000_KB_alS8CJ Data Limit \N \N 2024-10-11 11:19:55.216 \N \N \N 1 TERMINATED 2024-10-11 11:21:11.939 2024-10-11 11:21:11.859 development@simfony.com development@simfony.com 30 -1 -2 1 1 4 9 \N R 1.000000000000 \N 2024-11-01 00:00:00 2024-10-11 11:19:55.216 2 \N \N 1 \N {"IS_ALLOWANCE":[{"boolean":false}],"IS_LIMIT":[{"boolean":true}]} 7bfbf772-a1f0-4906-b63a-fdec6ba16975 -1 1 +13 3 2024-10-11 11:19:59.737 2024-10-11 11:21:11.94 USG_MODATA_TEST_DATA_150.000000000000_KB_B4TgKR Data Usage Limit \N \N 2024-10-11 11:19:55.216 \N \N \N 1 TERMINATED 2024-10-11 11:21:11.94 2024-10-11 11:21:11.859 development@simfony.com development@simfony.com 25 -1 -2 1 1 4 9 \N U \N \N \N \N 2 \N Kibibyte 1 \N {"IS_ALLOWANCE":[{"boolean":false}],"IS_LIMIT":[{"boolean":true}]} 9391c13d-6b5d-4d84-95e0-3c7385e0d8fb \N \N +1 2 2024-10-11 11:19:58.647 2024-10-11 11:21:11.881 REC_MOSMS_LIMIT_TOP_UP_TEST_ADRIAN_20.000000000000_SaiF9t SMS Limit \N \N 2024-10-11 11:19:55.216 \N \N \N 1 TERMINATED 2024-10-11 11:21:11.88 2024-10-11 11:21:11.859 development@simfony.com development@simfony.com 29 -1 -2 1 1 4 9 \N R 1.000000000000 \N 2024-11-01 00:00:00 2024-10-11 11:19:55.216 1 \N \N 1 \N {"IS_ALLOWANCE":[{"boolean":false}],"IS_LIMIT":[{"boolean":true}]} a8ba8c8c-360a-4559-9b34-bba771aaf097 -1 1 +2 2 2024-10-11 11:19:59.154 2024-10-11 11:21:11.889 REC_MODATA_ALLOW_TOP_UP_TEST_ADRIAN_1000.000000000000_MB_iry2KD Data Allowance \N \N 2024-10-11 11:19:55.216 \N \N \N 1 TERMINATED 2024-10-11 11:21:11.889 2024-10-11 11:21:11.859 development@simfony.com development@simfony.com 26 -1 -2 1 1 4 9 \N R 1.000000000000 \N 2024-11-01 00:00:00 2024-10-11 11:19:55.216 1 \N \N 1 \N {"IS_ALLOWANCE":[{"boolean":true}],"IS_LIMIT":[{"boolean":false}]} 948ad3b3-15e4-4ded-87f2-8bbd77434f02 -1 1 +3 2 2024-10-11 11:19:59.167 2024-10-11 11:21:11.892 REC_MOSMS_ALLOW_TOP_UP_TEST_ADRIAN_10.000000000000_1dyJvs SMS Allowance \N \N 2024-10-11 11:19:55.216 \N \N \N 1 TERMINATED 2024-10-11 11:21:11.892 2024-10-11 11:21:11.859 development@simfony.com development@simfony.com 27 -1 -2 1 1 4 9 \N R 1.000000000000 \N 2024-11-01 00:00:00 2024-10-11 11:19:55.216 1 \N \N 1 \N {"IS_ALLOWANCE":[{"boolean":true}],"IS_LIMIT":[{"boolean":false}]} 1a5dd3a0-9ad4-4350-8761-b7d9acf76932 -1 1 +4 2 2024-10-11 11:19:59.18 2024-10-11 11:21:11.894 REC_MODATA_LIMIT_TOP_UP_TEST_ADRIAN_1500.000000000000_MB_BUWT6a Data Limit \N \N 2024-10-11 11:19:55.216 \N \N \N 1 TERMINATED 2024-10-11 11:21:11.894 2024-10-11 11:21:11.859 development@simfony.com development@simfony.com 28 -1 -2 1 1 4 9 \N R 1.000000000000 \N 2024-11-01 00:00:00 2024-10-11 11:19:55.216 1 \N \N 1 \N {"IS_ALLOWANCE":[{"boolean":false}],"IS_LIMIT":[{"boolean":true}]} 0818443a-bf95-43bd-8e04-189e1cb91eb7 -1 1 +5 2 2024-10-11 11:19:59.187 2024-10-11 11:21:11.914 REC_SUB_1.000000000000_PxCnUK Monthly Fee \N \N 2024-10-11 11:21:11.859 \N \N \N 0 TERMINATED 2024-10-11 11:21:11.914 \N development@simfony.com development@simfony.com 18 -1 -2 1 1 4 9 \N R 1.000000000000 \N 2024-11-01 00:00:00 2024-10-11 11:19:55.216 1 \N \N 1 \N \N f8a59f72-7bce-4074-bad8-ed2a1e595464 -1 0 +6 2 2024-10-11 11:19:59.2 2024-10-11 11:21:11.915 USG_MODATA_LIMIT_TOP_UP_TEST_ADRIAN_1500.000000000000_MB_wpgYYM Data Usage Limit \N \N 2024-10-11 11:19:55.216 \N \N \N 1 TERMINATED 2024-10-11 11:21:11.915 2024-10-11 11:21:11.859 development@simfony.com development@simfony.com 23 -1 -2 1 1 4 9 \N U \N \N \N \N 1 \N Mebibyte 5 \N {"IS_ALLOWANCE":[{"boolean":false}],"IS_LIMIT":[{"boolean":true}]} afdf7992-ed1c-4e47-bb12-730cde5a0f81 \N \N +7 2 2024-10-11 11:19:59.681 2024-10-11 11:21:11.917 USG_MOSMS_USAGE_TEST_ADRIAN_0.070000000000_AVFlys SMS Usage \N \N 2024-10-11 11:19:55.216 \N \N \N 0 TERMINATED 2024-10-11 11:21:11.917 2024-10-11 11:21:11.859 development@simfony.com development@simfony.com 20 -1 -2 1 1 4 9 \N U \N \N \N \N 1 \N \N 25 \N {"IS_ALLOWANCE":[{"boolean":false}],"IS_LIMIT":[{"boolean":false}]} 1749f19c-0312-4e8f-8668-da92bf359ece \N \N +8 2 2024-10-11 11:19:59.686 2024-10-11 11:21:11.918 USG_MODATA_ALLOW_TOP_UP_TEST_ADRIAN_1000.000000000000_MB_o2fLei Data Usage Allowance \N \N 2024-10-11 11:19:55.216 \N \N \N 1 TERMINATED 2024-10-11 11:21:11.918 2024-10-11 11:21:11.859 development@simfony.com development@simfony.com 21 -1 -2 1 1 4 9 \N U \N \N \N \N 1 \N Mebibyte 15 \N {"IS_ALLOWANCE":[{"boolean":true}],"IS_LIMIT":[{"boolean":false}]} b9580122-7455-46d0-b7e0-2ae83eea2360 \N \N +9 2 2024-10-11 11:19:59.689 2024-10-11 11:21:11.919 USG_MOSMS_ALLOW_TOP_UP_TEST_ADRIAN_10.000000000000_VKclAM SMS Usage Allowance \N \N 2024-10-11 11:19:55.216 \N \N \N 1 TERMINATED 2024-10-11 11:21:11.919 2024-10-11 11:21:11.859 development@simfony.com development@simfony.com 22 -1 -2 1 1 4 9 \N U \N \N \N \N 1 \N \N 15 \N {"IS_ALLOWANCE":[{"boolean":true}],"IS_LIMIT":[{"boolean":false}]} 727fcf51-b245-4093-a53c-75ab46a47a3e \N \N +10 2 2024-10-11 11:19:59.692 2024-10-11 11:21:11.921 USG_MODATA_USAGE_TEST_ADRIAN_0.002000000000_MB_nEDcLi Data Usage \N \N 2024-10-11 11:19:55.216 \N \N \N 0 TERMINATED 2024-10-11 11:21:11.921 2024-10-11 11:21:11.859 development@simfony.com development@simfony.com 19 -1 -2 1 1 4 9 \N U \N \N \N \N 1 \N Mebibyte 25 \N {"IS_ALLOWANCE":[{"boolean":false}],"IS_LIMIT":[{"boolean":false}]} e37b1496-dfb0-442c-a300-0923f8e1e3d3 \N \N +11 2 2024-10-11 11:19:59.694 2024-10-11 11:21:11.922 USG_MOSMS_LIMIT_TOP_UP_TEST_ADRIAN_20.000000000000_cHa62d SMS Usage Limit \N \N 2024-10-11 11:19:55.216 \N \N \N 1 TERMINATED 2024-10-11 11:21:11.922 2024-10-11 11:21:11.859 development@simfony.com development@simfony.com 24 -1 -2 1 1 4 9 \N U \N \N \N \N 1 \N \N 5 \N {"IS_ALLOWANCE":[{"boolean":false}],"IS_LIMIT":[{"boolean":true}]} a6e0ee0e-29cb-455b-b494-b25e4ed46991 \N \N +14 2 2024-10-11 11:23:23.051 2024-10-11 11:25:06.965 REC_MOSMS_LIMIT_TOP_UP_TEST_ADRIAN_20.000000000000_SaiF9t SMS Limit \N \N 2024-10-11 11:23:20.205 \N \N \N 1 TERMINATED 2024-10-11 11:25:06.965 2024-10-11 11:25:06.962 development@simfony.com development@simfony.com 29 -1 -2 1 2 4 10 \N R 1.000000000000 \N 2024-11-01 00:00:00 2024-10-11 11:23:20.205 3 \N \N 1 \N {"IS_ALLOWANCE":[{"boolean":false}],"IS_LIMIT":[{"boolean":true}]} 22efc0fa-25d8-432a-8cce-583de2e5dce5 -1 1 +15 2 2024-10-11 11:23:23.518 2024-10-11 11:25:06.967 REC_MODATA_ALLOW_TOP_UP_TEST_ADRIAN_1000.000000000000_MB_iry2KD Data Allowance \N \N 2024-10-11 11:23:20.205 \N \N \N 1 TERMINATED 2024-10-11 11:25:06.967 2024-10-11 11:25:06.962 development@simfony.com development@simfony.com 26 -1 -2 1 2 4 10 \N R 1.000000000000 \N 2024-11-01 00:00:00 2024-10-11 11:23:20.205 3 \N \N 1 \N {"IS_ALLOWANCE":[{"boolean":true}],"IS_LIMIT":[{"boolean":false}]} 7af5bf26-1add-40c1-9c83-0422996ab228 -1 1 +16 2 2024-10-11 11:23:23.527 2024-10-11 11:25:06.969 REC_MOSMS_ALLOW_TOP_UP_TEST_ADRIAN_10.000000000000_1dyJvs SMS Allowance \N \N 2024-10-11 11:23:20.205 \N \N \N 1 TERMINATED 2024-10-11 11:25:06.969 2024-10-11 11:25:06.962 development@simfony.com development@simfony.com 27 -1 -2 1 2 4 10 \N R 1.000000000000 \N 2024-11-01 00:00:00 2024-10-11 11:23:20.205 3 \N \N 1 \N {"IS_ALLOWANCE":[{"boolean":true}],"IS_LIMIT":[{"boolean":false}]} e7e1bc2e-5c43-4548-ad50-151e2ce992df -1 1 +25 3 2024-10-11 11:23:24.048 2024-10-11 11:25:06.993 REC_MODATA_TEST_DATA_150.000000000000_KB_alS8CJ Data Limit \N \N 2024-10-11 11:23:20.205 \N \N \N 1 TERMINATED 2024-10-11 11:25:06.993 2024-10-11 11:25:06.962 development@simfony.com development@simfony.com 30 -1 -2 1 2 4 10 \N R 1.000000000000 \N 2024-11-01 00:00:00 2024-10-11 11:23:20.205 4 \N \N 1 \N {"IS_ALLOWANCE":[{"boolean":false}],"IS_LIMIT":[{"boolean":true}]} 2fba141c-4ec5-4f4c-9dbc-a14c5a01144d -1 1 +26 3 2024-10-11 11:23:24.052 2024-10-11 11:25:06.994 USG_MODATA_TEST_DATA_150.000000000000_KB_B4TgKR Data Usage Limit \N \N 2024-10-11 11:23:20.205 \N \N \N 1 TERMINATED 2024-10-11 11:25:06.994 2024-10-11 11:25:06.962 development@simfony.com development@simfony.com 25 -1 -2 1 2 4 10 \N U \N \N \N \N 4 \N Kibibyte 1 \N {"IS_ALLOWANCE":[{"boolean":false}],"IS_LIMIT":[{"boolean":true}]} bdcb122d-0933-4b77-a4bd-bcbd893cf634 \N \N +17 2 2024-10-11 11:23:23.535 2024-10-11 11:25:06.97 REC_MODATA_LIMIT_TOP_UP_TEST_ADRIAN_1500.000000000000_MB_BUWT6a Data Limit \N \N 2024-10-11 11:23:20.205 \N \N \N 1 TERMINATED 2024-10-11 11:25:06.97 2024-10-11 11:25:06.962 development@simfony.com development@simfony.com 28 -1 -2 1 2 4 10 \N R 1.000000000000 \N 2024-11-01 00:00:00 2024-10-11 11:23:20.205 3 \N \N 1 \N {"IS_ALLOWANCE":[{"boolean":false}],"IS_LIMIT":[{"boolean":true}]} 3251ed0c-a276-4f36-aed1-b77c903d5fed -1 1 +18 2 2024-10-11 11:23:23.54 2024-10-11 11:25:06.977 REC_SUB_1.000000000000_PxCnUK Monthly Fee \N \N 2024-10-11 11:25:06.962 \N \N \N 0 TERMINATED 2024-10-11 11:25:06.977 \N development@simfony.com development@simfony.com 18 -1 -2 1 2 4 10 \N R 1.000000000000 \N 2024-11-01 00:00:00 2024-10-11 11:23:20.205 3 \N \N 1 \N \N 85245801-67fb-4f7a-bac6-6b4261b9fbe1 -1 0 +19 2 2024-10-11 11:23:23.548 2024-10-11 11:25:06.978 USG_MODATA_LIMIT_TOP_UP_TEST_ADRIAN_1500.000000000000_MB_wpgYYM Data Usage Limit \N \N 2024-10-11 11:23:20.205 \N \N \N 1 TERMINATED 2024-10-11 11:25:06.978 2024-10-11 11:25:06.962 development@simfony.com development@simfony.com 23 -1 -2 1 2 4 10 \N U \N \N \N \N 3 \N Mebibyte 5 \N {"IS_ALLOWANCE":[{"boolean":false}],"IS_LIMIT":[{"boolean":true}]} d7a8dfa2-1f8a-4032-bed4-1d06b3fa38b6 \N \N +20 2 2024-10-11 11:23:24.003 2024-10-11 11:25:06.979 USG_MOSMS_USAGE_TEST_ADRIAN_0.070000000000_AVFlys SMS Usage \N \N 2024-10-11 11:23:20.205 \N \N \N 0 TERMINATED 2024-10-11 11:25:06.979 2024-10-11 11:25:06.962 development@simfony.com development@simfony.com 20 -1 -2 1 2 4 10 \N U \N \N \N \N 3 \N \N 25 \N {"IS_ALLOWANCE":[{"boolean":false}],"IS_LIMIT":[{"boolean":false}]} 0e1a2a0a-75bb-4341-aefc-89f2889e5801 \N \N +21 2 2024-10-11 11:23:24.009 2024-10-11 11:25:06.981 USG_MODATA_ALLOW_TOP_UP_TEST_ADRIAN_1000.000000000000_MB_o2fLei Data Usage Allowance \N \N 2024-10-11 11:23:20.205 \N \N \N 1 TERMINATED 2024-10-11 11:25:06.981 2024-10-11 11:25:06.962 development@simfony.com development@simfony.com 21 -1 -2 1 2 4 10 \N U \N \N \N \N 3 \N Mebibyte 15 \N {"IS_ALLOWANCE":[{"boolean":true}],"IS_LIMIT":[{"boolean":false}]} 02e774a4-3e0d-42bd-b21a-dbd08a7a61c4 \N \N +22 2 2024-10-11 11:23:24.014 2024-10-11 11:25:06.982 USG_MOSMS_ALLOW_TOP_UP_TEST_ADRIAN_10.000000000000_VKclAM SMS Usage Allowance \N \N 2024-10-11 11:23:20.205 \N \N \N 1 TERMINATED 2024-10-11 11:25:06.982 2024-10-11 11:25:06.962 development@simfony.com development@simfony.com 22 -1 -2 1 2 4 10 \N U \N \N \N \N 3 \N \N 15 \N {"IS_ALLOWANCE":[{"boolean":true}],"IS_LIMIT":[{"boolean":false}]} 09135560-b306-4942-95b0-5a0fb65b422b \N \N +23 2 2024-10-11 11:23:24.017 2024-10-11 11:25:06.983 USG_MODATA_USAGE_TEST_ADRIAN_0.002000000000_MB_nEDcLi Data Usage \N \N 2024-10-11 11:23:20.205 \N \N \N 0 TERMINATED 2024-10-11 11:25:06.983 2024-10-11 11:25:06.962 development@simfony.com development@simfony.com 19 -1 -2 1 2 4 10 \N U \N \N \N \N 3 \N Mebibyte 25 \N {"IS_ALLOWANCE":[{"boolean":false}],"IS_LIMIT":[{"boolean":false}]} bbcd8bf1-b234-4b81-81de-ea9f720e3a31 \N \N +24 2 2024-10-11 11:23:24.02 2024-10-11 11:25:06.984 USG_MOSMS_LIMIT_TOP_UP_TEST_ADRIAN_20.000000000000_cHa62d SMS Usage Limit \N \N 2024-10-11 11:23:20.205 \N \N \N 1 TERMINATED 2024-10-11 11:25:06.984 2024-10-11 11:25:06.962 development@simfony.com development@simfony.com 24 -1 -2 1 2 4 10 \N U \N \N \N \N 3 \N \N 5 \N {"IS_ALLOWANCE":[{"boolean":false}],"IS_LIMIT":[{"boolean":true}]} 31ae6bd9-e532-437d-ad29-5a8c59dddb5b \N \N +\. + + +-- +-- Data for Name: billing_chrg_inst_counter; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.billing_chrg_inst_counter (chrg_instance_id, counter_instance_id, indx) FROM stdin; +\. + + +-- +-- Data for Name: billing_chrginst_wallet; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.billing_chrginst_wallet (chrg_instance_id, wallet_instance_id, indx) FROM stdin; +1 3 0 +2 4 0 +3 5 0 +4 6 0 +5 2 0 +6 6 0 +7 2 0 +8 4 0 +9 5 0 +10 2 0 +11 3 0 +12 7 0 +13 7 0 +14 9 0 +15 10 0 +16 11 0 +17 12 0 +18 8 0 +19 12 0 +20 8 0 +21 10 0 +22 11 0 +23 8 0 +24 9 0 +25 13 0 +26 13 0 +\. + + +-- +-- Data for Name: billing_counter; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.billing_counter (id, version, created, updated, code, description, creator, updater, billing_account_id, counter_template_id, user_account_id, subscription_id, service_instance_id, customer_id, customer_account_id) FROM stdin; +\. + + +-- +-- Data for Name: billing_counter_period; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.billing_counter_period (id, version, created, updated, code, description, counter_type, level_num, period_end_date, period_start_date, value, creator, updater, counter_instance_id, notification_levels, is_accumulator, accumulator_type) FROM stdin; +\. + + +-- +-- Data for Name: billing_counter_period_values; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.billing_counter_period_values (counter_key, counter_value, counterperiod_id) FROM stdin; +\. + + +-- +-- Data for Name: billing_cycle; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.billing_cycle (id, version, created, updated, code, description, billing_template_name, due_date_delay, invoice_date_delay, creator, updater, calendar, transaction_date_delay, invoice_date_production_delay, invoicing_threshold, invoice_type_id, uuid, due_date_delay_el, due_date_delay_el_sp, cf_values, cf_values_accum, billing_template_name_el, invoice_type_el, invoice_type_el_sp, billing_cycle_type, script_instance_id, reference_date, check_threshold) FROM stdin; +-1 0 2015-03-19 00:04:19.85 \N CYC_INV_MT_1 Monthly Invoice Cycle 1 \N 2 4 \N \N -1 \N \N \N \N BillingCycle-1 \N \N \N \N \N \N \N BILLINGACCOUNT \N \N \N +-2 0 2015-03-19 00:04:19.871 \N CYC_INV_MT_2 Monthly Invoice Cycle 2 \N 2 4 \N \N -1 \N \N \N \N BillingCycle-2 \N \N \N \N \N \N \N BILLINGACCOUNT \N \N \N +\. + + +-- +-- Data for Name: billing_discount; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.billing_discount (id, version, disabled, created, updated, discount_code, pourcent, pr_description, creator, updater) FROM stdin; +\. + + +-- +-- Data for Name: billing_discount_language; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.billing_discount_language (id, version, disabled, created, updated, description, creator, updater, discount_id, trading_language_id) FROM stdin; +\. + + +-- +-- Data for Name: billing_discount_plan_instance; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.billing_discount_plan_instance (id, version, discount_plan_id, billing_account_id, start_date, end_date, uuid, cf_values, cf_values_accum, subscription_id) FROM stdin; +\. + + +-- +-- Data for Name: billing_discplan_inst; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.billing_discplan_inst (id, version, disabled, created, updated, charge_code, end_subscription_date, nb_period, pourcent, start_subscription_date, usage_type, creator, updater, billing_account_id) FROM stdin; +\. + + +-- +-- Data for Name: billing_finance_segment; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.billing_finance_segment (id, code, description, version, disabled, created, updated, creator, updater, object_class, field) FROM stdin; +\. + + +-- +-- Data for Name: billing_general_ledger; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.billing_general_ledger (id, code, description, version, created, updated, creator, updater) FROM stdin; +\. + + +-- +-- Data for Name: billing_invoice; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.billing_invoice (id, version, created, updated, alias, amount, amount_tax, amount_with_tax, amount_without_tax, comment, discount, due_date, iban, invoice_date, invoice_number, net_to_pay, payment_method, product_date, temporary_invoice_number, creator, updater, billing_account_id, billing_run_id, recorded_invoice_id, trading_country_id, trading_currency_id, trading_language_id, detailed_invoice, invoice_id, uuid, invoice_type_id, quote_id, cf_values, cf_values_accum, pdf_filename, xml_filename, payment_method_id, due_balance, seller_id, subscription_id, order_id, already_sent, dont_send, prepaid, status, external_ref) FROM stdin; +\. + + +-- +-- Data for Name: billing_invoice_agregate; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.billing_invoice_agregate (type, id, version, created, updated, accounting_code_id, amount, amount_tax, amount_with_tax, amount_without_tax, description, description_discount, discount, discount_aggregate, item_number, pr_description, quantity, tax_percent, creator, updater, billing_account_id, billing_run_id, invoice_id, trading_country_id, trading_currency_id, trading_language_id, user_account_id, tax_id, category_invoice_agregate, invoicesubcategory, sub_category_tax, tax_invoice_agregate, wallet_id, invoicecategory, discount_percent, sub_cat_invoice_agregate_id, discount_plan_code, discount_plan_item_code, discount_plan_item_id) FROM stdin; +\. + + +-- +-- Data for Name: billing_invoice_cat; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.billing_invoice_cat (id, version, created, updated, code, description, sort_index, creator, updater, uuid, cf_values, cf_values_accum, description_i18n, occ_template_id, occ_templ_negative_id) FROM stdin; +-1 0 2015-03-19 00:04:19.68 \N CONSUMPTION Consumption 1 \N \N CONSUMPTION \N \N \N \N \N +-2 0 2015-03-19 00:04:19.702 \N SUBSCRIPTION Subscription 2 \N \N SUBSCRIPTION \N \N \N \N \N +3 0 2024-01-31 09:34:05.185 \N ADJUSTMENT \N \N public.superadmin \N 32c45b89-ca0b-428c-80d8-3312beab871e \N \N {} \N \N +4 0 2024-01-31 09:34:11.7 \N ALLOWANCE \N \N public.superadmin \N 6380183f-69d5-4bd4-9f4a-072d41d1c8f3 \N \N {} \N \N +5 0 2024-01-31 09:34:21.144 \N EVT_CONSUMPTION \N \N public.superadmin \N adaea4ed-e3fc-4c15-9927-68b2ce18a91e \N \N {} \N \N +6 0 2024-01-31 09:34:27.013 \N LIMIT \N \N public.superadmin \N 80fca059-24d7-428d-b911-74e4b55ee61a \N \N {} \N \N +7 0 2024-01-31 09:34:34.548 \N POST_CONSUMPTION \N \N public.superadmin \N db5fca7b-21e0-4a1c-af88-b6e2172b209b \N \N {} \N \N +8 0 2024-01-31 09:34:40.973 \N PREP_CONSUMPTION \N \N public.superadmin \N 6ae6d76d-2623-4a68-a933-73347e468a4b \N \N {} \N \N +\. + + +-- +-- Data for Name: billing_invoice_cat_lang; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.billing_invoice_cat_lang (id, version, created, updated, description, creator, updater, invoice_category_id, trading_language_id) FROM stdin; +\. + + +-- +-- Data for Name: billing_invoice_configuration; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.billing_invoice_configuration (id, version, display_subscriptions, display_services, display_offers, display_edrs, display_provider, display_detail, display_priceplans, display_cf_as_xml, display_billing_cycle, display_orders, current_invoice_nb, display_wallet_operations) FROM stdin; +-1 0 1 1 1 0 0 1 0 0 0 0 \N 0 +\. + + +-- +-- Data for Name: billing_invoice_sub_cat; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.billing_invoice_sub_cat (id, version, created, updated, code, description, accounting_code_id, discount, creator, updater, invoice_category_id, uuid, cf_values, cf_values_accum, description_i18n, tax_script_instance_id, occ_template_id, occ_templ_negative_id, sort_index) FROM stdin; +-1 0 2015-03-19 00:04:19.724 \N CMP_DATA Consumption Data -1 0.00 \N \N -1 CMP_DATA \N \N \N \N \N \N \N +-2 0 2015-03-19 00:04:19.744 \N SUB_DATA Subscription Data -2 0.00 \N \N -2 SUB_DATA \N \N \N \N \N \N \N +3 0 2024-01-31 09:36:29.813 \N DATA_ALLOWANCE_PREPAID \N \N \N public.superadmin \N 4 c285c67b-85a4-464d-bacb-db5a53b6e6ed \N \N {} \N \N \N \N +4 0 2024-01-31 09:36:39.178 \N DATA_ALLOWANCE_POSTPAID \N \N \N public.superadmin \N 4 fb0edabb-d8e6-4f66-b1b4-d94311301dd0 \N \N {} \N \N \N \N +5 0 2024-01-31 09:37:01.508 \N SMSMO_LIMIT_PREPAID \N \N \N public.superadmin \N 6 ebce3896-cbcc-46f5-adca-d2332b77dd2c \N \N {} \N \N \N \N +6 0 2024-01-31 09:37:17.011 \N SMSMO_LIMIT_POSTPAID \N \N \N public.superadmin \N 6 42369cde-7d11-4674-9f76-249b7a26a1a1 \N \N {} \N \N \N \N +7 0 2024-01-31 09:37:31.911 \N DATA_LIMIT_POSTPAID \N \N \N public.superadmin \N 6 568bade3-2f64-40ac-8dfc-af8d515b0f52 \N \N {} \N \N \N \N +8 0 2024-01-31 09:37:40.524 \N DATA_LIMIT_PREPAID \N \N \N public.superadmin \N 6 fc9ee955-d9a0-4b43-af38-a1f5c415f57f \N \N {} \N \N \N \N +9 0 2024-01-31 09:37:52.926 \N DATA_TEST_POSTPAID \N \N \N public.superadmin \N 6 7b859e31-3757-496b-8bab-e3618aef354d \N \N {} \N \N \N \N +10 0 2024-01-31 09:38:03.286 \N EVT_CONSUMPTION_DATA \N \N \N public.superadmin \N 5 892060f6-d185-4a9e-9d29-04ef1baf1aea \N \N {} \N \N \N \N +11 0 2024-01-31 09:38:19.619 \N OTHER_CHARGE_ONE_TIME \N \N \N public.superadmin \N 3 3680e191-2403-4126-ba32-84357ab711e6 \N \N {} \N \N \N \N +12 0 2024-01-31 09:38:46.575 \N POST_CONSUMPTION_DATA \N \N \N public.superadmin \N 7 d88031d0-5d94-46e5-bd40-2c3f41a72d2e \N \N {} \N \N \N \N +13 0 2024-01-31 09:38:59.675 \N POST_CONSUMPTION_MOSMS \N \N \N public.superadmin \N 7 10c9d873-cbd6-4834-8d29-d6e5acc0e035 \N \N {} \N \N \N \N +15 0 2024-01-31 09:40:10.374 \N PREP_CONSUMPTION_DATA \N \N \N public.superadmin \N 8 f99abf5e-442c-45de-8f00-4a677fac0272 \N \N {} \N \N \N \N +16 0 2024-01-31 09:40:27.557 \N PREP_CONSUMPTION_MOSMS \N \N \N public.superadmin \N 8 dd33f3fb-494f-4fd2-86f1-1269132ad7ca \N \N {} \N \N \N \N +17 0 2024-01-31 09:40:46.463 \N SMSMO_ALLOWANCE_POSTPAID \N \N \N public.superadmin \N 4 f3833ae5-ecc7-44b7-8bc1-3de36f8740b0 \N \N {} \N \N \N \N +18 0 2024-01-31 09:40:55.452 \N SMS_ALLOWANCE_PREPAID \N \N \N public.superadmin \N 4 409fa044-24e5-4fe5-94a5-1da9732ae027 \N \N {} \N \N \N \N +19 0 2024-01-31 09:41:42.004 \N SMS_ALLOWANCE_POSTPAID \N \N \N public.superadmin \N 4 7466ad9f-45f2-488c-9823-ba8d8ca4e650 \N \N {} \N \N \N \N +20 0 2024-01-31 09:42:31.542 \N SUBSCRIPTION_PREPAID \N \N \N public.superadmin \N -2 58359603-aec9-47b3-a550-5aae61b2ec65 \N \N {} \N \N \N \N +21 0 2024-01-31 09:42:41.108 \N SUBSCRIPTION_POSTPAID \N \N \N public.superadmin \N -2 129b9b23-3593-46b9-9c07-7854296cb02a \N \N {} \N \N \N \N +\. + + +-- +-- Data for Name: billing_invoice_template; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.billing_invoice_template (id, version, code, file_name, template_version, validity_end_date, validity_start_date) FROM stdin; +\. + + +-- +-- Data for Name: billing_invoice_type; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.billing_invoice_type (id, version, created, updated, creator, updater, code, description, prefix_el, matching_auto, occ_template_id, occ_templ_negative_id, billing_template_name, pdf_filename_el, xml_filename_el, billing_template_name_el, use_self_sequence, occ_template_code_el, occ_template_negative_code_el, script_instance_id, invoice_sequence_id, tax_script_instance_id, uuid, cf_values, cf_values_accum, mailing_type, email_template_id, invoice_accountable) FROM stdin; +-1 0 2016-09-14 00:00:00 \N OPENCELL.ADMIN \N COM Commercial invoice \N 0 -25 -40 \N \N \N \N 0 \N \N \N -2 \N InvoiceType-COM \N \N \N \N 1 +-2 0 2016-09-14 00:00:00 \N OPENCELL.ADMIN \N ADJ Adjustement \N 0 -40 \N \N \N \N \N 0 \N \N \N -3 \N InvoiceType-ADJ \N \N \N \N 1 +-3 0 2016-09-14 00:00:00 \N OPENCELL.ADMIN \N QUOTE Invoice for quote \N 0 \N \N \N \N \N \N 0 \N \N \N -4 \N InvoiceType-QUOTE \N \N \N \N 0 +-4 0 2016-09-14 00:00:00 \N OPENCELL.ADMIN \N DRAFT Draft invoice DRAFT_ 0 -25 \N \N \N \N \N 0 \N \N \N -1 \N INVOICE_TYPE-4 \N \N \N \N 0 +3 1 2024-01-31 09:47:11.659 2024-01-31 09:47:52.161 public.superadmin public.superadmin PREPAID \N 0 -25 \N \N \N \N \N 1 \N \N \N 1 \N ade8fe37-f2a4-4991-a6af-47870ca2f528 \N \N \N \N 1 +\. + + +-- +-- Data for Name: billing_invoice_type_applies_to; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.billing_invoice_type_applies_to (invoice_type_id, applies_to_id) FROM stdin; +-1 -2 +-2 -1 +3 3 +\. + + +-- +-- Data for Name: billing_invoices_orders; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.billing_invoices_orders (invoice_id, order_id) FROM stdin; +\. + + +-- +-- Data for Name: billing_linked_invoices; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.billing_linked_invoices (id, linked_invoice_id) FROM stdin; +\. + + +-- +-- Data for Name: billing_priceplan_inst; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.billing_priceplan_inst (id, version, disabled, created, updated, amount_without_tax, charge_code, end_event_date, end_subscription_date, pr_amount_without_tax, start_event_date, start_subscription_date, stringcriteria1, stringcriteria2, stringcriteria3, subscription_age_max_in_month, subscription_age_min_in_month, usage_type, creator, updater, billing_account_id, trading_currency_id) FROM stdin; +\. + + +-- +-- Data for Name: billing_product_instance; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.billing_product_instance (id, version, created, updated, creator, updater, uuid, code, description, product_template_id, quantity, user_account_id, application_date, subscription_id, order_number, cf_values, cf_values_accum, seller_id) FROM stdin; +\. + + +-- +-- Data for Name: billing_rated_transaction_open; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.billing_rated_transaction_open (id, version, amount_tax, amount_with_tax, amount_without_tax, code, description, do_not_trigger_invoicing, parameter_1, parameter_2, parameter_3, quantity, status, unit_amount_tax, unit_amount_with_tax, unit_amount_without_tax, unity_description, usage_date, billing_account__id, billing_run_id, invoice_id, aggregate_id_f, invoice_sub_category_id, priceplan_id, wallet_id, edr_id, adjusted_rated_tx, order_number, rating_unit_description, parameter_extra, start_date, end_date, subscription_id, seller_id, charge_instance_id, tax_id, tax_percent, user_account_id, offer_id, service_instance_id, updated, tax_class_id, input_quantity, raw_amount_without_tax, raw_amount_with_tax, input_unitofmeasure, rating_unitofmeasure, sort_index) FROM stdin; +\. + + +-- +-- Data for Name: billing_rated_transaction_other; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.billing_rated_transaction_other (id, version, amount_tax, amount_with_tax, amount_without_tax, code, description, do_not_trigger_invoicing, parameter_1, parameter_2, parameter_3, quantity, status, unit_amount_tax, unit_amount_with_tax, unit_amount_without_tax, unity_description, usage_date, billing_account__id, billing_run_id, invoice_id, aggregate_id_f, invoice_sub_category_id, priceplan_id, wallet_id, edr_id, adjusted_rated_tx, order_number, rating_unit_description, parameter_extra, start_date, end_date, subscription_id, seller_id, charge_instance_id, tax_id, tax_percent, user_account_id, offer_id, service_instance_id, updated, tax_class_id, input_quantity, raw_amount_without_tax, raw_amount_with_tax, input_unitofmeasure, rating_unitofmeasure, sort_index) FROM stdin; +\. + + +-- +-- Data for Name: billing_rejected_billing_accounts; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.billing_rejected_billing_accounts (id, version, created, updated, reject_cause, creator, updater, billing_account, billing_run) FROM stdin; +\. + + +-- +-- Data for Name: billing_reservation; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.billing_reservation (id, version, created, updated, amount_with_tax, amount_without_tax, expiry_date, input_message, origin_edr_id, quantity, reservation_date, status, creator, updater, subscription_id, user_account_id, wallet_id) FROM stdin; +\. + + +-- +-- Data for Name: billing_resrv_countid; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.billing_resrv_countid (reservation_id, counterperiodvalues, counterperiodvalues_key) FROM stdin; +\. + + +-- +-- Data for Name: billing_seq_invoice; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.billing_seq_invoice (id, sequence_size, current_invoice_nb, version, creator, updater, created, updated, code, description) FROM stdin; +-1 5 \N 0 OPENCELL.ADMIN \N 2016-09-14 00:00:00 \N DRAFT \N +-2 9 \N 0 OPENCELL.ADMIN \N 2016-09-14 00:00:00 \N COM \N +-3 9 \N 0 OPENCELL.ADMIN \N 2016-09-14 00:00:00 \N ADJ \N +-4 9 \N 0 OPENCELL.ADMIN \N 2016-09-14 00:00:00 \N QUOTE \N +1 9 0 0 public.superadmin \N 2024-01-31 09:44:54.456 \N PREPAID \N +\. + + +-- +-- Data for Name: billing_seq_invtyp_sell; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.billing_seq_invtyp_sell (id, invoicetype_id, seller_id, prefix_el, invoice_sequence_id) FROM stdin; +\. + + +-- +-- Data for Name: billing_service_instance; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.billing_service_instance (id, version, created, updated, code, description, end_agrement_date, quantity, status, status_date, subscription_date, termination_date, creator, updater, service_template_id, subscription_id, sub_termin_reason_id, invoicing_calendar_id, uuid, order_number, cf_values, cf_values_accum, rate_until_date, minimum_amount_el, minimum_amount_el_sp, minimum_label_el, minimum_label_el_sp, auto_renew, days_notify_renew, end_of_term_action, auto_termin_reason_id, init_active_unit, init_active, match_end_aggr_date, renew_for_unit, renew_for, subscribed_till_date, renewed, notify_of_renewal_date, renewal_notified_date, initial_term_type, auto_end_of_engagement, amount_ps, calendar_ps_id, payment_day_in_month_ps, auto_renew_date, initial_renewal, calendar_init_active_id, calendar_renew_for_id, renewal_term_type, minimum_invoice_sub_category_id, minimum_charge_template_id) FROM stdin; +1 2 2024-10-11 11:19:58.145 2024-10-11 11:21:11.927 TEST_PLAN_ADRIAN_v.1 SUBSCRIPTION \N 1.000000000000 TERMINATED 2024-10-11 11:21:11.924 2024-10-11 11:19:55.216 2024-10-11 11:21:11.859 development@simfony.com development@simfony.com 4 1 -1 4 3a19df4c-9bb3-4a6b-bbd7-4e2ce8a27669 \N \N \N \N \N \N \N \N 0 \N \N \N \N \N 0 \N \N \N 0 \N \N RECURRING 0 \N \N \N \N \N \N \N RECURRING \N \N +2 3 2024-10-11 11:19:59.703 2024-10-11 11:21:11.943 TEST_PLAN_ADRIAN_TEST_DATA_v.1 TEST_DATA \N 1.000000000000 TERMINATED 2024-10-11 11:21:11.941 2024-10-11 11:19:55.216 2024-10-11 11:21:11.859 development@simfony.com development@simfony.com 3 1 -1 4 84c55675-1768-4301-8de5-fa97a6e15355 \N \N \N \N \N \N \N \N 0 \N TERMINATE -1 DAY 1095 0 \N \N 2027-10-11 11:19:55.216 0 \N \N RECURRING 0 \N \N \N \N \N \N \N RECURRING \N \N +3 2 2024-10-11 11:23:22.569 2024-10-11 11:25:06.987 TEST_PLAN_ADRIAN_v.1 SUBSCRIPTION \N 1.000000000000 TERMINATED 2024-10-11 11:25:06.985 2024-10-11 11:23:20.205 2024-10-11 11:25:06.962 development@simfony.com development@simfony.com 4 2 -1 4 b135ea17-0cf2-4a1d-bd64-fcee10b3408d \N \N \N \N \N \N \N \N 0 \N \N \N \N \N 0 \N \N \N 0 \N \N RECURRING 0 \N \N \N \N \N \N \N RECURRING \N \N +4 3 2024-10-11 11:23:24.028 2024-10-11 11:25:06.997 TEST_PLAN_ADRIAN_TEST_DATA_v.1 TEST_DATA \N 1.000000000000 TERMINATED 2024-10-11 11:25:06.995 2024-10-11 11:23:20.205 2024-10-11 11:25:06.962 development@simfony.com development@simfony.com 3 2 -1 4 e40d7b5c-936c-421a-81cc-575850ffee3f \N \N \N \N \N \N \N \N 0 \N TERMINATE -1 DAY 1095 0 \N \N 2027-10-11 11:23:20.205 0 \N \N RECURRING 0 \N \N \N \N \N \N \N RECURRING \N \N +\. + + +-- +-- Data for Name: billing_subscrip_termin_reason; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.billing_subscrip_termin_reason (id, version, apply_agreement, apply_reimbursment, apply_termination_charges, code, description, created, updated, creator, updater, override_prorata, reimburse_oneshots) FROM stdin; +-2 0 1 0 0 TERM_REASON_2 Agreement 2015-03-19 00:04:19.829 \N \N \N \N 0 +-3 0 0 1 0 TERM_REASON_3 Charge 2015-03-19 00:04:19.829 \N \N \N \N 0 +-1 1 1 1 1 TERM_REASON_1 Agreement Reimbursement Charge 2015-03-19 00:04:19.829 \N \N \N NO_OVERRIDE 0 +\. + + +-- +-- Data for Name: billing_subscription; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.billing_subscription (id, version, created, updated, code, description, default_level, end_agrement_date, status, status_date, subscription_date, termination_date, creator, updater, offer_id, sub_termin_reason_id, user_account_id, uuid, subscribed_till_date, auto_renew, days_notify_renew, end_of_term_action, auto_termin_reason_id, init_active_unit, init_active, match_end_aggr_date, renew_for_unit, renew_for, renewed, notify_of_renewal_date, renewal_notified_date, cf_values, cf_values_accum, minimum_amount_el, minimum_amount_el_sp, minimum_label_el, minimum_label_el_sp, initial_term_type, billing_cycle, billing_run, auto_end_of_engagement, seller_id, rating_group, auto_renew_date, mailing_type, cced_emails, email, electronic_billing, email_template_id, initial_renewal, calendar_init_active_id, calendar_renew_for_id, renewal_term_type, minimum_invoice_sub_category_id, minimum_charge_template_id) FROM stdin; +1 3 2024-10-11 11:19:57.291 2024-10-11 11:21:11.986 a4b10741-5cec-4529-b500-51f557a2707a a4b10741-5cec-4529-b500-51f557a2707a 1 \N RESILIATED 2024-10-11 11:21:11.946 2024-10-11 11:19:55.216 2024-10-11 11:21:11.859 development@simfony.com development@simfony.com 1 -1 9 5b754980-c169-4e5a-947b-449960dc8a36 \N 0 \N \N \N \N \N 0 \N \N 0 \N \N \N \N \N \N \N \N RECURRING -1 \N 0 1 \N 2024-10-11 11:19:57.291 \N \N \N 0 \N \N \N \N RECURRING \N \N +2 3 2024-10-11 11:23:21.921 2024-10-11 11:25:07.017 327d4ca8-624e-4dc9-a6f6-eee5e0720d04 327d4ca8-624e-4dc9-a6f6-eee5e0720d04 1 \N RESILIATED 2024-10-11 11:25:07 2024-10-11 11:23:20.205 2024-10-11 11:25:06.962 development@simfony.com development@simfony.com 1 -1 10 38e2b11e-ba2c-4f61-b758-650d75acb687 \N 0 \N \N \N \N \N 0 \N \N 0 \N \N \N \N \N \N \N \N RECURRING -1 \N 0 1 \N 2024-10-11 11:23:21.921 \N \N \N 0 \N \N \N \N RECURRING \N \N +\. + + +-- +-- Data for Name: billing_tax; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.billing_tax (id, version, created, updated, code, description, accounting_code_id, tax_percentage, creator, updater, uuid, cf_values, cf_values_accum, description_i18n) FROM stdin; +-1 0 2015-03-19 00:04:19.611 \N TAX_00 0 Percent Tax \N 0.000000000000 \N \N tax-1 \N \N \N +-2 0 2015-03-19 00:04:19.637 \N TAX_05 5 Percent Tax \N 5.000000000000 \N \N tax-2 \N \N \N +-3 0 2015-03-19 00:04:19.659 \N TAX_18 18 Percent Tax \N 18.000000000000 \N \N tax-3 \N \N \N +\. + + +-- +-- Data for Name: billing_tax_category; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.billing_tax_category (id, version, created, updated, creator, updater, code, description, description_i18n, uuid, cf_values, cf_values_accum) FROM stdin; +-1 0 2020-02-08 00:03:59.983 \N \N \N Tax category \N \N tax_category_1 \N \N +1 0 2024-01-31 09:10:22.987 \N public.superadmin \N EXPORT \N {} d8c4d554-75d5-4260-a9d5-c0f6eef7f0b0 \N \N +2 0 2024-01-31 09:10:29.845 \N public.superadmin \N DEFAULT \N {} 0a22fe58-994c-4dbd-9581-844b8e4da53d \N \N +3 0 2024-01-31 09:10:35.717 \N public.superadmin \N COMMUNITY_VAT \N {} 6dd10d35-a067-4190-92c6-f443e6fcf38e \N \N +\. + + +-- +-- Data for Name: billing_tax_class; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.billing_tax_class (id, version, created, updated, creator, updater, code, description, description_i18n, uuid, cf_values, cf_values_accum) FROM stdin; +-1 0 2015-03-19 00:04:19.724 \N \N \N CMP_DATA Consumption Data \N tax_class_-1 \N \N +1 0 2024-01-31 09:20:11.153 \N public.superadmin \N CMP \N {} 3b9fe2ea-5b30-4884-a26c-ec9fda0e4be7 \N \N +2 0 2024-01-31 09:20:17.469 \N public.superadmin \N ONE_CHARGE_TAX_CLASS \N {} 79cdf99b-265c-44c8-a286-f05211286d0d \N \N +-2 1 2015-03-19 00:04:19.744 \N \N \N SUB_DATA Subscription Data {} tax_class_-2 \N \N +\. + + +-- +-- Data for Name: billing_tax_language; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.billing_tax_language (id, version, created, updated, description, creator, updater, tax_id, trading_language_id) FROM stdin; +\. + + +-- +-- Data for Name: billing_tax_mapping; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.billing_tax_mapping (id, version, created, updated, creator, updater, tax_category_id, tax_class_id, valid_from, valid_to, seller_country_id, buyer_country_id, filter_el, filter_el_sp, tax_id, tax_el, tax_el_sp, tax_script_id, priority, source, origin_id) FROM stdin; +5 0 2024-01-31 09:20:48.469 \N public.superadmin \N 3 1 2021-12-01 00:00:00 2122-08-31 00:00:00 \N \N \N \N -1 \N \N \N 1 \N \N +6 0 2024-01-31 09:21:08.874 \N public.superadmin \N 3 -1 2021-12-01 00:00:00 2122-08-31 00:00:00 \N \N \N \N -1 \N \N \N 1 \N \N +7 0 2024-01-31 09:27:47.156 \N public.superadmin \N 3 -2 2021-12-01 00:00:00 2122-08-31 00:00:00 \N \N \N \N -1 \N \N \N 1 \N \N +8 0 2024-01-31 09:28:05.807 \N public.superadmin \N 2 1 2021-12-01 00:00:00 2122-08-31 00:00:00 \N \N \N \N -1 \N \N \N 1 \N \N +9 0 2024-01-31 09:28:17.483 \N public.superadmin \N 2 -1 2021-12-01 00:00:00 2122-08-31 00:00:00 \N \N \N \N -1 \N \N \N 1 \N \N +11 0 2024-01-31 09:28:39.925 \N public.superadmin \N 1 1 2021-12-01 00:00:00 2122-08-31 00:00:00 \N \N \N \N -1 \N \N \N 1 \N \N +10 1 2024-01-31 09:28:27.976 2024-01-31 09:28:56.237 public.superadmin public.superadmin 2 -2 2021-12-01 00:00:00 2122-08-31 00:00:00 \N \N \N \N -1 \N \N \N 2 \N \N +12 0 2024-01-31 09:30:46.72 \N public.superadmin \N 1 -1 2021-12-01 00:00:00 2122-08-31 00:00:00 \N \N \N \N -1 \N \N \N 1 \N \N +13 0 2024-01-31 09:31:00.357 \N public.superadmin \N 1 -2 2021-12-01 00:00:00 2122-08-31 00:00:00 \N \N \N \N -1 \N \N \N 1 \N \N +14 0 2024-01-31 09:31:12.878 \N public.superadmin \N -1 1 2021-12-01 00:00:00 2122-08-31 00:00:00 \N \N \N \N -1 \N \N \N 1 \N \N +15 0 2024-01-31 09:31:23.563 \N public.superadmin \N -1 -1 2021-12-01 00:00:00 2122-08-31 00:00:00 \N \N \N \N -1 \N \N \N 1 \N \N +16 0 2024-01-31 09:31:34.359 \N public.superadmin \N -1 -2 2021-12-01 00:00:00 2122-08-31 00:00:00 \N \N \N \N -1 \N \N \N 1 \N \N +\. + + +-- +-- Data for Name: billing_trading_country; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.billing_trading_country (id, version, disabled, created, updated, creator, updater, country_id, code, description, cf_values_accum, cf_values, uuid) FROM stdin; +-1 0 0 2015-03-19 00:04:19.237 \N \N \N 220 US United States \N \N Trading_Country_US +-2 0 0 2015-03-19 00:04:19.264 \N \N \N 70 FR France \N \N Trading_Country_FR +\. + + +-- +-- Data for Name: billing_trading_currency; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.billing_trading_currency (id, version, disabled, created, updated, pr_currency_to_this, pr_description, creator, updater, currency_id) FROM stdin; +-1 0 0 2015-03-19 00:04:19.195 \N \N US Dollar \N \N 49 +-2 0 0 2015-03-19 00:04:19.216 \N \N Euro \N \N 5 +\. + + +-- +-- Data for Name: billing_trading_language; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.billing_trading_language (id, version, disabled, created, updated, pr_description, creator, updater, language_id) FROM stdin; +-1 0 0 2015-03-19 00:04:19.152 \N English \N \N 2 +-2 0 0 2015-03-19 00:04:19.174 \N French \N \N 12 +\. + + +-- +-- Data for Name: billing_user_account; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.billing_user_account (status, status_date, subscription_date, termination_date, id, billing_account_id, termin_reason_id, wallet_id) FROM stdin; +ACTIVE 2024-10-11 11:08:11.224 2024-10-11 11:05:10.669 \N 8 7 \N 1 +ACTIVE 2024-10-11 11:19:56.198 2024-10-11 11:19:55.216 \N 9 7 \N 2 +ACTIVE 2024-10-11 11:23:20.817 2024-10-11 11:23:20.205 \N 10 7 \N 8 +\. + + +-- +-- Data for Name: billing_wallet; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.billing_wallet (id, version, created, updated, code, description, expiry_date, next_matching_date, creator, updater, user_account_id, cat_wallet_template_id, low_balance_level, reject_level) FROM stdin; +1 0 2024-10-11 11:08:11.706 \N PRINCIPAL \N \N \N development@simfony.com \N 8 \N \N \N +2 0 2024-10-11 11:19:56.664 \N PRINCIPAL \N \N \N development@simfony.com \N 9 \N \N \N +3 0 2024-10-11 11:19:58.645 \N LIMIT_MOSMS_TEST_ADRIAN_kZiAt5 \N \N \N development@simfony.com \N 9 5 \N 0.000000000000 +4 0 2024-10-11 11:19:59.151 \N ALLOWANCE_MODATA_TEST_ADRIAN_m3B3AW \N \N \N development@simfony.com \N 9 6 -900.000000000000 0.000000000000 +5 0 2024-10-11 11:19:59.165 \N ALLOWANCE_MOSMS_TEST_ADRIAN_psNCUg \N \N \N development@simfony.com \N 9 7 \N 0.000000000000 +6 0 2024-10-11 11:19:59.178 \N LIMIT_MODATA_TEST_ADRIAN_0fNn3S \N \N \N development@simfony.com \N 9 8 \N 0.000000000000 +7 0 2024-10-11 11:19:59.732 \N TEST_DATA_MODATA_ALL_ZONES_kMhPhG \N \N \N development@simfony.com \N 9 9 -130.000000000000 0.000000000000 +8 0 2024-10-11 11:23:21.297 \N PRINCIPAL \N \N \N development@simfony.com \N 10 \N \N \N +9 0 2024-10-11 11:23:23.05 \N LIMIT_MOSMS_TEST_ADRIAN_kZiAt5 \N \N \N development@simfony.com \N 10 5 \N 0.000000000000 +10 0 2024-10-11 11:23:23.514 \N ALLOWANCE_MODATA_TEST_ADRIAN_m3B3AW \N \N \N development@simfony.com \N 10 6 -900.000000000000 0.000000000000 +11 0 2024-10-11 11:23:23.525 \N ALLOWANCE_MOSMS_TEST_ADRIAN_psNCUg \N \N \N development@simfony.com \N 10 7 \N 0.000000000000 +12 0 2024-10-11 11:23:23.533 \N LIMIT_MODATA_TEST_ADRIAN_0fNn3S \N \N \N development@simfony.com \N 10 8 \N 0.000000000000 +13 0 2024-10-11 11:23:24.046 \N TEST_DATA_MODATA_ALL_ZONES_kMhPhG \N \N \N development@simfony.com \N 10 9 -130.000000000000 0.000000000000 +\. + + +-- +-- Data for Name: billing_wallet_operation_open; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.billing_wallet_operation_open (id, operation_type, version, created, updated, code, description, amount_tax, amount_with_tax, amount_without_tax, end_date, offer_code, operation_date, parameter_1, parameter_2, parameter_3, quantity, start_date, status, subscription_date, tax_percent, credit_debit_flag, unit_amount_tax, unit_amount_with_tax, unit_amount_without_tax, charge_instance_id, counter_id, currency_id, priceplan_id, reratedwalletoperation_id, seller_id, wallet_id, reservation_id, invoicing_date, input_quantity, input_unit_description, rating_unit_description, edr_id, order_number, parameter_extra, raw_amount_without_tax, raw_amount_with_tax, invoice_sub_category_id, subscription_id, tax_id, rated_transaction_id, service_instance_id, offer_id, input_unitofmeasure, rating_unitofmeasure, tax_class_id, uuid, cf_values, cf_values_accum, sort_index) FROM stdin; +1 W 0 2024-10-11 11:20:01.357 2024-10-11 11:20:01.357 REC_MODATA_TEST_DATA_150.000000000000_KB_alS8CJ Data Limit 0.000000000000 -150.000000000000 -150.000000000000 2024-11-01 00:00:00 2a800a6f-1290-462f-9709-6f7813a368ae 2024-10-11 11:19:55.216 \N \N \N 1.000000000000 2024-10-11 11:19:55.216 OPEN 2024-10-11 11:19:55.216 0.000000000000 \N 0.000000000000 -150.000000000000 -150.000000000000 12 \N 5 30 \N 1 7 \N 2024-11-11 11:19:55.215 1.000000000000 kibi kibi \N \N \N \N \N 9 1 -1 \N 2 1 -6 -6 1 47b2de8e-9caa-4d23-9e53-495a9b2ab0ef \N \N \N +2 W 0 2024-10-11 11:20:31.115 2024-10-11 11:20:31.115 REC_MOSMS_LIMIT_TOP_UP_TEST_ADRIAN_20.000000000000_SaiF9t SMS Limit 0.000000000000 -20.000000000000 -20.000000000000 2024-11-01 00:00:00 2a800a6f-1290-462f-9709-6f7813a368ae 2024-10-11 11:19:55.216 \N \N \N 1.000000000000 2024-10-11 11:19:55.216 OPEN 2024-10-11 11:19:55.216 0.000000000000 \N 0.000000000000 -20.000000000000 -20.000000000000 1 \N 5 29 \N 1 3 \N 2024-11-11 11:19:55.215 1.000000000000 \N \N \N \N \N \N \N 6 1 -1 \N 1 1 \N \N 1 9ee756f2-7950-4fe7-af83-9d5e29129fb4 \N \N \N +3 W 0 2024-10-11 11:20:31.127 2024-10-11 11:20:31.127 REC_MODATA_ALLOW_TOP_UP_TEST_ADRIAN_1000.000000000000_MB_iry2KD Data Allowance 0.000000000000 -1000.000000000000 -1000.000000000000 2024-11-01 00:00:00 2a800a6f-1290-462f-9709-6f7813a368ae 2024-10-11 11:19:55.216 \N \N \N 1.000000000000 2024-10-11 11:19:55.216 OPEN 2024-10-11 11:19:55.216 0.000000000000 \N 0.000000000000 -1000.000000000000 -1000.000000000000 2 \N 5 26 \N 1 4 \N 2024-11-11 11:19:55.215 1.000000000000 mebibyte mebibyte \N \N \N \N \N 4 1 -1 \N 1 1 -7 -7 1 7a59d7f8-33e6-45b8-b96d-cee33fb639a9 \N \N \N +4 W 0 2024-10-11 11:20:31.148 2024-10-11 11:20:31.148 REC_MOSMS_ALLOW_TOP_UP_TEST_ADRIAN_10.000000000000_1dyJvs SMS Allowance 0.000000000000 -10.000000000000 -10.000000000000 2024-11-01 00:00:00 2a800a6f-1290-462f-9709-6f7813a368ae 2024-10-11 11:19:55.216 \N \N \N 1.000000000000 2024-10-11 11:19:55.216 OPEN 2024-10-11 11:19:55.216 0.000000000000 \N 0.000000000000 -10.000000000000 -10.000000000000 3 \N 5 27 \N 1 5 \N 2024-11-11 11:19:55.215 1.000000000000 \N \N \N \N \N \N \N 17 1 -1 \N 1 1 \N \N 1 8aeead19-df06-4241-8855-cb36c5a671d2 \N \N \N +5 W 0 2024-10-11 11:20:31.16 2024-10-11 11:20:31.16 REC_MODATA_LIMIT_TOP_UP_TEST_ADRIAN_1500.000000000000_MB_BUWT6a Data Limit 0.000000000000 -1500.000000000000 -1500.000000000000 2024-11-01 00:00:00 2a800a6f-1290-462f-9709-6f7813a368ae 2024-10-11 11:19:55.216 \N \N \N 1.000000000000 2024-10-11 11:19:55.216 OPEN 2024-10-11 11:19:55.216 0.000000000000 \N 0.000000000000 -1500.000000000000 -1500.000000000000 4 \N 5 28 \N 1 6 \N 2024-11-11 11:19:55.215 1.000000000000 mebibyte mebibyte \N \N \N \N \N 7 1 -1 \N 1 1 -7 -7 1 4f7a6be6-f5af-4d20-8640-0d02b7228ca4 \N \N \N +6 W 0 2024-10-11 11:21:11.897 2024-10-11 11:21:11.897 REC_SUB_1.000000000000_PxCnUK Monthly Fee 0.000000000000 1.000000000000 1.000000000000 2024-10-11 11:21:11.859 2a800a6f-1290-462f-9709-6f7813a368ae 2024-10-11 11:19:55.216 \N \N \N 1.000000000000 2024-10-11 11:19:55.216 OPEN 2024-10-11 11:19:55.216 0.000000000000 \N 0.000000000000 1.000000000000 1.000000000000 5 \N 5 18 \N 1 2 \N 2024-11-11 11:19:55.215 1.000000000000 \N \N \N \N \N \N \N 21 1 -1 \N 1 1 \N \N 1 5e887b46-064d-4df4-9e3c-56ec38f72216 \N \N \N +7 W 0 2024-10-11 11:23:25.516 2024-10-11 11:23:25.516 REC_MODATA_TEST_DATA_150.000000000000_KB_alS8CJ Data Limit 0.000000000000 -150.000000000000 -150.000000000000 2024-11-01 00:00:00 2a800a6f-1290-462f-9709-6f7813a368ae 2024-10-11 11:23:20.205 \N \N \N 1.000000000000 2024-10-11 11:23:20.205 OPEN 2024-10-11 11:23:20.205 0.000000000000 \N 0.000000000000 -150.000000000000 -150.000000000000 25 \N 5 30 \N 1 13 \N 2024-11-11 11:23:20.204 1.000000000000 kibi kibi \N \N \N \N \N 9 2 -1 \N 4 1 -6 -6 1 8edfeae6-7371-4d4e-bd5f-e49ba8705a25 \N \N \N +8 W 0 2024-10-11 11:23:51.208 2024-10-11 11:23:51.208 REC_MOSMS_LIMIT_TOP_UP_TEST_ADRIAN_20.000000000000_SaiF9t SMS Limit 0.000000000000 -20.000000000000 -20.000000000000 2024-11-01 00:00:00 2a800a6f-1290-462f-9709-6f7813a368ae 2024-10-11 11:23:20.205 \N \N \N 1.000000000000 2024-10-11 11:23:20.205 OPEN 2024-10-11 11:23:20.205 0.000000000000 \N 0.000000000000 -20.000000000000 -20.000000000000 14 \N 5 29 \N 1 9 \N 2024-11-11 11:23:20.204 1.000000000000 \N \N \N \N \N \N \N 6 2 -1 \N 3 1 \N \N 1 95f2e070-dd2b-4a78-8241-845e85a188cf \N \N \N +9 W 0 2024-10-11 11:23:51.221 2024-10-11 11:23:51.221 REC_MODATA_ALLOW_TOP_UP_TEST_ADRIAN_1000.000000000000_MB_iry2KD Data Allowance 0.000000000000 -1000.000000000000 -1000.000000000000 2024-11-01 00:00:00 2a800a6f-1290-462f-9709-6f7813a368ae 2024-10-11 11:23:20.205 \N \N \N 1.000000000000 2024-10-11 11:23:20.205 OPEN 2024-10-11 11:23:20.205 0.000000000000 \N 0.000000000000 -1000.000000000000 -1000.000000000000 15 \N 5 26 \N 1 10 \N 2024-11-11 11:23:20.204 1.000000000000 mebibyte mebibyte \N \N \N \N \N 4 2 -1 \N 3 1 -7 -7 1 e922c344-6bb8-4751-bee5-02c7861284e5 \N \N \N +10 W 0 2024-10-11 11:23:51.231 2024-10-11 11:23:51.231 REC_MOSMS_ALLOW_TOP_UP_TEST_ADRIAN_10.000000000000_1dyJvs SMS Allowance 0.000000000000 -10.000000000000 -10.000000000000 2024-11-01 00:00:00 2a800a6f-1290-462f-9709-6f7813a368ae 2024-10-11 11:23:20.205 \N \N \N 1.000000000000 2024-10-11 11:23:20.205 OPEN 2024-10-11 11:23:20.205 0.000000000000 \N 0.000000000000 -10.000000000000 -10.000000000000 16 \N 5 27 \N 1 11 \N 2024-11-11 11:23:20.204 1.000000000000 \N \N \N \N \N \N \N 17 2 -1 \N 3 1 \N \N 1 a456434c-9d71-4a5c-8e36-c14172f91c9f \N \N \N +11 W 0 2024-10-11 11:23:51.239 2024-10-11 11:23:51.239 REC_MODATA_LIMIT_TOP_UP_TEST_ADRIAN_1500.000000000000_MB_BUWT6a Data Limit 0.000000000000 -1500.000000000000 -1500.000000000000 2024-11-01 00:00:00 2a800a6f-1290-462f-9709-6f7813a368ae 2024-10-11 11:23:20.205 \N \N \N 1.000000000000 2024-10-11 11:23:20.205 OPEN 2024-10-11 11:23:20.205 0.000000000000 \N 0.000000000000 -1500.000000000000 -1500.000000000000 17 \N 5 28 \N 1 12 \N 2024-11-11 11:23:20.204 1.000000000000 mebibyte mebibyte \N \N \N \N \N 7 2 -1 \N 3 1 -7 -7 1 7f0cbfba-be43-4246-bece-15b8f6dcd6e9 \N \N \N +12 W 0 2024-10-11 11:25:06.971 2024-10-11 11:25:06.971 REC_SUB_1.000000000000_PxCnUK Monthly Fee 0.000000000000 1.000000000000 1.000000000000 2024-10-11 11:25:06.962 2a800a6f-1290-462f-9709-6f7813a368ae 2024-10-11 11:23:20.205 \N \N \N 1.000000000000 2024-10-11 11:23:20.205 OPEN 2024-10-11 11:23:20.205 0.000000000000 \N 0.000000000000 1.000000000000 1.000000000000 18 \N 5 18 \N 1 8 \N 2024-11-11 11:23:20.204 1.000000000000 \N \N \N \N \N \N \N 21 2 -1 \N 3 1 \N \N 1 ae8beaab-e3e3-4411-9fd4-db12ad1c7a8d \N \N \N +\. + + +-- +-- Data for Name: billing_wallet_operation_other; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.billing_wallet_operation_other (id, operation_type, version, created, updated, code, description, amount_tax, amount_with_tax, amount_without_tax, end_date, offer_code, operation_date, parameter_1, parameter_2, parameter_3, quantity, start_date, status, subscription_date, tax_percent, credit_debit_flag, unit_amount_tax, unit_amount_with_tax, unit_amount_without_tax, charge_instance_id, counter_id, currency_id, priceplan_id, reratedwalletoperation_id, seller_id, wallet_id, reservation_id, invoicing_date, input_quantity, input_unit_description, rating_unit_description, edr_id, order_number, parameter_extra, raw_amount_without_tax, raw_amount_with_tax, invoice_sub_category_id, subscription_id, tax_id, rated_transaction_id, service_instance_id, offer_id, input_unitofmeasure, rating_unitofmeasure, tax_class_id, uuid, cf_values, cf_values_accum, sort_index) FROM stdin; +\. + + +-- +-- Data for Name: cat_bundle_product_template; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.cat_bundle_product_template (id, product_template_id, bundle_template_id, quantity) FROM stdin; +\. + + +-- +-- Data for Name: cat_business_offer_model; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.cat_business_offer_model (id, offer_template_id) FROM stdin; +\. + + +-- +-- Data for Name: cat_business_product_model; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.cat_business_product_model (id, product_template_id) FROM stdin; +\. + + +-- +-- Data for Name: cat_business_serv_model; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.cat_business_serv_model (id, service_template_id, duplicate_service, duplicate_price_plan) FROM stdin; +\. + + +-- +-- Data for Name: cat_calendar; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.cat_calendar (cal_type, id, version, created, updated, code, description, nb_periods, period_length, period_unit, calendar, join_type, interval_type, creator, updater, join_cal_1_id, join_cal_2_id, start_date, end_date, weekend_begin, weekend_end) FROM stdin; +YEARLY -1 0 2015-03-19 00:04:19.284 \N MONTHLY Monthly Calendar \N \N \N \N \N \N \N \N \N \N \N \N \N \N +PERIOD -2 0 2015-03-19 00:04:19.568 \N One period One period Calendar 1 7 5 \N \N \N \N \N \N \N \N \N \N \N +PERIOD -3 0 2015-03-19 00:04:19.591 \N Multi period Multi period Calendar 6 7 5 \N \N \N \N \N \N \N \N \N \N \N +BANKING -4 0 2018-11-20 07:40:45.183 \N FR_BANKING_CAL_2018 France bank calendar 2018 \N \N \N \N \N \N \N \N \N \N 2018-01-01 2018-12-31 6 7 +BANKING -5 0 2018-12-07 11:07:45.183 \N FR_BANKING_CAL_2019 France bank calendar 2019 \N \N \N \N \N \N \N \N \N \N 2019-01-01 2019-12-31 6 7 +PERIOD 4 1 2024-10-10 14:18:19.093 \N Month_1 \N 0 1 2 \N \N \N development@simfony.com \N \N \N \N \N \N \N +\. + + +-- +-- Data for Name: cat_calendar_days; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.cat_calendar_days (calendar_id, day_id) FROM stdin; +-1 1 +-1 101 +-1 201 +-1 301 +-1 401 +-1 501 +-1 601 +-1 701 +-1 801 +-1 901 +-1 1001 +-1 1101 +\. + + +-- +-- Data for Name: cat_calendar_holiday; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.cat_calendar_holiday (id, version, holiday_begin, holiday_end, calendar_id) FROM stdin; +-1 0 101 101 -4 +-2 0 330 330 -4 +-3 0 402 402 -4 +-4 0 501 501 -4 +-5 0 1225 1226 -4 +-6 0 101 101 -5 +-7 0 419 419 -5 +-8 0 422 422 -5 +-9 0 501 501 -5 +-10 0 1225 1226 -5 +\. + + +-- +-- Data for Name: cat_calendar_hours; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.cat_calendar_hours (calendar_id, hour_id) FROM stdin; +\. + + +-- +-- Data for Name: cat_calendar_interval; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.cat_calendar_interval (id, version, interval_begin, interval_end, calendar_id) FROM stdin; +\. + + +-- +-- Data for Name: cat_channel; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.cat_channel (id, version, disabled, created, updated, code, description, creator, updater) FROM stdin; +\. + + +-- +-- Data for Name: cat_charge_template; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.cat_charge_template (id, version, disabled, created, updated, code, description, amount_editable, credit_debit_flag, creator, updater, invoice_sub_category, input_unit_description, rating_unit_description, unit_multiplicator, unit_nb_decimal, uuid, rounding_mode, revenue_recog_rule_id, cf_values, cf_values_accum, description_i18n, charge_type, filter_expression, filter_param_1, filter_param_2, filter_param_3, filter_param_4, filter_el_sp, priority, trigger_next_charge, trigger_next_charge_el, apply_in_advance, duration_term_in_month, recurrence_type, share_level, subscription_prorata, termination_prorata, calendar_id, subscription_prorata_el, termination_prorata_el, apply_in_advance_el, duration_term_in_month_el, calendar_code_el, immediate_invoicing, type, prorata_on_price_change, input_unitofmeasure, rating_unitofmeasure, input_unit_el, output_unit_el, tax_class_id, tax_class_el, tax_class_el_sp, drop_zero_wo, rating_script_id, sort_index_el) FROM stdin; +1 0 0 2024-01-31 09:51:23.058 \N ONE_SHOT_ADJUSTMENT_CREDIT \N 0 \N public.superadmin \N 11 \N \N \N 1 c9d6d576-b7f3-4be0-9c18-42176cc7d9f9 NEAREST \N \N \N {} O \N \N \N \N \N \N 1 0 \N \N \N \N \N \N \N \N \N \N \N \N \N 1 OTHER 0 \N \N \N \N 1 \N \N 0 \N \N +2 0 0 2024-01-31 09:54:13.387 \N ONE_SHOT_ADJUSTMENT_DEBIT \N 0 \N public.superadmin \N 11 \N \N \N 0 bea8b643-e17f-4230-b487-52a55af7d875 NEAREST \N \N \N {} O \N \N \N \N \N \N 1 0 \N \N \N \N \N \N \N \N \N \N \N \N \N 1 OTHER 0 \N \N \N \N 1 \N \N 0 \N \N +3 0 0 2024-01-31 09:57:32.204 \N DEFAULT_POSTPAID_MODATA \N 0 \N public.superadmin \N 12 \N \N 0.001000000000 12 2aa5255f-f1d2-4929-8dbe-9bde5c0f4891 NEAREST \N \N \N {} U \N MODATA \N \N \N \N 99 0 \N \N \N \N \N \N \N \N \N \N \N \N \N 0 \N 0 -2 -3 \N \N 1 \N \N 0 \N \N +4 0 0 2024-01-31 09:59:39.364 \N DEFAULT_POSTPAID_MOSMS \N 0 \N public.superadmin \N 13 \N \N \N 12 2d15faad-3810-405a-a03f-a9796529dd74 NEAREST \N \N \N {} U \N MOSMS \N \N \N \N 99 0 \N \N \N \N \N \N \N \N \N \N \N \N \N 0 \N 0 \N \N \N \N 1 \N \N 0 \N \N +5 0 0 2024-01-31 10:01:44.798 \N DEFAULT_PREPAID_MODATA \N 0 \N public.superadmin \N 15 \N \N 0.001000000000 12 d977deab-c219-45d6-8991-f196783dfa47 NEAREST \N \N \N {} U \N MODATA \N \N \N \N 99 0 \N \N \N \N \N \N \N \N \N \N \N \N \N 0 \N 0 -2 -3 \N \N 1 \N \N 0 \N \N +6 0 0 2024-01-31 10:04:05.139 \N DEFAULT_PREPAID_MOSMS \N 0 \N public.superadmin \N 16 \N \N \N 12 4a98e21e-c205-434b-a1f2-f423f4efc6ac NEAREST \N \N \N {} U \N MOSMS \N \N \N \N 99 0 \N \N \N \N \N \N \N \N \N \N \N \N \N 0 \N 0 \N \N \N \N 1 \N \N 0 \N \N +7 0 0 2024-10-10 14:18:07.012 \N REC_SUB_1.000000000000_Xx7JKU Monthly Fee \N \N development@simfony.com \N 21 \N \N \N 12 b72db542-b2f3-4a13-8844-f45133b5be19 NEAREST \N \N \N \N R \N \N \N \N \N \N 1 0 \N 0 \N CALENDAR \N 0 0 -1 \N \N \N \N \N 0 \N 0 \N \N \N \N 1 \N \N 0 \N \N +13 2 0 2024-10-10 14:18:13.25 \N USG_MODATA_TEST_DATA_150.000000000000_KB_77iJ8C Data Usage Limit \N \N development@simfony.com \N 9 \N \N 1.000000000000 12 c6d049ce-5f0d-4035-ac9a-dd225f7fa627 NEAREST \N {"IS_ALLOWANCE":[{"boolean":false}],"IS_LIMIT":[{"boolean":true}]} \N \N U \N MODATA \N \N \N \N 1 1 \N \N \N \N \N \N \N \N \N \N \N \N \N 0 \N 0 -6 -6 \N \N 1 \N \N 1 \N \N +8 2 0 2024-10-10 14:18:08.902 \N USG_MODATA_USAGE_AMAR_ZONE_1.500000000000_MB_R8i9V5 Data Usage \N \N development@simfony.com \N 12 \N \N 0.000976562500 12 09529459-ff50-41da-b86c-f2ebb8459752 NEAREST \N {"IS_ALLOWANCE":[{"boolean":false}],"IS_LIMIT":[{"boolean":false}]} \N \N U \N MODATA \N \N AMAR_ZONE \N 25 0 \N \N \N \N \N \N \N \N \N \N \N \N \N 0 \N 0 -6 -7 \N \N 1 \N \N 1 \N \N +9 2 0 2024-10-10 14:18:10.13 \N USG_MOSMS_USAGE_AMAR_ZONE_1.500000000000_oEvyLK SMS Usage \N \N development@simfony.com \N 13 \N \N \N 12 ef6ab250-5944-43a9-918c-ceb087392c17 NEAREST \N {"IS_ALLOWANCE":[{"boolean":false}],"IS_LIMIT":[{"boolean":false}]} \N \N U \N MOSMS \N \N AMAR_ZONE \N 25 0 \N \N \N \N \N \N \N \N \N \N \N \N \N 0 \N 0 \N \N \N \N 1 \N \N 1 \N \N +16 2 0 2024-10-10 14:18:15.575 \N REC_MODATA_LIMIT_TOP_UP_AMAR_ZONE_20.000000000000_KB_HBu6el Data Limit \N \N development@simfony.com \N 7 \N \N 1.000000000000 12 c622c423-85e6-4979-ae98-b4d34f5006e6 NEAREST \N {"IS_ALLOWANCE":[{"boolean":false}],"IS_LIMIT":[{"boolean":true}]} \N \N R \N \N \N \N \N \N 1 0 \N 1 \N CALENDAR \N 0 0 -1 \N \N \N \N \N 0 \N 0 -6 -6 \N \N 1 \N \N 0 \N \N +10 2 0 2024-10-10 14:18:10.931 \N USG_MODATA_ALLOW_TOP_UP_AMAR_ZONE_100.000000000000_MB_wJDbrF Data Usage Allowance \N \N development@simfony.com \N 4 \N \N 0.000976562500 12 1f0d2fed-19fa-47f2-bbca-154765295a1b NEAREST \N {"IS_ALLOWANCE":[{"boolean":true}],"IS_LIMIT":[{"boolean":false}]} \N \N U \N MODATA \N \N AMAR_ZONE \N 15 0 \N \N \N \N \N \N \N \N \N \N \N \N \N 0 \N 0 -6 -7 \N \N 1 \N \N 1 \N \N +14 2 0 2024-10-10 14:18:14.011 \N REC_MODATA_ALLOW_TOP_UP_AMAR_ZONE_100.000000000000_MB_8tObol Data Allowance \N \N development@simfony.com \N 4 \N \N 1.000000000000 12 76f3c1ed-b14a-4178-9f6d-6d9b8c3600d5 NEAREST \N {"IS_ALLOWANCE":[{"boolean":true}],"IS_LIMIT":[{"boolean":false}]} \N \N R \N \N \N \N \N \N 1 0 \N 1 \N CALENDAR \N 0 0 -1 \N \N \N \N \N 0 \N 0 -7 -7 \N \N 1 \N \N 0 \N \N +11 2 0 2024-10-10 14:18:11.73 \N USG_MOSMS_ALLOW_TOP_UP_AMAR_ZONE_100.000000000000_REZzbY SMS Usage Allowance \N \N development@simfony.com \N 17 \N \N 1.000000000000 12 fb4ea4be-b3c1-4337-945a-a450c150c7e1 NEAREST \N {"IS_ALLOWANCE":[{"boolean":true}],"IS_LIMIT":[{"boolean":false}]} \N \N U \N MOSMS \N \N AMAR_ZONE \N 15 0 \N \N \N \N \N \N \N \N \N \N \N \N \N 0 \N 0 \N \N \N \N 1 \N \N 1 \N \N +12 2 0 2024-10-10 14:18:12.514 \N USG_MODATA_LIMIT_TOP_UP_AMAR_ZONE_20.000000000000_KB_HdiZOv Data Usage Limit \N \N development@simfony.com \N 7 \N \N 1.000000000000 12 1279d0a3-8c53-4212-afc2-c1581a83a43a NEAREST \N {"IS_ALLOWANCE":[{"boolean":false}],"IS_LIMIT":[{"boolean":true}]} \N \N U \N MODATA \N \N AMAR_ZONE \N 5 1 \N \N \N \N \N \N \N \N \N \N \N \N \N 0 \N 0 -6 -6 \N \N 1 \N \N 1 \N \N +19 2 0 2024-10-11 11:15:21.56 \N USG_MODATA_USAGE_TEST_ADRIAN_0.002000000000_MB_nEDcLi Data Usage \N \N development@simfony.com \N 12 \N \N 0.000976562500 12 af0dd956-bdaa-492b-88fe-021477f51f43 NEAREST \N {"IS_ALLOWANCE":[{"boolean":false}],"IS_LIMIT":[{"boolean":false}]} \N \N U \N MODATA \N \N TEST_ADRIAN \N 25 0 \N \N \N \N \N \N \N \N \N \N \N \N \N 0 \N 0 -6 -7 \N \N 1 \N \N 1 \N \N +15 2 0 2024-10-10 14:18:14.767 \N REC_MOSMS_ALLOW_TOP_UP_AMAR_ZONE_100.000000000000_HG9BYE SMS Allowance \N \N development@simfony.com \N 17 \N \N \N 12 7ae18012-908a-4ded-9208-276bdb34e8a0 NEAREST \N {"IS_ALLOWANCE":[{"boolean":true}],"IS_LIMIT":[{"boolean":false}]} \N \N R \N \N \N \N \N \N 1 0 \N 1 \N CALENDAR \N 0 0 -1 \N \N \N \N \N 0 \N 0 \N \N \N \N 1 \N \N 0 \N \N +17 2 0 2024-10-10 14:18:16.353 \N REC_MODATA_TEST_DATA_150.000000000000_KB_emG8Jd Data Limit \N \N development@simfony.com \N 9 \N \N 1.000000000000 12 53bf6d1a-ebf2-4107-9d70-e4d763b81a77 NEAREST \N {"IS_ALLOWANCE":[{"boolean":false}],"IS_LIMIT":[{"boolean":true}]} \N \N R \N \N \N \N \N \N 1 0 \N 1 \N CALENDAR \N 0 0 -1 \N \N \N \N \N 0 \N 0 -6 -6 \N \N 1 \N \N 0 \N \N +18 0 0 2024-10-11 11:15:19.852 \N REC_SUB_1.000000000000_PxCnUK Monthly Fee \N \N development@simfony.com \N 21 \N \N \N 12 f1a3d2ad-cf76-4cbc-8904-723e68deaecf NEAREST \N \N \N \N R \N \N \N \N \N \N 1 0 \N 0 \N CALENDAR \N 0 0 -1 \N \N \N \N \N 0 \N 0 \N \N \N \N 1 \N \N 0 \N \N +20 2 0 2024-10-11 11:15:22.756 \N USG_MOSMS_USAGE_TEST_ADRIAN_0.070000000000_AVFlys SMS Usage \N \N development@simfony.com \N 13 \N \N \N 12 3b4e3614-62c2-4a11-9c2b-751577767c43 NEAREST \N {"IS_ALLOWANCE":[{"boolean":false}],"IS_LIMIT":[{"boolean":false}]} \N \N U \N MOSMS \N \N TEST_ADRIAN \N 25 0 \N \N \N \N \N \N \N \N \N \N \N \N \N 0 \N 0 \N \N \N \N 1 \N \N 1 \N \N +21 2 0 2024-10-11 11:15:23.558 \N USG_MODATA_ALLOW_TOP_UP_TEST_ADRIAN_1000.000000000000_MB_o2fLei Data Usage Allowance \N \N development@simfony.com \N 4 \N \N 0.000976562500 12 ef4d21c4-4051-4464-ae38-5c59d36341e6 NEAREST \N {"IS_ALLOWANCE":[{"boolean":true}],"IS_LIMIT":[{"boolean":false}]} \N \N U \N MODATA \N \N TEST_ADRIAN \N 15 0 \N \N \N \N \N \N \N \N \N \N \N \N \N 0 \N 0 -6 -7 \N \N 1 \N \N 1 \N \N +22 2 0 2024-10-11 11:15:24.302 \N USG_MOSMS_ALLOW_TOP_UP_TEST_ADRIAN_10.000000000000_VKclAM SMS Usage Allowance \N \N development@simfony.com \N 17 \N \N 1.000000000000 12 992f9a6a-3af8-4e15-9a1a-b2b1555a0188 NEAREST \N {"IS_ALLOWANCE":[{"boolean":true}],"IS_LIMIT":[{"boolean":false}]} \N \N U \N MOSMS \N \N TEST_ADRIAN \N 15 0 \N \N \N \N \N \N \N \N \N \N \N \N \N 0 \N 0 \N \N \N \N 1 \N \N 1 \N \N +23 2 0 2024-10-11 11:15:25.047 \N USG_MODATA_LIMIT_TOP_UP_TEST_ADRIAN_1500.000000000000_MB_wpgYYM Data Usage Limit \N \N development@simfony.com \N 7 \N \N 0.000976562500 12 7d1fb5b5-08ab-4911-9825-62a3005bafe7 NEAREST \N {"IS_ALLOWANCE":[{"boolean":false}],"IS_LIMIT":[{"boolean":true}]} \N \N U \N MODATA \N \N TEST_ADRIAN \N 5 1 \N \N \N \N \N \N \N \N \N \N \N \N \N 0 \N 0 -6 -7 \N \N 1 \N \N 1 \N \N +24 2 0 2024-10-11 11:15:25.795 \N USG_MOSMS_LIMIT_TOP_UP_TEST_ADRIAN_20.000000000000_cHa62d SMS Usage Limit \N \N development@simfony.com \N 6 \N \N 1.000000000000 12 b309e1fb-e938-4f67-b7a7-60548354768d NEAREST \N {"IS_ALLOWANCE":[{"boolean":false}],"IS_LIMIT":[{"boolean":true}]} \N \N U \N MOSMS \N \N TEST_ADRIAN \N 5 1 \N \N \N \N \N \N \N \N \N \N \N \N \N 0 \N 0 \N \N \N \N 1 \N \N 1 \N \N +25 2 0 2024-10-11 11:15:26.525 \N USG_MODATA_TEST_DATA_150.000000000000_KB_B4TgKR Data Usage Limit \N \N development@simfony.com \N 9 \N \N 1.000000000000 12 4a4d171b-dd18-46d7-95bf-bd2d4e8007d1 NEAREST \N {"IS_ALLOWANCE":[{"boolean":false}],"IS_LIMIT":[{"boolean":true}]} \N \N U \N MODATA \N \N \N \N 1 1 \N \N \N \N \N \N \N \N \N \N \N \N \N 0 \N 0 -6 -6 \N \N 1 \N \N 1 \N \N +26 2 0 2024-10-11 11:15:27.24 \N REC_MODATA_ALLOW_TOP_UP_TEST_ADRIAN_1000.000000000000_MB_iry2KD Data Allowance \N \N development@simfony.com \N 4 \N \N 1.000000000000 12 2d6b2b2e-0ff7-431b-8504-1cd97c5c76a5 NEAREST \N {"IS_ALLOWANCE":[{"boolean":true}],"IS_LIMIT":[{"boolean":false}]} \N \N R \N \N \N \N \N \N 1 0 \N 1 \N CALENDAR \N 0 0 -1 \N \N \N \N \N 0 \N 0 -7 -7 \N \N 1 \N \N 0 \N \N +27 2 0 2024-10-11 11:15:27.945 \N REC_MOSMS_ALLOW_TOP_UP_TEST_ADRIAN_10.000000000000_1dyJvs SMS Allowance \N \N development@simfony.com \N 17 \N \N \N 12 7bf53020-488e-4408-bf8c-25989d923411 NEAREST \N {"IS_ALLOWANCE":[{"boolean":true}],"IS_LIMIT":[{"boolean":false}]} \N \N R \N \N \N \N \N \N 1 0 \N 1 \N CALENDAR \N 0 0 -1 \N \N \N \N \N 0 \N 0 \N \N \N \N 1 \N \N 0 \N \N +28 2 0 2024-10-11 11:15:28.621 \N REC_MODATA_LIMIT_TOP_UP_TEST_ADRIAN_1500.000000000000_MB_BUWT6a Data Limit \N \N development@simfony.com \N 7 \N \N 1.000000000000 12 be26f881-f32a-4ccf-90b0-50a90ffc26c5 NEAREST \N {"IS_ALLOWANCE":[{"boolean":false}],"IS_LIMIT":[{"boolean":true}]} \N \N R \N \N \N \N \N \N 1 0 \N 1 \N CALENDAR \N 0 0 -1 \N \N \N \N \N 0 \N 0 -7 -7 \N \N 1 \N \N 0 \N \N +29 2 0 2024-10-11 11:15:29.317 \N REC_MOSMS_LIMIT_TOP_UP_TEST_ADRIAN_20.000000000000_SaiF9t SMS Limit \N \N development@simfony.com \N 6 \N \N \N 12 a7ab4c99-3fbb-405e-b699-a15747226304 NEAREST \N {"IS_ALLOWANCE":[{"boolean":false}],"IS_LIMIT":[{"boolean":true}]} \N \N R \N \N \N \N \N \N 1 0 \N 1 \N CALENDAR \N 0 0 -1 \N \N \N \N \N 0 \N 0 \N \N \N \N 1 \N \N 0 \N \N +30 2 0 2024-10-11 11:15:30.011 \N REC_MODATA_TEST_DATA_150.000000000000_KB_alS8CJ Data Limit \N \N development@simfony.com \N 9 \N \N 1.000000000000 12 2135ab5d-b814-43d6-a901-2c78d57a2101 NEAREST \N {"IS_ALLOWANCE":[{"boolean":false}],"IS_LIMIT":[{"boolean":true}]} \N \N R \N \N \N \N \N \N 1 0 \N 1 \N CALENDAR \N 0 0 -1 \N \N \N \N \N 0 \N 0 -6 -6 \N \N 1 \N \N 0 \N \N +\. + + +-- +-- Data for Name: cat_chrg_edr; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.cat_chrg_edr (charge_tmpl_id, trigg_edr_id) FROM stdin; +\. + + +-- +-- Data for Name: cat_counter_template; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.cat_counter_template (id, version, disabled, created, updated, code, description, counter_level, counter_type, level_num, unity_description, creator, updater, calendar_id, ceiling_expression_el, notification_levels, is_accumulator, calendar_code_el, accumulator_type, filter_el, key_el, value_el) FROM stdin; +\. + + +-- +-- Data for Name: cat_day_in_year; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.cat_day_in_year (id, created, updated, version, day, month, creator, updater) FROM stdin; +1 2015-03-19 00:04:10.495 \N 1 1 JANUARY \N \N +2 2015-03-19 00:04:10.516 \N 1 2 JANUARY \N \N +3 2015-03-19 00:04:10.536 \N 1 3 JANUARY \N \N +4 2015-03-19 00:04:10.558 \N 1 4 JANUARY \N \N +5 2015-03-19 00:04:10.578 \N 1 5 JANUARY \N \N +6 2015-03-19 00:04:10.599 \N 1 6 JANUARY \N \N +7 2015-03-19 00:04:10.621 \N 1 7 JANUARY \N \N +8 2015-03-19 00:04:10.643 \N 1 8 JANUARY \N \N +9 2015-03-19 00:04:10.668 \N 1 9 JANUARY \N \N +10 2015-03-19 00:04:10.69 \N 1 10 JANUARY \N \N +11 2015-03-19 00:04:10.711 \N 1 11 JANUARY \N \N +12 2015-03-19 00:04:10.732 \N 1 12 JANUARY \N \N +13 2015-03-19 00:04:10.752 \N 1 13 JANUARY \N \N +14 2015-03-19 00:04:10.775 \N 1 14 JANUARY \N \N +15 2015-03-19 00:04:10.796 \N 1 15 JANUARY \N \N +16 2015-03-19 00:04:10.816 \N 1 16 JANUARY \N \N +17 2015-03-19 00:04:10.838 \N 1 17 JANUARY \N \N +18 2015-03-19 00:04:11 \N 1 18 JANUARY \N \N +19 2015-03-19 00:04:11.023 \N 1 19 JANUARY \N \N +20 2015-03-19 00:04:11.044 \N 1 20 JANUARY \N \N +21 2015-03-19 00:04:11.065 \N 1 21 JANUARY \N \N +22 2015-03-19 00:04:11.087 \N 1 22 JANUARY \N \N +23 2015-03-19 00:04:11.108 \N 1 23 JANUARY \N \N +24 2015-03-19 00:04:11.128 \N 1 24 JANUARY \N \N +25 2015-03-19 00:04:11.149 \N 1 25 JANUARY \N \N +26 2015-03-19 00:04:11.171 \N 1 26 JANUARY \N \N +27 2015-03-19 00:04:11.193 \N 1 27 JANUARY \N \N +28 2015-03-19 00:04:11.214 \N 1 28 JANUARY \N \N +29 2015-03-19 00:04:11.236 \N 1 29 JANUARY \N \N +30 2015-03-19 00:04:11.257 \N 1 30 JANUARY \N \N +31 2015-03-19 00:04:11.278 \N 1 31 JANUARY \N \N +101 2015-03-19 00:04:11.3 \N 1 1 FEBRUARY \N \N +102 2015-03-19 00:04:11.325 \N 1 2 FEBRUARY \N \N +103 2015-03-19 00:04:11.346 \N 1 3 FEBRUARY \N \N +104 2015-03-19 00:04:11.368 \N 1 4 FEBRUARY \N \N +105 2015-03-19 00:04:11.389 \N 1 5 FEBRUARY \N \N +106 2015-03-19 00:04:11.41 \N 1 6 FEBRUARY \N \N +107 2015-03-19 00:04:11.432 \N 1 7 FEBRUARY \N \N +108 2015-03-19 00:04:11.453 \N 1 8 FEBRUARY \N \N +109 2015-03-19 00:04:11.474 \N 1 9 FEBRUARY \N \N +110 2015-03-19 00:04:11.495 \N 1 10 FEBRUARY \N \N +111 2015-03-19 00:04:11.516 \N 1 11 FEBRUARY \N \N +112 2015-03-19 00:04:11.538 \N 1 12 FEBRUARY \N \N +113 2015-03-19 00:04:11.56 \N 1 13 FEBRUARY \N \N +114 2015-03-19 00:04:11.581 \N 1 14 FEBRUARY \N \N +115 2015-03-19 00:04:11.602 \N 1 15 FEBRUARY \N \N +116 2015-03-19 00:04:11.622 \N 1 16 FEBRUARY \N \N +117 2015-03-19 00:04:11.644 \N 1 17 FEBRUARY \N \N +118 2015-03-19 00:04:11.671 \N 1 18 FEBRUARY \N \N +119 2015-03-19 00:04:11.691 \N 1 19 FEBRUARY \N \N +120 2015-03-19 00:04:11.712 \N 1 20 FEBRUARY \N \N +121 2015-03-19 00:04:11.735 \N 1 21 FEBRUARY \N \N +122 2015-03-19 00:04:11.755 \N 1 22 FEBRUARY \N \N +123 2015-03-19 00:04:11.777 \N 1 23 FEBRUARY \N \N +124 2015-03-19 00:04:11.799 \N 1 24 FEBRUARY \N \N +125 2015-03-19 00:04:11.82 \N 1 25 FEBRUARY \N \N +126 2015-03-19 00:04:11.84 \N 1 26 FEBRUARY \N \N +127 2015-03-19 00:04:11.863 \N 1 27 FEBRUARY \N \N +128 2015-03-19 00:04:11.888 \N 1 28 FEBRUARY \N \N +129 2015-03-19 00:04:11.908 \N 1 29 FEBRUARY \N \N +201 2015-03-19 00:04:11.931 \N 1 1 MARCH \N \N +202 2015-03-19 00:04:11.952 \N 1 2 MARCH \N \N +203 2015-03-19 00:04:11.973 \N 1 3 MARCH \N \N +204 2015-03-19 00:04:11.995 \N 1 4 MARCH \N \N +205 2015-03-19 00:04:12.015 \N 1 5 MARCH \N \N +206 2015-03-19 00:04:12.037 \N 1 6 MARCH \N \N +207 2015-03-19 00:04:12.057 \N 1 7 MARCH \N \N +208 2015-03-19 00:04:12.08 \N 1 8 MARCH \N \N +209 2015-03-19 00:04:12.101 \N 1 9 MARCH \N \N +210 2015-03-19 00:04:12.123 \N 1 10 MARCH \N \N +211 2015-03-19 00:04:12.144 \N 1 11 MARCH \N \N +212 2015-03-19 00:04:12.17 \N 1 12 MARCH \N \N +213 2015-03-19 00:04:12.191 \N 1 13 MARCH \N \N +214 2015-03-19 00:04:12.213 \N 1 14 MARCH \N \N +215 2015-03-19 00:04:12.234 \N 1 15 MARCH \N \N +216 2015-03-19 00:04:12.256 \N 1 16 MARCH \N \N +217 2015-03-19 00:04:12.277 \N 1 17 MARCH \N \N +218 2015-03-19 00:04:12.298 \N 1 18 MARCH \N \N +219 2015-03-19 00:04:12.32 \N 1 19 MARCH \N \N +220 2015-03-19 00:04:12.34 \N 1 20 MARCH \N \N +221 2015-03-19 00:04:12.362 \N 1 21 MARCH \N \N +222 2015-03-19 00:04:12.388 \N 1 22 MARCH \N \N +223 2015-03-19 00:04:12.409 \N 1 23 MARCH \N \N +224 2015-03-19 00:04:12.431 \N 1 24 MARCH \N \N +225 2015-03-19 00:04:12.453 \N 1 25 MARCH \N \N +226 2015-03-19 00:04:12.473 \N 1 26 MARCH \N \N +227 2015-03-19 00:04:12.495 \N 1 27 MARCH \N \N +228 2015-03-19 00:04:12.515 \N 1 28 MARCH \N \N +229 2015-03-19 00:04:12.537 \N 1 29 MARCH \N \N +230 2015-03-19 00:04:12.558 \N 1 30 MARCH \N \N +231 2015-03-19 00:04:12.58 \N 1 31 MARCH \N \N +301 2015-03-19 00:04:12.601 \N 1 1 APRIL \N \N +302 2015-03-19 00:04:12.622 \N 1 2 APRIL \N \N +303 2015-03-19 00:04:12.643 \N 1 3 APRIL \N \N +304 2015-03-19 00:04:12.669 \N 1 4 APRIL \N \N +305 2015-03-19 00:04:12.69 \N 1 5 APRIL \N \N +306 2015-03-19 00:04:12.711 \N 1 6 APRIL \N \N +307 2015-03-19 00:04:12.735 \N 1 7 APRIL \N \N +308 2015-03-19 00:04:12.756 \N 1 8 APRIL \N \N +309 2015-03-19 00:04:12.777 \N 1 9 APRIL \N \N +310 2015-03-19 00:04:12.799 \N 1 10 APRIL \N \N +311 2015-03-19 00:04:12.826 \N 1 11 APRIL \N \N +312 2015-03-19 00:04:12.847 \N 1 12 APRIL \N \N +313 2015-03-19 00:04:12.869 \N 1 13 APRIL \N \N +314 2015-03-19 00:04:12.89 \N 1 14 APRIL \N \N +315 2015-03-19 00:04:12.91 \N 1 15 APRIL \N \N +316 2015-03-19 00:04:12.933 \N 1 16 APRIL \N \N +317 2015-03-19 00:04:12.954 \N 1 17 APRIL \N \N +318 2015-03-19 00:04:12.975 \N 1 18 APRIL \N \N +319 2015-03-19 00:04:12.997 \N 1 19 APRIL \N \N +320 2015-03-19 00:04:13.017 \N 1 20 APRIL \N \N +321 2015-03-19 00:04:13.044 \N 1 21 APRIL \N \N +322 2015-03-19 00:04:13.064 \N 1 22 APRIL \N \N +323 2015-03-19 00:04:13.085 \N 1 23 APRIL \N \N +324 2015-03-19 00:04:13.107 \N 1 24 APRIL \N \N +325 2015-03-19 00:04:13.128 \N 1 25 APRIL \N \N +326 2015-03-19 00:04:13.149 \N 1 26 APRIL \N \N +327 2015-03-19 00:04:13.171 \N 1 27 APRIL \N \N +328 2015-03-19 00:04:13.192 \N 1 28 APRIL \N \N +329 2015-03-19 00:04:13.213 \N 1 29 APRIL \N \N +330 2015-03-19 00:04:13.234 \N 1 30 APRIL \N \N +401 2015-03-19 00:04:13.255 \N 1 1 MAY \N \N +402 2015-03-19 00:04:13.276 \N 1 2 MAY \N \N +403 2015-03-19 00:04:13.297 \N 1 3 MAY \N \N +404 2015-03-19 00:04:13.318 \N 1 4 MAY \N \N +405 2015-03-19 00:04:13.339 \N 1 5 MAY \N \N +406 2015-03-19 00:04:13.359 \N 1 6 MAY \N \N +407 2015-03-19 00:04:13.38 \N 1 7 MAY \N \N +408 2015-03-19 00:04:13.402 \N 1 8 MAY \N \N +409 2015-03-19 00:04:13.423 \N 1 9 MAY \N \N +410 2015-03-19 00:04:13.444 \N 1 10 MAY \N \N +411 2015-03-19 00:04:13.464 \N 1 11 MAY \N \N +412 2015-03-19 00:04:13.486 \N 1 12 MAY \N \N +413 2015-03-19 00:04:13.507 \N 1 13 MAY \N \N +414 2015-03-19 00:04:13.528 \N 1 14 MAY \N \N +415 2015-03-19 00:04:13.55 \N 1 15 MAY \N \N +416 2015-03-19 00:04:13.576 \N 1 16 MAY \N \N +417 2015-03-19 00:04:13.596 \N 1 17 MAY \N \N +418 2015-03-19 00:04:13.618 \N 1 18 MAY \N \N +419 2015-03-19 00:04:13.639 \N 1 19 MAY \N \N +420 2015-03-19 00:04:13.661 \N 1 20 MAY \N \N +421 2015-03-19 00:04:13.682 \N 1 21 MAY \N \N +422 2015-03-19 00:04:13.704 \N 1 22 MAY \N \N +423 2015-03-19 00:04:13.725 \N 1 23 MAY \N \N +424 2015-03-19 00:04:13.746 \N 1 24 MAY \N \N +425 2015-03-19 00:04:13.767 \N 1 25 MAY \N \N +426 2015-03-19 00:04:13.789 \N 1 26 MAY \N \N +427 2015-03-19 00:04:13.81 \N 1 27 MAY \N \N +428 2015-03-19 00:04:13.831 \N 1 28 MAY \N \N +429 2015-03-19 00:04:13.857 \N 1 29 MAY \N \N +430 2015-03-19 00:04:13.879 \N 1 30 MAY \N \N +431 2015-03-19 00:04:13.899 \N 1 31 MAY \N \N +501 2015-03-19 00:04:13.921 \N 1 1 JUNE \N \N +502 2015-03-19 00:04:13.942 \N 1 2 JUNE \N \N +503 2015-03-19 00:04:13.962 \N 1 3 JUNE \N \N +504 2015-03-19 00:04:13.984 \N 1 4 JUNE \N \N +505 2015-03-19 00:04:14.005 \N 1 5 JUNE \N \N +506 2015-03-19 00:04:14.026 \N 1 6 JUNE \N \N +507 2015-03-19 00:04:14.047 \N 1 7 JUNE \N \N +508 2015-03-19 00:04:14.068 \N 1 8 JUNE \N \N +509 2015-03-19 00:04:14.09 \N 1 9 JUNE \N \N +510 2015-03-19 00:04:14.11 \N 1 10 JUNE \N \N +511 2015-03-19 00:04:14.131 \N 1 11 JUNE \N \N +512 2015-03-19 00:04:14.151 \N 1 12 JUNE \N \N +513 2015-03-19 00:04:14.174 \N 1 13 JUNE \N \N +514 2015-03-19 00:04:14.199 \N 1 14 JUNE \N \N +515 2015-03-19 00:04:14.221 \N 1 15 JUNE \N \N +516 2015-03-19 00:04:14.243 \N 1 16 JUNE \N \N +517 2015-03-19 00:04:14.265 \N 1 17 JUNE \N \N +518 2015-03-19 00:04:14.288 \N 1 18 JUNE \N \N +519 2015-03-19 00:04:14.309 \N 1 19 JUNE \N \N +520 2015-03-19 00:04:14.329 \N 1 20 JUNE \N \N +521 2015-03-19 00:04:14.352 \N 1 21 JUNE \N \N +522 2015-03-19 00:04:14.374 \N 1 22 JUNE \N \N +523 2015-03-19 00:04:14.394 \N 1 23 JUNE \N \N +524 2015-03-19 00:04:14.421 \N 1 24 JUNE \N \N +525 2015-03-19 00:04:14.443 \N 1 25 JUNE \N \N +526 2015-03-19 00:04:14.464 \N 1 26 JUNE \N \N +527 2015-03-19 00:04:14.486 \N 1 27 JUNE \N \N +528 2015-03-19 00:04:14.507 \N 1 28 JUNE \N \N +529 2015-03-19 00:04:14.528 \N 1 29 JUNE \N \N +530 2015-03-19 00:04:14.549 \N 1 30 JUNE \N \N +601 2015-03-19 00:04:14.575 \N 1 1 JULY \N \N +602 2015-03-19 00:04:14.596 \N 1 2 JULY \N \N +603 2015-03-19 00:04:14.618 \N 1 3 JULY \N \N +604 2015-03-19 00:04:14.64 \N 1 4 JULY \N \N +605 2015-03-19 00:04:14.661 \N 1 5 JULY \N \N +606 2015-03-19 00:04:14.682 \N 1 6 JULY \N \N +607 2015-03-19 00:04:14.703 \N 1 7 JULY \N \N +608 2015-03-19 00:04:14.725 \N 1 8 JULY \N \N +609 2015-03-19 00:04:14.747 \N 1 9 JULY \N \N +610 2015-03-19 00:04:14.768 \N 1 10 JULY \N \N +611 2015-03-19 00:04:14.789 \N 1 11 JULY \N \N +612 2015-03-19 00:04:14.811 \N 1 12 JULY \N \N +613 2015-03-19 00:04:14.832 \N 1 13 JULY \N \N +614 2015-03-19 00:04:14.856 \N 1 14 JULY \N \N +615 2015-03-19 00:04:14.878 \N 1 15 JULY \N \N +616 2015-03-19 00:04:14.899 \N 1 16 JULY \N \N +617 2015-03-19 00:04:14.92 \N 1 17 JULY \N \N +618 2015-03-19 00:04:14.942 \N 1 18 JULY \N \N +619 2015-03-19 00:04:14.963 \N 1 19 JULY \N \N +620 2015-03-19 00:04:14.983 \N 1 20 JULY \N \N +621 2015-03-19 00:04:15.005 \N 1 21 JULY \N \N +622 2015-03-19 00:04:15.027 \N 1 22 JULY \N \N +623 2015-03-19 00:04:15.048 \N 1 23 JULY \N \N +624 2015-03-19 00:04:15.069 \N 1 24 JULY \N \N +625 2015-03-19 00:04:15.091 \N 1 25 JULY \N \N +626 2015-03-19 00:04:15.132 \N 1 26 JULY \N \N +627 2015-03-19 00:04:15.153 \N 1 27 JULY \N \N +628 2015-03-19 00:04:15.175 \N 1 28 JULY \N \N +629 2015-03-19 00:04:15.2 \N 1 29 JULY \N \N +630 2015-03-19 00:04:15.22 \N 1 30 JULY \N \N +631 2015-03-19 00:04:15.243 \N 1 31 JULY \N \N +701 2015-03-19 00:04:15.264 \N 1 1 AUGUST \N \N +702 2015-03-19 00:04:15.286 \N 1 2 AUGUST \N \N +703 2015-03-19 00:04:15.307 \N 1 3 AUGUST \N \N +704 2015-03-19 00:04:15.328 \N 1 4 AUGUST \N \N +705 2015-03-19 00:04:15.349 \N 1 5 AUGUST \N \N +706 2015-03-19 00:04:15.371 \N 1 6 AUGUST \N \N +707 2015-03-19 00:04:15.392 \N 1 7 AUGUST \N \N +708 2015-03-19 00:04:15.419 \N 1 8 AUGUST \N \N +709 2015-03-19 00:04:15.44 \N 1 9 AUGUST \N \N +710 2015-03-19 00:04:15.462 \N 1 10 AUGUST \N \N +711 2015-03-19 00:04:15.482 \N 1 11 AUGUST \N \N +712 2015-03-19 00:04:15.503 \N 1 12 AUGUST \N \N +713 2015-03-19 00:04:15.525 \N 1 13 AUGUST \N \N +714 2015-03-19 00:04:15.546 \N 1 14 AUGUST \N \N +715 2015-03-19 00:04:15.567 \N 1 15 AUGUST \N \N +716 2015-03-19 00:04:15.589 \N 1 16 AUGUST \N \N +717 2015-03-19 00:04:15.612 \N 1 17 AUGUST \N \N +718 2015-03-19 00:04:15.633 \N 1 18 AUGUST \N \N +719 2015-03-19 00:04:15.654 \N 1 19 AUGUST \N \N +720 2015-03-19 00:04:15.677 \N 1 20 AUGUST \N \N +721 2015-03-19 00:04:15.7 \N 1 21 AUGUST \N \N +722 2015-03-19 00:04:15.722 \N 1 22 AUGUST \N \N +723 2015-03-19 00:04:15.744 \N 1 23 AUGUST \N \N +724 2015-03-19 00:04:15.765 \N 1 24 AUGUST \N \N +725 2015-03-19 00:04:15.786 \N 1 25 AUGUST \N \N +726 2015-03-19 00:04:15.808 \N 1 26 AUGUST \N \N +727 2015-03-19 00:04:15.829 \N 1 27 AUGUST \N \N +728 2015-03-19 00:04:15.849 \N 1 28 AUGUST \N \N +729 2015-03-19 00:04:15.871 \N 1 29 AUGUST \N \N +730 2015-03-19 00:04:15.893 \N 1 30 AUGUST \N \N +731 2015-03-19 00:04:15.919 \N 1 31 AUGUST \N \N +801 2015-03-19 00:04:15.94 \N 1 1 SEPTEMBER \N \N +802 2015-03-19 00:04:15.962 \N 1 2 SEPTEMBER \N \N +803 2015-03-19 00:04:15.983 \N 1 3 SEPTEMBER \N \N +804 2015-03-19 00:04:16.004 \N 1 4 SEPTEMBER \N \N +805 2015-03-19 00:04:16.024 \N 1 5 SEPTEMBER \N \N +806 2015-03-19 00:04:16.046 \N 1 6 SEPTEMBER \N \N +807 2015-03-19 00:04:16.067 \N 1 7 SEPTEMBER \N \N +808 2015-03-19 00:04:16.09 \N 1 8 SEPTEMBER \N \N +809 2015-03-19 00:04:16.111 \N 1 9 SEPTEMBER \N \N +810 2015-03-19 00:04:16.132 \N 1 10 SEPTEMBER \N \N +811 2015-03-19 00:04:16.152 \N 1 11 SEPTEMBER \N \N +812 2015-03-19 00:04:16.174 \N 1 12 SEPTEMBER \N \N +813 2015-03-19 00:04:16.202 \N 1 13 SEPTEMBER \N \N +814 2015-03-19 00:04:16.413 \N 1 14 SEPTEMBER \N \N +815 2015-03-19 00:04:16.434 \N 1 15 SEPTEMBER \N \N +816 2015-03-19 00:04:16.455 \N 1 16 SEPTEMBER \N \N +817 2015-03-19 00:04:16.477 \N 1 17 SEPTEMBER \N \N +818 2015-03-19 00:04:16.498 \N 1 18 SEPTEMBER \N \N +819 2015-03-19 00:04:16.551 \N 1 19 SEPTEMBER \N \N +820 2015-03-19 00:04:16.615 \N 1 20 SEPTEMBER \N \N +821 2015-03-19 00:04:16.635 \N 1 21 SEPTEMBER \N \N +822 2015-03-19 00:04:16.657 \N 1 22 SEPTEMBER \N \N +823 2015-03-19 00:04:16.677 \N 1 23 SEPTEMBER \N \N +824 2015-03-19 00:04:16.698 \N 1 24 SEPTEMBER \N \N +825 2015-03-19 00:04:16.718 \N 1 25 SEPTEMBER \N \N +826 2015-03-19 00:04:16.74 \N 1 26 SEPTEMBER \N \N +827 2015-03-19 00:04:16.764 \N 1 27 SEPTEMBER \N \N +828 2015-03-19 00:04:16.786 \N 1 28 SEPTEMBER \N \N +829 2015-03-19 00:04:16.807 \N 1 29 SEPTEMBER \N \N +830 2015-03-19 00:04:16.97 \N 1 30 SEPTEMBER \N \N +901 2015-03-19 00:04:16.99 \N 1 1 OCTOBER \N \N +902 2015-03-19 00:04:17.012 \N 1 2 OCTOBER \N \N +903 2015-03-19 00:04:17.035 \N 1 3 OCTOBER \N \N +904 2015-03-19 00:04:17.056 \N 1 4 OCTOBER \N \N +905 2015-03-19 00:04:17.078 \N 1 5 OCTOBER \N \N +906 2015-03-19 00:04:17.098 \N 1 6 OCTOBER \N \N +907 2015-03-19 00:04:17.12 \N 1 7 OCTOBER \N \N +908 2015-03-19 00:04:17.141 \N 1 8 OCTOBER \N \N +909 2015-03-19 00:04:17.163 \N 1 9 OCTOBER \N \N +910 2015-03-19 00:04:17.184 \N 1 10 OCTOBER \N \N +911 2015-03-19 00:04:17.206 \N 1 11 OCTOBER \N \N +912 2015-03-19 00:04:17.231 \N 1 12 OCTOBER \N \N +913 2015-03-19 00:04:17.253 \N 1 13 OCTOBER \N \N +914 2015-03-19 00:04:17.273 \N 1 14 OCTOBER \N \N +915 2015-03-19 00:04:17.296 \N 1 15 OCTOBER \N \N +916 2015-03-19 00:04:17.318 \N 1 16 OCTOBER \N \N +917 2015-03-19 00:04:17.339 \N 1 17 OCTOBER \N \N +918 2015-03-19 00:04:17.359 \N 1 18 OCTOBER \N \N +919 2015-03-19 00:04:17.381 \N 1 19 OCTOBER \N \N +920 2015-03-19 00:04:17.403 \N 1 20 OCTOBER \N \N +921 2015-03-19 00:04:17.424 \N 1 21 OCTOBER \N \N +922 2015-03-19 00:04:17.451 \N 1 22 OCTOBER \N \N +923 2015-03-19 00:04:17.472 \N 1 23 OCTOBER \N \N +924 2015-03-19 00:04:17.493 \N 1 24 OCTOBER \N \N +925 2015-03-19 00:04:17.516 \N 1 25 OCTOBER \N \N +926 2015-03-19 00:04:17.536 \N 1 26 OCTOBER \N \N +927 2015-03-19 00:04:17.558 \N 1 27 OCTOBER \N \N +928 2015-03-19 00:04:17.579 \N 1 28 OCTOBER \N \N +929 2015-03-19 00:04:17.599 \N 1 29 OCTOBER \N \N +930 2015-03-19 00:04:17.621 \N 1 30 OCTOBER \N \N +931 2015-03-19 00:04:17.641 \N 1 31 OCTOBER \N \N +1001 2015-03-19 00:04:17.663 \N 1 1 NOVEMBER \N \N +1002 2015-03-19 00:04:17.683 \N 1 2 NOVEMBER \N \N +1003 2015-03-19 00:04:17.705 \N 1 3 NOVEMBER \N \N +1004 2015-03-19 00:04:17.729 \N 1 4 NOVEMBER \N \N +1005 2015-03-19 00:04:17.749 \N 1 5 NOVEMBER \N \N +1006 2015-03-19 00:04:17.771 \N 1 6 NOVEMBER \N \N +1007 2015-03-19 00:04:17.797 \N 1 7 NOVEMBER \N \N +1008 2015-03-19 00:04:17.818 \N 1 8 NOVEMBER \N \N +1009 2015-03-19 00:04:17.838 \N 1 9 NOVEMBER \N \N +1010 2015-03-19 00:04:17.86 \N 1 10 NOVEMBER \N \N +1011 2015-03-19 00:04:17.881 \N 1 11 NOVEMBER \N \N +1012 2015-03-19 00:04:17.903 \N 1 12 NOVEMBER \N \N +1013 2015-03-19 00:04:17.923 \N 1 13 NOVEMBER \N \N +1014 2015-03-19 00:04:17.946 \N 1 14 NOVEMBER \N \N +1015 2015-03-19 00:04:17.966 \N 1 15 NOVEMBER \N \N +1016 2015-03-19 00:04:17.988 \N 1 16 NOVEMBER \N \N +1017 2015-03-19 00:04:18.014 \N 1 17 NOVEMBER \N \N +1018 2015-03-19 00:04:18.036 \N 1 18 NOVEMBER \N \N +1019 2015-03-19 00:04:18.056 \N 1 19 NOVEMBER \N \N +1020 2015-03-19 00:04:18.078 \N 1 20 NOVEMBER \N \N +1021 2015-03-19 00:04:18.099 \N 1 21 NOVEMBER \N \N +1022 2015-03-19 00:04:18.121 \N 1 22 NOVEMBER \N \N +1023 2015-03-19 00:04:18.142 \N 1 23 NOVEMBER \N \N +1024 2015-03-19 00:04:18.169 \N 1 24 NOVEMBER \N \N +1025 2015-03-19 00:04:18.189 \N 1 25 NOVEMBER \N \N +1026 2015-03-19 00:04:18.211 \N 1 26 NOVEMBER \N \N +1027 2015-03-19 00:04:18.234 \N 1 27 NOVEMBER \N \N +1028 2015-03-19 00:04:18.255 \N 1 28 NOVEMBER \N \N +1029 2015-03-19 00:04:18.277 \N 1 29 NOVEMBER \N \N +1030 2015-03-19 00:04:18.298 \N 1 30 NOVEMBER \N \N +1101 2015-03-19 00:04:18.318 \N 1 1 DECEMBER \N \N +1102 2015-03-19 00:04:18.34 \N 1 2 DECEMBER \N \N +1103 2015-03-19 00:04:18.362 \N 1 3 DECEMBER \N \N +1104 2015-03-19 00:04:18.384 \N 1 4 DECEMBER \N \N +1105 2015-03-19 00:04:18.405 \N 1 5 DECEMBER \N \N +1106 2015-03-19 00:04:18.426 \N 1 6 DECEMBER \N \N +1107 2015-03-19 00:04:18.447 \N 1 7 DECEMBER \N \N +1108 2015-03-19 00:04:18.468 \N 1 8 DECEMBER \N \N +1109 2015-03-19 00:04:18.488 \N 1 9 DECEMBER \N \N +1110 2015-03-19 00:04:18.529 \N 1 10 DECEMBER \N \N +1111 2015-03-19 00:04:18.572 \N 1 11 DECEMBER \N \N +1112 2015-03-19 00:04:18.653 \N 1 12 DECEMBER \N \N +1113 2015-03-19 00:04:18.674 \N 1 13 DECEMBER \N \N +1114 2015-03-19 00:04:18.701 \N 1 14 DECEMBER \N \N +1115 2015-03-19 00:04:18.721 \N 1 15 DECEMBER \N \N +1116 2015-03-19 00:04:18.744 \N 1 16 DECEMBER \N \N +1117 2015-03-19 00:04:18.766 \N 1 17 DECEMBER \N \N +1118 2015-03-19 00:04:18.787 \N 1 18 DECEMBER \N \N +1119 2015-03-19 00:04:18.808 \N 1 19 DECEMBER \N \N +1120 2015-03-19 00:04:18.829 \N 1 20 DECEMBER \N \N +1121 2015-03-19 00:04:18.853 \N 1 21 DECEMBER \N \N +1122 2015-03-19 00:04:18.874 \N 1 22 DECEMBER \N \N +1123 2015-03-19 00:04:18.895 \N 1 23 DECEMBER \N \N +1124 2015-03-19 00:04:18.92 \N 1 24 DECEMBER \N \N +1125 2015-03-19 00:04:18.941 \N 1 25 DECEMBER \N \N +1126 2015-03-19 00:04:18.962 \N 1 26 DECEMBER \N \N +1127 2015-03-19 00:04:18.984 \N 1 27 DECEMBER \N \N +1128 2015-03-19 00:04:19.004 \N 1 28 DECEMBER \N \N +1129 2015-03-19 00:04:19.025 \N 1 29 DECEMBER \N \N +1130 2015-03-19 00:04:19.047 \N 1 30 DECEMBER \N \N +1131 2015-03-19 00:04:19.068 \N 1 31 DECEMBER \N \N +\. + + +-- +-- Data for Name: cat_digital_resource; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.cat_digital_resource (id, version, disabled, created, updated, code, description, creator, updater, uri, mime_type) FROM stdin; +\. + + +-- +-- Data for Name: cat_discount_plan; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.cat_discount_plan (id, version, disabled, created, updated, code, description, max_duration, min_duration, creator, updater, uuid, cf_values, cf_values_accum, start_date, end_date, default_duration, duration_unit) FROM stdin; +\. + + +-- +-- Data for Name: cat_discount_plan_item; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.cat_discount_plan_item (id, version, disabled, created, updated, accounting_code, code, discount_value, creator, updater, discount_plan_id, invoice_category_id, invoice_sub_category_id, expression_el, expression_el_sp, discount_value_el, discount_value_el_sp, discount_plan_item_type, uuid, cf_values, cf_values_accum) FROM stdin; +\. + + +-- +-- Data for Name: cat_hour_in_day; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.cat_hour_in_day (id, version, hour, min) FROM stdin; +\. + + +-- +-- Data for Name: cat_offer_product_template; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.cat_offer_product_template (id, offer_template_id, product_template_id, mandatory) FROM stdin; +\. + + +-- +-- Data for Name: cat_offer_serv_incomp; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.cat_offer_serv_incomp (offer_service_template_id, service_template_id) FROM stdin; +\. + + +-- +-- Data for Name: cat_offer_serv_templates; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.cat_offer_serv_templates (offer_template_id, service_template_id, id, mandatory, valid_from, valid_to) FROM stdin; +1 4 1 0 \N \N +1 3 2 0 \N \N +\. + + +-- +-- Data for Name: cat_offer_template; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.cat_offer_template (id, version, disabled, created, updated, code, description, creator, updater, uuid, bom_code, termination_script_instance_id, subscription_script_instance_id, name, entity_version, status, business_offer_model_id, valid_from, valid_to, long_description, life_cycle_status, type, product_charge_tmpl_id, business_product_model_id, invoicing_calendar_id, image_path, cf_values, cf_values_accum, auto_renew, days_notify_renew, end_of_term_action, auto_termin_reason_id, init_active_unit, init_active, match_end_aggr_date, renew_for_unit, renew_for, description_i18n, long_description_i18n, script_instance_id, minimum_amount_el, minimum_amount_el_sp, minimum_label_el, minimum_label_el_sp, initial_term_type, auto_end_of_engagement, auto_renew_date, calendar_init_active_id, calendar_renew_for_id, renewal_term_type, minimum_invoice_sub_category_id, minimum_charge_template_id) FROM stdin; +1 2 0 2024-10-11 11:15:35.626 \N 2a800a6f-1290-462f-9709-6f7813a368ae test_plan_adrian development@simfony.com \N e0c4330d-8297-43c7-93aa-abde7d59b661 \N \N \N TEST_PLAN_ADRIAN \N \N \N \N \N \N ACTIVE OFFER \N \N \N \N \N \N 0 \N \N \N \N \N 0 \N \N {} {} \N \N \N \N \N RECURRING 0 \N \N \N RECURRING \N \N +\. + + +-- +-- Data for Name: cat_offer_template_category; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.cat_offer_template_category (id, version, disabled, created, updated, creator, updater, code, description, uuid, name, offer_template_category_id, level, image_path, cf_values, cf_values_accum) FROM stdin; +\. + + +-- +-- Data for Name: cat_offer_tmpl_discount_plan; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.cat_offer_tmpl_discount_plan (offer_tmpl_id, discount_plan_id) FROM stdin; +\. + + +-- +-- Data for Name: cat_price_plan_matrix; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.cat_price_plan_matrix (id, version, disabled, created, updated, code, description, amount_with_tax, amount_without_tax, criteria_1, criteria_2, criteria_3, criteria_el, criteria_el_sp, end_rating_date, end_subscription_date, event_code, max_quantity, max_subscr_age, min_quantity, min_subscr_age, priority, start_rating_date, start_subscription_date, creator, updater, offer_id, seller_id, trading_country_id, trading_currency_id, valid_cal_id, amount_without_tax_el, amount_without_tax_el_sp, amount_with_tax_el, amount_with_tax_el_sp, sequence, uuid, script_instance_id, cf_values, cf_values_accum, description_i18n, wo_description_el, wo_description_el_sp, invoice_subcategory_el, total_amount_el, minimum_amount_el, total_amount_el_sp, minimum_amount_el_sp, validity_from, validity_date, parameter1_el, parameter2_el, parameter3_el) FROM stdin; +1 0 0 2024-01-31 09:53:35.873 \N PP_ONE_SHOT_ADJUSTMENT_CREDIT_1 \N \N 1.000000000000 \N \N \N \N \N \N \N ONE_SHOT_ADJUSTMENT_CREDIT \N 9999 \N 0 1 \N \N public.superadmin \N \N \N \N \N \N \N \N \N \N 1 3b880852-4bbb-446f-ae65-cd5e2799d5a6 \N \N \N {} \N \N \N \N \N \N \N \N \N \N \N \N +2 0 0 2024-01-31 09:54:29.903 \N PP_ONE_SHOT_ADJUSTMENT_DEBIT_1 \N \N -1.000000000000 \N \N \N \N \N \N \N ONE_SHOT_ADJUSTMENT_DEBIT \N 9999 \N 0 1 \N \N public.superadmin \N \N \N \N \N \N \N \N \N \N 1 067a1385-2029-44b8-b1a8-5cc215b9c226 \N \N \N {} \N \N \N \N \N \N \N \N \N \N \N \N +3 1 0 2024-01-31 09:57:51.556 2024-01-31 09:58:43.362 PP_DEFAULT_POSTPAID_MODATA \N \N 0.000000000000 \N \N \N \N \N \N \N DEFAULT_POSTPAID_MODATA \N 9999 \N 0 1 \N \N public.superadmin public.superadmin \N \N \N \N \N \N \N \N \N 1 3803bc6f-61fa-4be2-96fd-088071f5c60c \N \N \N {} \N \N \N \N \N \N \N \N \N \N \N \N +4 0 0 2024-01-31 10:01:01.871 \N PP_DEFAULT_POSTPAID_MOSMS \N \N 0.000000000000 \N \N \N \N \N \N \N DEFAULT_POSTPAID_MOSMS \N 9999 \N 0 1 \N \N public.superadmin \N \N \N \N \N \N \N \N \N \N 1 70c9d1d8-8468-450f-8636-9edc328236a8 \N \N \N {} \N \N \N \N \N \N \N \N \N \N \N \N +5 0 0 2024-01-31 10:02:57.282 \N PP_DEFAULT_PREPAID_MODATA \N \N 0.000000000000 \N \N \N \N \N \N \N DEFAULT_PREPAID_MODATA \N 9999 \N 0 1 \N \N public.superadmin \N \N \N \N \N \N \N \N \N \N 1 a56a38cd-0a02-4b3b-999f-f7284d0b82ef \N \N \N {} \N \N \N \N \N \N \N \N \N \N \N \N +6 0 0 2024-01-31 10:04:54.7 \N PP_DEFAULT_PREPAID_MOSMS \N \N 0.000000000000 \N \N \N \N \N \N \N DEFAULT_PREPAID_MOSMS \N 9999 \N 0 1 \N \N public.superadmin \N \N \N \N \N \N \N \N \N \N 1 4808db2c-c2db-496c-9b5b-e5493218403a \N \N \N {} \N \N \N \N \N \N \N \N \N \N \N \N +7 0 0 2024-10-10 14:18:07.762 \N PP_REC_SUB_1.000000000000_Xx7JKU \N \N 1.000000000000 \N \N \N \N \N \N \N REC_SUB_1.000000000000_Xx7JKU \N \N \N \N 1 \N \N development@simfony.com \N \N \N \N \N \N \N \N \N \N \N 27fd6761-7212-4839-8705-d248cddab9b5 \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N +8 0 0 2024-10-10 14:18:09.559 \N PP_USG_MODATA_USAGE_AMAR_ZONE_1.500000000000_MB_R8i9V5_1 \N \N 1.500000000000 \N \N \N \N \N \N \N USG_MODATA_USAGE_AMAR_ZONE_1.500000000000_MB_R8i9V5 \N \N \N \N 1 \N \N development@simfony.com \N \N \N \N \N \N \N \N \N \N \N d24ec754-bd09-4873-a4ec-de2b4946646d \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N +9 0 0 2024-10-10 14:18:10.298 \N PP_USG_MOSMS_USAGE_AMAR_ZONE_1.500000000000_oEvyLK_1 \N \N 1.500000000000 \N \N \N \N \N \N \N USG_MOSMS_USAGE_AMAR_ZONE_1.500000000000_oEvyLK \N \N \N \N 1 \N \N development@simfony.com \N \N \N \N \N \N \N \N \N \N \N 3e5147b2-1151-4c89-82f0-c46e4dfc464c \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N +10 0 0 2024-10-10 14:18:11.139 \N PP_USG_MODATA_ALLOW_TOP_UP_AMAR_ZONE_100.000000000000_MB_wJDbrF_1 \N \N 1.000000000000 \N \N \N \N \N \N \N USG_MODATA_ALLOW_TOP_UP_AMAR_ZONE_100.000000000000_MB_wJDbrF \N \N \N \N 1 \N \N development@simfony.com \N \N \N \N \N \N \N \N \N \N \N 5b256968-4c52-43d3-b8bb-eb3ef94c48f3 \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N +11 0 0 2024-10-10 14:18:11.898 \N PP_USG_MOSMS_ALLOW_TOP_UP_AMAR_ZONE_100.000000000000_REZzbY_1 \N \N 1.000000000000 \N \N \N \N \N \N \N USG_MOSMS_ALLOW_TOP_UP_AMAR_ZONE_100.000000000000_REZzbY \N \N \N \N 1 \N \N development@simfony.com \N \N \N \N \N \N \N \N \N \N \N 665be1bc-d900-4908-a095-86b2a00c999f \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N +12 0 0 2024-10-10 14:18:12.677 \N PP_USG_MODATA_LIMIT_TOP_UP_AMAR_ZONE_20.000000000000_KB_HdiZOv_1 \N \N 1.000000000000 \N \N \N \N \N \N \N USG_MODATA_LIMIT_TOP_UP_AMAR_ZONE_20.000000000000_KB_HdiZOv \N \N \N \N 1 \N \N development@simfony.com \N \N \N \N \N \N \N \N \N \N \N 754b3d11-34d8-41db-8e36-1fda59b6f434 \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N +13 0 0 2024-10-10 14:18:13.43 \N PP_USG_MODATA_TEST_DATA_150.000000000000_KB_77iJ8C_1 \N \N 1.000000000000 \N \N \N \N \N \N \N USG_MODATA_TEST_DATA_150.000000000000_KB_77iJ8C \N \N \N \N 1 \N \N development@simfony.com \N \N \N \N \N \N \N \N \N \N \N 4754d07c-b65a-4986-b027-8d6c33eb35d2 \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N +14 0 0 2024-10-10 14:18:14.181 \N PP_REC_MODATA_ALLOW_TOP_UP_AMAR_ZONE_100.000000000000_MB_8tObol \N \N -100.000000000000 \N \N \N \N \N \N \N REC_MODATA_ALLOW_TOP_UP_AMAR_ZONE_100.000000000000_MB_8tObol \N \N \N \N 1 \N \N development@simfony.com \N \N \N \N \N \N \N \N \N \N \N fe2547b3-97c3-4e30-b7cf-ab1b743f7cd6 \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N +15 0 0 2024-10-10 14:18:14.936 \N PP_REC_MOSMS_ALLOW_TOP_UP_AMAR_ZONE_100.000000000000_HG9BYE \N \N -100.000000000000 \N \N \N \N \N \N \N REC_MOSMS_ALLOW_TOP_UP_AMAR_ZONE_100.000000000000_HG9BYE \N \N \N \N 1 \N \N development@simfony.com \N \N \N \N \N \N \N \N \N \N \N a797f38a-36fd-4230-a3d2-e398aca06fa1 \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N +16 0 0 2024-10-10 14:18:15.737 \N PP_REC_MODATA_LIMIT_TOP_UP_AMAR_ZONE_20.000000000000_KB_HBu6el \N \N -20.000000000000 \N \N \N \N \N \N \N REC_MODATA_LIMIT_TOP_UP_AMAR_ZONE_20.000000000000_KB_HBu6el \N \N \N \N 1 \N \N development@simfony.com \N \N \N \N \N \N \N \N \N \N \N 1967b7eb-f039-45f1-9bcc-9fea6a0af95f \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N +17 0 0 2024-10-10 14:18:16.517 \N PP_REC_MODATA_TEST_DATA_150.000000000000_KB_emG8Jd \N \N -150.000000000000 \N \N \N \N \N \N \N REC_MODATA_TEST_DATA_150.000000000000_KB_emG8Jd \N \N \N \N 1 \N \N development@simfony.com \N \N \N \N \N \N \N \N \N \N \N 1ae10cff-ca98-4ae9-b2fc-7bf40c3db915 \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N +18 0 0 2024-10-11 11:15:20.493 \N PP_REC_SUB_1.000000000000_PxCnUK \N \N 1.000000000000 \N \N \N \N \N \N \N REC_SUB_1.000000000000_PxCnUK \N \N \N \N 1 \N \N development@simfony.com \N \N \N \N \N \N \N \N \N \N \N 6a58d54e-8026-421f-9074-ebf8fa2def00 \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N +19 0 0 2024-10-11 11:15:22.184 \N PP_USG_MODATA_USAGE_TEST_ADRIAN_0.002000000000_MB_nEDcLi_1 \N \N 0.002000000000 \N \N \N \N \N \N \N USG_MODATA_USAGE_TEST_ADRIAN_0.002000000000_MB_nEDcLi \N \N \N \N 1 \N \N development@simfony.com \N \N \N \N \N \N \N \N \N \N \N 8bfd084a-7ca2-4ec2-9863-fc66f010ef2f \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N +20 0 0 2024-10-11 11:15:22.931 \N PP_USG_MOSMS_USAGE_TEST_ADRIAN_0.070000000000_AVFlys_1 \N \N 0.070000000000 \N \N \N \N \N \N \N USG_MOSMS_USAGE_TEST_ADRIAN_0.070000000000_AVFlys \N \N \N \N 1 \N \N development@simfony.com \N \N \N \N \N \N \N \N \N \N \N b8be8950-cc8e-4b8a-ab82-d6e4f3098522 \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N +21 0 0 2024-10-11 11:15:23.718 \N PP_USG_MODATA_ALLOW_TOP_UP_TEST_ADRIAN_1000.000000000000_MB_o2fLei_1 \N \N 1.000000000000 \N \N \N \N \N \N \N USG_MODATA_ALLOW_TOP_UP_TEST_ADRIAN_1000.000000000000_MB_o2fLei \N \N \N \N 1 \N \N development@simfony.com \N \N \N \N \N \N \N \N \N \N \N 54b9c4cd-d6ee-46b1-9d85-ccc7650c2648 \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N +22 0 0 2024-10-11 11:15:24.47 \N PP_USG_MOSMS_ALLOW_TOP_UP_TEST_ADRIAN_10.000000000000_VKclAM_1 \N \N 1.000000000000 \N \N \N \N \N \N \N USG_MOSMS_ALLOW_TOP_UP_TEST_ADRIAN_10.000000000000_VKclAM \N \N \N \N 1 \N \N development@simfony.com \N \N \N \N \N \N \N \N \N \N \N 8b070ccd-ae41-4ec8-9940-9f556b0411c1 \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N +23 0 0 2024-10-11 11:15:25.213 \N PP_USG_MODATA_LIMIT_TOP_UP_TEST_ADRIAN_1500.000000000000_MB_wpgYYM_1 \N \N 1.000000000000 \N \N \N \N \N \N \N USG_MODATA_LIMIT_TOP_UP_TEST_ADRIAN_1500.000000000000_MB_wpgYYM \N \N \N \N 1 \N \N development@simfony.com \N \N \N \N \N \N \N \N \N \N \N 27dc0b1c-cd23-4091-94a6-48f7ba40b1f0 \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N +24 0 0 2024-10-11 11:15:25.965 \N PP_USG_MOSMS_LIMIT_TOP_UP_TEST_ADRIAN_20.000000000000_cHa62d_1 \N \N 1.000000000000 \N \N \N \N \N \N \N USG_MOSMS_LIMIT_TOP_UP_TEST_ADRIAN_20.000000000000_cHa62d \N \N \N \N 1 \N \N development@simfony.com \N \N \N \N \N \N \N \N \N \N \N fd0c90d4-8ec9-4a3c-b75d-0096b53f74d7 \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N +25 0 0 2024-10-11 11:15:26.689 \N PP_USG_MODATA_TEST_DATA_150.000000000000_KB_B4TgKR_1 \N \N 1.000000000000 \N \N \N \N \N \N \N USG_MODATA_TEST_DATA_150.000000000000_KB_B4TgKR \N \N \N \N 1 \N \N development@simfony.com \N \N \N \N \N \N \N \N \N \N \N 890e4399-4007-4c82-a3ab-ab7ef98be277 \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N +26 0 0 2024-10-11 11:15:27.403 \N PP_REC_MODATA_ALLOW_TOP_UP_TEST_ADRIAN_1000.000000000000_MB_iry2KD \N \N -1000.000000000000 \N \N \N \N \N \N \N REC_MODATA_ALLOW_TOP_UP_TEST_ADRIAN_1000.000000000000_MB_iry2KD \N \N \N \N 1 \N \N development@simfony.com \N \N \N \N \N \N \N \N \N \N \N 5e6f0b2a-bd6f-412b-9e54-45056e0b1a39 \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N +27 0 0 2024-10-11 11:15:28.093 \N PP_REC_MOSMS_ALLOW_TOP_UP_TEST_ADRIAN_10.000000000000_1dyJvs \N \N -10.000000000000 \N \N \N \N \N \N \N REC_MOSMS_ALLOW_TOP_UP_TEST_ADRIAN_10.000000000000_1dyJvs \N \N \N \N 1 \N \N development@simfony.com \N \N \N \N \N \N \N \N \N \N \N d1daa444-404b-4c6e-8256-22a9a1ad7507 \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N +28 0 0 2024-10-11 11:15:28.77 \N PP_REC_MODATA_LIMIT_TOP_UP_TEST_ADRIAN_1500.000000000000_MB_BUWT6a \N \N -1500.000000000000 \N \N \N \N \N \N \N REC_MODATA_LIMIT_TOP_UP_TEST_ADRIAN_1500.000000000000_MB_BUWT6a \N \N \N \N 1 \N \N development@simfony.com \N \N \N \N \N \N \N \N \N \N \N e10e2f1d-3dc8-415c-9355-c12edefd9016 \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N +29 0 0 2024-10-11 11:15:29.475 \N PP_REC_MOSMS_LIMIT_TOP_UP_TEST_ADRIAN_20.000000000000_SaiF9t \N \N -20.000000000000 \N \N \N \N \N \N \N REC_MOSMS_LIMIT_TOP_UP_TEST_ADRIAN_20.000000000000_SaiF9t \N \N \N \N 1 \N \N development@simfony.com \N \N \N \N \N \N \N \N \N \N \N ff57d838-5863-4844-944e-f7c7e4eb5112 \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N +30 0 0 2024-10-11 11:15:30.164 \N PP_REC_MODATA_TEST_DATA_150.000000000000_KB_alS8CJ \N \N -150.000000000000 \N \N \N \N \N \N \N REC_MODATA_TEST_DATA_150.000000000000_KB_alS8CJ \N \N \N \N 1 \N \N development@simfony.com \N \N \N \N \N \N \N \N \N \N \N 48739223-6d7a-4fa2-8e90-3e9783bf93ca \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N +\. + + +-- +-- Data for Name: cat_product_offer_bam; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.cat_product_offer_bam (product_id, bam_id, indx) FROM stdin; +\. + + +-- +-- Data for Name: cat_product_offer_channels; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.cat_product_offer_channels (product_id, channel_id, indx) FROM stdin; +\. + + +-- +-- Data for Name: cat_product_offer_customer_category; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.cat_product_offer_customer_category (product_id, customer_category_id, indx) FROM stdin; +\. + + +-- +-- Data for Name: cat_product_offer_digital_res; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.cat_product_offer_digital_res (product_id, digital_resource_id, indx) FROM stdin; +\. + + +-- +-- Data for Name: cat_product_offer_seller; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.cat_product_offer_seller (product_id, seller_id) FROM stdin; +\. + + +-- +-- Data for Name: cat_product_offer_tmpl_cat; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.cat_product_offer_tmpl_cat (product_id, offer_template_cat_id, indx) FROM stdin; +\. + + +-- +-- Data for Name: cat_product_templ_charge_templ; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.cat_product_templ_charge_templ (product_charge_template_id, product_template_id) FROM stdin; +\. + + +-- +-- Data for Name: cat_product_wallet_template; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.cat_product_wallet_template (product_template_id, wallet_template_id, indx) FROM stdin; +\. + + +-- +-- Data for Name: cat_serv_rec_charge_template; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.cat_serv_rec_charge_template (id, version, charge_template_id, service_template_id, counter_template_id) FROM stdin; +1 0 17 1 \N +2 0 14 2 \N +3 0 7 2 \N +4 0 16 2 \N +5 0 15 2 \N +6 0 30 3 \N +7 0 29 4 \N +8 0 26 4 \N +9 0 27 4 \N +10 0 28 4 \N +11 0 18 4 \N +\. + + +-- +-- Data for Name: cat_serv_rec_counter_template; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.cat_serv_rec_counter_template (service_rec_templt_id, counter_template_id, indx) FROM stdin; +\. + + +-- +-- Data for Name: cat_serv_rec_wallet_template; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.cat_serv_rec_wallet_template (service_rec_templt_id, wallet_template_id, indx) FROM stdin; +1 4 0 +2 1 0 +4 2 0 +5 3 0 +6 9 0 +7 5 0 +8 6 0 +9 7 0 +10 8 0 +\. + + +-- +-- Data for Name: cat_serv_sub_charge_template; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.cat_serv_sub_charge_template (id, version, charge_template_id, service_template_id, counter_template_id) FROM stdin; +\. + + +-- +-- Data for Name: cat_serv_sub_counter_template; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.cat_serv_sub_counter_template (service_sub_templt_id, counter_template_id, indx) FROM stdin; +\. + + +-- +-- Data for Name: cat_serv_sub_wallet_template; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.cat_serv_sub_wallet_template (service_sub_templt_id, wallet_template_id, indx) FROM stdin; +\. + + +-- +-- Data for Name: cat_serv_trm_charge_template; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.cat_serv_trm_charge_template (id, version, charge_template_id, service_template_id, counter_template_id) FROM stdin; +\. + + +-- +-- Data for Name: cat_serv_trm_counter_template; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.cat_serv_trm_counter_template (service_trm_templt_id, counter_template_id, indx) FROM stdin; +\. + + +-- +-- Data for Name: cat_serv_trm_wallet_template; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.cat_serv_trm_wallet_template (service_trm_templt_id, wallet_template_id, indx) FROM stdin; +\. + + +-- +-- Data for Name: cat_serv_usage_charge_template; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.cat_serv_usage_charge_template (id, version, charge_template_id, service_template_id, counter_template_id) FROM stdin; +1 0 13 1 \N +2 0 11 2 \N +3 0 12 2 \N +4 0 9 2 \N +5 0 8 2 \N +6 0 10 2 \N +7 0 25 3 \N +8 0 23 4 \N +9 0 20 4 \N +10 0 21 4 \N +11 0 22 4 \N +12 0 19 4 \N +13 0 24 4 \N +\. + + +-- +-- Data for Name: cat_serv_usage_counter_template; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.cat_serv_usage_counter_template (service_usage_templt_id, counter_template_id, indx) FROM stdin; +\. + + +-- +-- Data for Name: cat_serv_usage_wallet_template; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.cat_serv_usage_wallet_template (service_usage_templt_id, wallet_template_id, indx) FROM stdin; +1 4 0 +2 3 0 +3 2 0 +6 1 0 +7 9 0 +8 8 0 +10 6 0 +11 7 0 +13 5 0 +\. + + +-- +-- Data for Name: cat_service_template; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.cat_service_template (id, version, disabled, created, updated, code, description, creator, updater, invoicing_calendar_id, uuid, termination_script_instance_id, activation_script_instance_id, business_service_model_id, long_description, image_path, cf_values, cf_values_accum, minimum_amount_el, minimum_amount_el_sp, minimum_label_el, minimum_label_el_sp, auto_renew, days_notify_renew, end_of_term_action, auto_termin_reason_id, init_active_unit, init_active, match_end_aggr_date, renew_for_unit, renew_for, initial_term_type, auto_end_of_engagement, auto_renew_date, calendar_init_active_id, calendar_renew_for_id, renewal_term_type, minimum_invoice_sub_category_id, minimum_charge_template_id) FROM stdin; +1 0 0 2024-10-10 14:18:19.9 \N AMAR_PLAN_TEST_DATA_v.1 TEST_DATA development@simfony.com \N 4 a93dc5dd-65c1-4261-a0ee-93fd5ce8e936 \N \N \N \N \N \N \N \N \N \N \N 0 \N TERMINATE -1 DAY 1095 0 \N \N RECURRING 0 \N \N \N RECURRING \N \N +2 0 0 2024-10-10 14:18:20.841 \N AMAR_PLAN_v.1 SUBSCRIPTION development@simfony.com \N 4 180ec60c-f658-4fcc-9c46-87198905b79b \N \N \N \N \N \N \N \N \N \N \N 0 \N \N \N \N \N 0 \N \N RECURRING 0 \N \N \N RECURRING \N \N +3 0 0 2024-10-11 11:15:33.043 \N TEST_PLAN_ADRIAN_TEST_DATA_v.1 TEST_DATA development@simfony.com \N 4 b8d88366-f217-4ed6-92d5-96ed532acb57 \N \N \N \N \N \N \N \N \N \N \N 0 \N TERMINATE -1 DAY 1095 0 \N \N RECURRING 0 \N \N \N RECURRING \N \N +4 0 0 2024-10-11 11:15:33.949 \N TEST_PLAN_ADRIAN_v.1 SUBSCRIPTION development@simfony.com \N 4 866d453a-f47c-4e3a-a00e-b5e507840cf0 \N \N \N \N \N \N \N \N \N \N \N 0 \N \N \N \N \N 0 \N \N RECURRING 0 \N \N \N RECURRING \N \N +\. + + +-- +-- Data for Name: cat_triggered_edr; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.cat_triggered_edr (id, version, created, updated, code, description, condition_el, param_1_el, param_1_el_sp, param_2_el, param_2_el_sp, param_3_el, param_3_el_sp, param_4_el, param_4_el_sp, quantity_el, quantity_el_sp, subscription_el, subscription_el_sp, creator, updater, meveo_instance_id, condition_el_sp, triggered_edr_script_instance_id, opencell_instance_el) FROM stdin; +\. + + +-- +-- Data for Name: cat_unit_of_measure; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.cat_unit_of_measure (id, version, creator, updater, code, created, updated, symbol, description, description_i18n, multiplicator, parent_id) FROM stdin; +-1 0 OPENCELL.ADMIN \N byte 2019-11-19 12:00:00 \N B Byte \N 1 \N +-2 0 OPENCELL.ADMIN \N kilobyte 2019-11-19 12:00:00 \N KB Kilobyte \N 1000 -1 +-3 0 OPENCELL.ADMIN \N megabyte 2019-11-19 12:00:00 \N MB Megabyte \N 1000000 -1 +-4 0 OPENCELL.ADMIN \N gigabyte 2019-11-19 12:00:00 \N GB Gigabyte \N 1000000000 -1 +-5 0 OPENCELL.ADMIN \N terabyte 2019-11-19 12:00:00 \N TB Terabyte \N 1000000000000 -1 +-6 0 OPENCELL.ADMIN \N kibi 2019-11-19 12:00:00 \N KiB Kibibyte \N 1024 -1 +-7 0 OPENCELL.ADMIN \N mebibyte 2019-11-19 12:00:00 \N MiB Mebibyte \N 1048576 -1 +-8 0 OPENCELL.ADMIN \N gibibyte 2019-11-19 12:00:00 \N GiB Gibibyte \N 1073741824 -1 +-9 0 OPENCELL.ADMIN \N tebibyte 2019-11-19 12:00:00 \N TiB Tebibyte \N 1099511627776 -1 +-10 0 OPENCELL.ADMIN \N second 2019-11-19 12:00:00 \N s Second \N 1 \N +-11 0 OPENCELL.ADMIN \N minute 2019-11-19 12:00:00 \N min Minute \N 60 -10 +-12 0 OPENCELL.ADMIN \N hour 2019-11-19 12:00:00 \N h Hour \N 3600 -10 +-13 0 OPENCELL.ADMIN \N message 2019-11-19 12:00:00 \N msg Message \N 1 \N +\. + + +-- +-- Data for Name: cat_wallet_template; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.cat_wallet_template (id, version, created, updated, code, description, consumption_alert_set, fast_rating_level, wallet_type, creator, updater, low_balance_level, reject_level) FROM stdin; +1 0 2024-10-10 14:18:16.814 \N ALLOWANCE_MODATA_AMAR_ZONE_fbAJFd \N 0 0 PREPAID development@simfony.com \N -80.000000000000 0.000000000000 +2 0 2024-10-10 14:18:17.568 \N LIMIT_MODATA_AMAR_ZONE_AexIZC \N 0 0 PREPAID development@simfony.com \N \N 0.000000000000 +3 0 2024-10-10 14:18:17.841 \N ALLOWANCE_MOSMS_AMAR_ZONE_To3Y1g \N 0 0 PREPAID development@simfony.com \N \N 0.000000000000 +4 0 2024-10-10 14:18:18.55 \N TEST_DATA_MODATA_ALL_ZONES_X7vHV1 \N 0 0 PREPAID development@simfony.com \N -130.000000000000 0.000000000000 +5 0 2024-10-11 11:15:30.419 \N LIMIT_MOSMS_TEST_ADRIAN_kZiAt5 \N 0 0 PREPAID development@simfony.com \N \N 0.000000000000 +6 0 2024-10-11 11:15:31.163 \N ALLOWANCE_MODATA_TEST_ADRIAN_m3B3AW \N 0 0 PREPAID development@simfony.com \N -900.000000000000 0.000000000000 +7 0 2024-10-11 11:15:31.424 \N ALLOWANCE_MOSMS_TEST_ADRIAN_psNCUg \N 0 0 PREPAID development@simfony.com \N \N 0.000000000000 +8 0 2024-10-11 11:15:31.689 \N LIMIT_MODATA_TEST_ADRIAN_0fNn3S \N 0 0 PREPAID development@simfony.com \N \N 0.000000000000 +9 0 2024-10-11 11:15:32.471 \N TEST_DATA_MODATA_ALL_ZONES_kMhPhG \N 0 0 PREPAID development@simfony.com \N -130.000000000000 0.000000000000 +\. + + +-- +-- Data for Name: com_campaign; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.com_campaign (id, version, created, updated, code, description, end_date, media, priority, thread_id, schedule_date, start_date, status, sub_media, use_any_media, creator, updater) FROM stdin; +\. + + +-- +-- Data for Name: com_campaign_crm_contact_tag; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.com_campaign_crm_contact_tag (campaign_id, tag) FROM stdin; +\. + + +-- +-- Data for Name: com_communication_entity; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.com_communication_entity (id, version, name, description, type) FROM stdin; +\. + + +-- +-- Data for Name: com_contact; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.com_contact (id, version, nb_max_day, nb_max_month, nb_max_week, delay_min, email, assistant_name, assistant_phone, "position", company, phone, mobile, imported_from, imported_by, social_identifier, is_vip, is_prospect, website_url, agreed_ua, address_book_id) FROM stdin; +\. + + +-- +-- Data for Name: com_contact_com_message; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.com_contact_com_message (com_contact_id, messages_id) FROM stdin; +\. + + +-- +-- Data for Name: com_contact_coords; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.com_contact_coords (media, id, version, created, updated, code, description, email, creator, updater) FROM stdin; +\. + + +-- +-- Data for Name: com_contact_tag; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.com_contact_tag (contact_id, tag) FROM stdin; +\. + + +-- +-- Data for Name: com_message; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.com_message (id, version, media, priority, rejection_reason, status, sub_media, templatecode, campaign_id, contact_id) FROM stdin; +\. + + +-- +-- Data for Name: com_message_template; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.com_message_template (media, id, version, created, updated, code, description, end_date, start_date, tag_end, tag_start, type, htmlcontent, subject, textcontent, jasper_filename, creator, updater) FROM stdin; +\. + + +-- +-- Data for Name: com_meveo_instance; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.com_meveo_instance (id, version, created, updated, code, description, as_vendor, as_version, creation_date, hd_size, installation_mode, java_vendor, java_version, java_vm_name, java_vm_version, key_entreprise, mac_address, machine_vendor, md5, memory, nb_cores, os_arch, os_name, ps_version, owner, product_name, product_version, status, update_date, creator, updater, user_id, customer_id, url, auth_username, auth_password) FROM stdin; +\. + + +-- +-- Data for Name: com_msg_tmpl_variable; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.com_msg_tmpl_variable (id, version, created, updated, code, description, mandatory, creator, updater, template_id) FROM stdin; +\. + + +-- +-- Data for Name: com_msg_var_value; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.com_msg_var_value (id, version, created, updated, code, description, value, creator, updater, message) FROM stdin; +\. + + +-- +-- Data for Name: com_provider_policy; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.com_provider_policy (id, version, nb_max_day, nb_max_month, nb_max_week, delay_min) FROM stdin; +\. + + +-- +-- Data for Name: com_sender_config; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.com_sender_config (media, id, version, created, updated, code, description, non_distrib_email, ack_email, priority, manage_non_distrib, nb_max_day, nb_max_month, nb_max_week, delay_min, use_ack, stamptype, addaddressfrontpage, envelopformat, printrectoverso, address_1, address_2, address_3, address_city, address_country_id, address_state, address_zipcode, usecolor, windowtype, smtp_host, smtp_port, default_from_email, default_reply_email, login, password, use_ssl, creator, updater) FROM stdin; +\. + + +-- +-- Data for Name: crm_additional_details; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.crm_additional_details (id, version, company_name, "position", instant_messengers) FROM stdin; +1 0 \N \N \N +2 0 \N \N \N +\. + + +-- +-- Data for Name: crm_address_book; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.crm_address_book (id, code, description, version, created, updated, creator, updater) FROM stdin; +1 C_30fe15a0-6d6c-4728-a5e8-a75e12bd17eb \N 0 2024-01-31 11:17:01.457 \N public.superadmin \N +2 CA_30fe15a0-6d6c-4728-a5e8-a75e12bd17eb \N 0 2024-01-31 11:17:01.659 \N public.superadmin \N +3 C_eb865402-2d30-4e69-9233-649b66ca5088 \N 0 2024-10-10 13:39:13.1 \N development@simfony.com \N +4 CA_eb865402-2d30-4e69-9233-649b66ca5088 \N 0 2024-10-10 13:39:13.946 \N development@simfony.com \N +\. + + +-- +-- Data for Name: crm_business_account_model; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.crm_business_account_model (id, hierarchy_type) FROM stdin; +-2 C_UA +\. + + +-- +-- Data for Name: crm_custom_action; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.crm_custom_action (id, version, disabled, created, updated, creator, updater, code, description, applies_to, applicable_on_el, label, script_instance_id, gui_position, label_i18n) FROM stdin; +\. + + +-- +-- Data for Name: crm_custom_field_tmpl; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.crm_custom_field_tmpl (id, version, disabled, created, updated, code, description, field_type, value_required, creator, updater, versionable, calendar_id, default_value, entity_clazz, storage_type, trigger_end_period_event, applies_to, gui_position, allow_edit, hide_on_new, max_value, min_value, reg_exp, mapkey_type, applicable_on_el, che_fields, index_type, inh_as_def_value, tags, description_i18n, cf_protectable, display_format, nb_decimal, rounding_mode, unique_constraint, custom_table_code_el, data_filter_el, fields_el, anonymize_gdpr) FROM stdin; +1 0 0 2024-01-31 04:25:10.764 \N waitingMillis Waiting before next launch (ms LONG 0 applicationInitializer \N 0 \N 500 \N SINGLE 0 JobInstance_ImportCustomersJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +2 0 0 2024-01-31 04:25:10.767 \N nbRuns Number of parallel execution LONG 0 applicationInitializer \N 0 \N -1 \N SINGLE 0 JobInstance_ImportCustomersJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +3 0 0 2024-01-31 04:25:10.786 \N ExportMediationEntityJob_maxResult Query max rows LONG 0 applicationInitializer \N 0 \N \N \N SINGLE 0 JobInstance_ExportMediationEntityJob tab:Custom fields:0;fieldGroup:Configuration:0;field:0 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +4 0 0 2024-01-31 04:25:10.788 \N ExportMediationEntityJob_rtStatusCf Target Rt status CHECKBOX_LIST 0 applicationInitializer \N 0 \N \N \N LIST 0 JobInstance_ExportMediationEntityJob tab:Custom fields:0;fieldGroup:Status:0;field:1 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +5 0 0 2024-01-31 04:25:10.789 \N ExportMediationEntityJob_edrStatusCf Target Edr status CHECKBOX_LIST 0 applicationInitializer \N 0 \N \N \N LIST 0 JobInstance_ExportMediationEntityJob tab:Custom fields:0;fieldGroup:Status:0;field:0 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +6 0 0 2024-01-31 04:25:10.791 \N ExportMediationEntityJob_lastTransactionDate Last transaction date DATE 0 applicationInitializer \N 0 \N \N \N SINGLE 0 JobInstance_ExportMediationEntityJob tab:Custom fields:0;fieldGroup:Dates configuration:0;field:1 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +7 0 0 2024-01-31 04:25:10.792 \N ExportMediationEntityJob_fileName File name STRING 0 applicationInitializer \N 0 \N \N \N SINGLE 0 JobInstance_ExportMediationEntityJob tab:Custom fields:0;fieldGroup:Configuration:0;field:1 1 0 100 \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +8 0 0 2024-01-31 04:25:10.793 \N ExportMediationEntityJob_firstTransactionDate First transaction date DATE 1 applicationInitializer \N 0 \N \N \N SINGLE 0 JobInstance_ExportMediationEntityJob tab:Custom fields:0;fieldGroup:Dates configuration:0;field:0 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +9 0 0 2024-01-31 04:25:10.794 \N ExportMediationEntityJob_woStatusCf Target Wo status CHECKBOX_LIST 0 applicationInitializer \N 0 \N \N \N LIST 0 JobInstance_ExportMediationEntityJob tab:Custom fields:0;fieldGroup:Status:0;field:2 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +10 0 0 2024-01-31 04:25:10.815 \N globalAggregation Global aggregation BOOLEAN 0 applicationInitializer \N 0 \N false \N SINGLE 0 JobInstance_RatedTransactionsJob tab:Custom fields:0;fieldGroup:Aggregation Settings:1;field:1 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +11 0 0 2024-01-31 04:25:10.816 \N aggregateByDay Aggregate by day BOOLEAN 0 applicationInitializer \N 0 \N BA \N SINGLE 0 JobInstance_RatedTransactionsJob tab:Custom fields:0;fieldGroup:Aggregation Settings:1;field:2 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +12 0 0 2024-01-31 04:25:10.817 \N aggregateByOrder Criteria order BOOLEAN 0 applicationInitializer \N 0 \N false \N SINGLE 0 JobInstance_RatedTransactionsJob tab:Custom fields:0;fieldGroup:Additional Criteria:2;field:0 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +13 0 0 2024-01-31 04:25:10.818 \N aggregateByExtraParam Criteria extra BOOLEAN 0 applicationInitializer \N 0 \N false \N SINGLE 0 JobInstance_RatedTransactionsJob tab:Custom fields:0;fieldGroup:Additional Criteria:2;field:4 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +14 0 0 2024-01-31 04:25:10.819 \N aggregateByUnitAmount Aggregate by unit amount BOOLEAN 0 applicationInitializer \N 0 \N true \N SINGLE 0 JobInstance_RatedTransactionsJob tab:Custom fields:0;fieldGroup:Aggregation Settings:1;field:5 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +15 0 0 2024-01-31 04:25:10.82 \N lastWalletOperationDate Last Wallet Operation Date DATE 0 applicationInitializer \N 0 \N \N \N SINGLE 0 JobInstance_RatedTransactionsJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +16 0 0 2024-01-31 04:25:10.821 \N aggregateByParam2 Criteria param2 BOOLEAN 0 applicationInitializer \N 0 \N false \N SINGLE 0 JobInstance_RatedTransactionsJob tab:Custom fields:0;fieldGroup:Additional Criteria:2;field:2 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +17 0 0 2024-01-31 04:25:10.821 \N waitingMillis Waiting before next launch (ms LONG 0 applicationInitializer \N 0 \N 0 \N SINGLE 0 JobInstance_RatedTransactionsJob tab:Custom fields:0;fieldGroup:Configuration:0;field:2 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +18 0 0 2024-01-31 04:25:10.822 \N aggregateByParam3 Criteria param3 BOOLEAN 0 applicationInitializer \N 0 \N false \N SINGLE 0 JobInstance_RatedTransactionsJob tab:Custom fields:0;fieldGroup:Additional Criteria:2;field:3 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +19 0 0 2024-01-31 04:25:10.823 \N aggregateByParam1 Criteria param1 BOOLEAN 0 applicationInitializer \N 0 \N false \N SINGLE 0 JobInstance_RatedTransactionsJob tab:Custom fields:0;fieldGroup:Additional Criteria:2;field:1 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +20 0 0 2024-01-31 04:25:10.824 \N activateAggregation Activate aggregation BOOLEAN 0 applicationInitializer \N 0 \N false \N SINGLE 0 JobInstance_RatedTransactionsJob tab:Custom fields:0;fieldGroup:Aggregation Settings:1;field:0 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +21 0 0 2024-01-31 04:25:10.825 \N aggregationLevel Aggregation level LIST 0 applicationInitializer \N 0 \N \N \N SINGLE 0 JobInstance_RatedTransactionsJob tab:Custom fields:0;fieldGroup:Aggregation Settings:1;field:3 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +22 0 0 2024-01-31 04:25:10.826 \N nbRuns Number of parallel execution LONG 0 applicationInitializer \N 0 \N -1 \N SINGLE 0 JobInstance_RatedTransactionsJob tab:Custom fields:0;fieldGroup:Configuration:0;field:0 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +23 0 0 2024-01-31 04:25:10.84 \N waitingMillis Waiting before next launch (ms LONG 0 applicationInitializer \N 0 \N 0 \N SINGLE 0 JobInstance_PaymentScheduleProcessingJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +24 0 0 2024-01-31 04:25:10.841 \N nbRuns Number of parallel execution LONG 0 applicationInitializer \N 0 \N 1 \N SINGLE 0 JobInstance_PaymentScheduleProcessingJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +25 0 0 2024-01-31 04:25:10.846 \N waitingMillis Waiting before next launch (ms LONG 0 applicationInitializer \N 0 \N 0 \N SINGLE 0 JobInstance_ImportSubscriptionsJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +26 0 0 2024-01-31 04:25:10.846 \N nbRuns Number of parallel execution LONG 0 applicationInitializer \N 0 \N -1 \N SINGLE 0 JobInstance_ImportSubscriptionsJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +27 0 0 2024-01-31 04:25:10.85 \N PurgeJob_counterPeriod_nbDays Purge periods with end date older than (in days) * LONG 0 applicationInitializer \N 0 \N \N \N SINGLE 0 JobInstance_PurgeJob tab:Configuration:0;fieldGroup:Purge counter periods:1;field:0 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +28 0 0 2024-01-31 04:25:10.851 \N PurgeJob_jobExecHistory_jobName Job name STRING 0 applicationInitializer \N 0 \N \N \N SINGLE 0 JobInstance_PurgeJob tab:Configuration:0;fieldGroup:Purge job execution history:0;field:0 1 0 100 \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +29 0 0 2024-01-31 04:25:10.852 \N PurgeJob_jobExecHistory_nbDays Purge history older than (in days) * LONG 0 applicationInitializer \N 0 \N \N \N SINGLE 0 JobInstance_PurgeJob tab:Configuration:0;fieldGroup:Purge job execution history:0;field:1 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +30 0 0 2024-01-31 04:25:10.853 \N PurgeJob_notificationHistory_notifCode Notification code STRING 0 applicationInitializer \N 0 \N \N \N SINGLE 0 JobInstance_PurgeJob tab:Configuration:0;fieldGroup:Purge notification history:3;field:0 1 0 100 \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +31 0 0 2024-01-31 04:25:10.854 \N PurgeJob_notificationHistory_nbDays Purge events older than (in days) * LONG 0 applicationInitializer \N 0 \N \N \N SINGLE 0 JobInstance_PurgeJob tab:Configuration:0;fieldGroup:Purge notification history:3;field:1 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +32 0 0 2024-01-31 04:25:10.855 \N PurgeJob_inboundRequests_nbDays Purge requests older than (in days) * LONG 0 applicationInitializer \N 0 \N \N \N SINGLE 0 JobInstance_PurgeJob tab:Configuration:0;fieldGroup:Inbound requests:4;field:0 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +33 0 0 2024-01-31 04:25:10.861 \N oneFilePerJob Process files separately BOOLEAN 0 applicationInitializer \N 0 \N false \N SINGLE 0 JobInstance_MediationJob tab:Configuration:0;field:2 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +34 0 0 2024-01-31 04:25:10.862 \N waitingMillis Waiting before next launch (ms LONG 0 applicationInitializer \N 0 \N 0 \N SINGLE 0 JobInstance_MediationJob tab:Configuration:0;field:1 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +35 0 0 2024-01-31 04:25:10.863 \N nbRuns Number of parallel execution LONG 0 applicationInitializer \N 0 \N -1 \N SINGLE 0 JobInstance_MediationJob tab:Configuration:0;field:0 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +36 0 0 2024-01-31 04:25:10.868 \N notification Notification ENTITY 1 applicationInitializer \N 0 \N \N org.meveo.model.notification.Notification SINGLE 0 JobInstance_NotificationJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +37 0 0 2024-01-31 04:25:10.869 \N waitingMillis Waiting before next launch (ms LONG 0 applicationInitializer \N 0 \N 0 \N SINGLE 0 JobInstance_NotificationJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +38 0 0 2024-01-31 04:25:10.87 \N numberOfRetry No. of retry LONG 0 applicationInitializer \N 0 \N 0 \N SINGLE 0 JobInstance_NotificationJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +39 0 0 2024-01-31 04:25:10.871 \N retryInterval Retry Interval in seconds LONG 0 applicationInitializer \N 0 \N 5 \N SINGLE 0 JobInstance_NotificationJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +40 0 0 2024-01-31 04:25:10.872 \N nbRuns Number of parallel execution LONG 0 applicationInitializer \N 0 \N -1 \N SINGLE 0 JobInstance_NotificationJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +41 0 0 2024-01-31 04:25:10.877 \N waitingMillis Waiting before next launch (ms LONG 0 applicationInitializer \N 0 \N 0 \N SINGLE 0 JobInstance_ImportAccountsJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +42 0 0 2024-01-31 04:25:10.878 \N nbRuns Number of parallel execution LONG 0 applicationInitializer \N 0 \N -1 \N SINGLE 0 JobInstance_ImportAccountsJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +43 0 0 2024-01-31 04:25:10.882 \N sendDraft Send draft BOOLEAN 0 applicationInitializer \N 0 \N \N \N SINGLE 0 JobInstance_SendInvoiceJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +44 0 0 2024-01-31 04:25:10.883 \N overrideEmailEl Override Email EL STRING 0 applicationInitializer \N 0 \N \N \N SINGLE 0 JobInstance_SendInvoiceJob \N 1 0 9223372036854775807 \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +45 0 0 2024-01-31 04:25:10.887 \N waitingMillis Waiting before next launch (ms LONG 0 applicationInitializer \N 0 \N 0 \N SINGLE 0 JobInstance_RecurringRatingJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +46 0 0 2024-01-31 04:25:10.888 \N rateUntilDate Rate until date DATE 0 applicationInitializer \N 0 \N \N \N SINGLE 0 JobInstance_RecurringRatingJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +47 0 0 2024-01-31 04:25:10.889 \N nbRuns Number of parallel execution LONG 0 applicationInitializer \N 0 \N -1 \N SINGLE 0 JobInstance_RecurringRatingJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +48 0 0 2024-01-31 04:25:10.895 \N waitingMillis Waiting before next launch (ms LONG 0 applicationInitializer \N 0 \N 0 \N SINGLE 0 JobInstance_UsageRatingJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +49 0 0 2024-01-31 04:25:10.896 \N rateUntilDate Rate until date DATE 0 applicationInitializer \N 0 \N \N \N SINGLE 0 JobInstance_UsageRatingJob \N 1 0 50 \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +50 0 0 2024-01-31 04:25:10.897 \N ratingGroup Rating group STRING 0 applicationInitializer \N 0 \N \N \N SINGLE 0 JobInstance_UsageRatingJob \N 1 0 50 \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +51 0 0 2024-01-31 04:25:10.898 \N nbRuns Number of parallel execution LONG 0 applicationInitializer \N 0 \N -1 \N SINGLE 0 JobInstance_UsageRatingJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +52 0 0 2024-01-31 04:25:10.905 \N waitingMillis Waiting before next launch (ms LONG 0 applicationInitializer \N 0 \N 0 \N SINGLE 0 JobInstance_FilteringJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +53 0 0 2024-01-31 04:25:10.906 \N FilteringJob_variables Init and finalize variables STRING 0 applicationInitializer \N 0 \N \N \N MAP 0 JobInstance_FilteringJob \N 1 0 256 \N \N STRING \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +54 0 0 2024-01-31 04:25:10.906 \N FilteringJob_filter Filter ENTITY 1 applicationInitializer \N 0 \N \N org.meveo.model.filter.Filter SINGLE 0 JobInstance_FilteringJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +55 0 0 2024-01-31 04:25:10.907 \N FilteringJob_recordVariableName Record variable name STRING 0 applicationInitializer \N 0 \N record \N SINGLE 0 JobInstance_FilteringJob \N 1 0 256 \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +56 0 0 2024-01-31 04:25:10.908 \N nbRuns Number of parallel execution LONG 0 applicationInitializer \N 0 \N -1 \N SINGLE 0 JobInstance_FilteringJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +57 0 0 2024-01-31 04:25:10.909 \N FilteringJob_script Script ENTITY 1 applicationInitializer \N 0 \N \N org.meveo.model.scripts.ScriptInstance SINGLE 0 JobInstance_FilteringJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +58 0 0 2024-01-31 04:25:10.916 \N ScriptingJob_script Script to run ENTITY 1 applicationInitializer \N 0 \N \N org.meveo.model.scripts.ScriptInstance SINGLE 0 JobInstance_ScriptingJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +59 0 0 2024-01-31 04:25:10.917 \N ScriptingJob_variables Script variables STRING 0 applicationInitializer \N 0 \N \N \N MAP 0 JobInstance_ScriptingJob \N 1 0 256 \N \N STRING \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +60 0 0 2024-01-31 04:25:10.925 \N waitingMillis Waiting before next launch (ms LONG 0 applicationInitializer \N 0 \N 0 \N SINGLE 0 JobInstance_PaymentJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +61 0 0 2024-01-31 04:25:10.926 \N PaymentJob_creditOrDebit Payment or Refund LIST 1 applicationInitializer \N 0 \N Credit \N SINGLE 0 JobInstance_PaymentJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +62 0 0 2024-01-31 04:25:10.927 \N PaymentJob_aoFilterScript AOs Script ENTITY 0 applicationInitializer \N 0 \N org.meveo.model.scripts.ScriptInstance SINGLE 0 JobInstance_PaymentJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +63 0 0 2024-01-31 04:25:10.928 \N PaymentJob_matchingAO Matching AO LIST 0 applicationInitializer \N 0 \N YES \N SINGLE 0 JobInstance_PaymentJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +64 0 0 2024-01-31 04:25:10.929 \N PaymentJob_cardOrDD jobExecution.cardOrDD LIST 1 applicationInitializer \N 0 \N CARD \N SINGLE 0 JobInstance_PaymentJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +65 0 0 2024-01-31 04:25:10.93 \N PaymentJob_dueDateRangeScript Due date range script ENTITY 0 applicationInitializer \N 0 \N org.meveo.model.scripts.ScriptInstance SINGLE 0 JobInstance_PaymentJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +66 0 0 2024-01-31 04:25:10.931 \N PaymentJob_fromDueDate From due date DATE 0 applicationInitializer \N 0 \N \N SINGLE 0 JobInstance_PaymentJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +67 0 0 2024-01-31 04:25:10.932 \N PaymentJob_paymentGateway Payment gateway ENTITY 0 applicationInitializer \N 0 \N \N org.meveo.model.payments.PaymentGateway SINGLE 0 JobInstance_PaymentJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +68 0 0 2024-01-31 04:25:10.932 \N PaymentJob_toDueDate To due date DATE 0 applicationInitializer \N 0 \N \N SINGLE 0 JobInstance_PaymentJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +69 0 0 2024-01-31 04:25:10.933 \N PaymentJob_createAO Create AO LIST 0 applicationInitializer \N 0 \N YES \N SINGLE 0 JobInstance_PaymentJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +70 0 0 2024-01-31 04:25:10.934 \N nbRuns Number of parallel execution LONG 0 applicationInitializer \N 0 \N -1 \N SINGLE 0 JobInstance_PaymentJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +71 0 0 2024-01-31 04:25:10.935 \N PaymentJob_AOorCA Payment per AO or CA LIST 1 applicationInitializer \N 0 \N CA \N SINGLE 0 JobInstance_PaymentJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +72 0 0 2024-01-31 04:25:10.949 \N BillingRunJob_lastTransactionDate Last Transaction Date DATE 0 applicationInitializer \N 0 \N \N \N SINGLE 0 JobInstance_BillingRunJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +73 0 0 2024-01-31 04:25:10.949 \N BillingRunJob_billingCycle Billing Cycles ENTITY 1 applicationInitializer \N 0 \N \N org.meveo.model.billing.BillingCycle LIST 0 JobInstance_BillingRunJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +74 0 0 2024-01-31 04:25:10.95 \N BillingRunJob_invoiceDate invoice Date DATE 0 applicationInitializer \N 0 \N \N \N SINGLE 0 JobInstance_BillingRunJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +75 0 0 2024-01-31 04:25:10.951 \N BillingRunJob_billingRun_Process Type LIST 0 applicationInitializer \N 0 \N \N \N SINGLE 0 JobInstance_BillingRunJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +76 0 0 2024-01-31 04:25:10.967 \N billingAccountCode Billing Account Code STRING 0 applicationInitializer \N 0 \N \N \N SINGLE 0 JobInstance_TierSubscriptionJob tab:Custom fields:0;fieldGroup:Criteria:1;field:0 1 0 50 \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +77 0 0 2024-01-31 04:25:10.968 \N waitingMillis Waiting before next launch (ms LONG 0 applicationInitializer \N 0 \N 0 \N SINGLE 0 JobInstance_TierSubscriptionJob tab:Custom fields:0;fieldGroup:Configuration:0;field:1 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +78 0 0 2024-01-31 04:25:10.969 \N offerCode Offer Code STRING 0 applicationInitializer \N 0 \N \N \N SINGLE 0 JobInstance_TierSubscriptionJob tab:Custom fields:0;fieldGroup:Criteria:1;field:1 1 0 50 \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +79 0 0 2024-01-31 04:25:10.97 \N nbRuns Number of parallel execution LONG 0 applicationInitializer \N 0 \N -1 \N SINGLE 0 JobInstance_TierSubscriptionJob tab:Custom fields:0;fieldGroup:Configuration:0;field:0 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +80 0 0 2024-01-31 04:25:10.978 \N invoicesToProcess Invoices To Process LIST 1 applicationInitializer \N 0 \N FinalOnly \N SINGLE 0 JobInstance_XMLInvoiceGenerationJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +81 0 0 2024-01-31 04:25:10.979 \N waitingMillis Waiting before next launch (ms LONG 0 applicationInitializer \N 0 \N 0 \N SINGLE 0 JobInstance_XMLInvoiceGenerationJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +82 0 0 2024-01-31 04:25:10.979 \N nbRuns Number of parallel execution LONG 0 applicationInitializer \N 0 \N -1 \N SINGLE 0 JobInstance_XMLInvoiceGenerationJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +83 0 0 2024-01-31 04:25:10.994 \N waitingMillis Waiting before next launch (ms LONG 0 applicationInitializer \N 0 \N 0 \N SINGLE 0 JobInstance_InvoicingJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +84 0 0 2024-01-31 04:25:10.995 \N billingRuns Billing Runs ENTITY 0 applicationInitializer \N 0 \N \N org.meveo.model.billing.BillingRun LIST 0 JobInstance_InvoicingJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +85 0 0 2024-01-31 04:25:10.996 \N nbRuns Number of parallel execution LONG 0 applicationInitializer \N 0 \N -1 \N SINGLE 0 JobInstance_InvoicingJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +86 0 0 2024-01-31 04:25:11.001 \N FtpAdapterJob_ftpUsername FtpAdapter.ftpUsername STRING 1 applicationInitializer \N 0 \N \N \N SINGLE 0 JobInstance_FtpAdapterJob \N 1 0 50 \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +87 0 0 2024-01-31 04:25:11.002 \N FtpAdapterJob_ftpProtocol FtpAdapter.ftpProtocol LIST 1 applicationInitializer \N 0 \N \N \N SINGLE 0 JobInstance_FtpAdapterJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +88 0 0 2024-01-31 04:25:11.003 \N FtpAdapterJob_remoteServer FtpAdapter.remoteServer STRING 1 applicationInitializer \N 0 \N \N \N SINGLE 0 JobInstance_FtpAdapterJob \N 1 0 150 \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +89 0 0 2024-01-31 04:25:11.004 \N FtpAdapterJob_remoteDirectory FtpAdapter.remoteDirectory STRING 1 applicationInitializer \N 0 \N \N \N SINGLE 0 JobInstance_FtpAdapterJob \N 1 0 100 \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +90 0 0 2024-01-31 04:25:11.005 \N FtpAdapterJob_operation FtpAdapter.operation LIST 1 applicationInitializer \N 0 \N \N \N SINGLE 0 JobInstance_FtpAdapterJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +91 0 0 2024-01-31 04:25:11.006 \N FtpAdapterJob_ftpFileExtension FtpAdapter.fileExtension STRING 1 applicationInitializer \N 0 \N \N \N SINGLE 0 JobInstance_FtpAdapterJob \N 1 0 50 \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +92 0 0 2024-01-31 04:25:11.006 \N FtpAdapterJob_ftpPassword FtpAdapter.ftpPassword STRING 1 applicationInitializer \N 0 \N \N \N SINGLE 0 JobInstance_FtpAdapterJob \N 1 0 50 \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +93 0 0 2024-01-31 04:25:11.007 \N FtpAdapterJob_localDirectory FtpAdapter.localDirectory STRING 1 applicationInitializer \N 0 \N \N \N SINGLE 0 JobInstance_FtpAdapterJob \N 1 0 150 \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +94 0 0 2024-01-31 04:25:11.008 \N FtpAdapterJob_remotePort FtpAdapter.remotePort LONG 1 applicationInitializer \N 0 \N \N \N SINGLE 0 JobInstance_FtpAdapterJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +95 0 0 2024-01-31 04:25:11.009 \N FtpAdapterJob_removeOriginalFile FtpAdapter.removeOriginalFile LIST 1 applicationInitializer \N 0 \N \N \N SINGLE 0 JobInstance_FtpAdapterJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +96 0 0 2024-01-31 04:25:11.019 \N RejectSepaJob_creditOrDebit Payment or Refund LIST 1 applicationInitializer \N 0 \N Credit \N SINGLE 0 JobInstance_SepaRejectedTransactionsJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +97 0 0 2024-01-31 04:25:11.02 \N RejectSepaJob_fileNamePrefix Prefix STRING 1 applicationInitializer \N 0 \N \N \N SINGLE 0 JobInstance_SepaRejectedTransactionsJob \N 1 0 256 \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +98 0 0 2024-01-31 04:25:11.021 \N RejectSepaJob_ddRequestBuilder DDRequest builder ENTITY 1 applicationInitializer \N 0 \N \N org.meveo.model.payments.DDRequestBuilder SINGLE 0 JobInstance_SepaRejectedTransactionsJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +99 0 0 2024-01-31 04:25:11.021 \N RejectSepaJob_fileNameExtension Extension STRING 1 applicationInitializer \N 0 \N \N \N SINGLE 0 JobInstance_SepaRejectedTransactionsJob \N 1 0 256 \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +100 0 0 2024-01-31 04:25:11.022 \N RejectSepaJob_inputDir Input directory STRING 1 applicationInitializer \N 0 \N \N \N SINGLE 0 JobInstance_SepaRejectedTransactionsJob \N 1 0 256 \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +101 0 0 2024-01-31 04:25:11.029 \N waitingMillis Waiting before next launch (ms LONG 0 applicationInitializer \N 0 \N 0 \N SINGLE 0 JobInstance_AccountOperationsGenerationJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +102 0 0 2024-01-31 04:25:11.03 \N nbRuns Number of parallel execution LONG 0 applicationInitializer \N 0 \N -1 \N SINGLE 0 JobInstance_AccountOperationsGenerationJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +103 0 0 2024-01-31 04:25:11.035 \N InternalNotificationJob_notificationCode Notification code STRING 1 applicationInitializer \N 0 \N \N \N SINGLE 0 JobInstance_InternalNotificationJob \N 1 0 50 \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +104 0 0 2024-01-31 04:25:11.036 \N InternalNotificationJob_filterCode Filter (sql query) STRING 1 applicationInitializer \N 0 \N \N \N SINGLE 0 JobInstance_InternalNotificationJob \N 1 0 50 \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +105 0 0 2024-01-31 04:25:11.041 \N invoicesToProcess Invoices To Process LIST 1 applicationInitializer \N 0 \N FinalOnly \N SINGLE 0 JobInstance_PDFInvoiceGenerationJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +106 0 0 2024-01-31 04:25:11.042 \N waitingMillis Waiting before next launch (ms LONG 0 applicationInitializer \N 0 \N 0 \N SINGLE 0 JobInstance_PDFInvoiceGenerationJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +107 0 0 2024-01-31 04:25:11.043 \N nbRuns Number of parallel execution LONG 0 applicationInitializer \N 0 \N -1 \N SINGLE 0 JobInstance_PDFInvoiceGenerationJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +108 0 0 2024-01-31 04:25:11.052 \N PurgeMediationDataJobV2_edrStatusCf Target Edr status CHECKBOX_LIST 0 applicationInitializer \N 0 \N \N \N LIST 0 JobInstance_PurgeMediationDataJobV2 tab:Custom fields:0;fieldGroup:Status:0;field:0 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +109 0 0 2024-01-31 04:25:11.053 \N PurgeMediationDataJobV2_lastTransactionDate Last transaction date DATE 0 applicationInitializer \N 0 \N \N \N SINGLE 0 JobInstance_PurgeMediationDataJobV2 tab:Custom fields:0;fieldGroup:Date configuration:0;field:1 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +110 0 0 2024-01-31 04:25:11.054 \N PurgeMediationDataJobV2_rtStatusCf Target Rt status CHECKBOX_LIST 0 applicationInitializer \N 0 \N \N \N LIST 0 JobInstance_PurgeMediationDataJobV2 tab:Custom fields:0;fieldGroup:Status:0;field:1 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +111 0 0 2024-01-31 04:25:11.055 \N PurgeMediationDataJobV2_firstTransactionDate First transaction date DATE 1 applicationInitializer \N 0 \N \N \N SINGLE 0 JobInstance_PurgeMediationDataJobV2 tab:Custom fields:0;fieldGroup:Date configuration:0;field:0 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +112 0 0 2024-01-31 04:25:11.055 \N PurgeMediationDataJobV2_woStatusCf Target Wo status CHECKBOX_LIST 0 applicationInitializer \N 0 \N \N \N LIST 0 JobInstance_PurgeMediationDataJobV2 tab:Custom fields:0;fieldGroup:Status:0;field:2 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +113 0 0 2024-01-31 04:25:11.067 \N waitingMillis Waiting before next launch (ms LONG 0 applicationInitializer \N 0 \N 0 \N SINGLE 0 JobInstance_CustomTableImportJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +114 0 0 2024-01-31 04:25:11.067 \N nbRuns Number of parallel execution LONG 0 applicationInitializer \N 0 \N -1 \N SINGLE 0 JobInstance_CustomTableImportJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +115 0 0 2024-01-31 04:25:11.073 \N gwfJob_nbRuns Number of parallel execution LONG 0 applicationInitializer \N 0 \N 1 \N SINGLE 0 JobInstance_GenericWorkflowJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +116 0 0 2024-01-31 04:25:11.074 \N gwfJob_waitingMillis Waiting before next launch (ms LONG 0 applicationInitializer \N 0 \N 0 \N SINGLE 0 JobInstance_GenericWorkflowJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +117 0 0 2024-01-31 04:25:11.075 \N gwfJob_generic_wf Generic workflow ENTITY 1 applicationInitializer \N 0 \N \N org.meveo.model.generic.wf.GenericWorkflow SINGLE 0 JobInstance_GenericWorkflowJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +118 0 0 2024-01-31 04:25:11.081 \N waitingMillis Waiting before next launch (ms LONG 0 applicationInitializer \N 0 \N 0 \N SINGLE 0 JobInstance_CheckPaymentScheduleCallbackJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +119 0 0 2024-01-31 04:25:11.082 \N nbRuns Number of parallel execution LONG 0 applicationInitializer \N 0 \N -1 \N SINGLE 0 JobInstance_CheckPaymentScheduleCallbackJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +120 0 0 2024-01-31 04:25:11.088 \N SepaJob_aoFilterScript AOs Script ENTITY 0 applicationInitializer \N 0 \N org.meveo.model.scripts.ScriptInstance SINGLE 0 JobInstance_SepaDirectDebitJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +121 0 0 2024-01-31 04:25:11.089 \N SepaJob_waitingMillis Waiting before next launch (ms LONG 0 applicationInitializer \N 0 \N 0 \N SINGLE 0 JobInstance_SepaDirectDebitJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +122 0 0 2024-01-31 04:25:11.089 \N SepaJob_seller Sellers ENTITY 0 applicationInitializer \N 0 \N org.meveo.model.admin.Seller SINGLE 0 JobInstance_SepaDirectDebitJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +123 0 0 2024-01-31 04:25:11.09 \N SepaJob_nbRuns Number of parallel execution LONG 0 applicationInitializer \N 0 \N 1 \N SINGLE 0 JobInstance_SepaDirectDebitJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +124 0 0 2024-01-31 04:25:11.091 \N SepaJob_ddRequestBuilder DDRequest builder ENTITY 1 applicationInitializer \N 0 \N \N org.meveo.model.payments.DDRequestBuilder SINGLE 0 JobInstance_SepaDirectDebitJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +125 0 0 2024-01-31 04:25:11.092 \N SepaJob_paymentOrRefund Payment or Refund LIST 1 applicationInitializer \N 0 \N PAYMENT \N SINGLE 0 JobInstance_SepaDirectDebitJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +126 0 0 2024-01-31 04:25:11.1 \N untilDate Subscription till date DATE 0 applicationInitializer \N 0 \N \N \N SINGLE 0 JobInstance_SubscriptionStatusJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +127 0 0 2024-01-31 04:25:11.105 \N waitingMillis Waiting before next launch (ms LONG 0 applicationInitializer \N 0 \N 0 \N SINGLE 0 JobInstance_WalletReservationJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +128 0 0 2024-01-31 04:25:11.106 \N nbRuns Number of parallel execution LONG 0 applicationInitializer \N 0 \N -1 \N SINGLE 0 JobInstance_WalletReservationJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +129 0 0 2024-01-31 04:25:11.111 \N oneFilePerJob Process files separately BOOLEAN 0 applicationInitializer \N 0 \N false \N SINGLE 0 JobInstance_FlatFileProcessingJob tab:Configuration:0;fieldGroup:Execution configuration:0;field:2 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +130 0 0 2024-01-31 04:25:11.112 \N FlatFileProcessingJob_variables Init and finalize variables STRING 0 applicationInitializer \N 0 \N \N \N MAP 0 JobInstance_FlatFileProcessingJob tab:Configuration:0;fieldGroup:Data processing configuration:3;field:1 1 0 256 \N \N STRING \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +131 0 0 2024-01-31 04:25:11.113 \N FlatFileProcessingJob_outputDir Output directory STRING 0 applicationInitializer \N 0 \N \N \N SINGLE 0 JobInstance_FlatFileProcessingJob tab:Configuration:0;fieldGroup:File configuration:1;field:4 1 0 256 \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +132 0 0 2024-01-31 04:25:11.114 \N FlatFileProcessingJob_mappingConf Record descriptor TEXT_AREA 0 applicationInitializer \N 0 \N \N SINGLE 0 JobInstance_FlatFileProcessingJob tab:Configuration:0;fieldGroup:Record configuration:2;field:0 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +133 0 0 2024-01-31 04:25:11.115 \N FlatFileProcessingJob_recordVariableName Record variable name STRING 1 applicationInitializer \N 0 \N record \N SINGLE 0 JobInstance_FlatFileProcessingJob tab:Configuration:0;fieldGroup:Data processing configuration:3;field:2 1 0 50 \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +134 0 0 2024-01-31 04:25:11.116 \N FlatFileProcessingJob_errorAction Error action LIST 0 applicationInitializer \N 0 \N CONTINUE \N SINGLE 0 JobInstance_FlatFileProcessingJob tab:Configuration:0;fieldGroup:Data processing configuration:3;field:5 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +135 0 0 2024-01-31 04:25:11.116 \N FlatFileProcessingJob_originFilename Filename variable name STRING 0 applicationInitializer \N 0 \N origin_filename \N SINGLE 0 JobInstance_FlatFileProcessingJob tab:Configuration:0;fieldGroup:Data processing configuration:3;field:3 1 0 256 \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +136 0 0 2024-01-31 04:25:11.117 \N FlatFileProcessingJob_archiveDir Archive directory STRING 0 applicationInitializer \N 0 \N \N \N SINGLE 0 JobInstance_FlatFileProcessingJob tab:Configuration:0;fieldGroup:File configuration:1;field:2 1 0 256 \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +137 0 0 2024-01-31 04:25:11.118 \N FlatFileProcessingJob_inputDir Input directory STRING 0 applicationInitializer \N 0 \N \N \N SINGLE 0 JobInstance_FlatFileProcessingJob tab:Configuration:0;fieldGroup:File configuration:1;field:1 1 0 256 \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +138 0 0 2024-01-31 04:25:11.119 \N waitingMillis Waiting before next launch (ms LONG 0 applicationInitializer \N 0 \N 0 \N SINGLE 0 JobInstance_FlatFileProcessingJob tab:Configuration:0;fieldGroup:Execution configuration:0;field:1 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +139 0 0 2024-01-31 04:25:11.12 \N FlatFileProcessingJob_fileFormat File format ENTITY 0 applicationInitializer \N 0 \N \N org.meveo.model.admin.FileFormat SINGLE 0 JobInstance_FlatFileProcessingJob tab:Configuration:0;fieldGroup:File configuration:1;field:0 1 0 256 \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +140 0 0 2024-01-31 04:25:11.12 \N FlatFileProcessingJob_fileNameFilter File name filter STRING 0 applicationInitializer \N 0 \N \N \N SINGLE 0 JobInstance_FlatFileProcessingJob tab:Configuration:0;fieldGroup:File configuration:1;field:5 1 0 256 \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +141 0 0 2024-01-31 04:25:11.121 \N FlatFileProcessingJob_fileNameExtension Extension STRING 1 applicationInitializer \N 0 \N csv \N SINGLE 0 JobInstance_FlatFileProcessingJob tab:Configuration:0;fieldGroup:File configuration:1;field:6 1 0 256 \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +142 0 0 2024-01-31 04:25:11.122 \N FlatFileProcessingJob_formatTransfo Format transformation LIST 0 applicationInitializer \N 0 \N None \N SINGLE 0 JobInstance_FlatFileProcessingJob tab:Configuration:0;fieldGroup:Data processing configuration:3;field:4 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +143 0 0 2024-01-31 04:25:11.123 \N FlatFileProcessingJob_rejectDir Reject directory STRING 0 applicationInitializer \N 0 \N \N \N SINGLE 0 JobInstance_FlatFileProcessingJob tab:Configuration:0;fieldGroup:File configuration:1;field:3 1 0 256 \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +144 0 0 2024-01-31 04:25:11.125 \N FlatFileProcessingJob_scriptsFlow Script flow STRING 1 applicationInitializer \N 0 \N \N \N SINGLE 0 JobInstance_FlatFileProcessingJob tab:Configuration:0;fieldGroup:Data processing configuration:3;field:0 1 0 256 \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +145 0 0 2024-01-31 04:25:11.126 \N nbRuns Number of parallel execution LONG 0 applicationInitializer \N 0 \N 1 \N SINGLE 0 JobInstance_FlatFileProcessingJob tab:Configuration:0;fieldGroup:Execution configuration:0;field:0 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +146 0 0 2024-01-31 04:25:11.141 \N PurgeMediationDataJob_edrStatusCf Target Edr status CHECKBOX_LIST 0 applicationInitializer \N 0 \N \N \N LIST 0 JobInstance_PurgeMediationDataJob tab:Custom fields:0;fieldGroup:Status:0;field:0 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +147 0 0 2024-01-31 04:25:11.142 \N PurgeMediationDataJob_firstTransactionDate First transaction date DATE 1 applicationInitializer \N 0 \N \N \N SINGLE 0 JobInstance_PurgeMediationDataJob tab:Custom fields:0;fieldGroup:Date configuration:0;field:0 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +148 0 0 2024-01-31 04:25:11.142 \N PurgeMediationDataJob_woStatusCf Target Wo status CHECKBOX_LIST 0 applicationInitializer \N 0 \N \N \N LIST 0 JobInstance_PurgeMediationDataJob tab:Custom fields:0;fieldGroup:Status:0;field:2 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +149 0 0 2024-01-31 04:25:11.143 \N PurgeMediationDataJob_rtStatusCf Target Rt status CHECKBOX_LIST 0 applicationInitializer \N 0 \N \N \N LIST 0 JobInstance_PurgeMediationDataJob tab:Custom fields:0;fieldGroup:Status:0;field:1 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +150 0 0 2024-01-31 04:25:11.144 \N PurgeMediationDataJob_lastTransactionDate Last transaction date DATE 0 applicationInitializer \N 0 \N \N \N SINGLE 0 JobInstance_PurgeMediationDataJob tab:Custom fields:0;fieldGroup:Date configuration:0;field:1 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +151 0 0 2024-01-31 04:25:11.156 \N waitingMillis Waiting before next launch (ms LONG 0 applicationInitializer \N 0 \N 0 \N SINGLE 0 JobInstance_ReportExtractJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +152 0 0 2024-01-31 04:25:11.156 \N endDate End date DATE 0 applicationInitializer \N 0 \N \N \N SINGLE 0 JobInstance_ReportExtractJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +153 0 0 2024-01-31 04:25:11.157 \N nbRuns Number of parallel execution LONG 0 applicationInitializer \N 0 \N -1 \N SINGLE 0 JobInstance_ReportExtractJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +154 0 0 2024-01-31 04:25:11.158 \N startDate Begin date DATE 0 applicationInitializer \N 0 \N \N \N SINGLE 0 JobInstance_ReportExtractJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +155 0 0 2024-01-31 10:38:01.741 \N IS_ALLOWANCE Is Allowance BOOLEAN 0 public.superadmin \N 0 \N \N \N SINGLE 0 ChargeTemplate tab:Custom fields:0;field:0 1 0 \N \N \N \N \N \N \N 0 \N {} 0 \N \N \N 0 \N \N \N 0 +156 0 0 2024-01-31 10:38:10.868 \N IS_LIMIT Is Limit BOOLEAN 0 public.superadmin \N 0 \N \N \N SINGLE 0 ChargeTemplate tab:Custom fields:0;field:1 1 0 \N \N \N \N \N \N \N 0 \N {} 0 \N \N \N 0 \N \N \N 0 +\. + + +-- +-- Data for Name: crm_custom_field_tmpl_mcols; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.crm_custom_field_tmpl_mcols (cft_id, "position", code, label, key_type, column_use) FROM stdin; +\. + + +-- +-- Data for Name: crm_custom_field_tmpl_val; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.crm_custom_field_tmpl_val (customfieldtemplate_id, listvalues, listvalues_key) FROM stdin; +4 Billed BILLED +4 Canceled CANCELED +4 Open OPEN +4 Rejected REJECTED +4 Rerated RERATED +5 Aggregated AGGREGATED +5 Failed FAILED +5 Mediating MEDIATING +5 Open OPEN +5 Rated RATED +5 Rejected REJECTED +9 Cancelled CANCELED +9 Open OPEN +9 Rerated RERATED +9 Reserved RESERVED +9 Scheduled SCHEDULED +9 To rerate TO_RERATE +9 Processed TREATED +21 Subscription SUB +21 Service Instance SI +21 Charge Instance CI +21 User Account UA +21 Description DESC +21 Billing Account BA +61 Refund Debit +61 Payment Credit +63 NO NO +63 YES YES +64 Sepa DIRECTDEBIT +64 Card CARD +69 NO NO +69 YES YES +71 AO AO +71 CA CA +75 Automatic 1 +75 Manual 2 +75 Full automatic 3 +80 All All +80 DraftOnly DraftOnly +80 FinalOnly FinalOnly +87 FTP FTP +87 SFTP SFTP +90 IMPORT IMPORT +90 EXPORT EXPORT +95 True TRUE +95 False FALSE +96 Refund Debit +96 Payment Credit +105 All All +105 DraftOnly DraftOnly +105 FinalOnly FinalOnly +108 Aggregated AGGREGATED +108 Failed FAILED +108 Mediating MEDIATING +108 Open OPEN +108 Rated RATED +108 Rejected REJECTED +110 Billed BILLED +110 Canceled CANCELED +110 Open OPEN +110 Rejected REJECTED +110 Rerated RERATED +112 Cancelled CANCELED +112 Open OPEN +112 Rerated RERATED +112 Reserved RESERVED +112 Scheduled SCHEDULED +112 To rerate TO_RERATE +112 Processed TREATED +125 PAYMENT PAYMENT +125 REFUND REFUND +134 Continue CONTINUE +134 Stop STOP +134 Rollback ROLLBACK +142 Excel cvs Xlsx_to_Csv +142 Aucune None +146 Aggregated AGGREGATED +146 Failed FAILED +146 Mediating MEDIATING +146 Open OPEN +146 Rated RATED +146 Rejected REJECTED +148 Cancelled CANCELED +148 Open OPEN +148 Rerated RERATED +148 Reserved RESERVED +148 Scheduled SCHEDULED +148 To rerate TO_RERATE +148 Processed TREATED +149 Billed BILLED +149 Canceled CANCELED +149 Open OPEN +149 Rejected REJECTED +149 Rerated RERATED +\. + + +-- +-- Data for Name: crm_customer; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.crm_customer (id, customer_brand_id, customer_category_id, seller_id, additional_details_id, address_book_id, minimum_target_account_id, invoicing_threshold, check_threshold) FROM stdin; +2 -1 -2 1 1 1 \N \N \N +5 -1 -2 1 2 3 \N \N \N +\. + + +-- +-- Data for Name: crm_customer_brand; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.crm_customer_brand (id, version, created, updated, code, description, creator, updater) FROM stdin; +-1 0 2015-03-19 00:04:19.131 \N DEFAULT Demo Product and Services \N \N +\. + + +-- +-- Data for Name: crm_customer_category; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.crm_customer_category (id, version, created, updated, code, description, exonerated_from_taxes, creator, updater, exoneration_tax_el, exoneration_tax_el_sp, exoneration_reason, cf_values_accum, cf_values, uuid, accounting_code_id, tax_category_id, tax_category_el, tax_category_el_sp) FROM stdin; +-1 0 2015-03-19 00:04:19.089 \N PROSPECT Prospect 0 \N \N \N \N \N \N \N CCC_PROSPECT \N -1 \N \N +-2 0 2015-03-19 00:04:19.11 \N CLIENT Client 0 \N \N \N \N \N \N \N CCC_CLIENT \N -1 \N \N +\. + + +-- +-- Data for Name: crm_customer_sequence; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.crm_customer_sequence (id, version, disabled, created, updated, creator, updater, code, description, prefix, sequence_size, current_sequence_nb, seller_id) FROM stdin; +\. + + +-- +-- Data for Name: crm_email; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.crm_email (id, version, email) FROM stdin; +\. + + +-- +-- Data for Name: crm_provider; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.crm_provider (id, version, disabled, created, updated, code, description, amount_validation, automatic_invoicing, account_number, account_owner, bank_code, bank_id, bank_name, bic, branch_code, iban, ics, issuer_name, issuer_number, hash_key, discount_accounting_code, display_free_tx_in_invoice, email, entreprise, address_1, address_2, address_3, address_city, address_country_id, address_state, address_zipcode, center_code, creditor_code, financial_institution_code, nne, level_duplication, multicountry_flag, multicurrency_flag, multilanguage_flag, prepaid_resrv_delay_ms, creator, updater, billing_account_id, country_id, currency_id, customer_id, customer_account_id, language_id, user_account_id, credit_note_prefix, current_credit_note_nb, credit_note_sequence_size, uuid, recognize_revenue, cf_values, cf_values_accum, rating_rounding, rounding_mode, invoice_rounding, invoice_rounding_mode, rum_prefix, rum_sequence_size, rum_current_sequence_nb, cust_no_prefix, cust_no_sequence_size, cust_no_current_sequence_nb, invoice_config_id, gdpr_config_id) FROM stdin; +1 3 0 2015-03-19 00:04:08.922 2024-01-31 09:05:13.676 DEMO \N 0 0 33333333333 owner SGMB 11 SGMB DADEFRPPCCT 12345 FR763000600001123456790189 FRXXZZZ123456 DEMO 1111 11 \N 1 \N 1 \N \N \N \N \N \N \N \N \N \N \N 0 1 1 1 960000 opencell.admin public.superadmin \N 1 1 \N \N 1 \N \N \N \N DEMO 0 \N \N 8 NEAREST 2 NEAREST 20 0 20 0 -1 1 +\. + + +-- +-- Data for Name: crm_provider_contact; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.crm_provider_contact (id, version, created, updated, code, description, address_1, address_2, address_3, address_city, address_country_id, address_state, address_zipcode, email, fax, firstname, generic_mail, lastname, mobile, phone, creator, updater) FROM stdin; +-1 0 2015-03-19 00:04:19.892 \N OPENCELL Opencell Software 14 rue Crespin du Gast \N \N Paris 70 \N 75011 sales@opencellsoft.com \N \N \N \N +33607899813 \N \N \N +\. + + +-- +-- Data for Name: crm_provider_pay_methods; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.crm_provider_pay_methods (provider_id, payment_method) FROM stdin; +1 CARD +1 DIRECTDEBIT +1 PAYPAL +1 STRIPE +\. + + +-- +-- Data for Name: crm_seller; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.crm_seller (id, parent_seller_id, trading_country_id, trading_currency_id, trading_language_id, credit_note_prefix, current_credit_note_nb, credit_note_sequence_size, registration_no, legal_text, legal_type, general_ledger_id) FROM stdin; +-1 \N \N -1 -1 \N \N \N \N \N \N \N +-2 -1 \N -1 -1 \N \N \N \N \N \N \N +-3 -1 \N -2 -2 \N \N \N \N \N \N \N +1 \N \N \N \N \N \N \N \N \N \N \N +\. + + +-- +-- Data for Name: cust_cei; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.cust_cei (id, version, disabled, created, updated, description, code, creator, updater, cet_code, uuid, parent_uuid, cf_values, cf_values_accum) FROM stdin; +\. + + +-- +-- Data for Name: cust_cet; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.cust_cet (id, version, disabled, created, updated, description, code, creator, updater, name, store_as_table, unique_constraint_name) FROM stdin; +\. + + +-- +-- Data for Name: databasechangelog; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) FROM stdin; +rebuild-data-rolesDEMO AndriusKarpavicius src/main/db_resources/changelog/rebuild/data.xml 2024-01-26 14:02:05.835574 789 EXECUTED 8:3d7b77589396df78db33119eaf091c1d insert tableName=adm_role; insert tableName=adm_role; insert tableName=adm_role; insert tableName=adm_role; insert tableName=adm_role; insert tableName=adm_role; insert tableName=adm_role; insert tableName=adm_role; insert tableName=adm_role; inse... \N 3.6.3 \N \N 6270177550 +rebuild-data-usersDEMO AndriusKarpavicius src/main/db_resources/changelog/rebuild/data.xml 2024-01-26 14:02:06.685448 790 EXECUTED 8:a12e0db6f2a8ed2c217ac49abdf83ad0 insert tableName=adm_user; insert tableName=adm_user; insert tableName=adm_user; insert tableName=adm_user; insert tableName=adm_user_role; insert tableName=adm_user_role; insert tableName=adm_user_role; insert tableName=adm_user_role; insert tabl... \N 3.6.3 \N \N 6270177550 +rebuild-data-titlesDEMO AndriusKarpavicius src/main/db_resources/changelog/rebuild/data.xml 2024-01-26 14:02:07.3692 791 EXECUTED 8:ee4eae98114d684e123906d1775a82f3 insert tableName=adm_title; insert tableName=adm_title; insert tableName=adm_title; insert tableName=adm_title; insert tableName=adm_title; insert tableName=adm_title; insert tableName=adm_title \N 3.6.3 \N \N 6270177550 +rebuild-data-accounting-codesDEMO AndriusKarpavicius src/main/db_resources/changelog/rebuild/data.xml 2024-01-26 14:02:09.335187 792 EXECUTED 8:f3e7cd41e130ce3a35048d36f4e96b41 insert tableName=billing_accounting_code; insert tableName=billing_accounting_code; insert tableName=billing_accounting_code; insert tableName=billing_accounting_code; insert tableName=billing_accounting_code; insert tableName=billing_accounting_c... \N 3.6.3 \N \N 6270177550 +rebuild-data-occTemplatesDEMO AndriusKarpavicius src/main/db_resources/changelog/rebuild/data.xml 2024-01-26 14:02:11.277222 793 EXECUTED 8:a37c69e579d02519fcee4f86fe5544f8 insert tableName=ar_occ_template; insert tableName=ar_occ_template; insert tableName=ar_occ_template; insert tableName=ar_occ_template; insert tableName=ar_occ_template; insert tableName=ar_occ_template; insert tableName=ar_occ_template; insert ta... \N 3.6.3 \N \N 6270177550 +rebuild-data-calendarDEMO AndriusKarpavicius src/main/db_resources/changelog/rebuild/data.xml 2024-01-26 14:02:13.087483 794 EXECUTED 8:501be05b304c9af1eb2f94619fe3ff1b insert tableName=cat_calendar; insert tableName=cat_calendar_days; insert tableName=cat_calendar_days; insert tableName=cat_calendar_days; insert tableName=cat_calendar_days; insert tableName=cat_calendar_days; insert tableName=cat_calendar_days; ... \N 3.6.3 \N \N 6270177550 +rebuild-data-billingCyclesDEMO AndriusKarpavicius src/main/db_resources/changelog/rebuild/data.xml 2024-01-26 14:02:13.401235 795 EXECUTED 8:477280fb9b1480d775112a9f0cba6a9e insert tableName=billing_cycle; insert tableName=billing_cycle \N 3.6.3 \N \N 6270177550 +rebuild-data-taxesDEMO AndriusKarpavicius src/main/db_resources/changelog/rebuild/data.xml 2024-01-26 14:02:13.769119 796 EXECUTED 8:1eeb3551c99ceba718cf160f260cbd72 insert tableName=billing_tax; insert tableName=billing_tax; insert tableName=billing_tax \N 3.6.3 \N \N 6270177550 +rebuild-data-tradingsDEMO AndriusKarpavicius src/main/db_resources/changelog/rebuild/data.xml 2024-01-26 14:02:14.331543 797 EXECUTED 8:3b141773b16f68c162fdb37da4a46f42 insert tableName=billing_trading_country; insert tableName=billing_trading_country; insert tableName=billing_trading_currency; insert tableName=billing_trading_currency; insert tableName=billing_trading_language; insert tableName=billing_trading_l... \N 3.6.3 \N \N 6270177550 +rebuild-data-invoiceCategoriesDEMO AndriusKarpavicius src/main/db_resources/changelog/rebuild/data.xml 2024-01-26 14:02:15.029409 798 EXECUTED 8:8fa52518dc89d6c9a5f210eae14f8050 insert tableName=billing_invoice_cat; insert tableName=billing_invoice_cat; insert tableName=billing_invoice_sub_cat; insert tableName=billing_invoice_sub_cat; insert tableName=billing_inv_sub_cat_country; insert tableName=billing_inv_sub_cat_coun... \N 3.6.3 \N \N 6270177550 +rebuild-data-subscriptionTerminationReasonsDEMO AndriusKarpavicius src/main/db_resources/changelog/rebuild/data.xml 2024-01-26 14:02:15.40327 799 EXECUTED 8:75e183a0fca5b48975a7234df2096f9f insert tableName=billing_subscrip_termin_reason; insert tableName=billing_subscrip_termin_reason; insert tableName=billing_subscrip_termin_reason \N 3.6.3 \N \N 6270177550 +rebuild-data-customerClasifDEMO AndriusKarpavicius src/main/db_resources/changelog/rebuild/data.xml 2024-01-26 14:02:15.801313 800 EXECUTED 8:9e2ba8b61ca0ab06cac9bc1a0b03c6e3 insert tableName=crm_customer_brand; insert tableName=crm_customer_category; insert tableName=crm_customer_category \N 3.6.3 \N \N 6270177550 +rebuild-data-creditCategoryDEMO AndriusKarpavicius src/main/db_resources/changelog/rebuild/data.xml 2024-01-26 14:02:16.285481 801 EXECUTED 8:65236ba16dbd6f7847fbe74250a48e2c insert tableName=ar_credit_category; insert tableName=ar_credit_category; insert tableName=ar_credit_category; insert tableName=ar_credit_category; insert tableName=ar_credit_category \N 3.6.3 \N \N 6270177550 +rebuild-data-sellerDEMO AndriusKarpavicius src/main/db_resources/changelog/rebuild/data.xml 2024-01-26 14:02:16.653057 802 EXECUTED 8:8cebe66565bb1422c94c08232bf51754 insert tableName=crm_seller; insert tableName=crm_seller; insert tableName=crm_seller \N 3.6.3 \N \N 6270177550 +rebuild-data-timerDEMO AndriusKarpavicius src/main/db_resources/changelog/rebuild/data.xml 2024-01-26 14:02:18.069611 803 EXECUTED 8:56171863c4769232e627022f9cc43575 insert tableName=meveo_timer; insert tableName=meveo_timer; insert tableName=meveo_timer; insert tableName=meveo_job_instance; insert tableName=meveo_job_instance; insert tableName=meveo_job_instance; insert tableName=meveo_job_instance; insert ta... \N 3.6.3 \N \N 6270177550 +rebuild-data-invoiceTypes AndriusKarpavicius src/main/db_resources/changelog/rebuild/data.xml 2024-01-26 14:02:18.849632 804 EXECUTED 8:36e30a4a914571f52a1b3cf4fd589a1a insert tableName=billing_seq_invoice; insert tableName=billing_seq_invoice; insert tableName=billing_seq_invoice; insert tableName=billing_seq_invoice; insert tableName=billing_invoice_type; insert tableName=billing_invoice_type; insert tableName=... \N 3.6.3 \N \N 6270177550 +rebuild-data-decisionRule AndriusKarpavicius src/main/db_resources/changelog/rebuild/data.xml 2024-01-26 14:02:19.398595 805 EXECUTED 8:f930a981aaa793592039fb53245adaff insert tableName=wf_decision_rule; insert tableName=wf_decision_rule; insert tableName=wf_decision_rule; insert tableName=wf_decision_rule; insert tableName=wf_decision_rule; insert tableName=wf_decision_rule \N 3.6.3 \N \N 6270177550 +rebuild-data-paymentGateway AndriusKarpavicius src/main/db_resources/changelog/rebuild/data.xml 2024-01-26 14:02:19.895708 806 EXECUTED 8:cfb35cfe7304fbf1f28a3eb45234195b insert tableName=ar_payment_gateway; insert tableName=ar_payment_gateway; insert tableName=ar_payment_gateway; insert tableName=crm_provider_pay_methods; insert tableName=crm_provider_pay_methods \N 3.6.3 \N \N 6270177550 +rebuild-data-payment-gateway AndriusKarpavicius src/main/db_resources/changelog/rebuild/data.xml 2024-01-26 14:02:20.501478 807 EXECUTED 8:7fa9b0f5378b96ac8161d97a07b698c2 sql; sql; sql; sql; sql; sql; sql \N 3.6.3 \N \N 6270177550 +rebuild-data-job-instances MohamedSTITANE src/main/db_resources/changelog/rebuild/data.xml 2024-01-26 14:02:20.809106 808 EXECUTED 8:fd5423bfc07e8000e34084c1b314f2d0 insert tableName=meveo_job_instance; insert tableName=meveo_job_instance \N 3.6.3 \N \N 6270177550 +rebuild-data-script-categories AndriusKarpavicius src/main/db_resources/changelog/rebuild/data.xml 2024-01-26 14:02:21.055304 809 EXECUTED 8:5a77cc0e11479bc69d1e9f1735949d0f insert tableName=meveo_script_instance_cat \N 3.6.3 \N \N 6270177550 +rebuild-data-report-extracts AndriusKarpavicius src/main/db_resources/changelog/rebuild/data.xml 2024-01-26 14:02:27.079506 810 EXECUTED 8:4536270ef9c2a812e4b7a478a1caf562 sql; sql; insert tableName=dwh_report_extract; insert tableName=dwh_report_extract_params; insert tableName=dwh_report_extract_params; insert tableName=dwh_report_extract; insert tableName=dwh_report_extract_params; insert tableName=dwh_report_ext... \N 3.6.3 \N \N 6270177550 +rebuild-data-ddRequest AndriusKarpavicius src/main/db_resources/changelog/rebuild/data.xml 2024-01-26 14:02:27.383608 811 EXECUTED 8:731099252792d9923c7927d4c6504efd insert tableName=ar_ddrequest_builder; insert tableName=ar_ddrequest_builder \N 3.6.3 \N \N 6270177550 +rebuild-data-adm_custom_generic_entity_code AndriusKarpavicius src/main/db_resources/changelog/rebuild/data.xml 2024-01-26 14:02:27.688009 812 EXECUTED 8:47322ce11d3a076e9f2c64ea17cd17aa insert tableName=adm_custom_generic_entity_code; insert tableName=adm_custom_generic_entity_code \N 3.6.3 \N \N 6270177550 +simfony-core-b687a316-19fc-11eb-adc1-0242ac120002 AurelianTudor src/main/db_resources/changelog/rebuild/data.xml 2024-01-26 14:02:28.058351 813 EXECUTED 8:4826ed13b2c17da7dd244da08b09e07d insert tableName=adm_title \N 3.6.3 \N \N 6270177550 +#4140_08042019 hznibar src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:02:28.401863 814 EXECUTED 8:ec26c93a933193d95bf4a88b831c6318 modifyDataType columnName=result, tableName=wf_history_action \N 3.6.3 \N \N 6270177550 +#4127_10042019 AbdelmounaimAkadid src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:02:28.857797 815 EXECUTED 8:80840bfc39fb8c3a5f097d1c62af68fc addColumn tableName=dwh_report_extract; sql; sql \N 3.6.3 \N \N 6270177550 +#4089_20190404 AbdellatifBARI src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:02:29.107996 816 EXECUTED 8:d965956153269905f2081300b2b4ff25 sql \N 3.6.3 \N \N 6270177550 +#4107_20190515 EdwardPLegaspi src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:02:29.417761 817 EXECUTED 8:e0fbf52a7c4d6133b969ee16a76d178a createTable tableName=adm_role_secured_entity; addPrimaryKey constraintName=adm_role_secured_entity_pkey, tableName=adm_role_secured_entity \N 3.6.3 \N \N 6270177550 +#4117_20190405 AmineBENAICHA src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:02:29.719861 818 EXECUTED 8:17333e668c792da0c223afcb7bc7aca9 addColumn tableName=wf_instance; createIndex indexName=wf_instance_entity_id_idx, tableName=wf_instance \N 3.6.3 \N \N 6270177550 +#4179_20190417 AndriusKarpavicius src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:02:29.963738 819 EXECUTED 8:2f8a7476df27345d38a7fce747a714a3 addColumn tableName=meveo_script_instance \N 3.6.3 \N \N 6270177550 +#4148_20190418 - Add runAsync on notification EdwardPLegaspi src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:02:30.203908 820 EXECUTED 8:d1888d5f66e6825b46a5a2bac5f2dd73 addColumn tableName=adm_notification \N 3.6.3 \N \N 6270177550 +#3683_20190415 YoussefIZEM src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:02:31.263793 821 EXECUTED 8:df5162f51721dd03ed7e8b9006f39c68 addColumn tableName=adm_notif_email; addColumn tableName=adm_notification; sql; sql; sql; sql; addForeignKeyConstraint baseTableName=adm_notif_email, constraintName=fk_com_message_template, referencedTableName=com_message_template; dropColumn tabl... \N 3.6.3 \N \N 6270177550 +#4208_2019042601 MohamedElYoussoufi src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:02:31.533887 822 EXECUTED 8:6d3499686f1b2242d787156bb94f985b sql \N 3.6.3 \N \N 6270177550 +#3692_20190426 AndriusKarpavicius src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:02:31.774085 823 EXECUTED 8:817f1c3c718e76eb00f7c32cf51bf45d modifyDataType columnName=iban, tableName=ar_payment_gateway \N 3.6.3 \N \N 6270177550 +#4207_2019042901 MohamedElYoussoufi src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:02:32.261678 824 EXECUTED 8:49894354a391431ba91ed6782ff1c425 addColumn tableName=billing_rated_transaction; addForeignKeyConstraint baseTableName=billing_rated_transaction, constraintName=fk_billing_rated_transaction_offer_template, referencedTableName=cat_offer_template; addColumn tableName=billing_wallet_... \N 3.6.3 \N \N 6270177550 +#4207_2019042902 MohamedElYoussoufi src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:02:32.563879 825 EXECUTED 8:d1cdab1599c02b4956b9b84125681066 sql; sql \N 3.6.3 \N \N 6270177550 +#4207_2019042904 MohamedElYoussoufi src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:02:32.80589 826 EXECUTED 8:de0f3c27cf6d081b094b0df3c22d67e6 dropColumn tableName=billing_rated_transaction \N 3.6.3 \N \N 6270177550 +#4156_20190423 EdwardPLegaspi src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:02:33.111793 827 EXECUTED 8:27ab4bacd27f65f83e491a5142ec120a addColumn tableName=meveo_job_instance; update tableName=meveo_job_instance \N 3.6.3 \N \N 6270177550 +#4198_03052019 SaidRamli src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:02:33.469907 828 EXECUTED 8:afd704cf84f693097afbb916fc2c6529 addColumn tableName=billing_invoice_type; sql; sql \N 3.6.3 \N \N 6270177550 +#4156_08052019 AndriusKarpavicius src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:02:33.77166 829 EXECUTED 8:dc6376984f95138e1f7c51b7624f271a addDefaultValue columnName=exclude_inv_without_amount, tableName=meveo_job_instance; sql \N 3.6.3 \N \N 6270177550 +#4282_20190520 AndriusKarpavicius src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:02:34.203312 830 EXECUTED 8:dd2b2205b9f64283177b62b1047ec35d addColumn tableName=billing_rated_transaction; addForeignKeyConstraint baseTableName=billing_rated_transaction, constraintName=fk_rt_service_instance, referencedTableName=billing_service_instance; sql; sql; sql; sql; sql; sql \N 3.6.3 \N \N 6270177550 +#39262_20190604 TonyAlejandro src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:02:35.887782 831 EXECUTED 8:aeb5faa30be8cd42b9c124a174770c16 addColumn tableName=billing_service_instance; addColumn tableName=cat_service_template; addColumn tableName=cat_offer_template; addColumn tableName=billing_subscription; addDefaultValue columnName=initial_term_type, tableName=billing_service_insta... \N 3.6.3 \N \N 6270177550 +#4290_20190520-P AndriusKarpavicius src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:02:36.188068 832 EXECUTED 8:854547b19fe27c7a4633d69ecd59a020 sql; sql \N 3.6.3 \N \N 6270177550 +#4326_20190530-P AndriusKarpavicius src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:02:36.491999 833 EXECUTED 8:ba29877f6f23b9a8234e6875ef0e7544 sql; sql \N 3.6.3 \N \N 6270177550 +#4326_20190530 AndriusKarpavicius src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:02:36.978114 834 EXECUTED 8:3a2fc61a8251937a2c026d12dd70e0aa addNotNullConstraint columnName=tax_percentage, tableName=billing_tax; addNotNullConstraint columnName=tax_id, tableName=billing_wallet_operation; addNotNullConstraint columnName=tax_percent, tableName=billing_wallet_operation; addNotNullConstrain... \N 3.6.3 \N \N 6270177550 +#4278_20190520_partitions mohamed.el.youssoufi src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:02:37.444159 835 EXECUTED 8:d415fd958983d6f340488994c5c0741b createProcedure; createProcedure; createProcedure; createProcedure \N 3.6.3 \N \N 6270177550 +#4301_23052019 - empty tax amount mohamed.el.youssoufi src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:02:37.683868 836 EXECUTED 8:2afa6fb717425798fdf38f707d5ab3aa sql \N 3.6.3 \N \N 6270177550 +#4026-Order-validation-enhancement abdelkader.bouazza src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:02:37.934012 837 EXECUTED 8:e5e77e95dceb8ccdadc0f03eb3ae1619 dropNotNullConstraint columnName=user_account_id, tableName=ord_order_item \N 3.6.3 \N \N 6270177550 +#4192_20190506 - add counter for subscription and service KhalidHorri src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:02:38.362028 838 EXECUTED 8:bbfb88e3be91f5f004555477feac6316 addColumn tableName=billing_counter; addColumn tableName=billing_counter; addForeignKeyConstraint baseTableName=billing_counter, constraintName=fk_billing_counter_subscription_id, referencedTableName=billing_subscription; addForeignKeyConstraint b... \N 3.6.3 \N \N 6270177550 +#4303_300520191 mohamed.el.youssoufi src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:02:38.655708 839 EXECUTED 8:beb9e8cac45aa1bf61481452db9215e5 sql; sql \N 3.6.3 \N \N 6270177550 +#4322_20190612 - Add a filter to GenericWorkflow MounirBahije src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:02:38.892127 840 EXECUTED 8:7f4582279fadf9fbb314eacb089a5687 addColumn tableName=wf_generic_workflow \N 3.6.3 \N \N 6270177550 +#4054_201917061 - Encryption MohamedElYoussoufi src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:02:39.91603 841 EXECUTED 8:47d61677db3881a202b6d5e2cac194dd sql \N 3.6.3 \N \N 6270177550 +#4371_20190620_2 AbdellatifBARI src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:02:40.294136 842 EXECUTED 8:04cd2466f50a55d612076ae3a9ea68d1 createSequence sequenceName=adm_file_format_seq; createTable tableName=adm_file_format; addUniqueConstraint constraintName=uk_9fnf93rp352nkw2kpdbari5xp8, tableName=adm_file_format \N 3.6.3 \N \N 6270177550 +#4371_20190620_4 AbdellatifBARI src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:02:40.736124 843 EXECUTED 8:b2e8e867b8ac9172501a2d350d752551 createSequence sequenceName=flat_file_seq; createTable tableName=flat_file; addUniqueConstraint constraintName=uk_9fnf93rp352nkw2kpdbari6yr9, tableName=flat_file; addForeignKeyConstraint baseTableName=flat_file, constraintName=fk_d4iavkklx1qg1ani3... \N 3.6.3 \N \N 6270177550 +#4371_20190620_5 AbdellatifBARI src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:02:40.984325 844 EXECUTED 8:724d72e97e20dda25da4b0d36e295ebf sql \N 3.6.3 \N \N 6270177550 +#4160_20190105 - Accounting Writing MounirBOUKAYOUA src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:02:41.668151 845 EXECUTED 8:8ba0eab50abe351358ba5aa1406b3ec3 createTable tableName=ar_accounting_writing; addForeignKeyConstraint baseTableName=ar_accounting_writing, constraintName=fk_accounting_writing_origin_writing, referencedTableName=ar_accounting_writing; addForeignKeyConstraint baseTableName=ar_acco... \N 3.6.3 \N \N 6270177550 +#4337_20190710 MohammedELAZZOUZI src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:02:42.036481 846 EXECUTED 8:dd4d9820ed7f82354976d28f13d549cb addColumn tableName=ar_account_operation; addForeignKeyConstraint baseTableName=ar_account_operation, constraintName=fk_billing_invoice, referencedTableName=billing_invoice; sql \N 3.6.3 \N \N 6270177550 +#4372_20190715 RedaDebbache src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:02:42.280211 847 EXECUTED 8:66eceb45eb9b3f3b047cc7af76d0ef5f addColumn tableName=crm_custom_field_tmpl \N 3.6.3 \N \N 6270177550 +#4372_20190723 RedaDebbache src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:02:42.528263 848 EXECUTED 8:38098975a7afad4f97637d8a4d6f111b addColumn tableName=cust_cet \N 3.6.3 \N \N 6270177550 +#4458_20190626_1 AbdellatifBARI src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:02:43.098445 849 EXECUTED 8:5b4d3fb3a36e686221ee3722fa80036f dropUniqueConstraint constraintName=uk_9fnf93rp352nkw2kpdbari5xp8, tableName=adm_file_format; dropColumn tableName=adm_file_format; dropColumn tableName=adm_file_format; addColumn tableName=adm_file_format; addUniqueConstraint constraintName=uk_9f... \N 3.6.3 \N \N 6270177550 +#4458_20190626_2 AbdellatifBARI src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:02:43.482206 850 EXECUTED 8:7b89a7541aa5ed7aae4d287664410a21 createTable tableName=adm_file_format_file_type; addPrimaryKey constraintName=adm_file_format_file_type_pkey, tableName=adm_file_format_file_type; addForeignKeyConstraint baseTableName=adm_file_format_file_type, constraintName=fk_4au8lqa3bc46gks4d... \N 3.6.3 \N \N 6270177550 +#4458_20190626_4 AbdellatifBARI src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:02:43.9866 851 EXECUTED 8:3543577d9e4bde942b7fa35cab433243 createSequence sequenceName=adm_file_type_seq; createTable tableName=adm_file_type; addUniqueConstraint constraintName=uk_9fnf93rp352nkw2kpdbari5yr8, tableName=adm_file_type; addForeignKeyConstraint baseTableName=adm_file_format_file_type, constra... \N 3.6.3 \N \N 6270177550 +#4468_20190631_1 AbdellatifBARI src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:02:44.472063 852 EXECUTED 8:f5656552eb69c0fe6582cfcc0b7d4fe5 addColumn tableName=flat_file \N 3.6.3 \N \N 6270177550 +#4326_20190709 AndriusKarpavicius src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:02:44.780044 853 EXECUTED 8:3c03e1044526697a4b13c276acb6615b dropForeignKeyConstraint baseTableName=billing_wallet_operation, constraintName=fk_wallet_operation_rated_transaction; dropForeignKeyConstraint baseTableName=billing_rated_transaction, constraintName=fk_billing_rated_transaction_rated_transaction \N 3.6.3 \N \N 6270177550 +#4457_20190728 AndriusKarpavicius src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:02:45.020284 854 EXECUTED 8:1af3a33584bf882569f9cc3ed5987a32 sql \N 3.6.3 \N \N 6270177550 +#4472_20190807 AndriusKarpavicius src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:02:45.445038 855 EXECUTED 8:7170bd290fa1a3be51a99584482b9597 sql; sql; sql; sql \N 3.6.3 \N \N 6270177550 +#4326_20190811 AndriusKarpavicius src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:02:45.700314 856 EXECUTED 8:5a39e1c56bf442a5c8eaf6fb2a5417ba addColumn tableName=billing_invoice \N 3.6.3 \N \N 6270177550 +#4512_20190819 AbdellatifBARI src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:02:46.060107 857 EXECUTED 8:c541fa9ef450ef722895284883d66f17 dropColumn tableName=flat_file; addColumn tableName=flat_file \N 3.6.3 \N \N 6270177550 +#4480_250919 MohammedElAzzouzi src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:02:46.30808 858 EXECUTED 8:27bd0a1ad9863d5d016a5e661cce9a25 sql \N 3.6.3 \N \N 6270177550 +#4480_210819 SaidRamli src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:02:46.554191 859 EXECUTED 8:a955c38eda846c432eedf0607b66b7dd addForeignKeyConstraint baseTableName=billing_invoice, constraintName=fk_invoice_pm, referencedTableName=ar_payment_token \N 3.6.3 \N \N 6270177550 +#4538_20190829 AbdellatifBARI src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:02:46.798304 860 EXECUTED 8:bac29d1d1a875e9017f9081509f4d5c5 addColumn tableName=flat_file \N 3.6.3 \N \N 6270177550 +#4550_20190904 AbdellatifBARI src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:02:47.352103 861 EXECUTED 8:668c84a34cff2f3477429349c07cc198 dropColumn tableName=billing_trading_country; addColumn tableName=billing_trading_country \N 3.6.3 \N \N 6270177550 +#4313_17062019 mohamed.el.youssoufi src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:02:47.726419 862 EXECUTED 8:66223bcd920236fe80a264e974a85f14 addColumn tableName=wf_generic_workflow \N 3.6.3 \N \N 6270177550 +#3774_07102019 FranckValot src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:02:47.970578 863 EXECUTED 8:f050b084f181a1d8ea4251c6b3b36cc1 addColumn tableName=adm_notification \N 3.6.3 \N \N 6270177550 +#4064_11092019 AbdelmounaimAkadid src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:02:48.216533 864 EXECUTED 8:205d8cdc1ad4f4b20f490744463f49f2 addColumn tableName=billing_invoice \N 3.6.3 \N \N 6270177550 +#4606_260919 AbdelmounaimAkadid src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:02:49.026077 865 EXECUTED 8:3344afc4133d631cce5bec1a5796c977 addColumn tableName=billing_subscription; addForeignKeyConstraint baseTableName=billing_subscription, constraintName=fk_billing_subscription_invoice_sub_cat, referencedTableName=billing_invoice_sub_cat; addColumn tableName=cat_offer_template; addF... \N 3.6.3 \N \N 6270177550 +#4555_20190903 AndriusKarpavicius src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:02:51.802503 866 EXECUTED 8:112bb7de390ab1bd8ad6b7d79870e44a addColumn tableName=cat_charge_template; sql; sql; sql; sql; sql; sql; sql; sql; dropForeignKeyConstraint baseTableName=cat_serv_usage_charge_template, constraintName=fk_443th9siwouj4fg746sgyfqtv; dropForeignKeyConstraint baseTableName=cat_usage_c... \N 3.6.3 \N \N 6270177550 +#4555_20190903-end AndriusKarpavicius src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:02:52.860843 867 EXECUTED 8:88b351474b1b4b81257105b73c7e9c7d addForeignKeyConstraint baseTableName=cat_serv_usage_charge_template, constraintName=fk_443th9siwouj4fg746sgyfqtv, referencedTableName=cat_charge_template; addForeignKeyConstraint baseTableName=cat_charge_template, constraintName=fk_ailcl9mls5y7bj... \N 3.6.3 \N \N 6270177550 +#4555_20190905 AndriusKarpavicius src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:02:55.072604 868 EXECUTED 8:0fdc585c0d78b175bb7728baeaace41a addColumn tableName=billing_charge_instance; dropColumn columnName=pr_description, tableName=billing_charge_instance; sql; sql; sql; sql; sql; sql; sql; sql; sql; sql; sql; sql; dropForeignKeyConstraint baseTableName=billing_usage_charge_inst, con... \N 3.6.3 \N \N 6270177550 +#4555_20190905-end AndriusKarpavicius src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:02:55.804863 869 EXECUTED 8:78534e592324c5f1d86e5d3721d5d3a5 addForeignKeyConstraint baseTableName=billing_charge_instance, constraintName=fk_5q5wxh2nq7gbd9bcds59egh3e, referencedTableName=billing_service_instance; addForeignKeyConstraint baseTableName=billing_charge_instance, constraintName=fk_n5h6xvrtm2a2... \N 3.6.3 \N \N 6270177550 +#4511_20190919-P AndriusKarpavicius src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:02:57.398568 870 EXECUTED 8:67f2f84515d752438100c2bc7c13084b sql; sql; sql; sql; sql; sql; sql; sql; sql; sql; sql; sql; sql; sql; sql; sql; sql; sql \N 3.6.3 \N \N 6270177550 +#4511_20190919-P-end AndriusKarpavicius src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:03:00.93045 871 EXECUTED 8:bc6ca1fcb18e8c8c449e09ba1be35ec8 sql; sql; sql; dropForeignKeyConstraint baseTableName=billing_reservation, constraintName=fk_reservation_edr; dropTable tableName=billing_wallet_operation_tmp; dropTable tableName=billing_rated_transaction_tmp; dropTable tableName=rating_edr_tmp; ... \N 3.6.3 \N \N 6270177550 +#4490_31102019 AbdelmounaimAkadid src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:03:01.304713 872 EXECUTED 8:76e2f13ff15f73e61728603b702a5789 addColumn tableName=billing_charge_instance \N 3.6.3 \N \N 6270177550 +#4523-Changing-amount-for-a-service-instance-with-prorating abdelkader.bouazza src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:03:01.689042 873 EXECUTED 8:5a97dd0b460fdd4fac59b90d0ce25a57 addColumn tableName=cat_charge_template; addColumn tableName=cat_price_plan_matrix \N 3.6.3 \N \N 6270177550 +#3510_20190516 MounirBahije src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:03:02.71108 874 EXECUTED 8:1c3788bd4223fd676659a16216b3ad79 createTable tableName=cat_unit_of_measure; addColumn tableName=cat_charge_template; addForeignKeyConstraint baseTableName=cat_charge_template, constraintName=fk_input_cat_charge_template_cat_unit_of_measure, referencedTableName=cat_unit_of_measure... \N 3.6.3 \N \N 6270177550 +#4766_20191111 MohammedELAZZOUZI src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:03:03.331017 875 EXECUTED 8:245f4410f371a42a83ae96218ba00c0c addNotNullConstraint columnName=currency_code, tableName=adm_currency; addNotNullConstraint columnName=description_en, tableName=adm_currency; addNotNullConstraint columnName=description_en, tableName=adm_language; addNotNullConstraint columnName=... \N 3.6.3 \N \N 6270177550 +#4765_20191112 MohammedELAZZOUZI src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:03:03.632688 876 EXECUTED 8:7267e8917f637912fc4e1f6f391dd99c update tableName=billing_cycle; addNotNullConstraint columnName=billing_cycle_type, tableName=billing_cycle \N 3.6.3 \N \N 6270177550 +#4783_20191118 MohamedSTITANE src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:03:04.022662 877 EXECUTED 8:d1fdd1e0e0942f6a771d3ed2c50eb9a9 sql; sql; sql \N 3.6.3 \N \N 6270177550 +#4412_20191125 MohammedELAZZOUZI src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:03:04.358831 878 EXECUTED 8:0cf38b5dd4e061de8d371642658e8374 dropColumn columnName=display_charges_periods, tableName=billing_invoice_configuration; addColumn tableName=billing_invoice_configuration \N 3.6.3 \N \N 6270177550 +#4795_221119 Mohammed_ElAzzouzi src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:03:04.808836 879 EXECUTED 8:38166b8efaa919b9b8f104ffebcf9ff6 sql; sql; sql; sql \N 3.6.3 \N \N 6270177550 +#4494-Enable_a_subscription_to_have_the_same_access_point_in_two_or_more_different_periods_of_time abdelkader.bouazza src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:03:05.146698 880 EXECUTED 8:bd2ee20571e15715549a3b24d61cec52 dropUniqueConstraint constraintName=uk_lca62y5gn9qo1e6jr84i9w3lr, tableName=medina_access; addUniqueConstraint constraintName=uk_lca62y5gn9qo1e6jr84i9w3lr, tableName=medina_access \N 3.6.3 \N \N 6270177550 +#4712_20191223 khalidHORRI src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:03:05.507006 881 EXECUTED 8:ba7371a1d1d0636bb74ab2592bbac8b4 addColumn tableName=crm_custom_field_tmpl \N 3.6.3 \N \N 6270177550 +#4791_20200113 KhalidHORRI src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:03:06.302983 882 EXECUTED 8:51714fb4f9c6bee9c7cdc08c91957b9d addColumn tableName=cat_counter_template; addColumn tableName=cat_serv_trm_charge_template; addForeignKeyConstraint baseTableName=cat_serv_trm_charge_template, constraintName=fk_serv_trm_charge_template_counter_template, referencedTableName=cat_co... \N 3.6.3 \N \N 6270177550 +4745_20200108 MohamedSTITANE src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:03:07.958868 883 EXECUTED 8:e712fe7c1dd6810b7f14546c5ad94845 dropColumn tableName=crm_seller \N 3.6.3 \N \N 6270177550 +#4906_Creation_CDR_Table_2 anasseh src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:03:08.390565 884 EXECUTED 8:fed6f985ab7dd09a5ee4e7bd2408cc51 createSequence sequenceName=rating_cdr_seq; createTable tableName=rating_cdr; sql; sql \N 3.6.3 \N \N 6270177550 +#4933_20200117 AbdellatifBARI src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:03:08.696909 885 EXECUTED 8:934174a40cab36dad502364fbf2dfef0 addNotNullConstraint columnName=configuration_template, tableName=adm_file_format; addColumn tableName=adm_file_format \N 3.6.3 \N \N 6270177550 +#3743_20190414 HatimOudad src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:03:09.18469 886 EXECUTED 8:6a97993011414a9368003fd8518a2df7 sql; sql; sql; sql; sql \N 3.6.3 \N \N 6270177550 +#500X_20200218 mohamed.el.youssoufi src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:03:09.928984 887 EXECUTED 8:a244725bc9f777092f80899a4d303012 sql; sql; sql; sql; sql; sql; sql; sql \N 3.6.3 \N \N 6270177550 +#4787_20200224 khalidHORRI src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:03:10.17479 888 EXECUTED 8:e1ce0bd3503168ba35afcb239a36c49c addColumn tableName=billing_subscrip_termin_reason \N 3.6.3 \N \N 6270177550 +#4096_2020-02-07_2 AndriusKarpavicius src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:03:12.330667 889 EXECUTED 8:6c0ce4830e4be3a86df9890513cabac4 createSequence sequenceName=billing_tax_category_seq; createTable tableName=billing_tax_category; addUniqueConstraint constraintName=uk_billing_tax_category_code, tableName=billing_tax_category; createSequence sequenceName=billing_tax_class_seq; c... \N 3.6.3 \N \N 6270177550 +#4096_2020-02-07_3 AndriusKarpavicius src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:03:13.194924 890 EXECUTED 8:d052d091ed0a1af4043285fff65ba219 insert tableName=billing_tax_category; sql; sql; sql; sql; sql; sql; sql; addNotNullConstraint columnName=tax_class_id, tableName=cat_charge_template; dropTable tableName=billing_inv_sub_cat_country \N 3.6.3 \N \N 6270177550 +#4201_20200225 khalidHORRI src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:03:13.445258 891 EXECUTED 8:33e29cd98e362d3d88bd961182ca5422 addColumn tableName=billing_subscrip_termin_reason \N 3.6.3 \N \N 6270177550 +#4071_20200227 khalidHORRI src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:03:13.69119 892 EXECUTED 8:690684b0189c1a5b00cc847cccaf6b80 addColumn tableName=cat_charge_template \N 3.6.3 \N \N 6270177550 +#4894-Additional_fields_in_RT abdelkader.bouazza src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:03:14.061297 893 EXECUTED 8:37d93cfbc9a62f8b13243ddd945587a1 addColumn tableName=billing_rated_transaction \N 3.6.3 \N \N 6270177550 +#4893-Add-custom-field-support-to-WalletOperation abdelkader.bouazza src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:03:14.541105 894 EXECUTED 8:173c8be38b96e449ba1c31542611c7de addColumn tableName=billing_wallet_operation; sql; addNotNullConstraint columnName=uuid, tableName=billing_wallet_operation \N 3.6.3 \N \N 6270177550 +#4892_2020-03-04 AndriusKarpavicius src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:03:14.845067 895 EXECUTED 8:104f2801d322e6efa07522f17ded87bb addColumn tableName=cat_charge_template; addForeignKeyConstraint baseTableName=cat_charge_template, constraintName=fk_charge_template_rating_script_id, referencedTableName=meveo_script_instance \N 3.6.3 \N \N 6270177550 +#5038_2020-03-06 AndriusKarpavicius src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:03:15.087136 896 EXECUTED 8:6c6a4788e36057bd65c41db71604b497 dropNotNullConstraint columnName=script, tableName=meveo_script_instance \N 3.6.3 \N \N 6270177550 +#5064_2020-03-15 AndriusKarpavicius src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:03:15.388936 897 EXECUTED 8:9b64d70230fa8d40b85c4d3ea3a1ac62 sql; sql \N 3.6.3 \N \N 6270177550 +#4891-Copy-recurrence-calendar-and-applyInAdvance-to-RecurringChargeInstance-from-a-RecurringChargeTemplate abdelkader.bouazza src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:03:15.754972 898 EXECUTED 8:07c0c18c296a0e1af6b2681f7f741a62 addColumn tableName=billing_charge_instance; addColumn tableName=billing_charge_instance; sql \N 3.6.3 \N \N 6270177550 +#4757_20191118 khalid.horri src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:03:17.029094 899 EXECUTED 8:fa3701c21d01afc83e3325a3f2fb22c2 addColumn tableName=account_entity; addColumn tableName=crm_customer; addColumn tableName=ar_customer_account; addColumn tableName=billing_subscription; addColumn tableName=billing_service_instance; addColumn tableName=cat_offer_template; addColum... \N 3.6.3 \N \N 6270177550 +#4924_20200219 anasseh src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:03:17.272785 900 EXECUTED 8:ef691dc4f7e4913ac7f5294b455aac03 addColumn tableName=billing_invoice \N 3.6.3 \N \N 6270177550 +#5085_20200330 - triggeredNextCharge has an incorrect value Mohammed_ELAZZOUZI src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:03:17.511154 901 EXECUTED 8:6d6795646dadc8752899afebefeaa43e update tableName=cat_charge_template \N 3.6.3 \N \N 6270177550 +#4903_GDPR_Anonymize_CF Mounir_BOUKAYOUA src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:03:17.757124 902 EXECUTED 8:02ea57fdcad162995449a2e46cb25991 addColumn tableName=crm_custom_field_tmpl \N 3.6.3 \N \N 6270177550 +#4879_20190121 AmineBENAICHA src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:03:18.004934 903 EXECUTED 8:d387ae2def516f7184efd88295a505ba addColumn tableName=cat_counter_template \N 3.6.3 \N \N 6270177550 +#5052_20200323 MohammedELAZZOUZI src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:03:18.439307 904 EXECUTED 8:501b5e221d3b913f4ed5d263395a0859 addColumn tableName=billing_rated_transaction; addForeignKeyConstraint baseTableName=billing_rated_transaction, constraintName=fk_input_billing_rated_transaction_cat_unit_of_measure, referencedTableName=cat_unit_of_measure; addForeignKeyConstraint... \N 3.6.3 \N \N 6270177550 +#5014_20200313 khalidHORRI src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:03:18.987169 905 EXECUTED 8:faa2bd9fcb376d36557e165ff8e93c6b addColumn tableName=crm_customer; addColumn tableName=ar_customer_account; addColumn tableName=billing_cycle; addColumn tableName=billing_billing_account \N 3.6.3 \N \N 6270177550 +#5014_20200402 khalidHORRI src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:03:19.308975 906 EXECUTED 8:1f7f1a7f1d046286af974d08a17ce3ff dropDefaultValue columnName=check_threshold, tableName=ar_customer_account; sql \N 3.6.3 \N \N 6270177550 +#5125_20200407 khalidHORRI src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:03:20.16697 907 EXECUTED 8:7afee406ec8ccbcb0e71e5be1f500ab9 sql; createTable tableName=cat_serv_usage_counter_template; addPrimaryKey constraintName=cat_serv_usage_counter_template_pkey, tableName=cat_serv_usage_counter_template; createTable tableName=cat_serv_rec_counter_template; addPrimaryKey constraint... \N 3.6.3 \N \N 6270177550 +#5174_20200423 AbdelmounaimAkadid src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:03:20.685063 908 EXECUTED 8:8d911f29962a3058b356315d26e025a6 addColumn tableName=ord_order_item \N 3.6.3 \N \N 6270177550 +#2447_20200421 khalidHORRI src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:03:21.04522 909 EXECUTED 8:3a1f0121f8daf7e43ecd0a02fdcad850 addColumn tableName=cat_price_plan_matrix \N 3.6.3 \N \N 6270177550 +#5130_20200414 khalidHORRI src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:03:21.911314 910 EXECUTED 8:48f2a68a15eee2f5c731056ef60c2075 addColumn tableName=cat_counter_template; addColumn tableName=billing_counter_period; createTable tableName=billing_counter_period_values; addPrimaryKey constraintName=billing_counter_period_values_pkey, tableName=billing_counter_period_values; ad... \N 3.6.3 \N \N 6270177550 +#4004_ Add_CustomField_to_OrderItem MohammedELAZZOUZI src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:03:22.39299 911 EXECUTED 8:ec2ada6dbfcfda8d150637c47d8e603a addColumn tableName=ord_order_item; sql; addNotNullConstraint columnName=uuid, tableName=ord_order_item \N 3.6.3 \N \N 6270177550 +#5174_20200504 AbdelmounaimAkadid src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:03:22.707986 912 EXECUTED 8:04c5d6f3339ffc62028c87259ef2929a sql; addUniqueConstraint constraintName=uk_order_item_code, tableName=ord_order_item \N 3.6.3 \N \N 6270177550 +#4792_20200504 khalidHORRI src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:03:23.13495 913 EXECUTED 8:d2493274ba1a0091728744426486566d addColumn tableName=billing_invoice_sub_cat; addColumn tableName=billing_wallet_operation; addColumn tableName=billing_rated_transaction; addColumn tableName=cat_charge_template \N 3.6.3 \N \N 6270177550 +#5279_20200608_Cancellation of a billing run is impossible anasseh src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:03:23.446944 914 EXECUTED 8:d772fb75b3b52e4eba96f1c6bddefa0e sql; sql \N 3.6.3 \N \N 6270177550 +#5266_20200622 AbdelmounaimAkadid src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:03:23.809338 915 EXECUTED 8:671b8ca2b6697c916557b3a0d2e47d80 dropColumn tableName=billing_counter_period \N 3.6.3 \N \N 6270177550 +#4150_20190415 - Disable standard jobs EdwardPLegaspi src/main/db_resources/changelog/current/data.xml 2024-01-26 14:03:24.113182 916 EXECUTED 8:efe73923a839e93335b02e534b593053 update tableName=meveo_job_instance; delete tableName=meveo_timer \N 3.6.3 \N \N 6270177550 +#4092_20190415 - Add SelfCare Settings EdwardPLegaspi src/main/db_resources/changelog/current/data.xml 2024-01-26 14:03:25.247182 917 EXECUTED 8:cb5283c246f048329ae720abf87fe0e1 insert tableName=adm_permission; insert tableName=adm_permission; insert tableName=adm_role; insert tableName=adm_role_permission; insert tableName=adm_role_permission; insert tableName=adm_user; insert tableName=adm_user_role; sql; insert tableNa... \N 3.6.3 \N \N 6270177550 +#4150_20190424 - Bring back the timers EdwardPLegaspi src/main/db_resources/changelog/current/data.xml 2024-01-26 14:03:25.615236 918 EXECUTED 8:7a30a21f7a4610e90a41709b66f74e20 insert tableName=meveo_timer; insert tableName=meveo_timer; insert tableName=meveo_timer \N 3.6.3 \N \N 6270177550 +#4082_20190404 SaidRamli src/main/db_resources/changelog/current/data.xml 2024-01-26 14:03:25.949561 919 EXECUTED 8:ad3d42978fee89a5f7fb74b89445266a sql; insert tableName=meveo_job_instance \N 3.6.3 \N \N 6270177550 +3139_20190225 horriKhalid src/main/db_resources/changelog/current/data.xml 2024-01-26 14:03:26.197586 920 EXECUTED 8:71f54499ba8d4e4b066ad8fd4a1949a0 insert tableName=meveo_job_instance \N 3.6.3 \N \N 6270177550 +4316_20190625_job horriKhalid src/main/db_resources/changelog/current/data.xml 2024-01-26 14:03:26.437327 921 EXECUTED 8:278064bb9126e4b52cbba18ef78519f0 insert tableName=meveo_job_instance \N 3.6.3 \N \N 6270177550 +4316_20190625_script horriKhalid src/main/db_resources/changelog/current/data.xml 2024-01-26 14:03:26.681299 922 EXECUTED 8:c393c5000d733aa5a839b7511508027e sql \N 3.6.3 \N \N 6270177550 +4403_20190701_export_job horriKhalid src/main/db_resources/changelog/current/data.xml 2024-01-26 14:03:26.926635 923 EXECUTED 8:1aa8db3f7bbb86fa12e59a5ad1078087 insert tableName=meveo_job_instance \N 3.6.3 \N \N 6270177550 +4403_20190701_purge_job horriKhalid src/main/db_resources/changelog/current/data.xml 2024-01-26 14:03:27.169237 924 EXECUTED 8:c240c5a7d9131059385975b81c55d58c insert tableName=meveo_job_instance \N 3.6.3 \N \N 6270177550 +4403_20190701_import_job horriKhalid src/main/db_resources/changelog/current/data.xml 2024-01-26 14:03:27.41124 925 EXECUTED 8:2fcee61fc2e9b2a5a9cb133277699fe8 insert tableName=meveo_job_instance \N 3.6.3 \N \N 6270177550 +#4150_20190717 - Error while running SALES_JOURNAL report extracts Mohammed_EL-AZZOUZI src/main/db_resources/changelog/current/data.xml 2024-01-26 14:03:27.655282 926 EXECUTED 8:1ffbe86a0489c783b97e2faf4b365d25 update tableName=dwh_report_extract \N 3.6.3 \N \N 6270177550 +#4449_20190724 AbdellatifBARI src/main/db_resources/changelog/current/data.xml 2024-01-26 14:03:27.965116 927 EXECUTED 8:d6a00e71c5e818e48f318e0330319b50 insert tableName=ar_occ_template; insert tableName=ar_occ_template \N 3.6.3 \N \N 6270177550 +#4550_20190904 AbdellatifBARI src/main/db_resources/changelog/current/data.xml 2024-01-26 14:03:28.269542 928 EXECUTED 8:9aa647f5ae7f113c221cfcbf32348748 update tableName=billing_trading_country; update tableName=billing_trading_country \N 3.6.3 \N \N 6270177550 +#4064_11092019 AbdelmounaimAkadid src/main/db_resources/changelog/current/data.xml 2024-01-26 14:03:28.51921 929 EXECUTED 8:b562e1e5a42d29ed7e98a4b49b94e039 insert tableName=meveo_job_instance \N 3.6.3 \N \N 6270177550 +#4742_20191030 MohamedSTITANE src/main/db_resources/changelog/current/data.xml 2024-01-26 14:03:28.829639 930 EXECUTED 8:b7df88aeb7e080368cce4b539a3d02e8 createSequence sequenceName=meveo_metrics_config_seq; createTable tableName=meveo_metrics_config \N 3.6.3 \N \N 6270177550 +4804_20191205 MohamedSTITANE src/main/db_resources/changelog/current/data.xml 2024-01-26 14:03:29.133533 931 EXECUTED 8:899aa3ff9fe2c5a6250a848716d6a928 update tableName=meveo_job_instance; update tableName=meveo_job_instance \N 3.6.3 \N \N 6270177550 +rebuild-data-cat_unit_of_measure Mohammed_ELAZZOUZI src/main/db_resources/changelog/current/data.xml 2024-01-26 14:03:30.101224 932 EXECUTED 8:fa1b48c1c74c68dfe1453fce0fb0ad26 insert tableName=cat_unit_of_measure; insert tableName=cat_unit_of_measure; insert tableName=cat_unit_of_measure; insert tableName=cat_unit_of_measure; insert tableName=cat_unit_of_measure; insert tableName=cat_unit_of_measure; insert tableName=ca... \N 3.6.3 \N \N 6270177550 +500X_20200218_purge_job mohamed.el.youssoufi src/main/db_resources/changelog/current/data.xml 2024-01-26 14:03:30.359309 933 EXECUTED 8:d448da0622c1571189fb3aec6fa22846 insert tableName=meveo_job_instance \N 3.6.3 \N \N 6270177550 +#4924_20200219 anasseh src/main/db_resources/changelog/current/data.xml 2024-01-26 14:03:30.669257 934 EXECUTED 8:f6e1ac45bb9dcad58264b345eca396c3 insert tableName=crm_provider_pay_methods; insert tableName=crm_provider_pay_methods \N 3.6.3 \N \N 6270177550 +#4924_20200219_2 anasseh src/main/db_resources/changelog/current/data.xml 2024-01-26 14:03:30.987506 935 EXECUTED 8:b8f36e9fbd8c35586ab8c633e7ef3d83 insert tableName=ar_occ_template; insert tableName=ar_occ_template \N 3.6.3 \N \N 6270177550 +rebuild-4.6-struct-complete AndriusKarpavicius src/main/db_resources/changelog/rebuild/structure.xml 2024-01-26 14:00:34.896529 782 EXECUTED 8:7ec071fa4b2524d5e7601b191846da2d delete tableName=DATABASECHANGELOG \N 3.6.3 \N \N 6270177550 +rebuild-data-currencies AndriusKarpavicius src/main/db_resources/changelog/rebuild/data.xml 2024-01-26 14:00:45.632881 783 EXECUTED 8:1782e9aa79ce2bb5a592263a9b843e5c insert tableName=adm_currency; insert tableName=adm_currency; insert tableName=adm_currency; insert tableName=adm_currency; insert tableName=adm_currency; insert tableName=adm_currency; insert tableName=adm_currency; insert tableName=adm_currency;... \N 3.6.3 \N \N 6270177550 +rebuild-data-languages AndriusKarpavicius src/main/db_resources/changelog/rebuild/data.xml 2024-01-26 14:00:47.830989 784 EXECUTED 8:0974afb3adc4e9dd6e82d0d915f3d5f3 insert tableName=adm_language; insert tableName=adm_language; insert tableName=adm_language; insert tableName=adm_language; insert tableName=adm_language; insert tableName=adm_language; insert tableName=adm_language; insert tableName=adm_language;... \N 3.6.3 \N \N 6270177550 +rebuild-data-countries AndriusKarpavicius src/main/db_resources/changelog/rebuild/data.xml 2024-01-26 14:01:02.823936 785 EXECUTED 8:8ebd48f0575c55a7f0d10489eb0e6b59 insert tableName=adm_country; insert tableName=adm_country; insert tableName=adm_country; insert tableName=adm_country; insert tableName=adm_country; insert tableName=adm_country; insert tableName=adm_country; insert tableName=adm_country; insert ... \N 3.6.3 \N \N 6270177550 +rebuild-data-permissions AndriusKarpavicius src/main/db_resources/changelog/rebuild/data.xml 2024-01-26 14:01:10.285551 786 EXECUTED 8:2b5f2d1d815dc93089c8d6d2d87db5a4 insert tableName=adm_permission; insert tableName=adm_permission; insert tableName=adm_permission; insert tableName=adm_permission; insert tableName=adm_permission; insert tableName=adm_permission; insert tableName=adm_permission; insert tableName... \N 3.6.3 \N \N 6270177550 +rebuild-data-calendarDays AndriusKarpavicius src/main/db_resources/changelog/rebuild/data.xml 2024-01-26 14:01:33.438681 787 EXECUTED 8:76085567ca5c58ce759ee693b7663d02 insert tableName=cat_day_in_year; insert tableName=cat_day_in_year; insert tableName=cat_day_in_year; insert tableName=cat_day_in_year; insert tableName=cat_day_in_year; insert tableName=cat_day_in_year; insert tableName=cat_day_in_year; insert ta... \N 3.6.3 \N \N 6270177550 +rebuild-data-providerDEMO AndriusKarpavicius src/main/db_resources/changelog/rebuild/data.xml 2024-01-26 14:01:33.810325 788 EXECUTED 8:4d990798667a0f45922e70dcea306cff insert tableName=billing_invoice_configuration; insert tableName=crm_provider; insert tableName=crm_provider_contact \N 3.6.3 \N \N 6270177550 +\. + + +-- +-- Data for Name: databasechangeloglock; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.databasechangeloglock (id, locked, lockgranted, lockedby) FROM stdin; +1 f \N \N +\. + + +-- +-- Data for Name: dunning_document; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.dunning_document (id, code, description, version, created, updated, creator, updater, customer_account_id, billing_subscription_id) FROM stdin; +\. + + +-- +-- Data for Name: dwh_account_operation; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.dwh_account_operation (id, account_code, account_description, accounting_code_id, accounting_code_client_side, amount, category, due_date, due_month, occ_code, occ_description, provider_code, reference, status, transaction_date, type, version) FROM stdin; +\. + + +-- +-- Data for Name: dwh_chart; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.dwh_chart (id, version, disabled, created, updated, code, description, extender, css_style, css_style_class, creator, updater, msr_qty_id, role_id, width, height, visible) FROM stdin; +\. + + +-- +-- Data for Name: dwh_chart_bar; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.dwh_chart_bar (animate, barmargin, barpadding, break_on_null, data_tip_format, legend_cols, legend_position, legend_rows, max, min, orientation, show_data_tip, stacked, x_axis_angle, x_axis_label, y_axis_angle, y_axis_label, zoom, id) FROM stdin; +\. + + +-- +-- Data for Name: dwh_chart_line; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.dwh_chart_line (animate, break_on_null, data_tip_format, filled, legend_cols, legend_position, legend_rows, max_x, max_y, min_x, min_y, series_colors, shadow, show_data_tip, stacked, x_axis_angle, x_axis_label, y_axis_angle, y_axis_label, zoom, id) FROM stdin; +\. + + +-- +-- Data for Name: dwh_chart_pie; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.dwh_chart_pie (diameter, filled, legend_cols, legend_position, legend_rows, series_colors, shadow, show_data_labels, slice_margin, id) FROM stdin; +\. + + +-- +-- Data for Name: dwh_journal_entries; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.dwh_journal_entries (id, accounting_code_id, amount_tax, amount_with_tax, amount_without_tax, customer_account_code, invoice_date, invoice_number, origin_id, provider_code, sub_cat_desc, tax_code, tax_description, tax_percent, type, version) FROM stdin; +\. + + +-- +-- Data for Name: dwh_measurable_quant; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.dwh_measurable_quant (id, version, disabled, created, updated, code, description, dimension_1, dimension_2, dimension_3, dimension_4, editable, last_measure_date, measurement_period, sql_query, theme, creator, updater, additive, description_i18n) FROM stdin; +\. + + +-- +-- Data for Name: dwh_measured_value; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.dwh_measured_value (id, version, date, measurement_period, value, measurable_quantity, dimension_1, dimension_2, dimension_3, dimension_4, code) FROM stdin; +\. + + +-- +-- Data for Name: dwh_report_extract; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.dwh_report_extract (id, version, disabled, creator, updater, created, updated, code, description, category, script_type, filename_format, sql_query, script_instance_id, result_type, style, image_path, uuid, cf_values, cf_values_accum, output_dir) FROM stdin; +-32 0 0 \N \N 2024-01-26 14:02:21.183234 \N KPICustomerRevenuReporting KPI Customers revenu revenu JAVA KPICustomerRevenuReporting-[yyyy_MM_dd].csv \N -17 CSV \N \N KPICustomerRevenuReporting_UUID \N \N reports/revenu +-33 0 0 \N \N 2024-01-26 14:02:21.183234 \N KPICustomersPerDunningReport Number of customer per Dunning level Dunning JAVA KPICustomersPerDunning-[yyyy_MM_dd].csv \N -18 CSV \N \N KPICustomersPerDunningReport_UUID \N \N reports/Dunning +-34 0 0 \N \N 2024-01-26 14:02:21.183234 \N KPICustomersPerOfferReport Number of customer per revenue tier (in a period) accounts JAVA KPICustomersPerOffer-[yyyy_MM_dd].csv \N -19 CSV \N \N KPICustomersPerOfferReport_UUID \N \N reports/accounts +-2 0 0 \N \N 2024-01-26 14:02:21.183234 \N ACCOUNT_OPS Export account operations sales JAVA accounts-ops-[yyyy_MM_dd].csv \N -1 CSV \N \N ACOUNT_OPS_UUID \N \N reports/sales +-3 0 0 \N \N 2024-01-26 14:02:21.183234 \N FULL_HIERARCHY Full hierarchy export customer SQL hierarchy-[yyyyMMdd].csv select s.code AS "Seller code"\n\t, s.description AS "Seller description"\n\t, coalesce(ce.code, '') AS "Customer code"\n\t, coalesce(replace(ce.description, ',', ' '), '') AS "Customer description"\n\t, coalesce(cae.code, '') AS "Customer Account code"\n\t, coalesce(replace(cae.description, ',', ' '), '') AS "Customer Account description"\n\t, coalesce(bae.code, '') AS "Billing Account code"\n\t, coalesce(replace(bae.description, ',', ' '), '') AS "Billing Account description"\n\t, coalesce(uae.code, '') AS "User Account code"\n\t, coalesce(replace(uae.description, ',', ' '), '') AS "User Account description"\n\t, coalesce(su.code, '') AS "Subscription code"\n\t, coalesce(replace(su.description, ',', ' '), '') AS "Subscription description"\n\t, coalesce(ap.acces_user_id, '') AS "Access Point id" \nfrom crm_seller s left\n\tOUTER JOIN crm_customer c on c.seller_id = s.id left\n\tOUTER JOIN account_entity ce on c.id = ce.id left\n\tOUTER JOIN ar_customer_account ca on ca.customer_id = c.id left\n\tOUTER JOIN account_entity cae on ca.id = cae.id left\n\tOUTER JOIN billing_billing_account ba on ba.customer_account_id = ca.id left\n\tOUTER JOIN account_entity bae on ba.id = bae.id left\n\tOUTER JOIN billing_user_account ua on ua.billing_account_id = ba.id left\n\tOUTER JOIN account_entity uae on ua.id = uae.id left\n\tOUTER JOIN billing_subscription su on su.user_account_id = ua.id left\n\tOUTER JOIN medina_access ap on ap.subscription_id = su.id \nwhere s.code ilike '%' || :SEARCH_CRITERION || '%' or s.description ilike '%' \n\t|| :SEARCH_CRITERION || '%' or ce.code ilike '%' || :SEARCH_CRITERION \n\t|| '%' or ce.description ilike '%' || :SEARCH_CRITERION || '%' or cae.code ilike '%' \n\t|| :SEARCH_CRITERION || '%' or cae.description ilike '%' || :SEARCH_CRITERION \n\t|| '%' or bae.code ilike '%' || :SEARCH_CRITERION || '%' or bae.description ilike '%' \n\t|| :SEARCH_CRITERION || '%' or uae.code ilike '%' || :SEARCH_CRITERION \n\t|| '%' or uae.description ilike '%' || :SEARCH_CRITERION || '%' or su.code ilike '%' \n\t|| :SEARCH_CRITERION || '%' or su.description ilike '%' || :SEARCH_CRITERION \n\t|| '%' or ap.acces_user_id ilike '%' || :SEARCH_CRITERION || '%' \norder by s.code\n\t,ce.code\n\t,cae.code\n\t,bae.code\n\t,uae.code\n\t,su.code\n\t,ap.acces_user_id \N CSV \N \N FULL_HIERARCHY_UUID \N \N reports/customer +-25 0 0 \N \N 2024-01-26 14:02:21.183234 \N INVOICES Invoices per month invoiced SQL invoices-[yyyyMMdd].csv select trim(to_char(date_trunc('month', i.invoice_date), 'Month')) || to_char(date_trunc('month', i.invoice_date), ' YYYY') AS "Month"\n , to_char(i.invoice_date, 'YYYY-MM-DD') AS "Invoice date"\n , i.invoice_number AS "Invoice number"\n , to_char(i.amount_without_tax, '9999999990.00') AS "Amount without tax"\n , to_char(i.amount_with_tax, '9999999990.00') AS "Amount with tax"\n , it.code AS "Invoice type code"\n , it.description AS "Invoice type description"\n , s.code AS "Seller code"\n , s.description AS "Seller description"\n , ce.code AS "Customer code"\n , ce.description AS "Customer description"\n , cae.code AS "Customer Account code"\n , cae.description AS "Customer Account description"\n , bae.code AS "Billing Account code"\n , bae.description AS "Billing Account description" \nfrom crm_seller s\n INNER JOIN crm_customer c on c.seller_id = s.id\n INNER JOIN account_entity ce on c.id = ce.id\n INNER JOIN ar_customer_account ca on ca.customer_id = c.id\n INNER JOIN account_entity cae on ca.id = cae.id\n INNER JOIN billing_billing_account ba on ba.customer_account_id = ca.id\n INNER JOIN account_entity bae on ba.id = bae.id\n INNER JOIN billing_invoice i on i.billing_account_id = ba.id\n INNER JOIN billing_invoice_type it on it.id = i.invoice_type_id \nwhere i.invoice_date > (date_trunc('month', CURRENT_DATE) - CAST(:MONTH_INTERVAL || ' month' AS INTERVAL)) \nand( s.code ilike '%' || :SEARCH_CRITERION || '%' or s.description ilike '%' || :SEARCH_CRITERION \n || '%' or ce.code ilike '%' || :SEARCH_CRITERION || '%' or ce.description ilike '%' || :SEARCH_CRITERION \n || '%' or cae.code ilike '%' || :SEARCH_CRITERION || '%' or cae.description ilike '%' || :SEARCH_CRITERION \n || '%' or bae.code ilike '%' || :SEARCH_CRITERION || '%' or bae.description ilike '%' || :SEARCH_CRITERION \n || '%' ) \norder by date_trunc('month', i.invoice_date) DESC\n , i.invoice_date DESC\n , it.code\n , i.invoice_number \N CSV \N \N INVOICES_UUID \N \N reports/invoiced +-1 0 0 \N \N 2024-01-26 14:02:21.183234 \N SALES_JOURNAL Sales Journal sales SQL sales-[yyyy_MM_dd].html SELECT\n\t\t\t\t TO_CHAR(ao.invoice_date,'MM') AS "Mois",\n\t\t\t\t TO_CHAR(ao.invoice_date,'DD/MM/YYYY') AS "Date facture",\n\t\t\t\t text('HG') AS "Code comptable",\n\t\t\t\t ae.code AS "Client facturé",\n\t\t\t\t text('MAI') AS "Type article",\n\t\t\t\t split_part(bac.code, ',', 6) AS "Famille statistique",\n\t\t\t\t split_part(bac.code, ',', 2) AS "Article",\n\t\t\t\t trim(TO_CHAR(ia.amount_without_tax,'9999990D00')) AS "Montant HT",\n\t\t\t\t trim(TO_CHAR(ia.quantity,'9999990')) AS "Qté facturée",\n\t\t\t\t ao.reference AS "No facture",\n\t\t\t\t ao.description AS "Catégorie facture",\n\t\t\t\t ao.code AS "Type de pièce",\n\t\t\t\t text('VEN') AS "Journal"\n\t\t\t\tFROM\n\t\t\t\t account_entity ae\n\t\t\t\tINNER JOIN ar_account_operation ao ON ao.customer_account_id = ae.id\n\t\t\t\tINNER JOIN billing_invoice i ON i.invoice_number = ao.reference\n\t\t\t\tINNER JOIN billing_invoice_agregate ia ON (ia.invoice_id = i.id AND type = 'F')\n\t\t\t\tLEFT JOIN billing_accounting_code bac ON bac.id = ia.accounting_code_id\n\t\t\t\tWHERE :START_DATE<>:END_DATE\n\t\t\t\tAND ae.account_type = 'ACCT_CA'\n\t\t\t\tAND ao.invoice_date >= to_date('01/' || TO_CHAR(CURRENT_DATE,'MM/YYYY'),'DD/MM/YYYY') + interval '-12 month'\n\t\t\t\tAND ao.invoice_date <= to_date('01/' || TO_CHAR(CURRENT_DATE,'MM/YYYY'),'DD/MM/YYYY') + interval '0 month'\n\t\t\t\tORDER BY\n\t\t\t\t ae.code,\n\t\t\t\t ao.code,\n\t\t\t\t split_part(bac.code, ',', 6),\n\t\t\t\t split_part(bac.code, ',', 2) \N HTML \N \N SALES_JOURNAL_UUID \N \N reports/sales +-4 0 0 \N \N 2024-01-26 14:02:21.183234 \N CUSTOMERS_PER_SELLER Customers per seller customer SQL customers_per_seller-[yyyyMMdd].csv select s.code AS "Seller code"\n\t\t\t\t\t , s.description AS "Seller description"\n\t\t\t\t\t , coalesce(ce.code, '') AS "Customer code"\n\t\t\t\t\t , coalesce(replace(ce.description, ',', ' '), '') AS "Customer description" \n\t\t\t\t\tfrom crm_seller s left\n\t\t\t\t\t OUTER JOIN crm_customer c on c.seller_id = s.id left\n\t\t\t\t\t OUTER JOIN account_entity ce on c.id = ce.id \n\t\t\t\t\twhere( s.code ilike '%' || :SEARCH_CRITERION \n\t\t\t\t\t || '%' or s.description ilike '%' || :SEARCH_CRITERION || '%' or ce.code ilike '%' \n\t\t\t\t\t || :SEARCH_CRITERION || '%' or ce.description ilike '%' || :SEARCH_CRITERION || '%' ) \n\t\t\t\t\tand ( s.code ilike '%' || :SELLER || '%' or s.description ilike '%' || :SELLER || '%' ) \n\t\t\t\t\torder by s.code\n\t\t\t\t\t ,ce.code \N CSV \N \N CUSTOMERS_PER_SELLER_UUID \N \N reports/customer +-5 0 0 \N \N 2024-01-26 14:02:21.183234 \N INVOICED_GLOBAL Total invoiced amount per month for interval (ex: last 12 months = -12 month) invoiced SQL invoiced_global-[yyyyMMdd].csv select trim(to_char(date_trunc('month', i.invoice_date), 'Month')) || to_char(date_trunc('month', i.invoice_date), ' YYYY') AS "Month"\n , it.code AS "Invoice type code"\n , it.description AS "Invoice type description"\n , trim(to_char(sum(i.amount_without_tax), '9999999990.00')) AS "Amount without tax"\n , trim(to_char(sum(i.amount_with_tax), '9999999990.00')) AS "Amount with tax" \nfrom billing_invoice i \n INNER JOIN billing_invoice_type it on it.id = i.invoice_type_id \nwhere i.invoice_date > (date_trunc('month', CURRENT_DATE) - CAST(:MONTH_INTERVAL || ' month' AS INTERVAL)) \ngroup by date_trunc('month', i.invoice_date)\n , it.code\n , it.description order by date_trunc('month', i.invoice_date) DESC\n , it.code DESC \N CSV \N \N INVOICED_GLOBAL_UUID \N \N reports/invoiced +-6 0 0 \N \N 2024-01-26 14:02:21.183234 \N INVOICED_BA_HIERARCHY Invoiced per Billing Account with hierarchy per month for interval, global filter invoiced SQL invoiced_per_billing_account_hierarchy-[yyyyMMdd].csv select trim(to_char(date_trunc('month', i.invoice_date), 'Month')) || to_char(date_trunc('month', i.invoice_date), ' YYYY') AS "Month"\n\t, s.code AS "Seller code"\n\t, s.description AS "Seller description"\n\t, ce.code AS "Customer code"\n\t, ce.description AS "Customer description"\n\t, cae.code AS "Customer Account code"\n\t, cae.description AS "Customer Account description"\n\t, bae.code AS "Billing Account code"\n\t, bae.description AS "Billing Account description"\n\t, it.code AS "Invoice type code"\n\t, it.description AS "Invoice type description"\n\t, to_char(sum(i.amount_without_tax), '9999999990.00') AS "Amount without tax"\n\t, to_char(sum(i.amount_with_tax), '9999999990.00') AS "Amount with tax" \nfrom crm_seller s \n\tINNER JOIN crm_customer c on c.seller_id = s.id\n\tINNER JOIN account_entity ce on c.id = ce.id\n\tINNER JOIN ar_customer_account ca on ca.customer_id = c.id\n\tINNER JOIN account_entity cae on ca.id = cae.id\n\tINNER JOIN billing_billing_account ba on ba.customer_account_id = ca.id\n\tINNER JOIN account_entity bae on ba.id = bae.id\n\tINNER JOIN billing_invoice i on i.billing_account_id = ba.id\n\tINNER JOIN billing_invoice_type it on it.id = i.invoice_type_id \nwhere i.invoice_date > (date_trunc('month', CURRENT_DATE) - CAST(:MONTH_INTERVAL || ' month' AS INTERVAL)) \nand( s.code ilike '%' || :SEARCH_CRITERION || '%' or s.description ilike '%' || :SEARCH_CRITERION \n\t|| '%' or ce.code ilike '%' || :SEARCH_CRITERION || '%' or ce.description ilike '%' || :SEARCH_CRITERION \n\t|| '%' or cae.code ilike '%' || :SEARCH_CRITERION || '%' or cae.description ilike '%' || :SEARCH_CRITERION \n\t|| '%' or bae.code ilike '%' || :SEARCH_CRITERION || '%' or bae.description ilike '%' || :SEARCH_CRITERION \n\t|| '%' ) group by date_trunc('month', i.invoice_date)\n\t, it.code\n\t, it.description\n\t, s.code\n\t, s.description\n\t, ce.code\n\t, ce.description\n\t, cae.code\n\t, cae.description\n\t, bae.code\n\t, bae.description order by date_trunc('month', i.invoice_date) DESC\n\t, it.code DESC\n\t, s.code\n\t, ce.code\n\t, cae.code\n\t, bae.code \N CSV \N \N INVOICED_BA_HIERARCHY_UUID \N \N reports/invoiced +-7 0 0 \N \N 2024-01-26 14:02:21.183234 \N INVOICED_BA Invoiced per Billing Account per month for interval, global filter invoiced SQL invoiced_per_billing_account-[yyyyMMdd].csv select trim(to_char(date_trunc('month', i.invoice_date), 'Month')) || to_char(date_trunc('month', i.invoice_date), ' YYYY') AS "Month"\n\t, bae.code AS "Billing Account code"\n\t, bae.description AS "Billing Account description"\n\t, it.code AS "Invoice type code"\n\t, it.description AS "Invoice type description"\n\t, to_char(sum(i.amount_without_tax), '9999999990.00') AS "Amount without tax"\n\t, to_char(sum(i.amount_with_tax), '9999999990.00') AS "Amount with tax" \nfrom crm_seller s\n\tINNER JOIN crm_customer c on c.seller_id = s.id\n\tINNER JOIN ar_customer_account ca on ca.customer_id = c.id\n\tINNER JOIN billing_billing_account ba on ba.customer_account_id = ca.id\n\tINNER JOIN account_entity bae on ba.id = bae.id\n\tINNER JOIN billing_invoice i on i.billing_account_id = ba.id\n\tINNER JOIN billing_invoice_type it on it.id = i.invoice_type_id \nwhere i.invoice_date > (date_trunc('month', CURRENT_DATE) - CAST(:MONTH_INTERVAL || ' month' AS INTERVAL)) \nand( bae.code ilike '%' || :SEARCH_CRITERION || '%' or bae.description ilike '%' || :SEARCH_CRITERION || '%' ) \ngroup by date_trunc('month', i.invoice_date)\n\t, it.code\n\t, it.description\n\t, bae.code\n\t, bae.description order by date_trunc('month', i.invoice_date) DESC\n\t, it.code DESC\n\t, bae.code \N CSV \N \N INVOICED_BA_UUID \N \N reports/invoiced +-13 0 0 \N \N 2024-01-26 14:02:21.183234 \N RECORDED_BA_HIERARCHY Recorded per Billing Account with Hierarchy per month for interval, global filter recorded SQL recorded_per_billing_account_hierarchy-[yyyyMMdd].csv SELECT trim(to_char(date_trunc('month', ao.invoice_date), 'Month')) || to_char(date_trunc('month', ao.invoice_date), ' YYYY') AS "Month"\n ,s.code AS "Seller code"\n ,s.description AS "Seller description"\n ,ce.code AS "Customer code"\n ,ce.description AS "Customer description"\n ,cae.code AS "Customer Account code"\n ,cae.description AS "Customer Account description"\n ,bae.code AS "Billing Account code"\n ,bae.description AS "Billing Account description"\n ,to_char(sum(CASE \n WHEN ao.transaction_category = 'DEBIT'\n THEN ao.amount\n ELSE 0\n END), '99999999990.00') AS "Amount DEBIT"\n ,to_char(sum(CASE \n WHEN ao.transaction_category = 'CREDIT'\n THEN ao.amount\n ELSE 0\n END), '99999999990.00') AS "Amount CREDIT"\n ,to_char(sum(CASE \n WHEN ao.transaction_category = 'DEBIT'\n THEN ao.amount\n ELSE - ao.amount\n END), '99999999990.00') AS "Balance"\nFROM crm_seller s\n INNER JOIN crm_customer c ON c.seller_id = s.id\n INNER JOIN account_entity ce ON c.id = ce.id\n INNER JOIN ar_customer_account ca ON ca.customer_id = c.id\n INNER JOIN account_entity cae ON ca.id = cae.id\n INNER JOIN billing_billing_account ba ON ba.customer_account_id = ca.id\n INNER JOIN account_entity bae ON ba.id = bae.id\n INNER JOIN billing_invoice i ON i.billing_account_id = ba.id\n INNER JOIN ar_account_operation ao ON ao.customer_account_id = ca.id\n AND ao.reference = i.invoice_number\n AND ao.invoice_date = i.invoice_date\n AND ao.amount = abs(i.amount_with_tax)\nWHERE ao.invoice_date IS NOT NULL\n AND ao.invoice_date > (date_trunc('month', CURRENT_DATE) - CAST(:MONTH_INTERVAL || ' month' AS INTERVAL))\n AND (\n s.code ilike '%' || :SEARCH_CRITERION || '%'\n OR s.description ilike '%' || :SEARCH_CRITERION || '%'\n OR ce.code ilike '%' || :SEARCH_CRITERION || '%'\n OR ce.description ilike '%' || :SEARCH_CRITERION || '%'\n OR cae.code ilike '%' || :SEARCH_CRITERION || '%'\n OR cae.description ilike '%' || :SEARCH_CRITERION || '%'\n OR bae.code ilike '%' || :SEARCH_CRITERION || '%'\n OR bae.description ilike '%' || :SEARCH_CRITERION || '%'\n )\nGROUP BY date_trunc('month', ao.invoice_date)\n ,s.code\n ,s.description\n ,ce.code\n ,ce.description\n ,cae.code\n ,cae.description\n ,bae.code\n ,bae.description\nORDER BY date_trunc('month', ao.invoice_date) DESC\n ,s.code\n ,ce.code\n ,cae.code\n ,bae.code \N CSV \N \N RECORDED_BA_HIERARCHY_UUID \N \N reports/recorded +-8 0 0 \N \N 2024-01-26 14:02:21.183234 \N INVOICED_CA Invoiced per Customer Account per month for interval, global filter invoiced SQL invoiced_per_customer_account-[yyyyMMdd].csv select trim(to_char(date_trunc('month', i.invoice_date), 'Month')) || to_char(date_trunc('month', i.invoice_date), ' YYYY') AS "Month"\n , cae.code AS "Customer Account code"\n , cae.description AS "Customer Account description"\n , it.code AS "Invoice type code"\n , it.description AS "Invoice type description"\n , to_char(sum(i.amount_without_tax), '9999999990.00') AS "Amount without tax"\n , to_char(sum(i.amount_with_tax), '9999999990.00') AS "Amount with tax" \nfrom crm_seller s\n INNER JOIN crm_customer c on c.seller_id = s.id\n INNER JOIN ar_customer_account ca on ca.customer_id = c.id\n INNER JOIN account_entity cae on ca.id = cae.id\n INNER JOIN billing_billing_account ba on ba.customer_account_id = ca.id\n INNER JOIN billing_invoice i on i.billing_account_id = ba.id\n INNER JOIN billing_invoice_type it on it.id = i.invoice_type_id \nwhere i.invoice_date > (date_trunc('month', CURRENT_DATE) - CAST(:MONTH_INTERVAL || ' month' AS INTERVAL)) \nand( cae.code ilike '%' || :SEARCH_CRITERION || '%' or cae.description ilike '%' || :SEARCH_CRITERION || '%' ) \ngroup by date_trunc('month', i.invoice_date)\n , it.code\n , it.description\n , cae.code\n , cae.description order by date_trunc('month', i.invoice_date) DESC\n , it.code DESC\n , cae.code \N CSV \N \N INVOICED_CA_UUID \N \N reports/invoiced +-26 0 0 \N \N 2024-01-26 14:02:21.183234 \N EDR EDR by status, global filter edr SQL edr_by_status-[yyyyMMdd].csv SELECT edr.id AS "Id"\n , edr.STATUS AS "Status"\n , edr.reject_reason AS "Rejection reason"\n , edr.access_code AS "Access code"\n , su.code AS "Subscription code"\n , of.code AS "Offer code"\n , edr.event_date AS "Event date"\n , edr.origin_batch AS "Origin batch"\n , edr.origin_record AS "Origin record"\n , edr.quantity AS "Quantity"\n , edr.parameter_1 AS "Param S1"\n , edr.parameter_2 AS "Param S2"\n , edr.parameter_3 AS "Param S3"\n , edr.parameter_4 AS "Param S4"\n , edr.parameter_5 AS "Param S5"\n , edr.parameter_6 AS "Param S6"\n , edr.parameter_7 AS "Param S7"\n , edr.parameter_8 AS "Param S8"\n , edr.parameter_9 AS "Param S9"\n , edr.date_parameter_1 AS "Param D1"\n , edr.date_parameter_2 AS "Param D2"\n , edr.date_parameter_3 AS "Param D3"\n , edr.date_parameter_4 AS "Param D4"\n , edr.date_parameter_5 AS "Param D5"\n , edr.decimal_parameter_1 AS "Param N1"\n , edr.decimal_parameter_2 AS "Param N2"\n , edr.decimal_parameter_3 AS "Param N3"\n , edr.decimal_parameter_4 AS "Param N4"\n , edr.decimal_parameter_5 AS "Param N5" \nfrom rating_edr edr\n INNER JOIN billing_subscription su on su.id = edr.subscription_id\n INNER JOIN cat_offer_template of on OF.id = su.offer_id where edr.event_date > (date_trunc('month', CURRENT_DATE) - CAST(:MONTH_INTERVAL || ' month' AS INTERVAL)) \nand edr.STATUS ilike '%' || :EDR_STATUS || '%' and( su.code ilike '%' || :SEARCH_CRITERION || '%' or OF.code ilike '%' \n || :SEARCH_CRITERION || '%' or edr.access_code ilike '%' || :SEARCH_CRITERION || '%' or edr.reject_reason ilike '%' \n || :SEARCH_CRITERION || '%' or edr.origin_batch ilike '%' || :SEARCH_CRITERION || '%' or edr.origin_record ilike '%' \n || :SEARCH_CRITERION || '%' or edr.parameter_1 ilike '%' || :SEARCH_CRITERION || '%' or edr.parameter_2 ilike '%' \n || :SEARCH_CRITERION || '%' or edr.parameter_3 ilike '%' || :SEARCH_CRITERION || '%' or edr.parameter_4 ilike '%' \n || :SEARCH_CRITERION || '%' or edr.parameter_5 ilike '%' || :SEARCH_CRITERION || '%' or edr.parameter_6 ilike '%' \n || :SEARCH_CRITERION || '%' or edr.parameter_7 ilike '%' || :SEARCH_CRITERION || '%' or edr.parameter_8 ilike '%' \n || :SEARCH_CRITERION || '%' or edr.parameter_9 ilike '%' || :SEARCH_CRITERION || '%') \norder by edr.STATUS, edr.id DESC \N CSV \N \N EDR_UUID \N \N reports/edr +-9 0 0 \N \N 2024-01-26 14:02:21.183234 \N INVOICED_C Invoiced per Customer per month for interval, global filter invoiced SQL invoiced_per_customer-[yyyyMMdd].csv select trim(to_char(date_trunc('month', i.invoice_date), 'Month')) || to_char(date_trunc('month', i.invoice_date), ' YYYY') AS "Month"\n\t, ce.code AS "Customer code"\n\t, ce.description AS "Customer description"\n\t, it.code AS "Invoice type code"\n\t, it.description AS "Invoice type description"\n\t, to_char(sum(i.amount_without_tax), '9999999990.00') AS "Amount without tax"\n\t, to_char(sum(i.amount_with_tax), '9999999990.00') AS "Amount with tax" \nfrom crm_seller s\n\tINNER JOIN crm_customer c on c.seller_id = s.id\n\tINNER JOIN account_entity ce on c.id = ce.id\n\tINNER JOIN ar_customer_account ca on ca.customer_id = c.id\n\tINNER JOIN billing_billing_account ba on ba.customer_account_id = ca.id\n\tINNER JOIN billing_invoice i on i.billing_account_id = ba.id\n\tINNER JOIN billing_invoice_type it on it.id = i.invoice_type_id \nwhere i.invoice_date > (date_trunc('month', CURRENT_DATE) - CAST(:MONTH_INTERVAL || ' month' AS INTERVAL)) \nand( ce.code ilike '%' || :SEARCH_CRITERION || '%' or ce.description ilike '%' || :SEARCH_CRITERION || '%' ) \ngroup by date_trunc('month', i.invoice_date)\n\t, it.code\n\t, it.description\n\t, ce.code\n\t, ce.description order by date_trunc('month', i.invoice_date) DESC\n\t, it.code DESC\n\t, ce.code \N CSV \N \N INVOICED_C_UUID \N \N reports/invoiced +-10 0 0 \N \N 2024-01-26 14:02:21.183234 \N INVOICED_S Invoiced per Seller per month for interval, global filter invoiced SQL invoiced_per_seller-[yyyyMMdd].csv select trim(to_char(date_trunc('month', i.invoice_date), 'Month')) || to_char(date_trunc('month', i.invoice_date), ' YYYY') AS Month \n , s.code AS "Seller code"\n , s.description AS "Seller description"\n , it.code AS "Invoice type code"\n , it.description AS "Invoice type description"\n , to_char(sum(i.amount_without_tax), '9999999990.00') AS "Amount without tax"\n , to_char(sum(i.amount_with_tax), '9999999990.00') AS "Amount with tax" \nfrom crm_seller s\n INNER JOIN crm_customer c on c.seller_id = s.id\n INNER JOIN ar_customer_account ca on ca.customer_id = c.id\n INNER JOIN billing_billing_account ba on ba.customer_account_id = ca.id\n INNER JOIN billing_invoice i on i.billing_account_id = ba.id\n INNER JOIN billing_invoice_type it on it.id = i.invoice_type_id \nwhere i.invoice_date > (date_trunc('month', CURRENT_DATE) - CAST(:MONTH_INTERVAL || 'month' AS INTERVAL)) \nand( s.code ilike '%' || :SEARCH_CRITERION || '%' or s.description ilike '%' || :SEARCH_CRITERION || '%' ) \ngroup by date_trunc('month', i.invoice_date)\n , it.code\n , it.description\n , s.code\n , s.description order by date_trunc('month', i.invoice_date) DESC\n , it.code DESC\n , s.code \N CSV \N \N INVOICED_S_UUID \N \N reports/invoiced +-11 0 0 \N \N 2024-01-26 14:02:21.183234 \N INVOICED_OF Invoiced per Offer per month for interval, global filter invoiced SQL invoiced_per_offer-[yyyyMMdd].csv select trim(to_char(date_trunc('month', i.invoice_date), 'Month')) || to_char(date_trunc('month', i.invoice_date), ' YYYY') AS "Month"\n , of.code AS "Offer code"\n , of.description AS "Offer description"\n , it.code AS "Invoice type code"\n , it.description AS "Invoice type description"\n , to_char(sum(rt.amount_without_tax), '9999999990.00') AS "Amount without tax"\n , to_char(sum(rt.amount_with_tax), '9999999990.00') AS "Amount with tax" \n from cat_offer_template of\n INNER JOIN billing_wallet_operation wo on wo.offer_code = OF.code\n INNER JOIN billing_rated_transaction rt on wo.rated_transaction_id = rt.id\n INNER JOIN billing_invoice i on i.id = rt.invoice_id\n INNER JOIN billing_invoice_type it on it.id = i.invoice_type_id \n where i.invoice_date > (date_trunc('month', CURRENT_DATE) - CAST(:MONTH_INTERVAL || ' month' AS INTERVAL)) \n and( of.code ilike '%' || :SEARCH_CRITERION || '%' or OF.description ilike '%' || :SEARCH_CRITERION || '%' ) \n group by date_trunc('month', i.invoice_date)\n , it.code\n , it.description\n , of.code\n , of.description order by date_trunc('month', i.invoice_date) DESC\n , it.code DESC\n , of.code \N CSV \N \N INVOICED_OF_UUID \N \N reports/invoiced +-12 0 0 \N \N 2024-01-26 14:02:21.183234 \N RECORDED_GLOBAL Recorded invoices per month for interval, global filter recorded SQL recorded_global-[yyyyMMdd].csv SELECT trim(to_char(date_trunc('month', ao.invoice_date), 'Month')) || to_char(date_trunc('month', ao.invoice_date), ' YYYY') AS "Month"\n ,to_char(sum(CASE \n WHEN ao.transaction_category = 'DEBIT'\n THEN ao.amount\n ELSE 0\n END), '99999999990.00') AS "Amount DEBIT"\n ,to_char(sum(CASE \n WHEN ao.transaction_category = 'CREDIT'\n THEN ao.amount\n ELSE 0\n END), '99999999990.00') AS "Amount CREDIT"\n ,to_char(sum(CASE \n WHEN ao.transaction_category = 'DEBIT'\n THEN ao.amount\n ELSE - ao.amount\n END), '99999999990.00') AS "Balance"\nFROM ar_account_operation ao\nWHERE ao.invoice_date IS NOT NULL\nAND ao.invoice_date > (date_trunc('month', CURRENT_DATE) - CAST(:MONTH_INTERVAL || ' month' AS INTERVAL))\nGROUP BY date_trunc('month', ao.invoice_date)\nORDER BY date_trunc('month', ao.invoice_date) DESC \N CSV \N \N RECORDED_GLOBAL_UUID \N \N reports/recorded +-14 0 0 \N \N 2024-01-26 14:02:21.183234 \N RECORDED_BA Recorded per Billing Account per month for interval, global filter recorded SQL recorded_per_billing_account-[yyyyMMdd].csv SELECT trim(to_char(date_trunc('month', ao.invoice_date), 'Month')) || to_char(date_trunc('month', ao.invoice_date), ' YYYY') AS "Month"\n ,bae.code AS "Billing Account code"\n ,bae.description AS "Billing Account description"\n ,to_char(sum(CASE \n WHEN ao.transaction_category = 'DEBIT'\n THEN ao.amount\n ELSE 0\n END), '99999999990.00') AS "Amount DEBIT"\n ,to_char(sum(CASE \n WHEN ao.transaction_category = 'CREDIT'\n THEN ao.amount\n ELSE 0\n END), '99999999990.00') AS "Amount CREDIT"\n ,to_char(sum(CASE \n WHEN ao.transaction_category = 'DEBIT'\n THEN ao.amount\n ELSE - ao.amount\n END), '99999999990.00') AS "Balance"\nFROM crm_seller s\n INNER JOIN crm_customer c ON c.seller_id = s.id\n INNER JOIN ar_customer_account ca ON ca.customer_id = c.id\n INNER JOIN billing_billing_account ba ON ba.customer_account_id = ca.id\n INNER JOIN account_entity bae ON ba.id = bae.id\n INNER JOIN billing_invoice i ON i.billing_account_id = ba.id\n INNER JOIN ar_account_operation ao ON ao.customer_account_id = ca.id\n AND ao.reference = i.invoice_number\n AND ao.invoice_date = i.invoice_date\n AND ao.amount = abs(i.amount_with_tax)\nWHERE ao.invoice_date IS NOT NULL\n AND ao.invoice_date > (date_trunc('month', CURRENT_DATE) - CAST(:MONTH_INTERVAL || ' month' AS INTERVAL))\n AND (\n bae.code ilike '%' || :SEARCH_CRITERION || '%'\n OR bae.description ilike '%' || :SEARCH_CRITERION || '%'\n )\nGROUP BY date_trunc('month', ao.invoice_date)\n ,bae.code\n ,bae.description\nORDER BY date_trunc('month', ao.invoice_date) DESC\n ,bae.code \N CSV \N \N RECORDED_BA_UUID \N \N reports/recorded +-27 0 0 \N \N 2024-01-26 14:02:21.183234 \N AgedBalanceReport Aged Balance Report AgedBalance JAVA AgedBalanceReporting-[yyyy_MM_dd].csv \N -12 CSV \N \N AgedBalanceReport_UUID \N \N reports/AgedBalance +-15 0 0 \N \N 2024-01-26 14:02:21.183234 \N RECORDED_CA Recorded per Customer Account per month for interval, global filter recorded SQL recorded_per_customer_account-[yyyyMMdd].csv SELECT trim(to_char(date_trunc('month', ao.invoice_date), 'Month')) || to_char(date_trunc('month', ao.invoice_date), ' YYYY') AS "Month"\n ,cae.code AS "Customer Account code"\n ,cae.description AS "Customer Account description"\n ,to_char(sum(CASE \n WHEN ao.transaction_category = 'DEBIT'\n THEN ao.amount\n ELSE 0\n END), '99999999990.00') AS "Amount DEBIT"\n ,to_char(sum(CASE \n WHEN ao.transaction_category = 'CREDIT'\n THEN ao.amount\n ELSE 0\n END), '99999999990.00') AS "Amount CREDIT"\n ,to_char(sum(CASE \n WHEN ao.transaction_category = 'DEBIT'\n THEN ao.amount\n ELSE - ao.amount\n END), '99999999990.00') AS "Balance"\nFROM crm_seller s\n INNER JOIN crm_customer c ON c.seller_id = s.id\n INNER JOIN ar_customer_account ca ON ca.customer_id = c.id\n INNER JOIN account_entity cae ON ca.id = cae.id\n INNER JOIN ar_account_operation ao ON ao.customer_account_id = ca.id\nWHERE ao.invoice_date IS NOT NULL\n AND ao.invoice_date > (date_trunc('month', CURRENT_DATE) - CAST(:MONTH_INTERVAL || ' month' AS INTERVAL))\n AND (\n cae.code ilike '%' || :SEARCH_CRITERION || '%'\n OR cae.description ilike '%' || :SEARCH_CRITERION || '%'\n )\nGROUP BY date_trunc('month', ao.invoice_date)\n ,cae.code\n ,cae.description\nORDER BY date_trunc('month', ao.invoice_date) DESC\n ,cae.code \N CSV \N \N RECORDED_CA_UUID \N \N reports/recorded +-16 0 0 \N \N 2024-01-26 14:02:21.183234 \N RECORDED_C Recorded per Customer per month for interval, global filter recorded SQL recorded_per_customer-[yyyyMMdd].csv SELECT trim(to_char(date_trunc('month', ao.invoice_date), 'Month')) || to_char(date_trunc('month', ao.invoice_date), ' YYYY') AS "Month"\n ,ce.code AS "Customer code"\n ,ce.description AS "Customer description"\n ,to_char(sum(CASE \n WHEN ao.transaction_category = 'DEBIT'\n THEN ao.amount\n ELSE 0\n END), '99999999990.00') AS "Amount DEBIT"\n ,to_char(sum(CASE \n WHEN ao.transaction_category = 'CREDIT'\n THEN ao.amount\n ELSE 0\n END), '99999999990.00') AS "Amount CREDIT"\n ,to_char(sum(CASE \n WHEN ao.transaction_category = 'DEBIT'\n THEN ao.amount\n ELSE - ao.amount\n END), '99999999990.00') AS "Balance"\nFROM crm_seller s\n INNER JOIN crm_customer c ON c.seller_id = s.id\n INNER JOIN account_entity ce ON c.id = ce.id\n INNER JOIN ar_customer_account ca ON ca.customer_id = c.id\n INNER JOIN ar_account_operation ao ON ao.customer_account_id = ca.id\nWHERE ao.invoice_date IS NOT NULL\n AND ao.invoice_date > (date_trunc('month', CURRENT_DATE) - CAST(:MONTH_INTERVAL || ' month' AS INTERVAL))\n AND (\n ce.code ilike '%' || :SEARCH_CRITERION || '%'\n OR ce.description ilike '%' || :SEARCH_CRITERION || '%'\n )\nGROUP BY date_trunc('month', ao.invoice_date)\n ,ce.code\n ,ce.description\nORDER BY date_trunc('month', ao.invoice_date) DESC\n ,ce.code \N CSV \N \N RECORDED_C_UUID \N \N reports/recorded +-17 0 0 \N \N 2024-01-26 14:02:21.183234 \N RECORDED_S Recorded per Seller per month for interval, global filter recorded SQL recorded_per_seller-[yyyyMMdd].csv SELECT trim(to_char(date_trunc('month', ao.invoice_date), 'Month')) || to_char(date_trunc('month', ao.invoice_date), ' YYYY') AS "Month"\n ,s.code AS "Seller code"\n ,s.description AS "Seller description"\n ,to_char(sum(CASE \n WHEN ao.transaction_category = 'DEBIT'\n THEN ao.amount\n ELSE 0\n END), '99999999990.00') AS "Amount DEBIT"\n ,to_char(sum(CASE \n WHEN ao.transaction_category = 'CREDIT'\n THEN ao.amount\n ELSE 0\n END), '99999999990.00') AS "Amount CREDIT"\n ,to_char(sum(CASE \n WHEN ao.transaction_category = 'DEBIT'\n THEN ao.amount\n ELSE - ao.amount\n END), '99999999990.00') AS "Balance"\nFROM crm_seller s\n INNER JOIN crm_customer c ON c.seller_id = s.id\n INNER JOIN ar_customer_account ca ON ca.customer_id = c.id\n INNER JOIN ar_account_operation ao ON ao.customer_account_id = ca.id\nWHERE ao.invoice_date IS NOT NULL\n AND ao.invoice_date > (date_trunc('month', CURRENT_DATE) - CAST(:MONTH_INTERVAL || ' month' AS INTERVAL))\n AND (\n s.code ilike '%' || :SEARCH_CRITERION || '%'\n OR s.description ilike '%' || :SEARCH_CRITERION || '%'\n )\nGROUP BY date_trunc('month', ao.invoice_date)\n ,s.code\n ,s.description\nORDER BY date_trunc('month', ao.invoice_date) DESC\n ,s.code \N CSV \N \N RECORDED_S_UUID \N \N reports/recorded +-18 0 0 \N \N 2024-01-26 14:02:21.183234 \N UNBILLED_UA_HIERARCHY Unbilled per User Account with Hierarchy, global filter unbilled SQL unbilled_per_user_account_hierarchy-[yyyyMMdd].csv select s.code AS "Seller code"\n , s.description AS "Seller description"\n , ce.code AS "Customer code"\n , ce.description AS "Customer description"\n , cae.code AS "Customer Account code"\n , cae.description AS "Customer Account description"\n , bae.code AS "Billing Account code"\n , bae.description AS "Billing Account description"\n , uae.code AS "User Account code"\n , uae.description AS "User Account description"\n , count(DISTINCT wo.id) AS "Transaction count"\n , to_char(sum(wo.amount_without_tax), '99999999990.00') AS "Amount without tax"\n , to_char(sum(wo.amount_with_tax), '99999999990.00') AS "Amount with tax" \n from billing_wallet_operation wo \n INNER JOIN billing_wallet wa on wa.id = wo.wallet_id \n INNER JOIN billing_user_account ua on ua.id = wa.user_account_id \n INNER JOIN account_entity uae on ua.id = uae.id \n INNER JOIN billing_billing_account ba on ba.id = ua.billing_account_id \n INNER JOIN account_entity bae on ba.id = bae.id \n INNER JOIN ar_customer_account ca on ca.id = ba.customer_account_id \n INNER JOIN account_entity cae on ca.id = cae.id \n INNER JOIN crm_customer c on c.id = ca.customer_id \n INNER JOIN account_entity ce on c.id = ce.id \n INNER JOIN crm_seller s on s.id = c.seller_id \n where ( wo.STATUS = 'OPEN' or ( wo.STATUS = 'TREATED' \n and EXISTS ( select 1 from billing_rated_transaction rt where wo.rated_transaction_id = rt.id and rt.STATUS = 'OPEN' ) ) ) \n and( s.code ilike '%' || :SEARCH_CRITERION || '%' or s.description ilike '%' || :SEARCH_CRITERION || '%' or ce.code ilike '%' \n || :SEARCH_CRITERION || '%' or ce.description ilike '%' || :SEARCH_CRITERION || '%' or cae.code ilike '%' \n || :SEARCH_CRITERION || '%' or cae.description ilike '%' || :SEARCH_CRITERION || '%' or bae.code ilike '%' \n || :SEARCH_CRITERION || '%' or bae.description ilike '%' || :SEARCH_CRITERION || '%' or uae.code ilike '%' \n || :SEARCH_CRITERION || '%' or uae.description ilike '%' || :SEARCH_CRITERION || '%' ) \n group by s.code\n , s.description\n , ce.code\n , ce.description\n , cae.code\n , cae.description\n , bae.code\n , bae.description\n , uae.code\n , uae.description order by s.code\n , ce.code\n , cae.code\n , bae.code\n , uae.code \N CSV \N \N UNBILLED_UA_HIERARCHY_UUID \N \N reports/unbilled +-19 0 0 \N \N 2024-01-26 14:02:21.183234 \N UNBILLED_UA Unbilled per User Account, global filter unbilled SQL unbilled_per_user_account-[yyyyMMdd].csv select uae.code AS "User Account code"\n , uae.description AS "User Account description"\n , count(DISTINCT wo.id) AS "Transaction count"\n , to_char(sum(wo.amount_without_tax), '99999999990.00') AS "Amount without tax"\n , to_char(sum(wo.amount_with_tax), '99999999990.00') AS "Amount with tax" \n from billing_wallet_operation wo \n INNER JOIN billing_wallet wa on wa.id = wo.wallet_id \n INNER JOIN billing_user_account ua on ua.id = wa.user_account_id \n INNER JOIN account_entity uae on ua.id = uae.id \n INNER JOIN billing_billing_account ba on ba.id = ua.billing_account_id \n INNER JOIN ar_customer_account ca on ca.id = ba.customer_account_id \n INNER JOIN crm_customer c on c.id = ca.customer_id \n INNER JOIN crm_seller s on s.id = c.seller_id \n where ( wo.STATUS = 'OPEN' or ( wo.STATUS = 'TREATED' \n and EXISTS ( select 1 from billing_rated_transaction rt where wo.rated_transaction_id = rt.id \n and rt.STATUS = 'OPEN' ) ) ) and( uae.code ilike '%' || :SEARCH_CRITERION || '%' or uae.description ilike '%' \n || :SEARCH_CRITERION || '%' ) \n group by uae.code\n , uae.description \n order by uae.code \N CSV \N \N UNBILLED_UA_UUID \N \N reports/unbilled +-28 0 0 \N \N 2024-01-26 14:02:21.183234 \N CustomerRevenuReport Customers revenu Report revenu JAVA CustomerRevenuReporting-[yyyy_MM_dd].csv \N -13 CSV \N \N CustomerRevenuReport_UUID \N \N reports/revenu +-20 0 0 \N \N 2024-01-26 14:02:21.183234 \N UNBILLED_BA Unbilled per Billing Account, global filter unbilled SQL unbilled_per_billing_account-[yyyyMMdd].csv select bae.code AS "Billing Account code"\n , bae.description AS "Billing Account description"\n , count(DISTINCT wo.id) AS "Transaction count"\n , to_char(sum(wo.amount_without_tax), '99999999990.00') AS "Amount without tax"\n , to_char(sum(wo.amount_with_tax), '99999999990.00') AS "Amount with tax" \n from billing_wallet_operation wo\n INNER JOIN billing_wallet wa on wa.id = wo.wallet_id\n INNER JOIN billing_user_account ua on ua.id = wa.user_account_id\n INNER JOIN billing_billing_account ba on ba.id = ua.billing_account_id\n INNER JOIN account_entity bae on ba.id = bae.id\n INNER JOIN ar_customer_account ca on ca.id = ba.customer_account_id\n INNER JOIN crm_customer c on c.id = ca.customer_id\n INNER JOIN crm_seller s on s.id = c.seller_id \n where ( wo.STATUS = 'OPEN' or ( wo.STATUS = 'TREATED' \n and EXISTS ( select 1 from billing_rated_transaction rt where wo.rated_transaction_id = rt.id and rt.STATUS = 'OPEN' ) ) ) \n and( bae.code ilike '%' || :SEARCH_CRITERION || '%' or bae.description ilike '%' || :SEARCH_CRITERION || '%' ) \n group by bae.code, bae.description \n order by bae.code \N CSV \N \N UNBILLED_BA_UUID \N \N reports/unbilled +-21 0 0 \N \N 2024-01-26 14:02:21.183234 \N UNBILLED_CA Unbilled per Customer Account, global filter unbilled SQL unbilled_per_customer_account-[yyyyMMdd].csv select cae.code AS "Customer Account code"\n\t\t\t\t\t, cae.description AS "Customer Account description"\n\t\t\t\t\t, count(DISTINCT wo.id) AS "Transaction count"\n\t\t\t\t\t, to_char(sum(wo.amount_without_tax), '99999999990.00') AS "Amount without tax"\n\t\t\t\t\t, to_char(sum(wo.amount_with_tax), '99999999990.00') AS "Amount with tax" \n\t\t\t\tfrom billing_wallet_operation wo\n\t\t\t\t\tINNER JOIN billing_wallet wa on wa.id = wo.wallet_id\n\t\t\t\t\tINNER JOIN billing_user_account ua on ua.id = wa.user_account_id\n\t\t\t\t\tINNER JOIN billing_billing_account ba on ba.id = ua.billing_account_id\n\t\t\t\t\tINNER JOIN ar_customer_account ca on ca.id = ba.customer_account_id\n\t\t\t\t\tINNER JOIN account_entity cae on ca.id = cae.id\n\t\t\t\t\tINNER JOIN crm_customer c on c.id = ca.customer_id\n\t\t\t\t\tINNER JOIN crm_seller s on s.id = c.seller_id \n\t\t\t\twhere ( wo.STATUS = 'OPEN' or ( wo.STATUS = 'TREATED' \n\t\t\t\t\tand EXISTS ( select 1 from billing_rated_transaction rt where wo.rated_transaction_id = rt.id and rt.STATUS = 'OPEN' ) ) ) \n\t\t\t\tand( cae.code ilike '%' || :SEARCH_CRITERION || '%' or cae.description ilike '%' || :SEARCH_CRITERION || '%' ) \n\t\t\t\tgroup by cae.code, cae.description \n\t\t\t\torder by cae.code \N CSV \N \N UNBILLED_CA_UUID \N \N reports/unbilled +-22 0 0 \N \N 2024-01-26 14:02:21.183234 \N UNBILLED_C Unbilled per Customer, global filter unbilled SQL unbilled_per_customer-[yyyyMMdd].csv select ce.code AS "Customer code"\n , ce.description AS "Customer description"\n , count(DISTINCT wo.id) AS "Transaction count"\n , to_char(sum(wo.amount_without_tax), '99999999990.00') AS "Amount without tax"\n , to_char(sum(wo.amount_with_tax), '99999999990.00') AS "Amount with tax" \n from billing_wallet_operation wo\n INNER JOIN billing_wallet wa on wa.id = wo.wallet_id\n INNER JOIN billing_user_account ua on ua.id = wa.user_account_id\n INNER JOIN billing_billing_account ba on ba.id = ua.billing_account_id \n INNER JOIN ar_customer_account ca on ca.id = ba.customer_account_id \n INNER JOIN crm_customer c on c.id = ca.customer_id \n INNER JOIN account_entity ce on c.id = ce.id \n INNER JOIN crm_seller s on s.id = c.seller_id \n where ( wo.STATUS = 'OPEN' or ( wo.STATUS = 'TREATED' \n and EXISTS ( select 1 from billing_rated_transaction rt where wo.rated_transaction_id = rt.id and rt.STATUS = 'OPEN' ) ) ) \n and( ce.code ilike '%' || :SEARCH_CRITERION || '%' or ce.description ilike '%' || :SEARCH_CRITERION || '%' ) \n group by ce.code, ce.description \n order by ce.code \N CSV \N \N UNBILLED_C_UUID \N \N reports/unbilled +-23 0 0 \N \N 2024-01-26 14:02:21.183234 \N UNBILLED_S Unbilled per Seller, global filter unbilled SQL unbilled_per_seller-[yyyyMMdd].csv select s.code AS "Seller code"\n , s.description AS "Seller description"\n , count(DISTINCT wo.id) AS "Transaction count"\n , to_char(sum(wo.amount_without_tax), '99999999990.00') AS "Amount without tax"\n , to_char(sum(wo.amount_with_tax), '99999999990.00') AS "Amount with tax" \n from billing_wallet_operation wo \n INNER JOIN billing_wallet wa on wa.id = wo.wallet_id \n INNER JOIN billing_user_account ua on ua.id = wa.user_account_id \n INNER JOIN billing_billing_account ba on ba.id = ua.billing_account_id \n INNER JOIN ar_customer_account ca on ca.id = ba.customer_account_id \n INNER JOIN crm_customer c on c.id = ca.customer_id \n INNER JOIN crm_seller s on s.id = c.seller_id \n where ( wo.STATUS = 'OPEN' or ( wo.STATUS = 'TREATED' \n and EXISTS ( select 1 from billing_rated_transaction rt where wo.rated_transaction_id = rt.id and rt.STATUS = 'OPEN' ) ) ) \n and( s.code ilike '%' || :SEARCH_CRITERION || '%' or s.description ilike '%' || :SEARCH_CRITERION || '%' ) \n group by s.code, s.description \n order by s.code \N CSV \N \N UNBILLED_S_UUID \N \N reports/unbilled +-24 0 0 \N \N 2024-01-26 14:02:21.183234 \N UNBILLED_OF Unbilled per Offer, global filter unbilled SQL unbilled_per_offer-[yyyyMMdd].csv select of.code AS "Offer code"\n , of.description AS "Offer description"\n , count(DISTINCT wo.id) AS "Transaction count"\n , to_char(sum(wo.amount_without_tax), '99999999990.00') AS "Amount without tax"\n , to_char(sum(wo.amount_with_tax), '99999999990.00') AS "Amount with tax" \n from cat_offer_template of \n INNER JOIN billing_wallet_operation wo on wo.offer_code = OF.code \n where ( wo.STATUS = 'OPEN' or ( wo.STATUS = 'TREATED' \n and EXISTS ( select 1 from billing_rated_transaction rt where wo.rated_transaction_id = rt.id and rt.STATUS = 'OPEN' ) ) ) \n and( of.code ilike '%' || :SEARCH_CRITERION || '%' or OF.description ilike '%' || :SEARCH_CRITERION || '%' ) \n group by of.code, of.description \n order by of.code \N CSV \N \N UNBILLED_OF_UUID \N \N reports/unbilled +-29 0 0 \N \N 2024-01-26 14:02:21.183234 \N CustomersPerDunningReport Customer per dunning level Dunning JAVA CustomersPerDunning-[yyyy_MM_dd].csv \N -14 CSV \N \N CustomersPerDunningReport_UUID \N \N reports/Dunning +-30 0 0 \N \N 2024-01-26 14:02:21.183234 \N CustomersPerOfferReport List of customer with revenue sorted by decreasing revenue (in a period) accounts JAVA CustomersPerOffer-[yyyy_MM_dd].csv \N -15 CSV \N \N CustomersPerOfferReport_UUID \N \N reports/accounts +-31 0 0 \N \N 2024-01-26 14:02:21.183234 \N KPIAgedBalanceReporting KPI Aged Balance AgedBalance JAVA KPIAgedBalanceReporting-[yyyy_MM_dd].csv \N -16 CSV \N \N KPIAgedBalanceReporting_UUID \N \N reports/AgedBalance +\. + + +-- +-- Data for Name: dwh_report_extract_execution; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.dwh_report_extract_execution (id, version, created, updated, creator, updater, report_extract_id, start_date, end_date, file_path, line_count, origin, error_message, status) FROM stdin; +\. + + +-- +-- Data for Name: dwh_report_extract_params; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.dwh_report_extract_params (reportextract_id, params, params_key) FROM stdin; +-1 31/01/2017 START_DATE +-1 31/12/2018 END_DATE +-2 31/01/2017 START_DATE +-2 31/12/2018 END_DATE +-3 % SEARCH_CRITERION +-4 % SEARCH_CRITERION +-4 % SELLER +-5 12 MONTH_INTERVAL +-6 12 MONTH_INTERVAL +-6 % SEARCH_CRITERION +-7 12 MONTH_INTERVAL +-7 % SEARCH_CRITERION +-8 12 MONTH_INTERVAL +-8 % SEARCH_CRITERION +-9 12 MONTH_INTERVAL +-9 % SEARCH_CRITERION +-10 12 MONTH_INTERVAL +-10 % SEARCH_CRITERION +-11 12 MONTH_INTERVAL +-11 % SEARCH_CRITERION +-12 12 MONTH_INTERVAL +-13 12 MONTH_INTERVAL +-13 % SEARCH_CRITERION +-14 12 MONTH_INTERVAL +-14 % SEARCH_CRITERION +-15 12 MONTH_INTERVAL +-15 % SEARCH_CRITERION +-16 12 MONTH_INTERVAL +-16 % SEARCH_CRITERION +-17 12 MONTH_INTERVAL +-17 % SEARCH_CRITERION +-18 % SEARCH_CRITERION +-19 % SEARCH_CRITERION +-20 % SEARCH_CRITERION +-21 % SEARCH_CRITERION +-22 % SEARCH_CRITERION +-23 % SEARCH_CRITERION +-24 % SEARCH_CRITERION +-25 % SEARCH_CRITERION +-25 12 MONTH_INTERVAL +-26 % SEARCH_CRITERION +-26 12 MONTH_INTERVAL +-26 % EDR_STATUS +-28 31/01/2015 START_DATE +-28 31/01/2019 END_DATE +-30 31/01/2015 START_DATE +-30 OFFER_CODE +-32 31/01/2015 START_DATE +-32 31/01/2019 END_DATE +-34 31/01/2017 START_DATE +-34 OFFER_CODE +\. + + +-- +-- Data for Name: flat_file; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.flat_file (id, version, created, updated, creator, updater, code, description, status, file_format_id, processed, error_message, lines_in_success, lines_in_warning, lines_in_error, processing_attempts, flat_file_job_code, file_original_name, file_current_name, current_directory) FROM stdin; +\. + + +-- +-- Data for Name: ftp_transferred_file; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.ftp_transferred_file (id, version, created, updated, creator, updater, code, description, uri, size, transfer_date, last_modification, operation) FROM stdin; +\. + + +-- +-- Data for Name: hierarchy_entity; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.hierarchy_entity (id, version, created, updated, code, description, hierarchy_type, parent_id, order_level, creator, updater) FROM stdin; +\. + + +-- +-- Data for Name: job_execution; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.job_execution (id, version, job_done, end_date, nb_success, nb_error, nb_warning, nb_to_process, report, start_date, job_launcher, job_instance_id) FROM stdin; +1 0 1 2024-01-31 11:00:00.062 0 0 0 0 \n 2024-01-31 11:00:00.033 \N 12 +2 0 1 2024-10-07 15:00:00.155 0 0 0 0 \n 2024-10-07 15:00:00.019 \N 12 +3 0 1 2024-10-07 16:00:00.098 0 0 0 0 \n 2024-10-07 16:00:00.025 \N 12 +4 0 1 2024-10-07 17:00:00.065 0 0 0 0 \n 2024-10-07 17:00:00.008 \N 12 +5 0 1 2024-10-07 18:00:00.063 0 0 0 0 \n 2024-10-07 18:00:00.008 \N 12 +6 0 1 2024-10-07 19:00:00.063 0 0 0 0 \n 2024-10-07 19:00:00.008 \N 12 +7 0 1 2024-10-07 20:00:00.07 0 0 0 0 \n 2024-10-07 20:00:00.007 \N 12 +8 0 1 2024-10-07 21:00:00.071 0 0 0 0 \n 2024-10-07 21:00:00.008 \N 12 +9 0 1 2024-10-07 22:00:00.06 0 0 0 0 \n 2024-10-07 22:00:00.008 \N 12 +10 0 1 2024-10-07 23:00:00.074 0 0 0 0 \n 2024-10-07 23:00:00.01 \N 12 +11 0 1 2024-10-07 23:59:59.088 0 0 0 0 \n 2024-10-07 23:59:59.008 \N -27 +12 0 1 2024-10-08 00:00:00.046 0 0 0 0 \n 2024-10-08 00:00:00.007 \N 12 +13 0 1 2024-10-08 01:00:00.06 0 0 0 0 \n 2024-10-08 01:00:00.007 \N 12 +14 0 1 2024-10-08 02:00:00.074 0 0 0 0 \n 2024-10-08 02:00:00.006 \N 12 +15 0 1 2024-10-08 03:00:00.062 0 0 0 0 \n 2024-10-08 03:00:00.006 \N 12 +16 0 1 2024-10-08 04:00:00.061 0 0 0 0 \n 2024-10-08 04:00:00.007 \N 12 +17 0 1 2024-10-08 05:00:00.062 0 0 0 0 \n 2024-10-08 05:00:00.006 \N 12 +18 0 1 2024-10-08 06:00:00.06 0 0 0 0 \n 2024-10-08 06:00:00.009 \N 12 +19 0 1 2024-10-08 07:00:00.06 0 0 0 0 \n 2024-10-08 07:00:00.006 \N 12 +20 0 1 2024-10-08 08:00:00.057 0 0 0 0 \n 2024-10-08 08:00:00.006 \N 12 +21 0 1 2024-10-08 09:00:00.059 0 0 0 0 \n 2024-10-08 09:00:00.005 \N 12 +22 0 1 2024-10-08 10:00:00.081 0 0 0 0 \n 2024-10-08 10:00:00.006 \N 12 +23 0 1 2024-10-08 11:00:00.057 0 0 0 0 \n 2024-10-08 11:00:00.006 \N 12 +24 0 1 2024-10-08 12:00:00.059 0 0 0 0 \n 2024-10-08 12:00:00.006 \N 12 +25 0 1 2024-10-08 13:00:00.057 0 0 0 0 \n 2024-10-08 13:00:00.006 \N 12 +26 0 1 2024-10-08 14:00:00.059 0 0 0 0 \n 2024-10-08 14:00:00.006 \N 12 +27 0 1 2024-10-08 15:00:00.064 0 0 0 0 \n 2024-10-08 15:00:00.006 \N 12 +28 0 1 2024-10-08 16:00:00.058 0 0 0 0 \n 2024-10-08 16:00:00.005 \N 12 +29 0 1 2024-10-08 17:00:00.068 0 0 0 0 \n 2024-10-08 17:00:00.007 \N 12 +30 0 1 2024-10-08 18:00:00.088 0 0 0 0 \n 2024-10-08 18:00:00.007 \N 12 +31 0 1 2024-10-08 19:00:00.075 0 0 0 0 \n 2024-10-08 19:00:00.007 \N 12 +32 0 1 2024-10-08 20:00:00.074 0 0 0 0 \n 2024-10-08 20:00:00.007 \N 12 +33 0 1 2024-10-08 21:00:00.079 0 0 0 0 \n 2024-10-08 21:00:00.007 \N 12 +34 0 1 2024-10-08 22:00:00.064 0 0 0 0 \n 2024-10-08 22:00:00.006 \N 12 +35 0 1 2024-10-08 23:00:00.073 0 0 0 0 \n 2024-10-08 23:00:00.006 \N 12 +36 0 1 2024-10-08 23:59:59.063 0 0 0 0 \n 2024-10-08 23:59:59.005 \N -27 +37 0 1 2024-10-09 00:00:00.042 0 0 0 0 \n 2024-10-09 00:00:00.005 \N 12 +38 0 1 2024-10-09 01:00:00.089 0 0 0 0 \n 2024-10-09 01:00:00.007 \N 12 +39 0 1 2024-10-09 02:00:00.068 0 0 0 0 \n 2024-10-09 02:00:00.006 \N 12 +40 0 1 2024-10-09 03:00:00.063 0 0 0 0 \n 2024-10-09 03:00:00.005 \N 12 +41 0 1 2024-10-09 04:00:00.089 0 0 0 0 \n 2024-10-09 04:00:00.008 \N 12 +42 0 1 2024-10-09 05:00:00.06 0 0 0 0 \n 2024-10-09 05:00:00.006 \N 12 +43 0 1 2024-10-09 06:00:00.067 0 0 0 0 \n 2024-10-09 06:00:00.005 \N 12 +44 0 1 2024-10-09 07:00:00.069 0 0 0 0 \n 2024-10-09 07:00:00.006 \N 12 +45 0 1 2024-10-09 08:00:00.067 0 0 0 0 \n 2024-10-09 08:00:00.005 \N 12 +46 0 1 2024-10-09 09:00:00.069 0 0 0 0 \n 2024-10-09 09:00:00.005 \N 12 +47 0 1 2024-10-09 10:00:00.066 0 0 0 0 \n 2024-10-09 10:00:00.006 \N 12 +48 0 1 2024-10-09 11:00:00.06 0 0 0 0 \n 2024-10-09 11:00:00.005 \N 12 +49 0 1 2024-10-09 12:00:00.064 0 0 0 0 \n 2024-10-09 12:00:00.007 \N 12 +50 0 1 2024-10-09 13:00:00.059 0 0 0 0 \n 2024-10-09 13:00:00.005 \N 12 +51 0 1 2024-10-09 14:00:00.079 0 0 0 0 \n 2024-10-09 14:00:00.006 \N 12 +52 0 1 2024-10-09 15:00:00.077 0 0 0 0 \n 2024-10-09 15:00:00.005 \N 12 +53 0 1 2024-10-09 16:00:00.07 0 0 0 0 \n 2024-10-09 16:00:00.006 \N 12 +54 0 1 2024-10-09 17:00:00.057 0 0 0 0 \n 2024-10-09 17:00:00.005 \N 12 +55 0 1 2024-10-09 18:00:00.06 0 0 0 0 \n 2024-10-09 18:00:00.006 \N 12 +56 0 1 2024-10-09 19:00:00.076 0 0 0 0 \n 2024-10-09 19:00:00.005 \N 12 +57 0 1 2024-10-09 20:00:00.066 0 0 0 0 \n 2024-10-09 20:00:00.006 \N 12 +58 0 1 2024-10-09 21:00:00.06 0 0 0 0 \n 2024-10-09 21:00:00.006 \N 12 +59 0 1 2024-10-09 22:00:00.079 0 0 0 0 \n 2024-10-09 22:00:00.005 \N 12 +60 0 1 2024-10-09 23:00:00.077 0 0 0 0 \n 2024-10-09 23:00:00.006 \N 12 +61 0 1 2024-10-09 23:59:59.067 0 0 0 0 \n 2024-10-09 23:59:59.005 \N -27 +62 0 1 2024-10-10 00:00:00.041 0 0 0 0 \n 2024-10-10 00:00:00.005 \N 12 +63 0 1 2024-10-10 01:00:00.079 0 0 0 0 \n 2024-10-10 01:00:00.005 \N 12 +64 0 1 2024-10-10 02:00:00.085 0 0 0 0 \n 2024-10-10 02:00:00.006 \N 12 +65 0 1 2024-10-10 03:00:00.067 0 0 0 0 \n 2024-10-10 03:00:00.007 \N 12 +66 0 1 2024-10-10 04:00:00.079 0 0 0 0 \n 2024-10-10 04:00:00.006 \N 12 +67 0 1 2024-10-10 05:00:00.069 0 0 0 0 \n 2024-10-10 05:00:00.006 \N 12 +68 0 1 2024-10-10 06:00:00.058 0 0 0 0 \n 2024-10-10 06:00:00.005 \N 12 +69 0 1 2024-10-10 07:00:00.073 0 0 0 0 \n 2024-10-10 07:00:00.006 \N 12 +70 0 1 2024-10-10 08:00:00.074 0 0 0 0 \n 2024-10-10 08:00:00.008 \N 12 +71 0 1 2024-10-10 09:00:00.065 0 0 0 0 \n 2024-10-10 09:00:00.005 \N 12 +72 0 1 2024-10-10 10:00:00.06 0 0 0 0 \n 2024-10-10 10:00:00.005 \N 12 +73 0 1 2024-10-10 11:00:00.069 0 0 0 0 \n 2024-10-10 11:00:00.005 \N 12 +74 0 1 2024-10-10 12:00:00.064 0 0 0 0 \n 2024-10-10 12:00:00.005 \N 12 +75 0 1 2024-10-10 13:00:00.061 0 0 0 0 \n 2024-10-10 13:00:00.005 \N 12 +76 0 1 2024-10-10 14:00:00.027 0 0 0 0 \n 2024-10-10 14:00:00.006 \N 12 +77 0 1 2024-10-10 15:00:00.058 0 0 0 0 \n 2024-10-10 15:00:00.005 \N 12 +78 0 1 2024-10-10 16:00:00.068 0 0 0 0 \n 2024-10-10 16:00:00.008 \N 12 +79 0 1 2024-10-10 17:00:00.065 0 0 0 0 \n 2024-10-10 17:00:00.005 \N 12 +80 0 1 2024-10-10 18:00:00.062 0 0 0 0 \n 2024-10-10 18:00:00.005 \N 12 +81 0 1 2024-10-10 19:00:00.068 0 0 0 0 \n 2024-10-10 19:00:00.004 \N 12 +82 0 1 2024-10-10 20:00:00.058 0 0 0 0 \n 2024-10-10 20:00:00.004 \N 12 +83 0 1 2024-10-10 21:00:00.063 0 0 0 0 \n 2024-10-10 21:00:00.004 \N 12 +84 0 1 2024-10-10 22:00:00.063 0 0 0 0 \n 2024-10-10 22:00:00.005 \N 12 +85 0 1 2024-10-10 23:00:00.066 0 0 0 0 \n 2024-10-10 23:00:00.005 \N 12 +86 0 1 2024-10-10 23:59:59.071 0 0 0 0 \n 2024-10-10 23:59:59.02 \N -27 +87 0 1 2024-10-11 00:00:00.039 0 0 0 0 \n 2024-10-11 00:00:00.005 \N 12 +88 0 1 2024-10-11 01:00:00.063 0 0 0 0 \n 2024-10-11 01:00:00.005 \N 12 +89 0 1 2024-10-11 02:00:00.057 0 0 0 0 \n 2024-10-11 02:00:00.005 \N 12 +90 0 1 2024-10-11 03:00:00.069 0 0 0 0 \n 2024-10-11 03:00:00.006 \N 12 +91 0 1 2024-10-11 04:00:00.058 0 0 0 0 \n 2024-10-11 04:00:00.005 \N 12 +92 0 1 2024-10-11 05:00:00.055 0 0 0 0 \n 2024-10-11 05:00:00.005 \N 12 +93 0 1 2024-10-11 06:00:00.057 0 0 0 0 \n 2024-10-11 06:00:00.005 \N 12 +94 0 1 2024-10-11 07:00:00.061 0 0 0 0 \n 2024-10-11 07:00:00.005 \N 12 +95 0 1 2024-10-11 08:00:00.056 0 0 0 0 \n 2024-10-11 08:00:00.005 \N 12 +96 0 1 2024-10-11 09:00:00.042 0 0 0 0 \n 2024-10-11 09:00:00.005 \N 12 +97 0 1 2024-10-11 10:00:00.057 0 0 0 0 \n 2024-10-11 10:00:00.005 \N 12 +98 0 1 2024-10-11 11:00:00.026 0 0 0 0 \n 2024-10-11 11:00:00.005 \N 12 +99 0 1 2024-10-11 12:00:00.026 0 0 0 0 \n 2024-10-11 12:00:00.005 \N 12 +100 0 1 2024-10-11 13:00:00.063 0 0 0 0 \n 2024-10-11 13:00:00.006 \N 12 +101 0 1 2024-10-11 14:00:00.064 0 0 0 0 \n 2024-10-11 14:00:00.005 \N 12 +102 0 1 2024-10-11 15:00:00.04 0 0 0 0 \n 2024-10-11 15:00:00.005 \N 12 +103 0 1 2024-10-11 16:00:00.203 0 0 0 0 \n 2024-10-11 16:00:00.153 \N 12 +104 0 1 2024-10-11 17:00:00.058 0 0 0 0 \n 2024-10-11 17:00:00.005 \N 12 +105 0 1 2024-10-11 18:00:00.056 0 0 0 0 \n 2024-10-11 18:00:00.005 \N 12 +106 0 1 2024-10-11 19:00:00.059 0 0 0 0 \n 2024-10-11 19:00:00.007 \N 12 +107 0 1 2024-10-11 20:00:00.055 0 0 0 0 \n 2024-10-11 20:00:00.005 \N 12 +108 0 1 2024-10-11 21:00:00.063 0 0 0 0 \n 2024-10-11 21:00:00.005 \N 12 +109 0 1 2024-10-11 22:00:00.058 0 0 0 0 \n 2024-10-11 22:00:00.005 \N 12 +110 0 1 2024-10-11 23:00:00.061 0 0 0 0 \n 2024-10-11 23:00:00.004 \N 12 +111 0 1 2024-10-11 23:59:59.053 0 0 0 0 \n 2024-10-11 23:59:59.005 \N -27 +112 0 1 2024-10-12 00:00:00.036 0 0 0 0 \n 2024-10-12 00:00:00.005 \N 12 +113 0 1 2024-10-12 01:00:00.057 0 0 0 0 \n 2024-10-12 01:00:00.005 \N 12 +114 0 1 2024-10-12 02:00:00.062 0 0 0 0 \n 2024-10-12 02:00:00.006 \N 12 +115 0 1 2024-10-12 03:00:00.065 0 0 0 0 \n 2024-10-12 03:00:00.004 \N 12 +116 0 1 2024-10-12 04:00:00.054 0 0 0 0 \n 2024-10-12 04:00:00.005 \N 12 +117 0 1 2024-10-12 05:00:00.552 0 0 0 0 \n 2024-10-12 05:00:00.351 \N 12 +118 0 1 2024-10-12 06:00:00.067 0 0 0 0 \n 2024-10-12 06:00:00.007 \N 12 +119 0 1 2024-10-12 07:00:00.052 0 0 0 0 \n 2024-10-12 07:00:00.006 \N 12 +120 0 1 2024-10-12 08:00:00.06 0 0 0 0 \n 2024-10-12 08:00:00.004 \N 12 +121 0 1 2024-10-12 09:00:00.062 0 0 0 0 \n 2024-10-12 09:00:00.006 \N 12 +122 0 1 2024-10-12 10:00:00.058 0 0 0 0 \n 2024-10-12 10:00:00.006 \N 12 +123 0 1 2024-10-12 11:00:00.063 0 0 0 0 \n 2024-10-12 11:00:00.007 \N 12 +124 0 1 2024-10-12 12:00:00.06 0 0 0 0 \n 2024-10-12 12:00:00.004 \N 12 +125 0 1 2024-10-12 13:00:00.058 0 0 0 0 \n 2024-10-12 13:00:00.005 \N 12 +126 0 1 2024-10-12 14:00:00.057 0 0 0 0 \n 2024-10-12 14:00:00.005 \N 12 +127 0 1 2024-10-12 15:00:00.069 0 0 0 0 \n 2024-10-12 15:00:00.005 \N 12 +128 0 1 2024-10-12 16:00:00.057 0 0 0 0 \n 2024-10-12 16:00:00.005 \N 12 +129 0 1 2024-10-12 17:00:00.062 0 0 0 0 \n 2024-10-12 17:00:00.005 \N 12 +130 0 1 2024-10-12 18:00:00.058 0 0 0 0 \n 2024-10-12 18:00:00.007 \N 12 +131 0 1 2024-10-12 19:00:00.068 0 0 0 0 \n 2024-10-12 19:00:00.005 \N 12 +132 0 1 2024-10-12 20:00:00.055 0 0 0 0 \n 2024-10-12 20:00:00.005 \N 12 +133 0 1 2024-10-12 21:00:00.063 0 0 0 0 \n 2024-10-12 21:00:00.005 \N 12 +134 0 1 2024-10-12 22:00:00.068 0 0 0 0 \n 2024-10-12 22:00:00.006 \N 12 +135 0 1 2024-10-12 23:00:00.065 0 0 0 0 \n 2024-10-12 23:00:00.005 \N 12 +136 0 1 2024-10-12 23:59:59.052 0 0 0 0 \n 2024-10-12 23:59:59.004 \N -27 +137 0 1 2024-10-13 00:00:00.073 0 0 0 0 \n 2024-10-13 00:00:00.004 \N 12 +138 0 1 2024-10-13 01:00:00.054 0 0 0 0 \n 2024-10-13 01:00:00.004 \N 12 +139 0 1 2024-10-13 02:00:00.059 0 0 0 0 \n 2024-10-13 02:00:00.005 \N 12 +140 0 1 2024-10-13 03:00:00.057 0 0 0 0 \n 2024-10-13 03:00:00.006 \N 12 +141 0 1 2024-10-13 04:00:00.068 0 0 0 0 \n 2024-10-13 04:00:00.005 \N 12 +142 0 1 2024-10-13 05:00:00.056 0 0 0 0 \n 2024-10-13 05:00:00.006 \N 12 +143 0 1 2024-10-13 06:00:00.059 0 0 0 0 \n 2024-10-13 06:00:00.005 \N 12 +144 0 1 2024-10-13 07:00:00.055 0 0 0 0 \n 2024-10-13 07:00:00.004 \N 12 +145 0 1 2024-10-13 08:00:00.06 0 0 0 0 \n 2024-10-13 08:00:00.005 \N 12 +146 0 1 2024-10-13 09:00:00.059 0 0 0 0 \n 2024-10-13 09:00:00.005 \N 12 +147 0 1 2024-10-13 10:00:00.063 0 0 0 0 \n 2024-10-13 10:00:00.005 \N 12 +148 0 1 2024-10-13 11:00:00.067 0 0 0 0 \n 2024-10-13 11:00:00.006 \N 12 +149 0 1 2024-10-13 12:00:00.06 0 0 0 0 \n 2024-10-13 12:00:00.004 \N 12 +150 0 1 2024-10-13 13:00:00.063 0 0 0 0 \n 2024-10-13 13:00:00.006 \N 12 +151 0 1 2024-10-13 14:00:00.06 0 0 0 0 \n 2024-10-13 14:00:00.004 \N 12 +152 0 1 2024-10-13 15:00:00.068 0 0 0 0 \n 2024-10-13 15:00:00.006 \N 12 +153 0 1 2024-10-13 16:00:00.057 0 0 0 0 \n 2024-10-13 16:00:00.004 \N 12 +154 0 1 2024-10-13 17:00:00.062 0 0 0 0 \n 2024-10-13 17:00:00.006 \N 12 +155 0 1 2024-10-13 18:00:00.055 0 0 0 0 \n 2024-10-13 18:00:00.005 \N 12 +156 0 1 2024-10-13 19:00:00.057 0 0 0 0 \n 2024-10-13 19:00:00.005 \N 12 +157 0 1 2024-10-13 20:00:00.054 0 0 0 0 \n 2024-10-13 20:00:00.005 \N 12 +158 0 1 2024-10-13 21:00:00.054 0 0 0 0 \n 2024-10-13 21:00:00.004 \N 12 +159 0 1 2024-10-13 22:00:00.054 0 0 0 0 \n 2024-10-13 22:00:00.005 \N 12 +160 0 1 2024-10-13 23:00:00.058 0 0 0 0 \n 2024-10-13 23:00:00.005 \N 12 +161 0 1 2024-10-13 23:59:59.06 0 0 0 0 \n 2024-10-13 23:59:59.007 \N -27 +162 0 1 2024-10-13 23:59:59.139 0 0 0 0 \n 2024-10-13 23:59:59.027 \N -21 +163 0 1 2024-10-14 00:00:00.036 0 0 0 0 \n 2024-10-14 00:00:00.004 \N 12 +164 0 1 2024-10-14 01:00:00.057 0 0 0 0 \n 2024-10-14 01:00:00.004 \N 12 +165 0 1 2024-10-14 02:00:00.062 0 0 0 0 \n 2024-10-14 02:00:00.005 \N 12 +166 0 1 2024-10-14 03:00:00.062 0 0 0 0 \n 2024-10-14 03:00:00.005 \N 12 +167 0 1 2024-10-14 04:00:00.061 0 0 0 0 \n 2024-10-14 04:00:00.005 \N 12 +168 0 1 2024-10-14 05:00:00.058 0 0 0 0 \n 2024-10-14 05:00:00.004 \N 12 +169 0 1 2024-10-14 06:00:00.055 0 0 0 0 \n 2024-10-14 06:00:00.004 \N 12 +170 0 1 2024-10-14 07:00:00.064 0 0 0 0 \n 2024-10-14 07:00:00.004 \N 12 +171 0 1 2024-10-14 08:00:00.055 0 0 0 0 \n 2024-10-14 08:00:00.004 \N 12 +172 0 1 2024-10-14 09:00:00.07 0 0 0 0 \n 2024-10-14 09:00:00.004 \N 12 +173 0 1 2024-10-14 10:00:00.057 0 0 0 0 \n 2024-10-14 10:00:00.005 \N 12 +174 0 1 2024-10-14 11:00:00.061 0 0 0 0 \n 2024-10-14 11:00:00.005 \N 12 +175 0 1 2024-10-14 12:00:00.068 0 0 0 0 \n 2024-10-14 12:00:00.005 \N 12 +176 0 1 2024-10-14 13:00:00.066 0 0 0 0 \n 2024-10-14 13:00:00.005 \N 12 +177 0 1 2024-10-14 14:00:00.06 0 0 0 0 \n 2024-10-14 14:00:00.006 \N 12 +178 0 1 2024-10-14 15:00:00.058 0 0 0 0 \n 2024-10-14 15:00:00.005 \N 12 +179 0 1 2024-10-14 16:00:00.062 0 0 0 0 \n 2024-10-14 16:00:00.005 \N 12 +180 0 1 2024-10-14 17:00:00.065 0 0 0 0 \n 2024-10-14 17:00:00.006 \N 12 +181 0 1 2024-10-14 18:00:00.071 0 0 0 0 \n 2024-10-14 18:00:00.004 \N 12 +182 0 1 2024-10-14 19:00:00.06 0 0 0 0 \n 2024-10-14 19:00:00.005 \N 12 +183 0 1 2024-10-14 20:00:00.058 0 0 0 0 \n 2024-10-14 20:00:00.005 \N 12 +184 0 1 2024-10-14 21:00:00.059 0 0 0 0 \n 2024-10-14 21:00:00.005 \N 12 +185 0 1 2024-10-14 22:00:00.061 0 0 0 0 \n 2024-10-14 22:00:00.005 \N 12 +186 0 1 2024-10-14 23:00:00.057 0 0 0 0 \n 2024-10-14 23:00:00.005 \N 12 +187 0 1 2024-10-14 23:59:59.058 0 0 0 0 \n 2024-10-14 23:59:59.005 \N -27 +188 0 1 2024-10-15 00:00:00.042 0 0 0 0 \n 2024-10-15 00:00:00.005 \N 12 +189 0 1 2024-10-15 01:00:00.052 0 0 0 0 \n 2024-10-15 01:00:00.005 \N 12 +190 0 1 2024-10-15 02:00:00.062 0 0 0 0 \n 2024-10-15 02:00:00.005 \N 12 +191 0 1 2024-10-15 03:00:00.062 0 0 0 0 \n 2024-10-15 03:00:00.003 \N 12 +192 0 1 2024-10-15 04:00:00.057 0 0 0 0 \n 2024-10-15 04:00:00.003 \N 12 +193 0 1 2024-10-15 05:00:00.06 0 0 0 0 \n 2024-10-15 05:00:00.005 \N 12 +194 0 1 2024-10-15 06:00:00.077 0 0 0 0 \n 2024-10-15 06:00:00.028 \N 12 +195 0 1 2024-10-15 07:00:00.061 0 0 0 0 \n 2024-10-15 07:00:00.006 \N 12 +196 0 1 2024-10-15 08:00:00.069 0 0 0 0 \n 2024-10-15 08:00:00.005 \N 12 +197 0 1 2024-10-15 09:00:00.055 0 0 0 0 \n 2024-10-15 09:00:00.005 \N 12 +198 0 1 2024-10-15 10:00:00.06 0 0 0 0 \n 2024-10-15 10:00:00.005 \N 12 +199 0 1 2024-10-15 11:00:00.065 0 0 0 0 \n 2024-10-15 11:00:00.006 \N 12 +200 0 1 2024-10-15 12:00:00.071 0 0 0 0 \n 2024-10-15 12:00:00.005 \N 12 +201 0 1 2024-10-15 13:00:00.059 0 0 0 0 \n 2024-10-15 13:00:00.006 \N 12 +202 0 1 2024-10-15 14:00:00.051 0 0 0 0 \n 2024-10-15 14:00:00.005 \N 12 +\. + + +-- +-- Data for Name: medina_access; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.medina_access (id, version, disabled, acces_user_id, end_date, start_date, subscription_id, uuid, creator, updater, created, updated, cf_values, cf_values_accum) FROM stdin; +\. + + +-- +-- Data for Name: meveo_and_composite_filter_condition; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.meveo_and_composite_filter_condition (id, version) FROM stdin; +\. + + +-- +-- Data for Name: meveo_filter; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.meveo_filter (id, version, disabled, created, updated, code, description, creator, updater, filter_condition_id, order_condition_id, primary_selector_id, input_xml, shared, uuid, cf_values, cf_values_accum) FROM stdin; +\. + + +-- +-- Data for Name: meveo_filter_condition; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.meveo_filter_condition (id, version, composite_and_filter_condition_id, composite_or_filter_condition_id, filter_condition_type) FROM stdin; +\. + + +-- +-- Data for Name: meveo_filter_oc_field_names; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.meveo_filter_oc_field_names (field_name, order_condition_id) FROM stdin; +\. + + +-- +-- Data for Name: meveo_filter_order_condition; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.meveo_filter_order_condition (id, version, ascending) FROM stdin; +\. + + +-- +-- Data for Name: meveo_filter_selector; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.meveo_filter_selector (id, version, target_entity, alias, filter_id) FROM stdin; +\. + + +-- +-- Data for Name: meveo_filter_selector_display_fields; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.meveo_filter_selector_display_fields (filter_selector_id, display_field) FROM stdin; +\. + + +-- +-- Data for Name: meveo_filter_selector_export_fields; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.meveo_filter_selector_export_fields (filter_selector_id, export_field) FROM stdin; +\. + + +-- +-- Data for Name: meveo_filter_selector_ignore_fields; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.meveo_filter_selector_ignore_fields (filter_selector_id, ignored_field) FROM stdin; +\. + + +-- +-- Data for Name: meveo_job_instance; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.meveo_job_instance (id, version, disabled, created, updated, code, description, job_category, job_template, parametres, creator, updater, timerentity_id, following_job_id, uuid, run_on_nodes, single_node, cf_values, cf_values_accum, exclude_inv_without_amount, verbose_report) FROM stdin; +-16 6 0 2024-01-26 14:02:20.625557 2024-01-26 14:02:20.625557 PaymentCard_Job \N PAYMENT PaymentJob \N opencell.admin opencell.admin \N \N 2c72550b-4e79-4dab-a8bd-df8499abd25b \N 1 {"PaymentJob_creditOrDebit":[{"string":"Credit"}],"waitingMillis":[{"long":0}],"PaymentJob_matchingAO":[{"string":"YES"}],"PaymentJob_cardOrDD":[{"string":"CARD"}],"PaymentJob_createAO":[{"string":"YES"}],"nbRuns":[{"long":1}],"PaymentJob_AOorCA":[{"string":"CA"}]} \N 0 1 +-17 3 0 2024-01-26 14:02:20.625557 2024-01-26 14:02:20.625557 RefundCard_Job \N PAYMENT PaymentJob \N opencell.admin opencell.admin \N \N a4bb9554-85f3-4c0a-8f62-438fec7bdac2 \N 1 {"PaymentJob_creditOrDebit":[{"string":"Debit"}],"waitingMillis":[{"long":0}],"PaymentJob_matchingAO":[{"string":"YES"}],"PaymentJob_cardOrDD":[{"string":"CARD"}],"PaymentJob_createAO":[{"string":"YES"}],"nbRuns":[{"long":1}],"PaymentJob_AOorCA":[{"string":"CA"}]} \N 0 1 +-1 0 0 2015-03-19 00:04:19.913 \N Rerate_Job \N RATING ReRatingJob \N OPENCELL.ADMIN \N \N \N Rerate_Job \N 1 \N \N 0 1 +-2 0 0 2015-03-19 00:04:19.913 \N Cust_Job \N IMPORT_HIERARCHY ImportCustomersJob \N OPENCELL.ADMIN \N \N \N Cust_Job \N 1 \N \N 0 1 +-3 0 0 2015-03-19 00:04:19.913 \N M_Job \N MEDIATION MediationJob \N OPENCELL.ADMIN \N \N \N M_Job \N 1 \N \N 0 1 +-4 0 0 2015-03-19 00:04:19.913 \N U_Job \N RATING UsageRatingJob \N OPENCELL.ADMIN \N \N \N U_Job \N 1 \N \N 0 1 +-5 0 0 2015-03-19 00:04:19.913 \N RR_Job \N RATING RecurringRatingJob \N OPENCELL.ADMIN \N \N \N RR_Job \N 1 \N \N 0 1 +-6 0 0 2015-03-19 00:04:19.913 \N RT_Job \N INVOICING RatedTransactionsJob \N OPENCELL.ADMIN \N \N \N RT_Job \N 1 \N \N 0 1 +-7 0 0 2015-03-19 00:04:19.913 \N XML_Job \N INVOICING XMLInvoiceGenerationJob \N OPENCELL.ADMIN \N \N \N XML_Job \N 1 \N \N 0 1 +-8 0 0 2015-03-19 00:04:19.913 \N PDF_Job \N INVOICING PDFInvoiceGenerationJob \N OPENCELL.ADMIN \N \N \N PDF_Job \N 1 \N \N 0 1 +-9 0 0 2015-03-19 00:04:19.913 \N Acco_Job \N IMPORT_HIERARCHY ImportAccountsJob \N OPENCELL.ADMIN \N \N \N Acco_Job \N 1 \N \N 0 1 +-10 0 0 2015-03-19 00:04:19.913 \N Subs_Job \N IMPORT_HIERARCHY ImportSubscriptionsJob \N OPENCELL.ADMIN \N \N \N Subs_Job \N 1 \N \N 0 1 +-11 0 0 2015-03-19 00:04:19.913 \N Inv_Job \N INVOICING InvoicingJob \N OPENCELL.ADMIN \N \N \N Inv_Job \N 1 \N \N 0 1 +-12 0 0 2016-09-14 00:00:00 \N DWH_Job_MRR \N DWH DWHQueryJob MRR OPENCELL.ADMIN \N \N \N DWH_Job_MRR \N 1 \N \N 0 1 +-13 0 0 2016-09-14 00:00:00 \N DWH_Job_CHURN \N DWH DWHQueryJob CHURN OPENCELL.ADMIN \N \N \N DWH_Job_CHURN \N 1 \N \N 0 1 +-14 0 0 2017-06-19 00:00:00 \N AO_Job \N ACCOUNT_RECEIVABLES AccountOperationsGenerationJob \N OPENCELL.ADMIN \N \N \N ACC_REC_Job \N 1 \N \N 0 1 +-15 0 0 2017-07-29 00:00:00 \N Sub_Status_Job \N UTILS SubscriptionStatusJob \N OPENCELL.ADMIN \N \N \N Sub_Status_Job \N 1 \N \N 0 1 +-18 0 0 2019-01-10 00:00:00 \N SendInvoice_Job \N INVOICING SendInvoiceJob \N OPENCELL.ADMIN \N \N \N JOB_SendInvoiceJob \N 1 \N \N 0 1 +-19 0 0 2015-03-19 00:04:19.913 \N Custom_table_data_import_Job \N UTILS CustomTableImportJob \N OPENCELL.ADMIN \N \N \N Custom_table_data_import_Job \N 1 \N \N 0 1 +-26 0 0 2024-01-26 14:03:25.745507 2024-01-26 14:03:25.745507 DeleteCustomersScript_JOB DeleteCustomersScript_JOB MEDIATION FlatFileProcessingJob \N opencell.admin opencell.admin \N \N DeleteCustomersScript_JOB \N 1 {"FlatFileProcessingJob_mappingConf":[{"string":"\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n "}]\n\t\t\t\t\t\t,"FlatFileProcessingJob_recordVariableName":[{"string":"RECORD"}]\n\t\t\t\t\t\t,"FlatFileProcessingJob_errorAction":[{"string":"CONTINUE"}]\n\t\t\t\t\t\t,"FlatFileProcessingJob_fileNameExtension":[{"string":"csv"}]\n\t\t\t\t\t\t,"FlatFileProcessingJob_scriptsFlow":[{"string":"org.meveo.service.script.DeleteCustomersScript"}]\n\t\t\t\t\t\t,"FlatFileProcessingJob_inputDir":[{"string":"/batch/customer/delete"}]} {"FlatFileProcessingJob_mappingConf":[{"string":"\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n "}]\n\t\t\t\t\t\t,"FlatFileProcessingJob_recordVariableName":[{"string":"RECORD"}]\n\t\t\t\t\t\t,"FlatFileProcessingJob_errorAction":[{"string":"CONTINUE"}]\n\t\t\t\t\t\t,"FlatFileProcessingJob_fileNameExtension":[{"string":"csv"}]\n\t\t\t\t\t\t,"FlatFileProcessingJob_scriptsFlow":[{"string":"org.meveo.service.script.DeleteCustomersScript"}]\n\t\t\t\t\t\t,"FlatFileProcessingJob_inputDir":[{"string":"/batch/customer/delete"}]} 0 1 +-21 0 0 2019-02-25 00:00:00 \N BillingRunJob \N INVOICING BillingRunJob \N OPENCELL.ADMIN \N -2 \N JOB_BillingRunJob \N 1 \N \N 0 1 +-22 0 0 2019-06-25 00:00:00 \N ValidateBR_Job Validates *all* Billing Runs MEDIATION ScriptingJob \N opencell.admin \N \N -11 ValidateBR_Job \N 1 {"ScriptingJob_script":[{"entity":{"classname":"org.meveo.model.scripts.ScriptInstance","code":"org.meveo.service.script.ValidateBRScript"}}]} \N 0 1 +-25 0 0 2019-07-01 00:00:00 \N ImportMediationEntityJob Import open EDR, WO, RTx IMPORT_HIERARCHY ImportMediationEntityJob \N opencell.admin \N \N \N ImportMediationEntityJob \N 1 \N \N 0 1 +-27 0 0 2019-07-01 00:00:00 \N UpdateUnpaidInvoiceStatusJob Update Status of Unpaid Invoices INVOICING UpdateUnpaidInvoiceStatusJob \N opencell.admin \N -3 \N UpdateUnpaidInvoiceStatusJob \N 1 \N \N 0 1 +-23 0 0 2019-07-01 00:00:00 \N ExportMediationEntityJob Export open EDR, WO, RTx IMPORT_HIERARCHY ExportMediationEntityJob \N opencell.admin \N \N \N ExportMediationEntityJob \N 1 { "ExportMediationEntityJob_rtStatusCf": [ { "listString": [ "BILLED", "CANCELED", "OPEN", "REJECTED", "RERATED" ] } ], "ExportMediationEntityJob_maxResult": [ { "long": 1000 } ], "ExportMediationEntityJob_edrStatusCf": [ { "listString": [ "AGGREGATED", "MEDIATING", "OPEN", "RATED", "REJECTED" ] } ], "ExportMediationEntityJob_woStatusCf": [ { "listString": [ "CANCELED", "OPEN", "RERATED", "RESERVED", "SCHEDULED", "TO_RERATE", "TREATED" ] } ], "ExportMediationEntityJob_firstTransactionDate": [ { "date": "2017-12-01T00:00:00Z" } ] } \N 0 1 +-24 0 0 2019-07-01 00:00:00 \N PurgeMediationDataJob Purge not open EDR, WO, RTx UTILS PurgeMediationDataJob \N opencell.admin \N \N \N PurgeMediationDataJob \N 1 {"PurgeMediationDataJob_edrStatusCf":[ { "listString":[ "AGGREGATED", "MEDIATING", "OPEN", "RATED", "REJECTED" ] } ], "PurgeMediationDataJob_firstTransactionDate":[ { "date":"2017-12-01T00:00:00Z" } ], "PurgeMediationDataJob_woStatusCf":[ { "listString":[ "CANCELED", "OPEN", "RERATED", "RESERVED", "SCHEDULED", "TO_RERATE", "TREATED" ] } ], "PurgeMediationDataJob_rtStatusCf":[ { "listString":[ "BILLED", "CANCELED", "OPEN", "REJECTED", "RERATED" ] } ] } \N 0 1 +-28 0 0 2019-02-18 00:00:00 \N PurgeMediationDataJobV2 Purge not open EDR, WO, RTx MEDIATION PurgeMediationDataJobV2 \N opencell.admin \N \N \N PurgeMediationDataJobV2 \N 1 {"PurgeMediationDataJobV2_firstTransactionDate":[{"date":"2017-01-01T00:00:00Z"}]} \N 0 1 +12 4 0 2024-01-31 10:24:18.33 \N WALLET_RESERVATION_JOB WALLET_RESERVATION_JOB WALLET WalletReservationJob \N public.superadmin \N 2 \N f811dc89-f733-45b0-b544-68062a963fd3 \N 1 {"waitingMillis":[{"long":0}],"nbRuns":[{"long":-1}]} \N 0 1 +13 4 0 2024-01-31 10:36:11.528 \N RESET_WALLET_JOB \N UTILS NotificationJob \N public.superadmin \N \N \N 69f15b19-fe16-4b94-b923-ffd6073b8cc4 \N 1 {"notification":[{"entity":{"classname":"org.meveo.model.notification.WebHook","code":"WALLET_RESET"}}],"waitingMillis":[{"long":0}],"numberOfRetry":[{"long":0}],"retryInterval":[{"long":5}],"nbRuns":[{"long":-1}]} \N 0 1 +\. + + +-- +-- Data for Name: meveo_metrics_config; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.meveo_metrics_config (id, code, description, full_path, method, metrics_type, metrics_unit, version, updated, created, creator, updater) FROM stdin; +\. + + +-- +-- Data for Name: meveo_module; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.meveo_module (id, version, disabled, created, updated, creator, updater, code, description, module_license, logo_picture, script_instance_id, installed, module_source) FROM stdin; +-1 0 0 2024-01-26 14:03:24.239422 \N applicationInitializer \N AddAccessModule AddAccessModule GPL \N -20 0 \n\t\t\t\t\n\t\t\t\t \n\t\t\t\t \n\t\t\t\t \n\t\t\t\t org.meveo.model.billing.Subscription\n\t\t\t\t CREATED\n\t\t\t\t \n\t\t\t\t org.meveo.service.script.selfcare.CreateAccess\n\t\t\t\t \n\t\t\t\t \n\t\t\t\t subscription\n\t\t\t\t #{event}\n\t\t\t\t \n\t\t\t\t \n\t\t\t\t 0\n\t\t\t\t \n\t\t\t\t \n\t\t\t\t\n\t \t +-2 0 0 2024-01-26 14:03:24.239422 \N applicationInitializer \N Client Individual customer GPL \N -21 0 \n\t\t\t\t\n\t\t\t\t \n\t\t\t\t \n\t\t\t\t \n\t\t\t\t org.meveo.model.admin.User\n\t\t\t\t CREATED\n\t\t\t\t \n\t\t\t\t 0\n\t\t\t\t bot@opencellsoft.com\n\t\t\t\t #{event.email}\n\t\t\t\t Account creation confirmation\n\t\t\t\t Hello,\n\t\t\t\t Your login has been created:\n\t\t\t\t user name : #{event.userName}\n\t\t\t\t access url : http://opencell_url/frontend/DEMO/cc/index.html\n\t\t\t\t\t\t\t\t\n\t\t\t\t \n\t\t\t\t \n\t\t\t\t org.meveo.model.notification.InboundRequest\n\t\t\t\t INBOUND_REQ\n\t\t\t\t #{event.pathInfo.startsWith("/DEMO/registration")}\n\t\t\t\t org.meveo.service.script.selfcare.RegisterHierarchy\n\t\t\t\t \n\t\t\t\t \n\t\t\t\t body\n\t\t\t\t #{event.getBody()}\n\t\t\t\t \n\t\t\t\t \n\t\t\t\t 0\n\t\t\t\t \n\t\t\t\t \n\t\t\t\t \n\t\t\t\t \n\t\t\t\t C_UA\n\t\t\t\t\n\t \t +\. + + +-- +-- Data for Name: meveo_module_item; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.meveo_module_item (id, version, module_id, applies_to, item_type, item_code, valid_from, valid_to) FROM stdin; +\. + + +-- +-- Data for Name: meveo_native_filter_condition; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.meveo_native_filter_condition (id, version, el, jpql) FROM stdin; +\. + + +-- +-- Data for Name: meveo_or_composite_filter_condition; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.meveo_or_composite_filter_condition (id, version) FROM stdin; +\. + + +-- +-- Data for Name: meveo_primitive_filter_condition; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.meveo_primitive_filter_condition (id, version, field_name, operator, operand) FROM stdin; +\. + + +-- +-- Data for Name: meveo_script_instance; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.meveo_script_instance (id, version, disabled, created, updated, code, description, script, script_instance_cat_id, creator, updater, src_type, is_error, reuse) FROM stdin; +-10 0 0 2024-01-26 14:02:20.021235 \N org.meveo.service.script.demo.CustomGatewayPaymentScript CustomGatewayPaymentScript \n package org.meveo.service.script.demo;\n\nimport java.io.StringReader;\nimport java.util.Map;\n\nimport javax.xml.xpath.XPath;\nimport javax.xml.xpath.XPathExpressionException;\nimport javax.xml.xpath.XPathFactory;\n\nimport org.meveo.admin.exception.BusinessException;\nimport org.meveo.model.payments.CardPaymentMethod;\nimport org.meveo.model.payments.PaymentStatusEnum;\nimport org.meveo.service.script.payment.PaymentScript;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\nimport org.xml.sax.InputSource;\n\n/**\n * \n * @author anasseh\n *\n */\n\npublic class CustomGatewayPaymentScript extends PaymentScript{\n\n private static final Logger log = LoggerFactory.getLogger(CustomGatewayPaymentScript.class);\n\n @Override\n public void createCardToken(Map methodContext) throws BusinessException { \n methodContext.put(PaymentScript.RESULT_TOKEN, "7ced0000-3ab2-000d-6a50-08d4b8a6"+(int )(Math.random() * 1000 + 1));\n }\n\n @Override\n public void doPaymentToken(Map methodContext) throws BusinessException {\n doIt(methodContext, "PAL");\n } \n \n @Override\n public void doRefundToken(Map methodContext) throws BusinessException {\n doIt(methodContext, "RFD");\n }\n \n \n \n private void doIt(Map methodContext,String operationType) throws BusinessException {\n try{\n log.debug("EXECUTE methodContext {} ", methodContext);\n Long amountCts = (Long)methodContext.get(PaymentScript.CONTEXT_AMOUNT_CTS);\n if(amountCts == null){\n throw new BusinessException("amountCts is null");\n }\n CardPaymentMethod paymentToken = (CardPaymentMethod)methodContext.get(PaymentScript.CONTEXT_TOKEN);\n if(paymentToken == null){\n throw new BusinessException("paymentMethod is null");\n }\n\n String body = "{";\n body += " \\"PSPID\\" : \\"PSPID\\" ,";\n body += " \\"USERID\\" : \\"USERID\\" ,";\n body += " \\"PSWD\\" : \\"PSWD\\" ,";\n body += " \\"REFKIND\\" : \\"PSPID\\" ,";\n body += " \\"REFID\\" : \\"PSPID\\" ,";\n body += " \\"OPERATION\\" : \\""+operationType +"\\" ,";\n body += " \\"AMOUNT\\" : \\""+amountCts.longValue()+"\\" ,";\n body += " \\"CURRENCY\\" : \\""+paymentToken.getCustomerAccount().getTradingCurrency().getCurrencyCode()+"\\" ,";\n body += " \\"TRANSACTIONID\\" : \\""+paymentToken.getTokenId()+"\\" ,";\n body += " \\"SHASIGN\\" : \\"SHASIGN\\" ,";\n body += " }";\n log.debug("request body {} ", body);\n/* invoke here the real webService. \n \n*/\n String paymentResponse = ""; \n paymentResponse += "92";\n paymentResponse += ""+((int )(Math.random() * 100000 + 1))+""; \n paymentResponse += "92";\n paymentResponse += "clientSide"; \n paymentResponse += "VISA";\n paymentResponse += "bankRef"; \n paymentResponse += "";\n methodContext.put(PaymentScript.RESULT_PAYMENT_STATUS, PaymentStatusEnum.PENDING);\n methodContext.put(PaymentScript.RESULT_PAYMENT_ID, getValue(paymentResponse,"/root/PAYID"));\n methodContext.put(PaymentScript.RESULT_TRANSACTION_ID, getValue(paymentResponse,"/root/TRANSACTIONID"));\n methodContext.put(PaymentScript.RESULT_CODE_CLIENT_SIDE, getValue(paymentResponse,"/root/CRMTOKEN"));\n methodContext.put(PaymentScript.RESULT_PAYMENT_BRAND, getValue(paymentResponse,"/root/BRAND"));\n methodContext.put(PaymentScript.RESULT_BANK_REFERENCE, getValue(paymentResponse,"/root/ACCEPTENCE")); \n } catch (Exception e) {\n e.printStackTrace();\n throw new BusinessException(e.getMessage());\n }\n } \n\n private String getValue(String sourceXML,String expression) throws XPathExpressionException{ \n InputSource iSource = new InputSource(new StringReader(sourceXML));\n XPathFactory xpathFactory = XPathFactory.newInstance();\n XPath xpath = xpathFactory.newXPath(); \n return xpath.evaluate(expression, iSource); \n }\n}\n \N \N \N JAVA 0 0 +-11 0 0 2024-01-26 14:02:20.021235 \N org.meveo.service.script.demo.PaymentCallBackScript PaymentCallBackScript \n package org.meveo.service.script.smoove;\n\nimport java.util.Map;\n\nimport org.meveo.admin.exception.BusinessException;\nimport org.meveo.model.payments.PaymentStatusEnum;\nimport org.meveo.service.payments.impl.PaymentService;\nimport org.meveo.service.script.Script;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\n\n/**\n * \n * @author anasseh\n *\n * Script executed after a payment callBack (inbound request), if the payment is rejected , the invoice matching is removed and a new is created with a the new reject\n * payment account operation\n *\n */\n\npublic class PaymentCallBackScript extends Script {\n\n private static final Logger log = LoggerFactory.getLogger(PaymentCallBackScript.class);\n private PaymentService paymentService = (PaymentService) getServiceInterface("PaymentService");\n\n @Override\n public void execute(Map methodContext) throws BusinessException {\n log.debug("EXECUTE methodContext {} ", methodContext);\n @SuppressWarnings("unchecked")\n Map params = (Map) methodContext.get("params");\n log.info("params:" + params);\n if (params.get("STATUS") == null) {\n throw new BusinessException("Parameter STATUS is required");\n }\n if (params.get("PAYID") == null) {\n throw new BusinessException("Parameter PAYID is required");\n }\n PaymentStatusEnum paymentStatus = PaymentStatusEnum.ACCEPTED;\n if (!"9".equals(params.get("STATUS"))) {\n paymentStatus = PaymentStatusEnum.REJECTED;\n }\n paymentService.paymentCallback(params.get("PAYID"), paymentStatus, params.get("NCERROR"), params.get("NCERROR"));\n }\n\n}\n \N \N \N JAVA 0 0 +-1 0 0 2024-01-26 14:02:21.183234 \N ACCOUNT_OPS Export account operations \n package org.meveo.service.script.export;\n\nimport java.io.File;\nimport java.io.FileWriter;\nimport java.text.DateFormat;\nimport java.text.SimpleDateFormat;\nimport java.util.List;\nimport java.util.Map;\n\nimport org.meveo.admin.exception.BusinessException;\nimport org.meveo.model.payments.AccountOperation;\nimport org.meveo.model.payments.CustomerAccount;\nimport org.meveo.model.payments.RecordedInvoice;\nimport org.meveo.service.payments.impl.AccountOperationService;\nimport org.meveo.service.script.Script;\nimport org.meveo.service.script.finance.ReportExtractScript;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\nimport java.util.Date;\n\npublic class ExportAccountOperationScript extends ReportExtractScript {\n\n private static final Logger LOGGER = LoggerFactory.getLogger(ExportAccountOperationScript.class);\n\n private AccountOperationService accountOperationService = (AccountOperationService) getServiceInterface(AccountOperationService.class.getSimpleName());\n\n\n @Override\n public void execute(Map initContext) throws BusinessException {\n try {\n LOGGER.debug("#####################Starting of script ExportAccountOperationScript");\n\n Date startDate = (Date) initContext.get(ReportExtractScript.START_DATE);\n Date endDate = (Date) initContext.get(ReportExtractScript.END_DATE);\n DateFormat df = new SimpleDateFormat("yyyy-MM-dd");\n\n List accountOperations = accountOperationService.list();\n initContext.put(ReportExtractScript.LINE_COUNT, accountOperations.size());\n \n String exportDir = String.valueOf(initContext.get(ReportExtractScript.DIR));\n File dir = new File(exportDir);\n if (!dir.exists()) {\n dir.mkdirs();\n }\n CustomerAccount customerAccount = null;\n StringBuilder sb =new StringBuilder();\n sb.append("Transaction Date;Transaction Type;Amount;Due Date;Reference;Transaction Category;Invoice Date;"\n + "Customer Account Code;Customer Account Description\\n");\n for (AccountOperation accountOperation : accountOperations) {\n if(accountOperation.getTransactionDate().equals(startDate) || accountOperation.getTransactionDate().equals(endDate)\n || (accountOperation.getTransactionDate().after(startDate) && accountOperation.getTransactionDate().before(endDate))) {\n\n customerAccount = accountOperation.getCustomerAccount();\n sb.append(nil(accountOperation.getTransactionDate().toString())+ ";");\n sb.append(nil(accountOperation.getType()) + ";");\n sb.append(nil(accountOperation.getAmount().toString()) + ";");\n sb.append(isNull(accountOperation.getDueDate()) + ";");\n sb.append(nil(accountOperation.getReference()) + ";");\n sb.append(nil(accountOperation.getTransactionCategory().toString()) + ";");\n if(accountOperation instanceof RecordedInvoice) {\n RecordedInvoice invoice = (RecordedInvoice) accountOperation;\n sb.append(invoice.getInvoiceDate().toString() + ";");\n } else {\n sb.append(";");\n }\n sb.append(nil(customerAccount.getCode()) + ";");\n sb.append(nil(customerAccount.getDescriptionOrCode()) + ";\\n");\n\n\n }\n }\n String strFilename = String.valueOf(initContext.get(ReportExtractScript.FILENAME));\n LOGGER.debug("output={}", strFilename);\n File file = new File(dir + File.separator + strFilename);\n file.createNewFile();\n FileWriter fileWriter = new FileWriter(file);\n fileWriter.write(sb.toString());\n fileWriter.close();\n\n LOGGER.debug("#####################Ending of script ExportAccountOperationScript");\n } catch (Exception e) {\n initContext.put(ReportExtractScript.ERROR_MESSAGE, e.getMessage());\n LOGGER.error("Exception:", e);\n throw new BusinessException(e.getMessage());\n }\n\n }\n\n private String isNull(Object obj) {\n if(obj == null) {\n return "";\n } else {\n return obj.toString();\n }\n }\n\n private String nil(String word) {\n if (word == null || "null".equalsIgnoreCase(word)) {\n return "";\n } else {\n return word;\n }\n }\n} \n \N \N \N JAVA 0 0 +-12 0 0 2024-01-26 14:02:21.183234 \N org.meveo.service.script.presale.AgedBalanceReporting Aged Balance Reporting Script \npackage org.meveo.service.script.presale;\n\nimport java.io.File;\nimport java.math.BigDecimal;\nimport java.math.RoundingMode;\nimport java.util.Date;\nimport java.util.HashMap;\nimport java.util.List;\nimport java.util.Map;\n\nimport org.apache.commons.lang.time.DateUtils;\nimport org.meveo.admin.exception.BusinessException;\nimport org.meveo.commons.utils.CsvBuilder;\nimport org.meveo.model.payments.CustomerAccount;\nimport org.meveo.service.payments.impl.CustomerAccountService;\nimport org.meveo.service.script.finance.ReportExtractScript;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\n\n/**\n * @author anasseh\n * @corrector jpviegas\n */\npublic class AgedBalanceReporting extends ReportExtractScript {\n\n private static final Logger log = LoggerFactory.getLogger(AgedBalanceReporting.class);\n\n private CustomerAccountService customerAccountService = (CustomerAccountService) getServiceInterface(CustomerAccountService.class.getSimpleName());\n\n @Override\n public void execute(Map executeContext) throws BusinessException {\n try {\n log.debug("execute executeContext:{}", executeContext);\n \n Map params = new HashMap();\n params.put("sysdate30", DateUtils.addDays(new Date(), -30));\n params.put("sysdate60", DateUtils.addDays(new Date(), -60));\n params.put("sysdate90", DateUtils.addDays(new Date(), -90));\n \n String query = "Select ao.customerAccount.id , "\n + "sum (case when ao.dueDate <= current_date() and ao.dueDate >:sysdate30 then ao.amount else 0 end ) as sum_0_30, "\n + "sum (case when ao.dueDate <=:sysdate30 and ao.dueDate >:sysdate60 then ao.amount else 0 end ) as sum_30_60, "\n + "sum (case when ao.dueDate <=:sysdate60 and ao.dueDate >:sysdate90 then ao.amount else 0 end ) as sum_60_90, "\n + "sum (case when ao.dueDate <=:sysdate90 then ao.amount else 0 end ) as sum_90_up "\n + "from AccountOperation ao where ao.transactionCategory = 'DEBIT' group by ao.customerAccount";\n \n List rows = (List) customerAccountService.executeSelectQuery(query,params);\n log.debug("execute rows size:{}", rows == null ? null : rows.size());\n String dirOutput = String.valueOf(executeContext.get(ReportExtractScript.DIR));\n String filename = String.valueOf(executeContext.get(ReportExtractScript.FILENAME));\n\n CsvBuilder csvBuilder = new CsvBuilder(";", false); \n String[] header = { "CA_DESC", "C_DESC","DEBT_TIER_0_30_DAYS","DEBT_TIER_30_60_DAYS","DEBT_TIER_60_90_DAYS","DEBT_TIER_90_DAYS" };\n csvBuilder.appendValues(header);\n csvBuilder.startNewLine();\n for (Object[] row : rows) {\n CustomerAccount ca = customerAccountService.findById(((Long)row[0]));\n csvBuilder.appendValue(ca.getDescription());\n csvBuilder.appendValue(ca.getCustomer().getDescription());\n csvBuilder.appendValue(round((BigDecimal)row[1])); \n csvBuilder.appendValue(round((BigDecimal)row[2])); \n csvBuilder.appendValue(round((BigDecimal)row[3])); \n csvBuilder.appendValue(round((BigDecimal)row[4])); \n csvBuilder.startNewLine();\n }\n csvBuilder.toFile(dirOutput + File.separator + filename);\n log.debug("execute file generated:{}", dirOutput + File.separator + filename);\n\n } catch (Exception e) {\n log.error("Error on AgedBalanceReporting:", e);\n throw new BusinessException(e.getMessage());\n }\n }\n\n private String round(BigDecimal amount) {\n if(amount == null) {\n return "";\n }\n if (amount.scale() > 4) {\n String amountAsString = "" + amount; \n amount = new BigDecimal(amount.longValue() + "." + amountAsString.substring(amountAsString.indexOf(".") + 1).substring(0, 4));\n }\n amount = amount.setScale(2, RoundingMode.UP);\n return amount.toPlainString();\n }\n}\n \N \N \N JAVA 0 0 +-13 0 0 2024-01-26 14:02:21.183234 \N org.meveo.service.script.presale.CustomerRevenuReporting Customer Revenu Reporting Script \n package org.meveo.service.script.presale;\n\nimport java.io.File;\nimport java.math.BigDecimal;\nimport java.math.RoundingMode;\nimport java.util.Date;\nimport java.util.HashMap;\nimport java.util.List;\nimport java.util.Map;\n\nimport org.meveo.admin.exception.BusinessException;\nimport org.meveo.commons.utils.CsvBuilder;\nimport org.meveo.model.payments.CustomerAccount;\nimport org.meveo.service.payments.impl.AccountOperationService;\nimport org.meveo.service.payments.impl.CustomerAccountService;\nimport org.meveo.service.script.finance.ReportExtractScript;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\n\n/**\n * @author anasseh\n *\n */\npublic class CustomerRevenuReporting extends ReportExtractScript {\n\n private static final Logger log = LoggerFactory.getLogger(CustomerRevenuReporting.class);\n\n private CustomerAccountService customerAccountService = (CustomerAccountService) getServiceInterface(CustomerAccountService.class.getSimpleName());\n\n @Override\n public void execute(Map executeContext) throws BusinessException {\n try {\n log.debug("execute executeContext:{}", executeContext);\n\n Date startDate = (Date) executeContext.get(ReportExtractScript.START_DATE);\n Date endDate = (Date) executeContext.get(ReportExtractScript.END_DATE);\n \n Map params = new HashMap();\n params.put("startDateIN", startDate);\n params.put("endDateIN", endDate);\n String query = "Select ao.customerAccount.id , sum (ao.amount) as sum_amount from AccountOperation ao where ao.transactionCategory = 'DEBIT' and ao.dueDate >=:startDateIN "\n + "and ao.dueDate <:endDateIN group by ao.customerAccount order by sum_amount desc";\n \n \n List aos = (List) customerAccountService.executeSelectQuery(query,params);\n log.debug("execute aos size:{}", aos == null ? null : aos.size());\n String dirOutput = String.valueOf(executeContext.get(ReportExtractScript.DIR));\n String filename = String.valueOf(executeContext.get(CustomerRevenuReporting.FILENAME));\n\n CsvBuilder csvBuilder = new CsvBuilder(";", false); \n String[] header = { "CA_DESC", "C_DESC","SUM_REVENUE" };\n csvBuilder.appendValues(header);\n csvBuilder.startNewLine();\n for (Object[] ao : aos) {\n CustomerAccount ca = customerAccountService.findById(((Long)ao[0]));\n csvBuilder.appendValue(ca.getDescription());\n csvBuilder.appendValue(ca.getCustomer().getDescription());\n csvBuilder.appendValue(round((BigDecimal)ao[1])); \n csvBuilder.startNewLine();\n }\n csvBuilder.toFile(dirOutput + File.separator + filename);\n log.debug("execute file generated:{}", dirOutput + File.separator + filename);\n\n } catch (Exception e) {\n log.error("Error on CustomerRevenuReporting:", e);\n throw new BusinessException(e.getMessage());\n }\n }\n\n private String round(BigDecimal amount) {\n if(amount == null) {\n return "";\n }\n if (amount.scale() > 4) {\n String amountAsString = "" + amount; \n amount = new BigDecimal(amount.longValue() + "." + amountAsString.substring(amountAsString.indexOf(".") + 1).substring(0, 4));\n }\n amount = amount.setScale(2, RoundingMode.UP);\n return amount.toPlainString();\n }\n}\n \N \N \N JAVA 0 0 +-14 0 0 2024-01-26 14:02:21.183234 \N org.meveo.service.script.presale.CustomerPerDunningReporting Customer Per Dunnning Reporting Script \n package org.meveo.service.script.presale;\n\nimport java.io.File;\nimport java.util.List;\nimport java.util.Map;\n\nimport org.meveo.admin.exception.BusinessException;\nimport org.meveo.commons.utils.CsvBuilder;\nimport org.meveo.model.payments.CustomerAccount;\nimport org.meveo.service.payments.impl.CustomerAccountService;\nimport org.meveo.service.script.finance.ReportExtractScript;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\n\n/**\n * @author anasseh\n *\n */\npublic class CustomerPerDunningReporting extends ReportExtractScript {\n\n private static final Logger log = LoggerFactory.getLogger(CustomerPerDunningReporting.class);\n\n private CustomerAccountService customerAccountService = (CustomerAccountService) getServiceInterface(CustomerAccountService.class.getSimpleName());\n\n @Override\n public void execute(Map executeContext) throws BusinessException {\n try {\n log.debug("execute executeContext:{}", executeContext);\n List rows = (List) customerAccountService.executeSelectQuery("from CustomerAccount ca order by ca.dunningLevel", null);\n log.debug("execute rows size:{}", rows == null ? null : rows.size());\n String dirOutput = String.valueOf(executeContext.get(ReportExtractScript.DIR));\n String filename = String.valueOf(executeContext.get(CustomerPerDunningReporting.FILENAME));\n\n CsvBuilder csvBuilder = new CsvBuilder(";", false);\n String[] header = { "CA_DESC", "C_DESC", "LEVEL" };\n csvBuilder.appendValues(header);\n csvBuilder.startNewLine();\n for (CustomerAccount ca : rows) {\n csvBuilder.appendValue(ca.getDescription());\n csvBuilder.appendValue(ca.getCustomer().getDescription());\n csvBuilder.appendValue("" + ca.getDunningLevel());\n csvBuilder.startNewLine();\n }\n csvBuilder.toFile(dirOutput + File.separator + filename);\n log.debug("execute file generated:{}", dirOutput + File.separator + filename);\n\n } catch (Exception e) {\n log.error("Error on CustomerPerDunningReporting:", e);\n throw new BusinessException(e.getMessage());\n }\n }\n}\n \N \N \N JAVA 0 0 +-15 0 0 2024-01-26 14:02:21.183234 \N org.meveo.service.script.presale.CustomerPerOfferReporting Customer Per Offer Reporting Script \n package org.meveo.service.script.presale;\n\nimport java.io.File;\nimport java.util.Date;\nimport java.util.HashMap;\nimport java.util.List;\nimport java.util.Map;\n\nimport org.meveo.admin.exception.BusinessException;\nimport org.meveo.commons.utils.CsvBuilder;\nimport org.meveo.commons.utils.StringUtils;\nimport org.meveo.model.billing.UserAccount;\nimport org.meveo.model.catalog.OfferTemplate;\nimport org.meveo.service.billing.impl.SubscriptionService;\nimport org.meveo.service.script.finance.ReportExtractScript;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\n\n/**\n * @author anasseh\n *\n */\npublic class CustomerPerOfferReporting extends ReportExtractScript {\n\n private static final Logger log = LoggerFactory.getLogger(CustomerPerOfferReporting.class);\n\n private SubscriptionService subscriptionService = (SubscriptionService) getServiceInterface(SubscriptionService.class.getSimpleName());\n\n @Override\n public void execute(Map executeContext) throws BusinessException {\n try {\n log.debug("execute executeContext:{}", executeContext);\n\n Date startDate = (Date) executeContext.get(ReportExtractScript.START_DATE);\n String offerCode = (String) executeContext.get("OFFER_CODE");\n\n Map params = new HashMap();\n params.put("subDateIN", startDate);\n String query = "Select distinct sub.offer, sub.userAccount from Subscription sub where sub.subscriptionDate >:subDateIN ";\n if (!StringUtils.isBlank(offerCode)) {\n query += " and sub.offer.code =:offCodeIN ";\n params.put("offCodeIN", offerCode);\n }\n \n List rows = (List) subscriptionService.executeSelectQuery(query + "order by sub.offer.code",params);\n log.debug("execute rows size:{}", rows == null ? null : rows.size());\n String dirOutput = String.valueOf(executeContext.get(ReportExtractScript.DIR));\n String filename = String.valueOf(executeContext.get(CustomerPerOfferReporting.FILENAME));\n\n CsvBuilder csvBuilder = new CsvBuilder(";", false); \n String[] header = { "OFF_CODE", "OFF_DESC", "UA_DESC", "BA_DESC", "CA_DESC", "C_DESC" };\n csvBuilder.appendValues(header);\n csvBuilder.startNewLine();\n for (Object[] row : rows) {\n csvBuilder.appendValue(((OfferTemplate)row[0]).getCode());\n csvBuilder.appendValue(((OfferTemplate)row[0]).getDescription());\n csvBuilder.appendValue(((UserAccount)row[1]).getDescription());\n csvBuilder.appendValue(((UserAccount)row[1]).getBillingAccount().getDescription());\n csvBuilder.appendValue(((UserAccount)row[1]).getBillingAccount().getCustomerAccount().getDescription());\n csvBuilder.appendValue(((UserAccount)row[1]).getBillingAccount().getCustomerAccount().getCustomer().getDescription());\n csvBuilder.startNewLine();\n }\n csvBuilder.toFile(dirOutput + File.separator + filename);\n log.debug("execute file generated:{}", dirOutput + File.separator + filename);\n\n } catch (Exception e) {\n log.error("Error on CustomerPerOfferReporting:", e);\n throw new BusinessException(e.getMessage());\n }\n }\n}\n \N \N \N JAVA 0 0 +-16 0 0 2024-01-26 14:02:21.183234 \N org.meveo.service.script.presale.KPIAgedBalanceReporting KPI Aged Balance Reporting Script \n package org.meveo.service.script.presale;\n\nimport java.io.File;\nimport java.util.Date;\nimport java.util.HashMap;\nimport java.util.List;\nimport java.util.Map;\n\nimport org.apache.commons.lang.time.DateUtils;\nimport org.meveo.admin.exception.BusinessException;\nimport org.meveo.commons.utils.CsvBuilder;\nimport org.meveo.service.payments.impl.CustomerAccountService;\nimport org.meveo.service.script.finance.ReportExtractScript;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\n\n/**\n * @author anasseh\n */\npublic class KPIAgedBalanceReporting extends ReportExtractScript {\n\n private static final Logger log = LoggerFactory.getLogger(KPIAgedBalanceReporting.class);\n\n private CustomerAccountService customerAccountService = (CustomerAccountService) getServiceInterface(CustomerAccountService.class.getSimpleName());\n\n @Override\n public void execute(Map executeContext) throws BusinessException {\n try {\n log.debug("execute executeContext:{}", executeContext);\n String query = "Select count(distinct ao.customerAccount.id) "\n + "from AccountOperation ao where ao.transactionCategory = 'DEBIT' and ao.dueDate <=:dateTo and ao.dueDate >:dateFrom ";\n \n Map params = new HashMap();\n\n params.put("dateFrom", DateUtils.addDays(new Date(), -30));\n params.put("dateTo", new Date());\n List count_now_30 = (List) customerAccountService.executeSelectQuery(query, params);\n\n params.put("dateFrom", DateUtils.addDays(new Date(), -60));\n params.put("dateTo", DateUtils.addDays(new Date(), -30));\n List count_30_60 = (List) customerAccountService.executeSelectQuery(query, params);\n\n params.put("dateFrom", DateUtils.addDays(new Date(), -90));\n params.put("dateTo", DateUtils.addDays(new Date(), -60));\n List count_60_90 = (List) customerAccountService.executeSelectQuery(query, params);\n\n params.put("dateFrom", new Date(1));\n params.put("dateTo", DateUtils.addDays(new Date(), -90));\n List count_90_up = (List) customerAccountService.executeSelectQuery(query, params);\n\n String dirOutput = String.valueOf(executeContext.get(ReportExtractScript.DIR));\n String filename = String.valueOf(executeContext.get(ReportExtractScript.FILENAME));\n\n CsvBuilder csvBuilder = new CsvBuilder(";", false);\n String[] header = { "DEBT_TIER", "Number of accounts" };\n csvBuilder.appendValues(header);\n csvBuilder.startNewLine();\n\n csvBuilder.appendValue("0_30_days");\n csvBuilder.appendValue("" + count_now_30.get(0));\n csvBuilder.startNewLine();\n\n csvBuilder.appendValue("30_60_days");\n csvBuilder.appendValue("" + count_30_60.get(0));\n csvBuilder.startNewLine();\n\n csvBuilder.appendValue("60_90_days");\n csvBuilder.appendValue("" + count_60_90.get(0));\n csvBuilder.startNewLine();\n\n csvBuilder.appendValue("90_days_up");\n csvBuilder.appendValue("" + count_90_up.get(0));\n csvBuilder.startNewLine();\n\n csvBuilder.toFile(dirOutput + File.separator + filename);\n log.debug("execute file generated:{}", dirOutput + File.separator + filename);\n\n } catch (Exception e) {\n log.error("Error on AgedBalanceReporting:", e);\n throw new BusinessException(e.getMessage());\n }\n }\n}\n \N \N \N JAVA 0 0 +-17 0 0 2024-01-26 14:02:21.183234 \N org.meveo.service.script.presale.KPICustomerRevenuReporting KPI Customer Revenu Report Script \n package org.meveo.service.script.presale;\n\nimport java.io.File;\nimport java.math.BigDecimal;\nimport java.math.RoundingMode;\nimport java.util.Date;\nimport java.util.HashMap;\nimport java.util.List;\nimport java.util.Map;\n\nimport org.meveo.admin.exception.BusinessException;\nimport org.meveo.commons.utils.CsvBuilder;\nimport org.meveo.service.payments.impl.CustomerAccountService;\nimport org.meveo.service.script.finance.ReportExtractScript;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\n\n/**\n * @author anasseh\n *\n */\npublic class KPICustomerRevenuReporting extends ReportExtractScript {\n\n private static final Logger log = LoggerFactory.getLogger(KPICustomerRevenuReporting.class);\n\n private CustomerAccountService customerAccountService = (CustomerAccountService) getServiceInterface(CustomerAccountService.class.getSimpleName());\n\n @Override\n public void execute(Map executeContext) throws BusinessException {\n try {\n log.debug("execute executeContext:{}", executeContext);\n\n Date startDate = (Date) executeContext.get(ReportExtractScript.START_DATE);\n Date endDate = (Date) executeContext.get(ReportExtractScript.END_DATE);\n\n Map params = new HashMap();\n params.put("startDateIN", startDate);\n params.put("endDateIN", endDate);\n String query = "Select ao.customerAccount.id , sum (ao.amount) as sum_amount from AccountOperation ao where ao.transactionCategory = 'DEBIT' and ao.dueDate >=:startDateIN "\n + "and ao.dueDate <:endDateIN group by ao.customerAccount order by sum_amount ";\n\n List rows = (List) customerAccountService.executeSelectQuery(query, params);\n log.debug("execute columns size:{}", rows == null ? null : rows.size());\n String dirOutput = String.valueOf(executeContext.get(ReportExtractScript.DIR));\n String filename = String.valueOf(executeContext.get(KPICustomerRevenuReporting.FILENAME));\n long cpt0_50000 = 0;\n long cpt50000_100000 = 0;\n long cpt100000_500000 = 0;\n long cpt500000_1000000 = 0;\n long cpt1000000Up = 0;\n CsvBuilder csvBuilder = new CsvBuilder(";", false);\n String[] header = { "RANGE", "NB_CUSTOMERS" };\n csvBuilder.appendValues(header);\n csvBuilder.startNewLine();\n\n for (Object[] row : rows) {\n log.info("(BigDecimal) row[1]:"+(BigDecimal) row[1]);\n if (((BigDecimal) row[1]).compareTo(new BigDecimal(50000)) < 0) {\n cpt0_50000++;\n continue;\n }\n if (((BigDecimal) row[1]).compareTo(new BigDecimal(100000)) < 0) {\n cpt50000_100000++;\n continue;\n }\n if (((BigDecimal) row[1]).compareTo(new BigDecimal(500000)) < 0) {\n cpt100000_500000++;\n continue;\n }\n if (((BigDecimal) row[1]).compareTo(new BigDecimal(1000000)) < 0) {\n cpt500000_1000000++;\n continue;\n }\n if (((BigDecimal) row[1]).compareTo(new BigDecimal(1000000)) >= 0) {\n cpt1000000Up++;\n continue;\n }\n\n }\n csvBuilder.appendValue("0<50000");\n csvBuilder.appendValue("" + cpt0_50000);\n csvBuilder.startNewLine();\n csvBuilder.appendValue("50000<100000");\n csvBuilder.appendValue("" + cpt50000_100000);\n csvBuilder.startNewLine();\n csvBuilder.appendValue("100000<500000");\n csvBuilder.appendValue("" + cpt100000_500000);\n csvBuilder.startNewLine();\n csvBuilder.appendValue("500000<1000000");\n csvBuilder.appendValue("" + cpt500000_1000000);\n csvBuilder.startNewLine();\n csvBuilder.appendValue("1000000<");\n csvBuilder.appendValue("" + cpt1000000Up);\n csvBuilder.startNewLine();\n\n csvBuilder.toFile(dirOutput + File.separator + filename);\n log.debug("execute file generated:{}", dirOutput + File.separator + filename);\n\n } catch (Exception e) {\n log.error("Error on KPICustomerRevenuReporting:", e);\n throw new BusinessException(e.getMessage());\n }\n }\n\n private String round(BigDecimal amount) {\n if (amount == null) {\n return "";\n }\n if (amount.scale() > 4) {\n String amountAsString = "" + amount;\n amount = new BigDecimal(amount.longValue() + "." + amountAsString.substring(amountAsString.indexOf(".") + 1).substring(0, 4));\n }\n amount = amount.setScale(2, RoundingMode.UP);\n return amount.toPlainString();\n }\n}\n \N \N \N JAVA 0 0 +-18 0 0 2024-01-26 14:02:21.183234 \N org.meveo.service.script.presale.KPICustomerPerDunningReporting KPI Customer Per Dunning Reporting Script \n /**\n * \n */\npackage org.meveo.service.script.presale;\n\nimport java.io.File;\nimport java.util.List;\nimport java.util.Map;\n\nimport org.meveo.admin.exception.BusinessException;\nimport org.meveo.commons.utils.CsvBuilder;\nimport org.meveo.model.payments.CustomerAccount;\nimport org.meveo.service.payments.impl.CustomerAccountService;\nimport org.meveo.service.script.finance.ReportExtractScript;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\n\n/**\n * @author anasseh\n *\n */\npublic class KPICustomerPerDunningReporting extends ReportExtractScript {\n\n private static final Logger log = LoggerFactory.getLogger(KPICustomerPerDunningReporting.class);\n\n private CustomerAccountService customerAccountService = (CustomerAccountService) getServiceInterface(CustomerAccountService.class.getSimpleName());\n\n @Override\n public void execute(Map executeContext) throws BusinessException {\n try {\n log.debug("execute executeContext:{}", executeContext);\n List rows = (List) customerAccountService.executeSelectQuery("Select ca.dunningLevel , count(ca) from CustomerAccount ca group by ca.dunningLevel order by ca.dunningLevel", null);\n log.debug("execute rows size:{}", rows == null ? null : rows.size());\n String dirOutput = String.valueOf(executeContext.get(ReportExtractScript.DIR));\n String filename = String.valueOf(executeContext.get(KPICustomerPerDunningReporting.FILENAME));\n\n CsvBuilder csvBuilder = new CsvBuilder(";", false);\n String[] header = { "DUNNING_LEVEL", "Number of accounts" };\n csvBuilder.appendValues(header);\n csvBuilder.startNewLine();\n for (Object[] row : rows) {\n csvBuilder.appendValue(""+row[0]);\n csvBuilder.appendValue(""+row[1]);\n csvBuilder.startNewLine();\n }\n csvBuilder.toFile(dirOutput + File.separator + filename);\n log.debug("execute file generated:{}", dirOutput + File.separator + filename);\n\n } catch (Exception e) {\n log.error("Error on KPICustomerPerDunningReporting:", e);\n throw new BusinessException(e.getMessage());\n }\n }\n}\n \N \N \N JAVA 0 0 +-19 0 0 2024-01-26 14:02:21.183234 \N org.meveo.service.script.presale.KPICustomerPerOfferReporting KPI Customer Per Offer Reporting Script \n /**\n * \n */\npackage org.meveo.service.script.presale;\n\nimport java.io.File;\nimport java.util.Date;\nimport java.util.HashMap;\nimport java.util.List;\nimport java.util.Map;\n\nimport org.meveo.admin.exception.BusinessException;\nimport org.meveo.commons.utils.CsvBuilder;\nimport org.meveo.commons.utils.StringUtils;\nimport org.meveo.model.catalog.OfferTemplate;\nimport org.meveo.service.billing.impl.SubscriptionService;\nimport org.meveo.service.script.finance.ReportExtractScript;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\n\n/**\n * @author anasseh\n *\n */\npublic class KPICustomerPerOfferReporting extends ReportExtractScript {\n\n private static final Logger log = LoggerFactory.getLogger(KPICustomerPerOfferReporting.class);\n\n private SubscriptionService subscriptionService = (SubscriptionService) getServiceInterface(SubscriptionService.class.getSimpleName());\n\n @Override\n public void execute(Map executeContext) throws BusinessException {\n try {\n log.debug("execute executeContext:{}", executeContext);\n\n Date startDate = (Date) executeContext.get(ReportExtractScript.START_DATE);\n String offerCode = (String) executeContext.get("OFFER_CODE");\n\n Map params = new HashMap();\n params.put("subDateIN", startDate);\n String query = "Select offer, count(sub) from Subscription sub,OfferTemplate offer where sub.subscriptionDate >:subDateIN " + " and sub.offer = offer";\n if (!StringUtils.isBlank(offerCode)) {\n query += " and offer.code =:offCodeIN ";\n params.put("offCodeIN", offerCode);\n }\n List subs = (List) subscriptionService.executeSelectQuery(query +" group by offer", params);\n log.debug("execute subs size:{}", subs == null ? null : subs.size());\n String dirOutput = String.valueOf(executeContext.get(ReportExtractScript.DIR));\n String filename = String.valueOf(executeContext.get(KPICustomerPerOfferReporting.FILENAME));\n\n CsvBuilder csvBuilder = new CsvBuilder(";", false);\n String[] header = { "OFF_CODE", "OFF_DESC", "Nb of user accounts" };\n csvBuilder.appendValues(header);\n csvBuilder.startNewLine();\n for (Object[] sub : subs) {\n csvBuilder.appendValue(((OfferTemplate) sub[0]).getCode());\n csvBuilder.appendValue(((OfferTemplate) sub[0]).getDescription());\n csvBuilder.appendValue("" + (Long) sub[1]);\n csvBuilder.startNewLine();\n }\n csvBuilder.toFile(dirOutput + File.separator + filename);\n log.debug("execute file generated:{}", dirOutput + File.separator + filename);\n\n } catch (Exception e) {\n log.error("Error on KPICustomerPerOfferReporting:", e);\n throw new BusinessException(e.getMessage());\n }\n }\n}\n \N \N \N JAVA 0 0 +-20 0 0 2024-01-26 14:03:24.239422 \N org.meveo.service.script.selfcare.CreateAccess AddAccess \n\t\t\tpackage org.meveo.service.script.selfcare;\n\t\t\t\n\t\t\timport java.util.Date;\n\t\t\timport java.util.Map;\n\t\t\t\n\t\t\timport org.meveo.admin.exception.BusinessException;\n\t\t\timport org.meveo.model.admin.User;\n\t\t\timport org.meveo.model.billing.Subscription;\n\t\t\timport org.meveo.service.medina.impl.AccessService;\n\t\t\timport org.meveo.service.script.module.ModuleScript;\n\t\t\timport org.slf4j.Logger;\n\t\t\timport org.slf4j.LoggerFactory;\n\t\t\t\n\t\t\tpublic class CreateAccess extends ModuleScript {\t\n\t\t\t\tprivate static final Logger log = LoggerFactory.getLogger(CreateAccess.class);\t\t\n\t\t\t\t\n\t\t\t\t@Override\n\t\t\t public void execute(Map methodContext) throws BusinessException {\n\t\t\t\t\tAccessService accessService = (AccessService) getServiceInterface("AccessService");\n\t\t\t\t\tSubscription subscription = (Subscription) methodContext.get("subscription");\n\t\t\t\t\tif(subscription == null){\n\t\t\t\t\t\tthrow new BusinessException("subscription is null");\n\t\t\t\t\t}\n\t\t\t\t\tlog.debug("subscription.getCode() : "+subscription.getCode());\t\t\n\t\t\t\t\torg.meveo.model.mediation.Access access = new org.meveo.model.mediation.Access();\n\t\t\t\t\taccess.setSubscription(subscription);\n\t\t\t\t\taccess.setAccessUserId("ACC_"+subscription.getCode());\n\t\t\t\t\taccess.setStartDate(new Date());\n\t\t\t\t\taccess.setEndDate(null);\n\t\t\t\t\taccessService.create(access);\n\t\t\t }\t\n\t\t\t}\n \N \N \N JAVA 0 0 +-21 0 0 2024-01-26 14:03:24.239422 \N org.meveo.service.script.SelfcareAccountScript Script BAM for selfcare accounts \n\t\t\tpackage org.meveo.service.script;\n\t\t\timport java.math.BigDecimal;\n\t\t\timport java.nio.charset.Charset;\n\t\t\timport java.security.MessageDigest;\n\t\t\timport java.security.NoSuchAlgorithmException; \n\t\t\timport java.util.List;\n\t\t\timport java.util.HashSet;\n\t\t\timport java.util.Map;\n\t\t\timport org.meveo.admin.exception.BusinessException;\n\t\t\timport org.meveo.api.dto.account.CRMAccountHierarchyDto; \n\t\t\timport org.meveo.api.dto.UserDto; \n\t\t\timport org.meveo.api.exception.MeveoApiException;\n\t\t\timport org.meveo.commons.utils.StringUtils;\n\t\t\timport org.meveo.model.admin.User; \n\t\t\timport org.meveo.service.script.account.AccountScript;\n\t\t\timport org.meveo.model.AccountEntity;\n\t\t\timport org.slf4j.Logger;\n\t\t\timport java.util.Set;\n\t\t\timport java.util.ArrayList;\n\t\t\timport org.meveo.model.security.Role;\n\t\t\timport org.meveo.service.crm.impl.CustomerService;\n\t\t\timport org.slf4j.LoggerFactory;\n\t\t\timport org.meveo.model.crm.Customer;\n\t\t\timport org.meveo.service.crm.impl.CustomFieldInstanceService;\n\t\t\timport org.meveo.api.UserApi;\n\t\t\t\n\t\t\tpublic class SelfcareAccountScript extends AccountScript {\n\t\t\t\n\t\t\t\tprivate static final Logger log = LoggerFactory.getLogger(SelfcareAccountScript.class);\n\t\t\t\tprivate Map initContext = null;\n\t\t\t\n\t\t\t\tstatic MessageDigest messageDigest = null;\n\t\t\t\tstatic {\n\t\t\t\t\ttry {\n\t\t\t\t\t\tmessageDigest = MessageDigest.getInstance("MD5");\n\t\t\t\t\t} \n\t\t\t\t\tcatch (NoSuchAlgorithmException e) {\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tCustomFieldInstanceService customFieldInstanceService = (CustomFieldInstanceService) getServiceInterface("CustomFieldInstanceService");\n\t\t\t\tCustomerService customerService = (CustomerService) getServiceInterface("CustomerService");\n\t\t\t\tUserApi userApi = (UserApi) getServiceInterface("UserApi");\n\t\t\t\n\t\t\t\t@Override\n\t\t\t\tpublic void createAccount(Map methodContext) throws BusinessException { \n\t\t\t\t\tAccountEntity account = (AccountEntity) methodContext.get(Script.CONTEXT_ENTITY);\n\t\t\t\t\tUserDto user = new UserDto();\n\t\t\t\t\tCRMAccountHierarchyDto accountDto = (CRMAccountHierarchyDto) methodContext.get(AccountScript.CONTEXT_ACCOUNT_HIERARCHY_DTO);\n\t\t\t\t\tCustomer customer = customerService.findByCode(accountDto.getCode());\n\t\t\t\n\t\t\t\t\tlog.debug("accountCode : "+accountDto.getCode(), " crmAccountType :"+accountDto.getCrmAccountType());\n\t\t\t\t\t \n\t\t\t\t\tString email = accountDto.getContactInformation().getEmail(); \n\t\t\t\t\tuser.setEmail(email);\n\t\t\t\t\tif(accountDto.getName()!=null){\n\t\t\t\t\t\tuser.setFirstName(accountDto.getName().getFirstName());\n\t\t\t\t\t\tuser.setLastName(accountDto.getName().getLastName());\n\t\t\t\t\t}\n\t\t\t\t\tuser.setUsername(accountDto.getCode());\n\t\t\t\n\t\t\t\t\t/*\n\t\t\t\t\tString password =(String) customFieldInstanceService.getCFValue(customer, "password");\n\t\t\t\t\tif( password != null )\n\t\t\t\t\t{\n\t\t\t\t\t\tuser.setPassword(password);\n\t\t\t\t\t}\n\t\t\t\t\telse\n\t\t\t\t\t{\n\t\t\t\t\t\tlog.warn("password CF is null, using username");\n\t\t\t\t\t\tuser.setPassword(user.getUsername());\n\t\t\t\t\t}\n\t\t\t\t\t*/ \n\t\t\t\n\t\t\t\t\tList roles = new ArrayList();\n\t\t\t\t\troles.add("selfcareDefault");\n\t\t\t\t\tuser.setRoles(roles);\n\t\t\t\t\tlog.debug("lastName :"+user.getLastName() + " firstName : "+user.getFirstName() + " email : "+user.getEmail());\n\t\t\t\t\ttry{\n\t\t\t\t\t\tuserApi.createOrUpdate(user);\n\t\t\t\t\t}\n\t\t\t\t\tcatch(MeveoApiException e){\n\t\t\t\t\t\tlog.error("failed to create user ",e); \n\t\t\t\t\t\te.printStackTrace();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n \N \N \N JAVA 0 0 +-22 0 0 2024-01-26 14:03:24.239422 \N org.meveo.service.script.selfcare.RegisterHierarchy Register crm hierarchy \n\t\t\tpackage org.meveo.service.script.selfcare;\n\n\t\t\timport java.util.Map;\n\t\t\t\n\t\t\timport org.meveo.admin.exception.BusinessException;\n\t\t\timport org.meveo.api.account.AccountHierarchyApi;\n\t\t\timport org.meveo.api.dto.account.CRMAccountHierarchyDto;\n\t\t\timport org.meveo.api.exception.MeveoApiException;\n\t\t\timport org.meveo.commons.utils.JsonUtils;\n\t\t\timport org.meveo.model.admin.User;\n\t\t\timport org.slf4j.Logger;\n\t\t\timport org.slf4j.LoggerFactory;\n\t\t\t\n\t\t\tpublic class RegisterHierarchy extends org.meveo.service.script.Script {\t\n\t\t\t\tprivate static final Logger log = LoggerFactory.getLogger(RegisterHierarchy.class);\t\t\t\n\t\t\t\tpublic void execute(Map initContext) throws BusinessException {\t\t\n\t\t\t\t\tlog.info("Execute...");\n\t\t\t\t\tAccountHierarchyApi accountHierarchyApi = (AccountHierarchyApi) getServiceInterface("AccountHierarchyApi");\n\t\t\t\t\tString body = (String) initContext.get("body");\n\t\t\t\t\tlog.info("body:"+body);\n\t\t\t\t\tCRMAccountHierarchyDto crmAccountHierarchyDto = JsonUtils.toObject(body, CRMAccountHierarchyDto.class);\n\t\t\t\t\tlog.info("crmAccountHierarchyDto"+crmAccountHierarchyDto);\t\n\t\t\t\t\t\t\n\t\t\t\t\ttry {\n\t\t\t\t\t\taccountHierarchyApi.createCRMAccountHierarchy(crmAccountHierarchyDto);\n\t\t\t\t\t} catch (MeveoApiException e) {\t\t\t\n\t\t\t\t\t\te.printStackTrace();\n\t\t\t\t\t}\t\n\t\t\t\t}\n\t\t\t}\n \N \N \N JAVA 0 0 +-23 0 0 2024-01-26 14:03:25.745507 \N org.meveo.service.script.DeleteCustomersScript DeleteCustomersScript \npackage org.meveo.service.script;\n\nimport static org.apache.commons.lang3.StringUtils.isNotBlank;\n\nimport java.util.Arrays;\nimport java.util.Collection;\nimport java.util.Collections;\nimport java.util.HashMap;\nimport java.util.List;\nimport java.util.Map;\n\nimport org.apache.commons.collections4.MapUtils;\nimport org.meveo.admin.exception.BusinessException;\nimport org.meveo.model.billing.WalletInstance;\nimport org.meveo.model.crm.Customer;\nimport org.meveo.service.base.BusinessEntityService;\nimport org.meveo.service.billing.impl.ChargeInstanceService;\nimport org.meveo.service.billing.impl.CounterInstanceService;\nimport org.meveo.service.billing.impl.CounterPeriodService;\nimport org.meveo.service.billing.impl.EdrService;\nimport org.meveo.service.billing.impl.InvoiceService;\nimport org.meveo.service.billing.impl.ProductInstanceService;\nimport org.meveo.service.billing.impl.RatedTransactionService;\nimport org.meveo.service.billing.impl.RejectedBillingAccountService;\nimport org.meveo.service.billing.impl.ServiceInstanceService;\nimport org.meveo.service.billing.impl.SubscriptionService;\nimport org.meveo.service.billing.impl.WalletOperationService;\nimport org.meveo.service.billing.impl.WalletService;\nimport org.meveo.service.crm.impl.CustomerService;\nimport org.meveo.service.medina.impl.AccessService;\nimport org.meveo.service.order.OrderItemService;\nimport org.meveo.service.payments.impl.AccountOperationService;\nimport org.meveo.service.payments.impl.MatchingAmountService;\n\n/**\n * \n * @author Said Ramli\n */\n@SuppressWarnings({ "unchecked", "unused" })\npublic class DeleteCustomersScript extends Script {\n\n\tprivate final AccountOperationService accountOperationService = (AccountOperationService) getServiceInterface(\n\t\t\tAccountOperationService.class.getSimpleName());\n\tprivate final CustomerService customerService = (CustomerService) getServiceInterface(\n\t\t\tCustomerService.class.getSimpleName());\n\tprivate final InvoiceService invoiceService = (InvoiceService) getServiceInterface(\n\t\t\tInvoiceService.class.getSimpleName());\n\tprivate final SubscriptionService subscriptionService = (SubscriptionService) getServiceInterface(\n\t\t\tSubscriptionService.class.getSimpleName());\n\tprivate final RatedTransactionService ratedTransactionService = (RatedTransactionService) getServiceInterface(\n\t\t\tRatedTransactionService.class.getSimpleName());\n\tprivate final WalletService walletService = (WalletService) getServiceInterface(\n\t\t\tWalletService.class.getSimpleName());\n\tprivate final RejectedBillingAccountService rejectedBillingAccountService = (RejectedBillingAccountService) getServiceInterface(\n\t\t\tRejectedBillingAccountService.class.getSimpleName());\n\tprivate final CounterInstanceService counterInstanceService = (CounterInstanceService) getServiceInterface(\n\t\t\tCounterInstanceService.class.getSimpleName());\n\tprivate final CounterPeriodService counterPeriodService = (CounterPeriodService) getServiceInterface(\n\t\t\tCounterPeriodService.class.getSimpleName());\n\tprivate final OrderItemService orderItemService = (OrderItemService) getServiceInterface(\n\t\t\tOrderItemService.class.getSimpleName());\n\tprivate final ProductInstanceService productInstanceService = (ProductInstanceService) getServiceInterface(\n\t\t\tProductInstanceService.class.getSimpleName());\n\tprivate final BusinessEntityService businessEntityService = (BusinessEntityService) getServiceInterface(\n\t\t\tBusinessEntityService.class.getSimpleName());\n\tprivate final WalletOperationService walletOperationService = (WalletOperationService) getServiceInterface(\n\t\t\tWalletOperationService.class.getSimpleName());\n\tprivate final ServiceInstanceService serviceInstanceService = (ServiceInstanceService) getServiceInterface(\n\t\t\tServiceInstanceService.class.getSimpleName());\n\n\tprivate final EdrService edrService = (EdrService) getServiceInterface(EdrService.class.getSimpleName());\n\t\n\t@SuppressWarnings("rawtypes")\n\tprivate final ChargeInstanceService chargeInstanceService = (ChargeInstanceService) getServiceInterface(\n\t\t\tChargeInstanceService.class.getSimpleName());\n\n\tprivate static final List noCheckAllowedValues = Arrays.asList("0", "1");\n\n\t@Override\n\tpublic void execute(Map methodContext) throws BusinessException {\n\n\t\tlog.debug(" >>> execute {} ", methodContext.entrySet());\n\n\t\ttry {\n\n\t\t\tMap record = (Map) methodContext.get("RECORD");\n\t\t\tif (MapUtils.isEmpty(record)) {\n\t\t\t\tthrow new BusinessException(String.format("Parameter RECORD is missing"));\n\t\t\t}\n\n\t\t\tfinal String customerCode = record.get("customerCode");\n\t\t\tCustomer customer = customerService.findByCode(customerCode);\n\t\t\tif (customer == null) {\n\t\t\t\tthrow new BusinessException(String.format("No customer found having code = %s ", customerCode));\n\t\t\t}\n\n\t\t\tString noCheckVal = record.get("noCheck");\n\t\t\tif (isNotBlank(noCheckVal) && !noCheckAllowedValues.contains(noCheckVal)) {\n\t\t\t\tthrow new BusinessException(\n\t\t\t\t\t\tString.format("Invalid 'noCheck' value = %s , allowed values are [0,1]", noCheckVal));\n\t\t\t}\n\t\t\tboolean noCheck = "1".contentEquals(noCheckVal);\n\n\t\t\tif (!noCheck) {\n\t\t\t\t// If noCheck is 0 then the following conditions must be met in order to allow\n\t\t\t\t// deletion:\n\t\t\t\t// No unmatched AO\n\t\t\t\t// No open EDR/WO/RT\n\n\t\t\t\tthis.checkUnmatchedAOs(customer);\n\t\t\t\tthis.checkOpenEDRs(customer);\n\t\t\t\tthis.checkOpenWOs(customer);\n\t\t\t\tthis.checkOpenRTs(customer);\n\t\t\t}\n\n\t\t\tthis.removeCustomerHirarchy(customer);\n\n\t\t} catch (BusinessException be) {\n\t\t\tthrow be;\n\t\t} catch (Exception e) {\n\t\t\tlog.error(" Error executing DeleteCustomersScript ", e);\n\t\t\tthrow new BusinessException(e.getMessage());\n\t\t}\n\t}\n\n\tprivate void checkOpenEDRs(Customer customer) throws BusinessException {\n\t\ttry {\n\t\t\tlog.debug(" Start checkOpenEDRs for customer = {} ", customer);\n\t\t\tString query = "select count(edr.id) from EDR edr where edr.status = 'OPEN' and edr.subscription.userAccount.billingAccount.customerAccount.customer.id =:customerId ";\n\t\t\t\n\t\t\tObject count = edrService.getEntityManager().createQuery(query).setParameter("customerId", customer.getId())\n\t\t\t\t\t.getSingleResult();\n\t\t\tlog.debug(" count of open EDRs = {} ", count);\n\t\t\tlog.debug(" End checkOpenEDRs for customer = {} ", customer);\n\n\t\t\tif (((Long) count).intValue() > 0) {\n\t\t\t\tthrow new BusinessException(" Customer has [" + count + "] open EDRs ");\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\tlog.error(" Error on checkOpenEDRs : [{}] ", e.getMessage(), e);\n\t\t\tthrow new BusinessException(e);\n\t\t}\n\t}\n\n\tprivate void checkOpenWOs(Customer customer) throws BusinessException {\n\t\ttry {\n\t\t\tlog.debug(" Start checkOpenWOs for customer = {} ", customer);\n\t\t\tString query = "select count(wo.id) from WalletOperation wo where wo.status = 'OPEN' and wo.chargeInstance.userAccount.billingAccount.customerAccount.customer.id =:customerId ";\n\t\t\tfinal WalletOperationService walletOperationService = (WalletOperationService) getServiceInterface(\n\t\t\t\t\tWalletOperationService.class.getSimpleName());\n\n\t\t\tObject count = walletOperationService.getEntityManager().createQuery(query)\n\t\t\t\t\t.setParameter("customerId", customer.getId()).getSingleResult();\n\t\t\tlog.debug(" count of open WOs = {} ", count);\n\t\t\tlog.debug(" End checkOpenWOs for customer = {} ", customer);\n\n\t\t\tif (((Long) count).intValue() > 0) {\n\t\t\t\tthrow new BusinessException(" Customer has [" + count + "] open WOs ");\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\tlog.error(" Error on checkOpenWOs : [{}] ", e.getMessage(), e);\n\t\t\tthrow new BusinessException(e);\n\t\t}\n\t}\n\n\tprivate void checkOpenRTs(Customer customer) throws BusinessException {\n\t\ttry {\n\n\t\t\tlog.debug(" Start checkOpenRTs for customer = {} ", customer);\n\t\t\tString query = "select count(rt.id) from RatedTransaction rt where rt.status = 'OPEN' and rt.billingAccount.customerAccount.customer.id =:customerId ";\n\t\t\tObject count = this.ratedTransactionService.getEntityManager().createQuery(query)\n\t\t\t\t\t.setParameter("customerId", customer.getId()).getSingleResult();\n\t\t\tlog.debug(" count of open RTs = {} ", count);\n\t\t\tlog.debug(" End checkOpenRTs for customer = {} ", customer);\n\n\t\t\tif (((Long) count).intValue() > 0) {\n\t\t\t\tthrow new BusinessException(" Customer has [" + count + "] open RTs ");\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\tlog.error(" Error on checkOpenRTs : [{}] ", e.getMessage(), e);\n\t\t\tthrow new BusinessException(e);\n\t\t}\n\t}\n\n\tprivate void checkUnmatchedAOs(Customer customer) throws BusinessException {\n\t\ttry {\n\n\t\t\tlog.debug(" Start checkUnmatchedAOs for customer = {} ", customer);\n\t\t\tString query = "select count(ao.id) from AccountOperation ao where ao.matchingStatus = 'O' and ao.customerAccount.customer.id =:customerId ";\n\t\t\tfinal AccountOperationService accountOperationService = (AccountOperationService) getServiceInterface(\n\t\t\t\t\tAccountOperationService.class.getSimpleName());\n\t\t\tObject count = accountOperationService.getEntityManager().createQuery(query)\n\t\t\t\t\t.setParameter("customerId", customer.getId()).getSingleResult();\n\t\t\tlog.debug(" count of unmatched AOs = {} ", count);\n\t\t\tlog.debug(" End checkUnmatchedAOs for customer = {} ", customer);\n\n\t\t\tif (((Long) count).intValue() > 0) {\n\t\t\t\tthrow new BusinessException(" Customer has [" + count + "] unmatched AOs ");\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\tlog.error(" Error on checkUnmatchedAOs : [{}] ", e.getMessage(), e);\n\t\t\tthrow new BusinessException(e);\n\t\t}\n\t}\n\n\tprivate void removeCustomerHirarchy(Customer customer) throws BusinessException {\n\t\tlog.debug(" Start removeCustomerHirarchy for customer = {} ", customer);\n\n\t\t//\n\t\t// A workaround for #4134 , no need for this method if #4134 is fixed (only\n\t\t// 6.1.X is concerned)!\n\t\tthis.nullifyAOsSeller(customer);\n \n \tthis.removeWalletOperations(customer);\n\t\tthis.removeChargeInstances(customer);\n\t\t// the relationship [SubCategoryInvoiceAgregate <=> WalletInstance] should be broke fisrt\n\t\tthis.nullifySubCategoryInvoiceAgregatesWallet(customer);\n\t\tthis.removeWalletInstances(customer);\n\t\t\n\t\tthis.removePaymentHistory(customer);\n\t\tthis.removeRatedTransactions(customer);\n\t\tthis.removeInvoices(customer);\n\n\n\t\tthis.removeServiceInstances(customer);\n\t\tthis.removeAccess(customer);\n\t\tthis.removeEDRs(customer);\n\t\tthis.removeSubscriptions(customer);\n\n\t\tthis.removeRejectedBAs(customer);\n\n\t\tthis.removeCounterPeriods(customer);\n\t\tthis.removeCounterInstances(customer);\n\t\tthis.removeOrderItems(customer);\n\t\tthis.removeProductInstances(customer);\n\t\tthis.removeMatchingAmounts(customer);\n\n\t\tthis.customerService.remove(customer);\n\n\t\tlog.debug(" End removeCustomerHirarchy for customer = {} ", customer);\n\t}\n\n\tprivate void removeEDRs(Customer customer) throws BusinessException {\n\t\ttry {\n\t\t\tlog.debug(" Start removeEDRs for customer = {} ", customer);\n\n\t\t\tString query = "select edr.id from EDR edr where edr.subscription.userAccount.billingAccount.customerAccount.customer.id =:customerId ";\n\n\t\t\tMap queryParams = new HashMap<>();\n\t\t\tqueryParams.put("customerId", customer.getId());\n\t\t\tObject result = edrService.executeSelectQuery(query.toString(), queryParams);\n\n\t\t\tCollection ids = safe(result != null ? ((List) result) : null);\n\t\t\tlog.debug(" {} EDR to delete ", ids.size());\n\n\t\t\tfor (Long id : ids) {\n\t\t\t\tedrService.remove(id);\n\t\t\t}\n\n\t\t\tlog.debug(" End removeEDRs for customer = {} ", customer);\n\t\t} catch (Exception e) {\n\t\t\tlog.error(" Error on removeEDRs : [{}] ", e.getMessage(), e);\n\t\t\tthrow new BusinessException(e);\n\t\t}\n\t}\n\n\tprivate void removeMatchingAmounts(Customer customer) throws BusinessException {\n\t\ttry {\n\t\t\tlog.debug(" Start removeMatchingAmounts for customer = {} ", customer);\n\n\t\t\tfinal MatchingAmountService matchingAmountService = (MatchingAmountService) getServiceInterface(MatchingAmountService.class.getSimpleName());\n\t\t\tfinal String query = "select ma.id from MatchingAmount ma where ma.accountOperation.customerAccount.customer.id =:customerId ";\n\n\t\t\tMap queryParams = new HashMap<>();\n\t\t\tqueryParams.put("customerId", customer.getId());\n\t\t\tObject result = matchingAmountService.executeSelectQuery(query.toString(), queryParams);\n\n\t\t\tCollection ids = safe(result != null ? ((List) result) : null);\n\t\t\tlog.debug(" {} MatchingAmount to delete ", ids.size());\n\n\t\t\tfor (Long id : ids) {\n\t\t\t\tmatchingAmountService.remove(id);\n\t\t\t}\n\n\t\t\tlog.debug(" End removeMatchingAmounts for customer = {} ", customer);\n\t\t} catch (Exception e) {\n\t\t\tlog.error(" Error on removeMatchingAmounts : [{}] ", e.getMessage(), e);\n\t\t\tthrow new BusinessException(e);\n\t\t}\n\t}\n\n\tprivate void removeAccess(Customer customer) throws BusinessException {\n\t\ttry {\n\t\t\tlog.debug(" Start removeAccess for customer = {} ", customer);\n\n\t\t\tfinal AccessService accessService = (AccessService) getServiceInterface(\n\t\t\t\t\tAccessService.class.getSimpleName());\n\n\t\t\tfinal String query = "select a.id from Access a where a.subscription.userAccount.billingAccount.customerAccount.customer.id =:customerId ";\n\n\t\t\tMap queryParams = new HashMap<>();\n\t\t\tqueryParams.put("customerId", customer.getId());\n\t\t\tObject result = accessService.executeSelectQuery(query.toString(), queryParams);\n\n\t\t\tCollection ids = safe(result != null ? ((List) result) : null);\n\t\t\tlog.debug(" {} Access to delete ", ids.size());\n\n\t\t\tfor (Long id : ids) {\n\t\t\t\taccessService.remove(id);\n\t\t\t}\n\n\t\t\tlog.debug(" End removeAccess for customer = {} ", customer);\n\t\t} catch (Exception e) {\n\t\t\tlog.error(" Error on removeAccess : [{}] ", e.getMessage(), e);\n\t\t\tthrow new BusinessException(e);\n\t\t}\n\t}\n\n\tprivate void removeServiceInstances(Customer customer) throws BusinessException {\n\t\ttry {\n\t\t\tlog.debug(" Start removeServiceInstances for customer = {} ", customer);\n\n\t\t\tCollection ids = safe(this.findServiceInstances(customer));\n\t\t\tlog.debug(" {} ServiceInstance to delete ", ids.size());\n\n\t\t\tfor (Long id : ids) {\n\t\t\t\tthis.serviceInstanceService.remove(id);\n\t\t\t}\n\n\t\t\tlog.debug(" End removeServiceInstances for customer = {} ", customer);\n\t\t} catch (Exception e) {\n\t\t\tlog.error(" Error on removeServiceInstances : [{}] ", e.getMessage(), e);\n\t\t\tthrow new BusinessException(e);\n\t\t}\n\t}\n\n\tprivate List findServiceInstances(Customer customer) {\n\t\ttry {\n\t\t\tlog.debug(" findServiceInstances for customer={} ", customer);\n\t\t\tString query = "select si.id from ServiceInstance si where si.subscription.userAccount.billingAccount.customerAccount.customer.id =:customerId ";\n\n\t\t\tMap queryParams = new HashMap<>();\n\t\t\tqueryParams.put("customerId", customer.getId());\n\t\t\tObject ids = this.serviceInstanceService.executeSelectQuery(query.toString(), queryParams);\n\n\t\t\treturn ids != null ? ((List) ids) : null;\n\t\t} catch (Exception e) {\n\t\t\tlog.error(" Error on findServiceInstances : [{}] ", e.getMessage(), e);\n\t\t\treturn null;\n\t\t}\n\t}\n\n\tprivate void removeWalletOperations(Customer customer) throws BusinessException {\n\t\ttry {\n\t\t\tlog.debug(" Start removeWalletOperations for customer = {} ", customer);\n\n\t\t\tCollection ids = safe(this.findWalletOperations(customer));\n\t\t\tlog.debug(" {} WalletOperation to delete ", ids.size());\n\n\t\t\tfor (Long id : ids) {\n\t\t\t\tthis.walletOperationService.remove(id);\n\t\t\t}\n\n\t\t\tlog.debug(" End removeWalletOperations for customer = {} ", customer);\n\t\t} catch (Exception e) {\n\t\t\tlog.error(" Error on removeWalletOperations : [{}] ", e.getMessage(), e);\n\t\t\tthrow new BusinessException(e);\n\t\t}\n\t}\n\n\tprivate List findWalletOperations(Customer customer) {\n\t\ttry {\n\t\t\tlog.debug(" findWalletOperations for customer={} ", customer);\n\t\t\tString query = "select wo.id from WalletOperation wo where wo.chargeInstance.userAccount.billingAccount.customerAccount.customer.id =:customerId ";\n\n\t\t\tMap queryParams = new HashMap<>();\n\t\t\tqueryParams.put("customerId", customer.getId());\n\t\t\tObject ids = this.walletOperationService.executeSelectQuery(query.toString(), queryParams);\n\n\t\t\treturn ids != null ? ((List) ids) : null;\n\t\t} catch (Exception e) {\n\t\t\tlog.error(" Error on findWalletOperations : [{}] ", e.getMessage(), e);\n\t\t\treturn null;\n\t\t}\n\t}\n\n\t/**\n\t * using Sub-queries to Resolve Error: ERROR: syntax error at or near "cross"\n\t * \n\t * @param customer\n\t * @throws BusinessException\n\t */\n\tprivate void removePaymentHistory(Customer customer) throws BusinessException {\n\t\ttry {\n\t\t\tlog.debug(" Start removePaymentHistory for customer = {} ", customer);\n\n\t\t\tString query = "delete from PaymentHistory ph1 where ph1.id in (select ph2.id from PaymentHistory ph2 where ph2.customerCode=:customerCode) ";\n\t\t\tint count = this.businessEntityService.getEntityManager().createQuery(query)\n\t\t\t\t\t.setParameter("customerCode", customer.getCode()).executeUpdate();\n\n\t\t\tlog.debug(" {} PaymentHistory to delete ", count);\n\t\t\tlog.debug(" End removePaymentHistory for customer = {} ", customer);\n\t\t} catch (Exception e) {\n\t\t\tlog.error(" Error on removePaymentHistory : [{}] ", e.getMessage(), e);\n\t\t\tthrow new BusinessException(e);\n\t\t}\n\t}\n\n\t/**\n\t * using Sub-queries to Resolve Error: ERROR: syntax error at or near "cross"\n\t * \n\t * @param customer\n\t * @throws BusinessException\n\t */\n\tprivate void nullifyAOsSeller(Customer customer) throws BusinessException {\n\t\ttry {\n\t\t\tlog.debug(" Start nullifyAOsSeller for customer = {} ", customer);\n\n\t\t\tString query = "UPDATE AccountOperation ao1 SET ao1.seller = null where ao1.id in (select ao2.id from AccountOperation ao2 where ao2.customerAccount.customer.id =:customerId) ";\n\t\t\tint count = this.accountOperationService.getEntityManager().createQuery(query)\n\t\t\t\t\t.setParameter("customerId", customer.getId()).executeUpdate();\n\n\t\t\tlog.debug(" seller to nullify for {} AOs ", count);\n\t\t\tlog.debug(" End nullifyAOsSeller for customer = {} ", customer);\n\t\t} catch (Exception e) {\n\t\t\tlog.error(" Error on nullifyAOsSeller : [{}] ", e.getMessage(), e);\n\t\t\tthrow new BusinessException(e);\n\t\t}\n\t}\n\t\n\tprivate void nullifySubCategoryInvoiceAgregatesWallet(Customer customer) throws BusinessException {\n\t\ttry {\n\t\t\tlog.debug(" Start nullifySubCategoryInvoiceAgregatesWallet for customer = {} ", customer);\n\n\t\t\tStringBuilder query = new StringBuilder( "UPDATE SubCategoryInvoiceAgregate subCat SET subCat.wallet = null ")\n\t\t\t\t\t.append(" where subCat.id in (select subCatIn.id from SubCategoryInvoiceAgregate subCatIn where subCatIn.wallet.userAccount.billingAccount.customerAccount.customer.id =:customerId) ");\n\t\t\t\n\t\t\tint count = this.accountOperationService.getEntityManager().createQuery(query.toString()).setParameter("customerId", customer.getId()).executeUpdate();\n\n\t\t\tlog.debug(" wallet to nullify for {} SubCategoryInvoiceAgregate ", count);\n\t\t\tlog.debug(" End nullifySubCategoryInvoiceAgregatesWallet for customer = {} ", customer);\n\t\t} catch (Exception e) {\n\t\t\tlog.error(" Error on nullifySubCategoryInvoiceAgregatesWallet : [{}] ", e.getMessage(), e);\n\t\t\tthrow new BusinessException(e);\n\t\t}\n\t\t\n\t}\n\n\n\tprivate void removeProductInstances(Customer customer) throws BusinessException {\n\t\ttry {\n\t\t\tlog.debug(" Start removeProductInstances for customer = {} ", customer);\n\n\t\t\tCollection ids = safe(this.findProductInstances(customer));\n\t\t\tlog.debug(" {} ProductInstance to delete ", ids.size());\n\n\t\t\tfor (Long id : ids) {\n\t\t\t\tthis.productInstanceService.remove(id);\n\t\t\t}\n\n\t\t\tlog.debug(" End removeProductInstances for customer = {} ", customer);\n\t\t} catch (Exception e) {\n\t\t\tlog.error(" Error on removeProductInstances : [{}] ", e.getMessage(), e);\n\t\t\tthrow new BusinessException(e);\n\t\t}\n\t}\n\n\tprivate List findProductInstances(Customer customer) {\n\t\ttry {\n\t\t\tlog.debug(" findProductInstances for customer={} ", customer);\n\t\t\tString query = "select p.id from ProductInstance p where p.userAccount.billingAccount.customerAccount.customer.id =:customerId ";\n\n\t\t\tMap queryParams = new HashMap<>();\n\t\t\tqueryParams.put("customerId", customer.getId());\n\t\t\tObject ids = this.productInstanceService.executeSelectQuery(query.toString(), queryParams);\n\n\t\t\treturn ids != null ? ((List) ids) : null;\n\t\t} catch (Exception e) {\n\t\t\tlog.error(" Error on findProductInstances : [{}] ", e.getMessage(), e);\n\t\t\treturn null;\n\t\t}\n\t}\n\n\tprivate void removeOrderItems(Customer customer) throws BusinessException {\n\t\ttry {\n\t\t\tlog.debug(" Start removeOrderItem for customer = {} ", customer);\n\n\t\t\tCollection ids = safe(this.findOrderItems(customer));\n\t\t\tlog.debug(" {} OrderItem to delete ", ids.size());\n\n\t\t\tfor (Long id : ids) {\n\t\t\t\tthis.orderItemService.remove(id);\n\t\t\t}\n\n\t\t\tlog.debug(" End removeOrderItem for customer = {} ", customer);\n\t\t} catch (Exception e) {\n\t\t\tlog.error(" Error on removeOrderItem : [{}] ", e.getMessage(), e);\n\t\t\tthrow new BusinessException(e);\n\t\t}\n\t}\n\n\tprivate List findOrderItems(Customer customer) {\n\t\ttry {\n\t\t\tlog.debug(" findOrderItems for customer={} ", customer);\n\t\t\tString query = "select p.id from OrderItem p where p.userAccount.billingAccount.customerAccount.customer.id =:customerId ";\n\n\t\t\tMap queryParams = new HashMap<>();\n\t\t\tqueryParams.put("customerId", customer.getId());\n\t\t\tObject ids = this.orderItemService.executeSelectQuery(query.toString(), queryParams);\n\n\t\t\treturn ids != null ? ((List) ids) : null;\n\t\t} catch (Exception e) {\n\t\t\tlog.error(" Error on findCounterPeriods : [{}] ", e.getMessage(), e);\n\t\t\treturn null;\n\t\t}\n\t}\n\n\tprivate void removeCounterPeriods(Customer customer) throws BusinessException {\n\t\ttry {\n\t\t\tlog.debug(" Start removeCounterPeriods for customer = {} ", customer);\n\n\t\t\tCollection ids = safe(this.findCounterPeriods(customer));\n\t\t\tlog.debug(" {} CounterPeriod to delete ", ids.size());\n\n\t\t\tfor (Long id : ids) {\n\t\t\t\tthis.counterPeriodService.remove(id);\n\t\t\t}\n\n\t\t\tlog.debug(" End removeCounterPeriods for customer = {} ", customer);\n\t\t} catch (Exception e) {\n\t\t\tlog.error(" Error on removeCounterPeriods : [{}] ", e.getMessage(), e);\n\t\t\tthrow new BusinessException(e);\n\t\t}\n\t}\n\n\tprivate List findCounterPeriods(Customer customer) {\n\t\ttry {\n\t\t\tlog.debug(" findCounterPeriods for customer={} ", customer);\n\t\t\tString query = "select c.id from CounterPeriod c where c.counterInstance.userAccount.billingAccount.customerAccount.customer.id =:customerId ";\n\n\t\t\tMap queryParams = new HashMap<>();\n\t\t\tqueryParams.put("customerId", customer.getId());\n\t\t\tObject ids = this.counterPeriodService.executeSelectQuery(query.toString(), queryParams);\n\n\t\t\treturn ids != null ? ((List) ids) : null;\n\t\t} catch (Exception e) {\n\t\t\tlog.error(" Error on findCounterPeriods : [{}] ", e.getMessage(), e);\n\t\t\treturn null;\n\t\t}\n\t}\n\n\tprivate void removeCounterInstances(Customer customer) throws BusinessException {\n\t\ttry {\n\t\t\tlog.debug(" Start removeCounterInstances for customer = {} ", customer);\n\n\t\t\tCollection ids = safe(this.findCounterInstances(customer));\n\t\t\tlog.debug(" {} CounterInstance to delete ", ids.size());\n\n\t\t\tfor (Long id : ids) {\n\t\t\t\tthis.counterInstanceService.remove(id);\n\t\t\t}\n\n\t\t\tlog.debug(" End removeCounterInstances for customer = {} ", customer);\n\t\t} catch (Exception e) {\n\t\t\tlog.error(" Error on removeCounterInstances : [{}] ", e.getMessage(), e);\n\t\t\tthrow new BusinessException(e);\n\t\t}\n\t}\n\n\tprivate List findCounterInstances(Customer customer) {\n\t\ttry {\n\t\t\tlog.debug(" findCounterInstances for customer={} ", customer);\n\t\t\tString query = "select c.id from CounterInstance c where c.userAccount.billingAccount.customerAccount.customer.id =:customerId ";\n\n\t\t\tMap queryParams = new HashMap<>();\n\t\t\tqueryParams.put("customerId", customer.getId());\n\t\t\tObject ids = this.counterInstanceService.executeSelectQuery(query.toString(), queryParams);\n\n\t\t\treturn ids != null ? ((List) ids) : null;\n\t\t} catch (Exception e) {\n\t\t\tlog.error(" Error on findCounterInstances : [{}] ", e.getMessage(), e);\n\t\t\treturn null;\n\t\t}\n\t}\n\n\tprivate void removeRejectedBAs(Customer customer) throws BusinessException {\n\t\ttry {\n\t\t\tlog.debug(" Start removeRejectedBAs for customer = {} ", customer);\n\n\t\t\tCollection ids = safe(this.findRejectedBillingAccounts(customer));\n\t\t\tlog.debug(" {} RejectedBillingAccount to delete ", ids.size());\n\n\t\t\tfor (Long id : ids) {\n\t\t\t\tthis.rejectedBillingAccountService.remove(id);\n\t\t\t}\n\n\t\t\tlog.debug(" End removeRejectedBAs for customer = {} ", customer);\n\t\t} catch (Exception e) {\n\t\t\tlog.error(" Error on removeRejectedBAs : [{}] ", e.getMessage(), e);\n\t\t\tthrow new BusinessException(e);\n\t\t}\n\t}\n\n\tprivate List findRejectedBillingAccounts(Customer customer) {\n\t\ttry {\n\t\t\tlog.debug(" findRejectedBillingAccounts for customer={} ", customer);\n\t\t\tString query = "select rba.id from RejectedBillingAccount rba where rba.billingAccount.customerAccount.customer.id =:customerId ";\n\n\t\t\tMap queryParams = new HashMap<>();\n\t\t\tqueryParams.put("customerId", customer.getId());\n\t\t\tObject ids = this.rejectedBillingAccountService.executeSelectQuery(query.toString(), queryParams);\n\n\t\t\treturn ids != null ? ((List) ids) : null;\n\t\t} catch (Exception e) {\n\t\t\tlog.error(" Error on findRejectedBillingAccounts : [{}] ", e.getMessage(), e);\n\t\t\treturn null;\n\t\t}\n\t}\n\n\tprivate void removeInvoices(Customer customer) throws BusinessException {\n\t\ttry {\n\t\t\tlog.debug(" Start removeInvoices for customer = {} ", customer);\n\n\t\t\tCollection ids = safe(this.findInvoicesIds(customer));\n\t\t\tlog.debug(" {} Invoices to delete ", ids.size());\n\n\t\t\tfor (Long id : ids) {\n\t\t\t\tthis.invoiceService.remove(id);\n\t\t\t}\n\n\t\t\tlog.debug(" End removeInvoices for customer = {} ", customer);\n\t\t} catch (Exception e) {\n\t\t\tlog.error(" Error on removeInvoices : [{}] ", e.getMessage(), e);\n\t\t\tthrow new BusinessException(e);\n\t\t}\n\t}\n\n\tprivate void removeWalletInstances(Customer customer) throws BusinessException {\n\t\ttry {\n\t\t\tlog.debug(" Start removeWalletInstances for customer = {} ", customer);\n\n\t\t\tCollection ids = safe(this.findWalletInstances(customer));\n\t\t\tlog.debug(" {} WalletInstance to delete ", ids.size());\n\n\t\t\tfor (Long id : ids) {\n\t\t\t\t// a workaround for #4132\n\t\t\t\tWalletInstance wallet = this.walletService.findById(id);\n\t\t\t\twallet.getUserAccount().setWallet(null);\n\n\t\t\t\tthis.walletService.remove(id);\n\t\t\t}\n\n\t\t\tlog.debug(" End removeWalletInstances for customer = {} ", customer);\n\t\t} catch (Exception e) {\n\t\t\tlog.error(" Error on removeWalletInstances : [{}] ", e.getMessage(), e);\n\t\t\tthrow new BusinessException(e);\n\t\t}\n\t}\n\n\tprivate List findWalletInstances(Customer customer) {\n\t\ttry {\n\t\t\tlog.debug(" findWalletInstances for customer={} ", customer);\n\t\t\tString query = "select wi.id from WalletInstance wi where wi.userAccount.billingAccount.customerAccount.customer.id =:customerId ";\n\n\t\t\tMap queryParams = new HashMap<>();\n\t\t\tqueryParams.put("customerId", customer.getId());\n\t\t\tObject ids = this.walletService.executeSelectQuery(query.toString(), queryParams);\n\n\t\t\treturn ids != null ? ((List) ids) : null;\n\t\t} catch (Exception e) {\n\t\t\tlog.error(" Error on findWalletInstances : [{}] ", e.getMessage(), e);\n\t\t\treturn null;\n\t\t}\n\t}\n\n\tprivate void removeRatedTransactions(Customer customer) throws BusinessException {\n\t\ttry {\n\t\t\tlog.debug(" Start removeRatedTransactions for customer = {} ", customer);\n\n\t\t\tCollection ids = safe(this.findRatedTransactions(customer));\n\t\t\tlog.debug(" {} RTs to delete ", ids.size());\n\n\t\t\tfor (Long id : ids) {\n\t\t\t\tthis.ratedTransactionService.remove(id);\n\t\t\t}\n\n\t\t\tlog.debug(" End removeRatedTransactions for customer = {} ", customer);\n\t\t} catch (Exception e) {\n\t\t\tlog.error(" Error on removeRatedTransactions : [{}] ", e.getMessage(), e);\n\t\t\tthrow new BusinessException(e);\n\t\t}\n\n\t}\n\n\tprivate List findRatedTransactions(Customer customer) {\n\t\ttry {\n\t\t\tlog.debug(" findRatedTransactions for customer={} ", customer);\n\t\t\tString query = "select rt.id from RatedTransaction rt where rt.billingAccount.customerAccount.customer.id =:customerId ";\n\n\t\t\tMap queryParams = new HashMap<>();\n\t\t\tqueryParams.put("customerId", customer.getId());\n\t\t\tObject ids = this.ratedTransactionService.executeSelectQuery(query, queryParams);\n\n\t\t\treturn ids != null ? ((List) ids) : null;\n\t\t} catch (Exception e) {\n\t\t\tlog.error(" Error on findRatedTransactions : [{}] ", e.getMessage(), e);\n\t\t\treturn null;\n\t\t}\n\t}\n\n\tprivate void removeChargeInstances(Customer customer) throws BusinessException {\n\t\ttry {\n\t\t\tlog.debug(" Start removeChargeInstances for customer = {} ", customer);\n\n\t\t\tCollection ids = safe(this.findChargeInstances(customer));\n\t\t\tlog.debug(" {} ChargeInstance to delete ", ids.size());\n\t\t\tfor (Long ciId : ids) {\n\t\t\t\tthis.chargeInstanceService.remove(ciId);\n\t\t\t}\n\t\t\tlog.debug(" End removeChargeInstances for customer = {} ", customer);\n\t\t} catch (Exception e) {\n\t\t\tlog.error(" Error on removeChargeInstances : [{}] ", e.getMessage(), e);\n\t\t\tthrow new BusinessException(e);\n\t\t}\n\t}\n\n\tprivate List findChargeInstances(Customer customer) {\n\t\ttry {\n\t\t\tlog.debug(" findChargeInstances for customer={} ", customer);\n\t\t\tString query = "select ci.id from ChargeInstance ci where ci.userAccount.billingAccount.customerAccount.customer.id =:customerId ";\n\n\t\t\tMap queryParams = new HashMap<>();\n\t\t\tqueryParams.put("customerId", customer.getId());\n\t\t\tObject ids = this.chargeInstanceService.executeSelectQuery(query, queryParams);\n\n\t\t\treturn ids != null ? ((List) ids) : null;\n\t\t} catch (Exception e) {\n\t\t\tlog.error(" Error on findChargeInstances : [{}] ", e.getMessage(), e);\n\t\t\treturn null;\n\t\t}\n\t}\n\n\tprivate void removeSubscriptions(Customer customer) throws BusinessException {\n\t\ttry {\n\t\t\tlog.debug(" Start removeSubscriptions for customer = {} ", customer);\n\t\t\tCollection ids = safe(this.findSubscriptions(customer));\n\t\t\tlog.debug(" {} Subscription to delete ", ids.size());\n\n\t\t\tfor (Long subscriptionId : ids) {\n\t\t\t\tthis.subscriptionService.remove(subscriptionId);\n\t\t\t}\n\t\t\tlog.debug(" End removeSubscriptions for customer = {} ", customer);\n\t\t} catch (Exception e) {\n\t\t\tlog.error(" Error on removeSubscriptions : [{}] ", e.getMessage(), e);\n\t\t\tthrow new BusinessException(e);\n\t\t}\n\t}\n\n\tprivate List findSubscriptions(Customer customer) {\n\t\ttry {\n\t\t\tlog.debug(" findSubscriptions for customer={} ", customer);\n\t\t\tStringBuffer query = new StringBuffer(\n\t\t\t\t\t"select s.id from Subscription s where s.userAccount.billingAccount.customerAccount.customer =:customer ");\n\n\t\t\tMap queryParams = new HashMap<>();\n\t\t\tqueryParams.put("customer", customer);\n\t\t\tObject ids = this.subscriptionService.executeSelectQuery(query.toString(), queryParams);\n\n\t\t\treturn ids != null ? ((List) ids) : null;\n\t\t} catch (Exception e) {\n\t\t\tlog.error(" Error on findSubscriptions : [{}] ", e.getMessage(), e);\n\t\t\treturn null;\n\t\t}\n\t}\n\n\tprivate List findInvoicesIds(Customer customer) {\n\t\ttry {\n\t\t\tlog.debug(" findInvoicesIds for customer={} ", customer);\n\t\t\tStringBuffer query = new StringBuffer(\n\t\t\t\t\t"select inv.id from Invoice inv where inv.billingAccount.customerAccount.customer =:customer ");\n\n\t\t\tMap queryParams = new HashMap<>();\n\t\t\tqueryParams.put("customer", customer);\n\t\t\tObject ids = this.invoiceService.executeSelectQuery(query.toString(), queryParams);\n\n\t\t\treturn ids != null ? ((List) ids) : null;\n\t\t} catch (Exception e) {\n\t\t\tlog.error(" Error on getSubscription : [{}] ", e.getMessage(), e);\n\t\t\treturn null;\n\t\t}\n\t}\n\n\tprivate Collection safe(Collection collection) {\n\t\treturn collection == null ? Collections.EMPTY_LIST : collection;\n\t}\n} \N \N \N JAVA 0 0 +-24 0 0 2024-01-26 14:03:26.561984 \N org.meveo.service.script.ValidateBRScript Validate Billing Runs \n\t\t\tpackage org.meveo.service.script;\n\nimport java.util.List;\nimport java.util.Map;\n\nimport org.meveo.admin.exception.BusinessException;\nimport org.meveo.model.billing.BillingRun;\nimport org.meveo.model.billing.BillingRunStatusEnum;\nimport org.meveo.service.billing.impl.BillingRunExtensionService;\nimport org.meveo.service.billing.impl.BillingRunService;\n\n/**\n * @author phung\n *\n */\npublic class ValidateBRScript extends Script {\n\n\t@Override\n\tpublic void execute(Map methodContext) throws BusinessException {\n\n\t\tBillingRunService billingRunService = (BillingRunService) getServiceInterface("BillingRunService");\n\n\t\tBillingRunExtensionService billingRunExtensionService = (BillingRunExtensionService) getServiceInterface(\n\t\t\t\t"BillingRunExtensionService");\n\n\t\tif (billingRunService != null) {\n\t\t\tList billingRuns = billingRunService.getbillingRuns(BillingRunStatusEnum.PREINVOICED, BillingRunStatusEnum.POSTINVOICED);\n\n\t\t\tfor (BillingRun billingRun : billingRuns) {\n\n\t\t\t\ttry {\n\t\t\t\t\tbillingRunExtensionService.updateBillingRun(billingRun.getId(), null, null,\n\t\t\t\t\t\t\tBillingRunStatusEnum.POSTVALIDATED, null);\n\t\t\t\t} catch (Exception e) {\n\t\t\t\t\tSystem.err.println("Error " + e.getMessage());\n\t\t\t\t}\n\t\t\t}\n\n\t\t}\n\n\t}\n}\n\n \N \N \N JAVA 0 0 +\. + + +-- +-- Data for Name: meveo_script_instance_cat; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.meveo_script_instance_cat (id, version, disabled, created, updated, code, description, creator, updater) FROM stdin; +-1 0 0 2024-01-26 14:02:20.931378 \N REPORT_EXTRACT Report Extract \N \N +\. + + +-- +-- Data for Name: meveo_timer; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.meveo_timer (id, version, sc_d_o_month, sc_d_o_week, sc_end, sc_hour, sc_min, sc_month, sc_sec, sc_start, sc_year, code, description, created, creator, updated, updater, disabled) FROM stdin; +-1 0 * * \N * 0 * 0 \N * Hourly \N 2015-03-19 00:04:19.913 \N \N \N 0 +-2 0 Last 0 \N 23 59 * 59 \N * Monthly \N 2015-03-19 00:04:19.913 \N \N \N 0 +-3 0 * * \N 23 59 * 59 \N * Daily-midnight \N 2017-06-29 00:04:19.913 \N \N \N 0 +2 0 * * \N * */60 * 0 \N * Every-16-minutes the packet gateway timeout is 15 min, so every 16 min we clean expired reservations 2024-01-31 10:21:49.294 public.superadmin \N \N 0 +\. + + +-- +-- Data for Name: ord_item_offerings; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.ord_item_offerings (order_item_id, prd_offering_id, id, item_order) FROM stdin; +\. + + +-- +-- Data for Name: ord_item_prd_instance; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.ord_item_prd_instance (order_item_id, prd_instance_id) FROM stdin; +\. + + +-- +-- Data for Name: ord_order; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.ord_order (id, version, created, updated, creator, updater, code, description, external_id, delivery_instructions, order_date, req_start_date, req_completion_date, exp_completion_date, completion_date, priority, category, status, status_message, routed_to_user_group_id, received_from, start_date, uuid, due_date_delay_el, due_date_delay_el_sp, payment_method_id, cf_values, cf_values_accum, quote_id, billing_cycle, billing_run, order_number, mailing_type, cced_emails, email, electronic_billing, email_template_id) FROM stdin; +\. + + +-- +-- Data for Name: ord_order_history; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.ord_order_history (id, version, order_item_id, service_instance_id, action, event_date, order_number) FROM stdin; +\. + + +-- +-- Data for Name: ord_order_item; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.ord_order_item (id, version, order_id, item_id, action, user_account_id, source, status, subscription_id, description, address_1, address_2, address_3, address_city, address_country_id, address_state, address_zipcode, code, created, updated, creator, updater, uuid, cf_values, cf_values_accum) FROM stdin; +\. + + +-- +-- Data for Name: ord_quot_item_offerings; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.ord_quot_item_offerings (quote_item_id, prd_offering_id, id, item_order) FROM stdin; +\. + + +-- +-- Data for Name: ord_quote; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.ord_quote (id, version, created, updated, creator, updater, code, description, external_id, quote_version, contact, quote_date, valid_from, valid_to, req_completion_date, order_start_date, completion_date, category, status, status_message, routed_to_user_group_id, received_from, uuid, user_account_id, cf_values, cf_values_accum) FROM stdin; +\. + + +-- +-- Data for Name: ord_quote_item; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.ord_quote_item (id, version, quote_id, item_id, source, status, user_account_id) FROM stdin; +\. + + +-- +-- Data for Name: rating_cdr; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.rating_cdr (id, version, created, event_date, last_updated, origin_batch, origin_record, quantity, reject_reason, status, status_date, parameter_1, parameter_2, parameter_3, parameter_4, parameter_5, parameter_6, parameter_7, parameter_8, parameter_9, date_parameter_1, date_parameter_2, date_parameter_3, date_parameter_4, date_parameter_5, decimal_parameter_1, decimal_parameter_2, decimal_parameter_3, decimal_parameter_4, decimal_parameter_5, access_code, header_edr_id, extra_parameter) FROM stdin; +\. + + +-- +-- Data for Name: rating_edr_open; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.rating_edr_open (id, version, created, event_date, last_updated, origin_batch, origin_record, parameter_1, parameter_2, parameter_3, parameter_4, quantity, reject_reason, status, subscription_id, parameter_5, parameter_6, parameter_7, parameter_8, parameter_9, date_parameter_1, date_parameter_2, date_parameter_3, date_parameter_4, date_parameter_5, decimal_parameter_1, decimal_parameter_2, decimal_parameter_3, decimal_parameter_4, decimal_parameter_5, access_code, header_edr_id, extra_parameter) FROM stdin; +\. + + +-- +-- Data for Name: rating_edr_other; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.rating_edr_other (id, version, created, event_date, last_updated, origin_batch, origin_record, parameter_1, parameter_2, parameter_3, parameter_4, quantity, reject_reason, status, subscription_id, parameter_5, parameter_6, parameter_7, parameter_8, parameter_9, date_parameter_1, date_parameter_2, date_parameter_3, date_parameter_4, date_parameter_5, decimal_parameter_1, decimal_parameter_2, decimal_parameter_3, decimal_parameter_4, decimal_parameter_5, access_code, header_edr_id, extra_parameter) FROM stdin; +\. + + +-- +-- Data for Name: report_emails; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.report_emails (email_id, report_id) FROM stdin; +\. + + +-- +-- Data for Name: rm_service_param_template; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.rm_service_param_template (id, version, created, updated, code, description, cumulative_periods, default_value, name, value, creator, updater) FROM stdin; +\. + + +-- +-- Data for Name: wf_action; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.wf_action (id, version, action_el, condition_el, priority, wf_transition_id, uuid) FROM stdin; +\. + + +-- +-- Data for Name: wf_decision_rule; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.wf_decision_rule (id, version, condition_el, name, value, type, model) FROM stdin; +1 0 #{mv:getCFValue(entity,'Territory')==_VALUE_} Territory Other STRING 1 +2 0 #{mv:getCFValue(entity,'Territory')==_VALUE_} Territory south STRING 0 +3 0 #{mv:getCFValue(entity,'Territory')==_VALUE_} Territory west STRING 1 +4 0 #{mv:getCFValue(entity,'Territory')==_VALUE_} Territory north STRING 0 +5 0 #{mv:getCFValue(entity,'SalesAmount')==_VALUE_} Sales amount Other STRING 1 +6 0 #{mv:getCFValue(entity,'AccountType')==_VALUE_} Account Type Other STRING 1 +\. + + +-- +-- Data for Name: wf_generic_transition; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.wf_generic_transition (id, uuid, version, from_status, to_status, priority, description, generic_wf_id, action_script_id, condition_el) FROM stdin; +\. + + +-- +-- Data for Name: wf_generic_workflow; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.wf_generic_workflow (id, version, disabled, created, updated, creator, updater, code, description, target_entity_class, enable_history, init_status, target_cet_code, filter_id, cf_values_accum, cf_values, uuid) FROM stdin; +\. + + +-- +-- Data for Name: wf_history; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.wf_history (id, version, created, updated, creator, updater, entity_instance_code, from_status, to_status, transition_name, action_date, workflow_id) FROM stdin; +\. + + +-- +-- Data for Name: wf_history_action; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.wf_history_action (id, version, action, result, wf_history_id) FROM stdin; +\. + + +-- +-- Data for Name: wf_instance; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.wf_instance (id, version, target_entity_class, generic_wf_id, current_wf_status_id, entity_instance_code, target_cet_code, entity_instance_id) FROM stdin; +\. + + +-- +-- Data for Name: wf_instance_history; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.wf_instance_history (id, version, action_date, from_status, to_status, transition_name, wf_instance_id) FROM stdin; +\. + + +-- +-- Data for Name: wf_status; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.wf_status (id, version, created, updated, creator, updater, code, description, uuid, generic_wf_id) FROM stdin; +\. + + +-- +-- Data for Name: wf_transition; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.wf_transition (id, version, condition_el, from_status, to_status, workflow_id, priority, description, uuid) FROM stdin; +\. + + +-- +-- Data for Name: wf_transition_decision_rule; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.wf_transition_decision_rule (transition_id, decision_rule_id) FROM stdin; +\. + + +-- +-- Data for Name: wf_workflow; Type: TABLE DATA; Schema: public; Owner: dev_postgres +-- + +COPY public.wf_workflow (id, version, disabled, created, updated, code, description, enable_history, wf_type, creator, updater) FROM stdin; +\. + + +-- +-- Name: account_entity_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.account_entity_seq', 10, true); + + +-- +-- Name: adm_country_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.adm_country_seq', 238, false); + + +-- +-- Name: adm_currency_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.adm_currency_seq', 169, false); + + +-- +-- Name: adm_custom_generic_entity_code_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.adm_custom_generic_entity_code_seq', 3, false); + + +-- +-- Name: adm_file_format_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.adm_file_format_seq', 1, false); + + +-- +-- Name: adm_file_type_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.adm_file_type_seq', 1, false); + + +-- +-- Name: adm_gdpr_configuration_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.adm_gdpr_configuration_seq', 1, true); + + +-- +-- Name: adm_inbound_request_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.adm_inbound_request_seq', 1, false); + + +-- +-- Name: adm_input_history_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.adm_input_history_seq', 1, false); + + +-- +-- Name: adm_language_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.adm_language_seq', 34, false); + + +-- +-- Name: adm_notif_history_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.adm_notif_history_seq', 1, false); + + +-- +-- Name: adm_notification_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.adm_notification_seq', 2, true); + + +-- +-- Name: adm_permission_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.adm_permission_seq', 18, false); + + +-- +-- Name: adm_role_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.adm_role_seq', 5, false); + + +-- +-- Name: adm_title_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.adm_title_seq', 38, false); + + +-- +-- Name: adm_user_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.adm_user_seq', 6, true); + + +-- +-- Name: ar_account_operation_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.ar_account_operation_seq', 1, false); + + +-- +-- Name: ar_accounting_writing_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.ar_accounting_writing_seq', 1, false); + + +-- +-- Name: ar_action_dunning_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.ar_action_dunning_seq', 1, false); + + +-- +-- Name: ar_bank_operation_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.ar_bank_operation_seq', 1, false); + + +-- +-- Name: ar_credit_category_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.ar_credit_category_seq', 6, false); + + +-- +-- Name: ar_ddrequest_builder_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.ar_ddrequest_builder_seq', 1, false); + + +-- +-- Name: ar_ddrequest_item_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.ar_ddrequest_item_seq', 1, false); + + +-- +-- Name: ar_ddrequest_lot_op_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.ar_ddrequest_lot_op_seq', 1, false); + + +-- +-- Name: ar_ddrequest_lot_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.ar_ddrequest_lot_seq', 1, false); + + +-- +-- Name: ar_due_date_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.ar_due_date_seq', 1, false); + + +-- +-- Name: ar_dunning_lot_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.ar_dunning_lot_seq', 1, false); + + +-- +-- Name: ar_matching_amount_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.ar_matching_amount_seq', 1, false); + + +-- +-- Name: ar_matching_code_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.ar_matching_code_seq', 1, false); + + +-- +-- Name: ar_occ_template_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.ar_occ_template_seq', 26, false); + + +-- +-- Name: ar_other_transaction_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.ar_other_transaction_seq', 1, false); + + +-- +-- Name: ar_payment_gateway_rum_sequence_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.ar_payment_gateway_rum_sequence_seq', 1, false); + + +-- +-- Name: ar_payment_gateway_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.ar_payment_gateway_seq', 1, false); + + +-- +-- Name: ar_payment_history_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.ar_payment_history_seq', 1, false); + + +-- +-- Name: ar_payment_schedule_inst_item_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.ar_payment_schedule_inst_item_seq', 1, false); + + +-- +-- Name: ar_payment_schedule_inst_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.ar_payment_schedule_inst_seq', 1, false); + + +-- +-- Name: ar_payment_schedule_tmpl_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.ar_payment_schedule_tmpl_seq', 1, false); + + +-- +-- Name: ar_payment_token_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.ar_payment_token_seq', 2, true); + + +-- +-- Name: ar_payment_ventilation_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.ar_payment_ventilation_seq', 1, false); + + +-- +-- Name: ar_revenue_recog_rule_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.ar_revenue_recog_rule_seq', 1, false); + + +-- +-- Name: ar_revenue_schedule_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.ar_revenue_schedule_seq', 1, false); + + +-- +-- Name: audit_field_changes_history_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.audit_field_changes_history_seq', 20, true); + + +-- +-- Name: audit_log_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.audit_log_seq', 1, false); + + +-- +-- Name: bi_job_history_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.bi_job_history_seq', 1, false); + + +-- +-- Name: bi_job_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.bi_job_seq', 1, false); + + +-- +-- Name: bi_report_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.bi_report_seq', 1, false); + + +-- +-- Name: bill_seq_invoice_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.bill_seq_invoice_seq', 1, true); + + +-- +-- Name: bill_seq_it_sell_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.bill_seq_it_sell_seq', 1, false); + + +-- +-- Name: billing_accounting_code_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.billing_accounting_code_seq', 1, false); + + +-- +-- Name: billing_billing_run_list_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.billing_billing_run_list_seq', 1, false); + + +-- +-- Name: billing_billing_run_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.billing_billing_run_seq', 1, false); + + +-- +-- Name: billing_charge_instance_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.billing_charge_instance_seq', 26, true); + + +-- +-- Name: billing_counter_instance_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.billing_counter_instance_seq', 1, false); + + +-- +-- Name: billing_counter_period_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.billing_counter_period_seq', 1, false); + + +-- +-- Name: billing_cycle_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.billing_cycle_seq', 3, false); + + +-- +-- Name: billing_disc_inst_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.billing_disc_inst_seq', 1, false); + + +-- +-- Name: billing_discount_language_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.billing_discount_language_seq', 1, false); + + +-- +-- Name: billing_discount_plan_instance_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.billing_discount_plan_instance_seq', 1, false); + + +-- +-- Name: billing_discount_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.billing_discount_seq', 1, false); + + +-- +-- Name: billing_finance_segment_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.billing_finance_segment_seq', 1, false); + + +-- +-- Name: billing_general_ledger_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.billing_general_ledger_seq', 1, false); + + +-- +-- Name: billing_inv_sub_cat_country_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.billing_inv_sub_cat_country_seq', 5, false); + + +-- +-- Name: billing_invoice_agregate_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.billing_invoice_agregate_seq', 1, false); + + +-- +-- Name: billing_invoice_cat_lang_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.billing_invoice_cat_lang_seq', 1, false); + + +-- +-- Name: billing_invoice_cat_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.billing_invoice_cat_seq', 8, true); + + +-- +-- Name: billing_invoice_configuration_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.billing_invoice_configuration_seq', 2, false); + + +-- +-- Name: billing_invoice_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.billing_invoice_seq', 1, false); + + +-- +-- Name: billing_invoice_sub_cat_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.billing_invoice_sub_cat_seq', 21, true); + + +-- +-- Name: billing_invoice_template_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.billing_invoice_template_seq', 1, false); + + +-- +-- Name: billing_invoice_type_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.billing_invoice_type_seq', 3, true); + + +-- +-- Name: billing_product_chrg_inst_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.billing_product_chrg_inst_seq', 1, false); + + +-- +-- Name: billing_product_instance_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.billing_product_instance_seq', 1, false); + + +-- +-- Name: billing_rated_transaction_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.billing_rated_transaction_seq', 1, false); + + +-- +-- Name: billing_rejected_ba_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.billing_rejected_ba_seq', 1, false); + + +-- +-- Name: billing_reservation_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.billing_reservation_seq', 1, false); + + +-- +-- Name: billing_service_instance_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.billing_service_instance_seq', 4, true); + + +-- +-- Name: billing_sub_term_reason_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.billing_sub_term_reason_seq', 4, false); + + +-- +-- Name: billing_subscription_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.billing_subscription_seq', 2, true); + + +-- +-- Name: billing_tax_category_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.billing_tax_category_seq', 3, true); + + +-- +-- Name: billing_tax_class_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.billing_tax_class_seq', 2, true); + + +-- +-- Name: billing_tax_language_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.billing_tax_language_seq', 1, false); + + +-- +-- Name: billing_tax_mapping_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.billing_tax_mapping_seq', 16, true); + + +-- +-- Name: billing_tax_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.billing_tax_seq', 4, false); + + +-- +-- Name: billing_trading_country_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.billing_trading_country_seq', 3, false); + + +-- +-- Name: billing_trading_currency_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.billing_trading_currency_seq', 3, false); + + +-- +-- Name: billing_trading_language_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.billing_trading_language_seq', 3, false); + + +-- +-- Name: billing_wallet_operation_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.billing_wallet_operation_seq', 12, true); + + +-- +-- Name: billing_wallet_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.billing_wallet_seq', 13, true); + + +-- +-- Name: cat_bundle_product_template_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.cat_bundle_product_template_seq', 1, false); + + +-- +-- Name: cat_calendar_holiday_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.cat_calendar_holiday_seq', 1, false); + + +-- +-- Name: cat_calendar_interval_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.cat_calendar_interval_seq', 1, false); + + +-- +-- Name: cat_calendar_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.cat_calendar_seq', 4, true); + + +-- +-- Name: cat_channel_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.cat_channel_seq', 1, false); + + +-- +-- Name: cat_charge_template_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.cat_charge_template_seq', 30, true); + + +-- +-- Name: cat_counter_template_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.cat_counter_template_seq', 1, false); + + +-- +-- Name: cat_day_in_year_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.cat_day_in_year_seq', 367, false); + + +-- +-- Name: cat_digital_resource_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.cat_digital_resource_seq', 1, false); + + +-- +-- Name: cat_discount_plan_item_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.cat_discount_plan_item_seq', 1, false); + + +-- +-- Name: cat_discount_plan_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.cat_discount_plan_seq', 1, false); + + +-- +-- Name: cat_hour_in_day_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.cat_hour_in_day_seq', 1, false); + + +-- +-- Name: cat_offer_product_template_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.cat_offer_product_template_seq', 1, false); + + +-- +-- Name: cat_offer_serv_templt_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.cat_offer_serv_templt_seq', 2, true); + + +-- +-- Name: cat_offer_template_category_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.cat_offer_template_category_seq', 1, false); + + +-- +-- Name: cat_offer_template_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.cat_offer_template_seq', 1, true); + + +-- +-- Name: cat_price_plan_matrix_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.cat_price_plan_matrix_seq', 30, true); + + +-- +-- Name: cat_serv_recchrg_templt_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.cat_serv_recchrg_templt_seq', 11, true); + + +-- +-- Name: cat_serv_subchrg_templt_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.cat_serv_subchrg_templt_seq', 1, false); + + +-- +-- Name: cat_serv_trmchrg_templt_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.cat_serv_trmchrg_templt_seq', 1, false); + + +-- +-- Name: cat_serv_usagechrg_templt_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.cat_serv_usagechrg_templt_seq', 13, true); + + +-- +-- Name: cat_service_template_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.cat_service_template_seq', 4, true); + + +-- +-- Name: cat_triggered_edr_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.cat_triggered_edr_seq', 1, false); + + +-- +-- Name: cat_unit_of_measure_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.cat_unit_of_measure_seq', 1, false); + + +-- +-- Name: cat_wallet_template_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.cat_wallet_template_seq', 9, true); + + +-- +-- Name: com_campaign_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.com_campaign_seq', 1, false); + + +-- +-- Name: com_communication_entity_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.com_communication_entity_seq', 1, false); + + +-- +-- Name: com_contact_coords_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.com_contact_coords_seq', 1, false); + + +-- +-- Name: com_contact_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.com_contact_seq', 1, false); + + +-- +-- Name: com_message_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.com_message_seq', 1, false); + + +-- +-- Name: com_meveo_instance_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.com_meveo_instance_seq', 1, false); + + +-- +-- Name: com_msg_tmpl_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.com_msg_tmpl_seq', 1, false); + + +-- +-- Name: com_msg_tmpl_var_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.com_msg_tmpl_var_seq', 1, false); + + +-- +-- Name: com_msg_var_val_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.com_msg_var_val_seq', 1, false); + + +-- +-- Name: com_prov_pol_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.com_prov_pol_seq', 1, false); + + +-- +-- Name: com_sndr_conf_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.com_sndr_conf_seq', 1, false); + + +-- +-- Name: crm_additional_details_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.crm_additional_details_seq', 2, true); + + +-- +-- Name: crm_address_book_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.crm_address_book_seq', 4, true); + + +-- +-- Name: crm_custom_action_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.crm_custom_action_seq', 1, false); + + +-- +-- Name: crm_custom_fld_tmp_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.crm_custom_fld_tmp_seq', 156, true); + + +-- +-- Name: crm_customer_brand_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.crm_customer_brand_seq', 2, false); + + +-- +-- Name: crm_customer_category_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.crm_customer_category_seq', 3, false); + + +-- +-- Name: crm_customer_sequence_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.crm_customer_sequence_seq', 1, false); + + +-- +-- Name: crm_email_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.crm_email_seq', 1, false); + + +-- +-- Name: crm_provider_contact_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.crm_provider_contact_seq', 2, false); + + +-- +-- Name: crm_provider_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.crm_provider_seq', 2, false); + + +-- +-- Name: crm_seller_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.crm_seller_seq', 4, false); + + +-- +-- Name: cust_cei_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.cust_cei_seq', 1, false); + + +-- +-- Name: cust_cet_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.cust_cet_seq', 1, false); + + +-- +-- Name: dunning_document_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.dunning_document_seq', 1, false); + + +-- +-- Name: dwh_account_operation_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.dwh_account_operation_seq', 1, false); + + +-- +-- Name: dwh_chart_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.dwh_chart_seq', 1, false); + + +-- +-- Name: dwh_journal_entries_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.dwh_journal_entries_seq', 1, false); + + +-- +-- Name: dwh_measurable_quant_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.dwh_measurable_quant_seq', 1, false); + + +-- +-- Name: dwh_measured_value_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.dwh_measured_value_seq', 1, false); + + +-- +-- Name: dwh_report_extract_execution_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.dwh_report_extract_execution_seq', 1, false); + + +-- +-- Name: dwh_report_extract_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.dwh_report_extract_seq', 1, false); + + +-- +-- Name: flat_file_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.flat_file_seq', 1, false); + + +-- +-- Name: ftp_transferred_file_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.ftp_transferred_file_seq', 1, false); + + +-- +-- Name: hierarchy_entity_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.hierarchy_entity_seq', 1, false); + + +-- +-- Name: job_execution_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.job_execution_seq', 202, true); + + +-- +-- Name: medina_access_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.medina_access_seq', 2, true); + + +-- +-- Name: meveo_filter_condition_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.meveo_filter_condition_seq', 1, false); + + +-- +-- Name: meveo_filter_order_condition_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.meveo_filter_order_condition_seq', 1, false); + + +-- +-- Name: meveo_filter_selector_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.meveo_filter_selector_seq', 1, false); + + +-- +-- Name: meveo_filter_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.meveo_filter_seq', 1, false); + + +-- +-- Name: meveo_job_instance_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.meveo_job_instance_seq', 13, true); + + +-- +-- Name: meveo_metrics_config_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.meveo_metrics_config_seq', 1, false); + + +-- +-- Name: meveo_module_item_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.meveo_module_item_seq', 1, false); + + +-- +-- Name: meveo_module_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.meveo_module_seq', 1, false); + + +-- +-- Name: meveo_native_filter_condition_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.meveo_native_filter_condition_seq', 1, false); + + +-- +-- Name: meveo_primitive_filter_condition_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.meveo_primitive_filter_condition_seq', 1, false); + + +-- +-- Name: meveo_script_instance_cat_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.meveo_script_instance_cat_seq', 1, false); + + +-- +-- Name: meveo_script_instance_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.meveo_script_instance_seq', 1, false); + + +-- +-- Name: meveo_timer_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.meveo_timer_seq', 2, true); + + +-- +-- Name: ord_item_offerings_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.ord_item_offerings_seq', 1, false); + + +-- +-- Name: ord_order_history_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.ord_order_history_seq', 1, false); + + +-- +-- Name: ord_order_item_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.ord_order_item_seq', 1, false); + + +-- +-- Name: ord_order_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.ord_order_seq', 1, false); + + +-- +-- Name: ord_quot_item_offerings_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.ord_quot_item_offerings_seq', 1, false); + + +-- +-- Name: ord_quote_item_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.ord_quote_item_seq', 1, false); + + +-- +-- Name: ord_quote_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.ord_quote_seq', 1, false); + + +-- +-- Name: rating_cdr_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.rating_cdr_seq', 1, false); + + +-- +-- Name: rating_edr_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.rating_edr_seq', 1, false); + + +-- +-- Name: rm_service_param_template_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.rm_service_param_template_seq', 1, false); + + +-- +-- Name: wf_action_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.wf_action_seq', 1, false); + + +-- +-- Name: wf_decision_rule_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.wf_decision_rule_seq', 10, false); + + +-- +-- Name: wf_generic_transition_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.wf_generic_transition_seq', 1, false); + + +-- +-- Name: wf_generic_workflow_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.wf_generic_workflow_seq', 1, false); + + +-- +-- Name: wf_history_action_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.wf_history_action_seq', 1, false); + + +-- +-- Name: wf_history_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.wf_history_seq', 1, false); + + +-- +-- Name: wf_instance_history_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.wf_instance_history_seq', 1, false); + + +-- +-- Name: wf_instance_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.wf_instance_seq', 1, false); + + +-- +-- Name: wf_status_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.wf_status_seq', 1, false); + + +-- +-- Name: wf_transition_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.wf_transition_seq', 1, false); + + +-- +-- Name: wf_workflow_seq; Type: SEQUENCE SET; Schema: public; Owner: dev_postgres +-- + +SELECT pg_catalog.setval('public.wf_workflow_seq', 1, false); + + +-- +-- Name: adm_language UniqueConstraint_adm__language_code; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.adm_language + ADD CONSTRAINT "UniqueConstraint_adm__language_code" UNIQUE (language_code); + + +-- +-- Name: adm_currency UniqueConstraint_adm_currency__description_en; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.adm_currency + ADD CONSTRAINT "UniqueConstraint_adm_currency__description_en" UNIQUE (description_en); + + +-- +-- Name: adm_language UniqueConstraint_adm_language__description_en; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.adm_language + ADD CONSTRAINT "UniqueConstraint_adm_language__description_en" UNIQUE (description_en); + + +-- +-- Name: account_entity account_entity_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.account_entity + ADD CONSTRAINT account_entity_pkey PRIMARY KEY (id); + + +-- +-- Name: adm_country adm_country_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.adm_country + ADD CONSTRAINT adm_country_pkey PRIMARY KEY (id); + + +-- +-- Name: adm_currency adm_currency_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.adm_currency + ADD CONSTRAINT adm_currency_pkey PRIMARY KEY (id); + + +-- +-- Name: adm_custom_generic_entity_code adm_custom_generic_entity_code_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.adm_custom_generic_entity_code + ADD CONSTRAINT adm_custom_generic_entity_code_pkey PRIMARY KEY (id); + + +-- +-- Name: adm_file_format_file_type adm_file_format_file_type_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.adm_file_format_file_type + ADD CONSTRAINT adm_file_format_file_type_pkey PRIMARY KEY (file_format_id, file_type_id); + + +-- +-- Name: adm_file_format adm_file_format_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.adm_file_format + ADD CONSTRAINT adm_file_format_pkey PRIMARY KEY (id); + + +-- +-- Name: adm_file_type adm_file_type_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.adm_file_type + ADD CONSTRAINT adm_file_type_pkey PRIMARY KEY (id); + + +-- +-- Name: adm_inbound_req_cookies adm_inbound_req_cookies_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.adm_inbound_req_cookies + ADD CONSTRAINT adm_inbound_req_cookies_pkey PRIMARY KEY (inboundrequest_id, coockies_key); + + +-- +-- Name: adm_inbound_req_headers adm_inbound_req_headers_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.adm_inbound_req_headers + ADD CONSTRAINT adm_inbound_req_headers_pkey PRIMARY KEY (inboundrequest_id, headers_key); + + +-- +-- Name: adm_inbound_req_params adm_inbound_req_params_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.adm_inbound_req_params + ADD CONSTRAINT adm_inbound_req_params_pkey PRIMARY KEY (inboundrequest_id, parameters_key); + + +-- +-- Name: adm_inbound_request adm_inbound_request_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.adm_inbound_request + ADD CONSTRAINT adm_inbound_request_pkey PRIMARY KEY (id); + + +-- +-- Name: adm_inbound_resp_cookies adm_inbound_resp_cookies_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.adm_inbound_resp_cookies + ADD CONSTRAINT adm_inbound_resp_cookies_pkey PRIMARY KEY (inboundrequest_id, responsecoockies_key); + + +-- +-- Name: adm_inbound_resp_headers adm_inbound_resp_headers_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.adm_inbound_resp_headers + ADD CONSTRAINT adm_inbound_resp_headers_pkey PRIMARY KEY (inboundrequest_id, responseheaders_key); + + +-- +-- Name: adm_input_history adm_input_history_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.adm_input_history + ADD CONSTRAINT adm_input_history_pkey PRIMARY KEY (id); + + +-- +-- Name: adm_language adm_language_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.adm_language + ADD CONSTRAINT adm_language_pkey PRIMARY KEY (id); + + +-- +-- Name: adm_notif_email_attach adm_notif_email_attach_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.adm_notif_email_attach + ADD CONSTRAINT adm_notif_email_attach_pkey PRIMARY KEY (emailnotification_id, attachmentexpressions); + + +-- +-- Name: adm_notif_email_list adm_notif_email_list_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.adm_notif_email_list + ADD CONSTRAINT adm_notif_email_list_pkey PRIMARY KEY (emailnotification_id, emails); + + +-- +-- Name: adm_notif_email adm_notif_email_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.adm_notif_email + ADD CONSTRAINT adm_notif_email_pkey PRIMARY KEY (id); + + +-- +-- Name: adm_notif_email_user adm_notif_email_user_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.adm_notif_email_user + ADD CONSTRAINT adm_notif_email_user_pkey PRIMARY KEY (emailnotification_id, users_id); + + +-- +-- Name: adm_notif_history adm_notif_history_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.adm_notif_history + ADD CONSTRAINT adm_notif_history_pkey PRIMARY KEY (id); + + +-- +-- Name: adm_notif_im_list adm_notif_im_list_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.adm_notif_im_list + ADD CONSTRAINT adm_notif_im_list_pkey PRIMARY KEY (instantmessagingnotification_id, ids); + + +-- +-- Name: adm_notif_im adm_notif_im_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.adm_notif_im + ADD CONSTRAINT adm_notif_im_pkey PRIMARY KEY (id); + + +-- +-- Name: adm_notif_im_user adm_notif_im_user_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.adm_notif_im_user + ADD CONSTRAINT adm_notif_im_user_pkey PRIMARY KEY (instantmessagingnotification_id, users_id); + + +-- +-- Name: adm_notif_job adm_notif_job_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.adm_notif_job + ADD CONSTRAINT adm_notif_job_pkey PRIMARY KEY (id); + + +-- +-- Name: adm_notif_webhook_header adm_notif_webhook_header_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.adm_notif_webhook_header + ADD CONSTRAINT adm_notif_webhook_header_pkey PRIMARY KEY (webhook_id, headers_key); + + +-- +-- Name: adm_notif_webhook_param adm_notif_webhookparam_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.adm_notif_webhook_param + ADD CONSTRAINT adm_notif_webhookparam_pkey PRIMARY KEY (webhook_id, webhookparams_key); + + +-- +-- Name: adm_notif_webhooks adm_notif_webhooks_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.adm_notif_webhooks + ADD CONSTRAINT adm_notif_webhooks_pkey PRIMARY KEY (id); + + +-- +-- Name: adm_notification adm_notification_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.adm_notification + ADD CONSTRAINT adm_notification_pkey PRIMARY KEY (id); + + +-- +-- Name: adm_permission adm_permission_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.adm_permission + ADD CONSTRAINT adm_permission_pkey PRIMARY KEY (id); + + +-- +-- Name: adm_role_permission adm_role_permission_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.adm_role_permission + ADD CONSTRAINT adm_role_permission_pkey PRIMARY KEY (role_id, permission_id); + + +-- +-- Name: adm_role adm_role_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.adm_role + ADD CONSTRAINT adm_role_pkey PRIMARY KEY (id); + + +-- +-- Name: adm_role_role adm_role_role_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.adm_role_role + ADD CONSTRAINT adm_role_role_pkey PRIMARY KEY (role_id, child_role_id); + + +-- +-- Name: adm_role_secured_entity adm_role_secured_entity_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.adm_role_secured_entity + ADD CONSTRAINT adm_role_secured_entity_pkey PRIMARY KEY (role_id, code, entity_class); + + +-- +-- Name: adm_script_exec_role adm_script_exec_role_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.adm_script_exec_role + ADD CONSTRAINT adm_script_exec_role_pkey PRIMARY KEY (script_instance_id, role_id); + + +-- +-- Name: adm_script_notification adm_script_notification_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.adm_script_notification + ADD CONSTRAINT adm_script_notification_pkey PRIMARY KEY (id); + + +-- +-- Name: adm_script_sourc_role adm_script_sourc_role_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.adm_script_sourc_role + ADD CONSTRAINT adm_script_sourc_role_pkey PRIMARY KEY (script_instance_id, role_id); + + +-- +-- Name: adm_secured_entity adm_secured_entity_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.adm_secured_entity + ADD CONSTRAINT adm_secured_entity_pkey PRIMARY KEY (user_id, code, entity_class); + + +-- +-- Name: adm_title adm_title_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.adm_title + ADD CONSTRAINT adm_title_pkey PRIMARY KEY (id); + + +-- +-- Name: adm_user adm_user_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.adm_user + ADD CONSTRAINT adm_user_pkey PRIMARY KEY (id); + + +-- +-- Name: adm_user_role adm_user_role_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.adm_user_role + ADD CONSTRAINT adm_user_role_pkey PRIMARY KEY (user_id, role_id); + + +-- +-- Name: ar_account_operation ar_account_operation_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.ar_account_operation + ADD CONSTRAINT ar_account_operation_pkey PRIMARY KEY (id); + + +-- +-- Name: ar_accounting_writing_acc_operations ar_accounting_writing_acc_operations_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.ar_accounting_writing_acc_operations + ADD CONSTRAINT ar_accounting_writing_acc_operations_pkey PRIMARY KEY (accounting_writing_id, account_operation_id); + + +-- +-- Name: ar_action_dunning ar_action_dunning_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.ar_action_dunning + ADD CONSTRAINT ar_action_dunning_pkey PRIMARY KEY (id); + + +-- +-- Name: ar_bank_operation ar_bank_operation_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.ar_bank_operation + ADD CONSTRAINT ar_bank_operation_pkey PRIMARY KEY (id); + + +-- +-- Name: ar_credit_category ar_credit_category_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.ar_credit_category + ADD CONSTRAINT ar_credit_category_pkey PRIMARY KEY (id); + + +-- +-- Name: ar_customer_account ar_customer_account_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.ar_customer_account + ADD CONSTRAINT ar_customer_account_pkey PRIMARY KEY (id); + + +-- +-- Name: ar_ddrequest_builder ar_ddrequest_builder_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.ar_ddrequest_builder + ADD CONSTRAINT ar_ddrequest_builder_pkey PRIMARY KEY (id); + + +-- +-- Name: ar_ddrequest_item ar_ddrequest_item_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.ar_ddrequest_item + ADD CONSTRAINT ar_ddrequest_item_pkey PRIMARY KEY (id); + + +-- +-- Name: ar_ddrequest_lot_op ar_ddrequest_lot_op_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.ar_ddrequest_lot_op + ADD CONSTRAINT ar_ddrequest_lot_op_pkey PRIMARY KEY (id); + + +-- +-- Name: ar_ddrequest_lot ar_ddrequest_lot_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.ar_ddrequest_lot + ADD CONSTRAINT ar_ddrequest_lot_pkey PRIMARY KEY (id); + + +-- +-- Name: ar_due_date ar_due_date_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.ar_due_date + ADD CONSTRAINT ar_due_date_pkey PRIMARY KEY (id); + + +-- +-- Name: ar_dunning_lot ar_dunning_lot_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.ar_dunning_lot + ADD CONSTRAINT ar_dunning_lot_pkey PRIMARY KEY (id); + + +-- +-- Name: ar_matching_amount ar_matching_amount_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.ar_matching_amount + ADD CONSTRAINT ar_matching_amount_pkey PRIMARY KEY (id); + + +-- +-- Name: ar_matching_code ar_matching_code_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.ar_matching_code + ADD CONSTRAINT ar_matching_code_pkey PRIMARY KEY (id); + + +-- +-- Name: ar_occ_template ar_occ_template_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.ar_occ_template + ADD CONSTRAINT ar_occ_template_pkey PRIMARY KEY (id); + + +-- +-- Name: ar_other_transaction ar_other_transaction_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.ar_other_transaction + ADD CONSTRAINT ar_other_transaction_pkey PRIMARY KEY (id); + + +-- +-- Name: ar_payment_schedule_inst_item ar_pay_schdl_inst_item_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.ar_payment_schedule_inst_item + ADD CONSTRAINT ar_pay_schdl_inst_item_pkey PRIMARY KEY (id); + + +-- +-- Name: ar_payment_gateway ar_payment_gateway_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.ar_payment_gateway + ADD CONSTRAINT ar_payment_gateway_pkey PRIMARY KEY (id); + + +-- +-- Name: ar_payment_history ar_payment_history_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.ar_payment_history + ADD CONSTRAINT ar_payment_history_pkey PRIMARY KEY (id); + + +-- +-- Name: ar_payment_schedule_inst ar_payment_schedule_inst_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.ar_payment_schedule_inst + ADD CONSTRAINT ar_payment_schedule_inst_pkey PRIMARY KEY (id); + + +-- +-- Name: ar_payment_schedule_tmpl ar_payment_schedule_tmpl_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.ar_payment_schedule_tmpl + ADD CONSTRAINT ar_payment_schedule_tmpl_pkey PRIMARY KEY (id); + + +-- +-- Name: ar_payment_token ar_payment_token_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.ar_payment_token + ADD CONSTRAINT ar_payment_token_pkey PRIMARY KEY (id); + + +-- +-- Name: ar_payment_ventilation ar_payment_ventilation_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.ar_payment_ventilation + ADD CONSTRAINT ar_payment_ventilation_pkey PRIMARY KEY (id); + + +-- +-- Name: ar_revenue_recog_rule ar_revenue_recog_rule_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.ar_revenue_recog_rule + ADD CONSTRAINT ar_revenue_recog_rule_pkey PRIMARY KEY (id); + + +-- +-- Name: ar_revenue_schedule ar_revenue_schedule_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.ar_revenue_schedule + ADD CONSTRAINT ar_revenue_schedule_pkey PRIMARY KEY (id); + + +-- +-- Name: audit_field_changes_history audit_field_changes_history_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.audit_field_changes_history + ADD CONSTRAINT audit_field_changes_history_pkey PRIMARY KEY (id); + + +-- +-- Name: audit_log audit_log_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.audit_log + ADD CONSTRAINT audit_log_pkey PRIMARY KEY (id); + + +-- +-- Name: bi_job_history bi_job_history_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.bi_job_history + ADD CONSTRAINT bi_job_history_pkey PRIMARY KEY (id); + + +-- +-- Name: bi_job bi_job_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.bi_job + ADD CONSTRAINT bi_job_pkey PRIMARY KEY (id); + + +-- +-- Name: bi_report_emails bi_report_emails_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.bi_report_emails + ADD CONSTRAINT bi_report_emails_pkey PRIMARY KEY (report_id, email_id); + + +-- +-- Name: bi_report bi_report_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.bi_report + ADD CONSTRAINT bi_report_pkey PRIMARY KEY (id); + + +-- +-- Name: billing_seq_invtyp_sell bill_seq_it_sell_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_seq_invtyp_sell + ADD CONSTRAINT bill_seq_it_sell_pkey PRIMARY KEY (id); + + +-- +-- Name: billing_accounting_code billing_accounting_code_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_accounting_code + ADD CONSTRAINT billing_accounting_code_pkey PRIMARY KEY (id); + + +-- +-- Name: billing_billing_account billing_billing_account_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_billing_account + ADD CONSTRAINT billing_billing_account_pkey PRIMARY KEY (id); + + +-- +-- Name: billing_billing_run_list billing_billing_run_list_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_billing_run_list + ADD CONSTRAINT billing_billing_run_list_pkey PRIMARY KEY (id); + + +-- +-- Name: billing_billing_run billing_billing_run_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_billing_run + ADD CONSTRAINT billing_billing_run_pkey PRIMARY KEY (id); + + +-- +-- Name: billing_charge_instance billing_charge_instance_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_charge_instance + ADD CONSTRAINT billing_charge_instance_pkey PRIMARY KEY (id); + + +-- +-- Name: billing_chrg_inst_counter billing_chrg_inst_counter_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_chrg_inst_counter + ADD CONSTRAINT billing_chrg_inst_counter_pkey PRIMARY KEY (chrg_instance_id, indx); + + +-- +-- Name: billing_chrginst_wallet billing_chrginst_wallet_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_chrginst_wallet + ADD CONSTRAINT billing_chrginst_wallet_pkey PRIMARY KEY (chrg_instance_id, indx); + + +-- +-- Name: billing_counter_period billing_counter_period_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_counter_period + ADD CONSTRAINT billing_counter_period_pkey PRIMARY KEY (id); + + +-- +-- Name: billing_counter_period_values billing_counter_period_values_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_counter_period_values + ADD CONSTRAINT billing_counter_period_values_pkey PRIMARY KEY (counterperiod_id, counter_key); + + +-- +-- Name: billing_counter billing_counter_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_counter + ADD CONSTRAINT billing_counter_pkey PRIMARY KEY (id); + + +-- +-- Name: billing_cycle billing_cycle_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_cycle + ADD CONSTRAINT billing_cycle_pkey PRIMARY KEY (id); + + +-- +-- Name: billing_discount_language billing_discount_language_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_discount_language + ADD CONSTRAINT billing_discount_language_pkey PRIMARY KEY (id); + + +-- +-- Name: billing_discount billing_discount_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_discount + ADD CONSTRAINT billing_discount_pkey PRIMARY KEY (id); + + +-- +-- Name: billing_discount_plan_instance billing_discount_plan_instance_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_discount_plan_instance + ADD CONSTRAINT billing_discount_plan_instance_pkey PRIMARY KEY (id); + + +-- +-- Name: billing_discplan_inst billing_discplan_inst_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_discplan_inst + ADD CONSTRAINT billing_discplan_inst_pkey PRIMARY KEY (id); + + +-- +-- Name: billing_finance_segment billing_finance_segment_code_key; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_finance_segment + ADD CONSTRAINT billing_finance_segment_code_key UNIQUE (code); + + +-- +-- Name: billing_general_ledger billing_general_ledger_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_general_ledger + ADD CONSTRAINT billing_general_ledger_pkey PRIMARY KEY (id); + + +-- +-- Name: billing_invoice_agregate billing_invoice_agregate_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_invoice_agregate + ADD CONSTRAINT billing_invoice_agregate_pkey PRIMARY KEY (id); + + +-- +-- Name: billing_invoice_cat_lang billing_invoice_cat_lang_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_invoice_cat_lang + ADD CONSTRAINT billing_invoice_cat_lang_pkey PRIMARY KEY (id); + + +-- +-- Name: billing_invoice_cat billing_invoice_cat_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_invoice_cat + ADD CONSTRAINT billing_invoice_cat_pkey PRIMARY KEY (id); + + +-- +-- Name: billing_invoice_configuration billing_invoice_configuration_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_invoice_configuration + ADD CONSTRAINT billing_invoice_configuration_pkey PRIMARY KEY (id); + + +-- +-- Name: billing_invoice billing_invoice_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_invoice + ADD CONSTRAINT billing_invoice_pkey PRIMARY KEY (id); + + +-- +-- Name: billing_invoice_sub_cat billing_invoice_sub_cat_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_invoice_sub_cat + ADD CONSTRAINT billing_invoice_sub_cat_pkey PRIMARY KEY (id); + + +-- +-- Name: billing_invoice_template billing_invoice_template_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_invoice_template + ADD CONSTRAINT billing_invoice_template_pkey PRIMARY KEY (id); + + +-- +-- Name: billing_invoice_type_applies_to billing_invoice_type_applies_to_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_invoice_type_applies_to + ADD CONSTRAINT billing_invoice_type_applies_to_pkey PRIMARY KEY (invoice_type_id, applies_to_id); + + +-- +-- Name: billing_invoice_type billing_invoice_type_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_invoice_type + ADD CONSTRAINT billing_invoice_type_pkey PRIMARY KEY (id); + + +-- +-- Name: billing_invoices_orders billing_invoices_orders_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_invoices_orders + ADD CONSTRAINT billing_invoices_orders_pkey PRIMARY KEY (invoice_id, order_id); + + +-- +-- Name: billing_linked_invoices billing_linked_invoices_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_linked_invoices + ADD CONSTRAINT billing_linked_invoices_pkey PRIMARY KEY (id, linked_invoice_id); + + +-- +-- Name: billing_priceplan_inst billing_priceplan_inst_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_priceplan_inst + ADD CONSTRAINT billing_priceplan_inst_pkey PRIMARY KEY (id); + + +-- +-- Name: billing_product_instance billing_product_instance_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_product_instance + ADD CONSTRAINT billing_product_instance_pkey PRIMARY KEY (id); + + +-- +-- Name: billing_rated_transaction billing_rated_transaction_p_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_rated_transaction + ADD CONSTRAINT billing_rated_transaction_p_pkey PRIMARY KEY (id, status); + + +-- +-- Name: billing_rated_transaction_open billing_rated_transaction_open_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_rated_transaction_open + ADD CONSTRAINT billing_rated_transaction_open_pkey PRIMARY KEY (id, status); + + +-- +-- Name: billing_rated_transaction_other billing_rated_transaction_other_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_rated_transaction_other + ADD CONSTRAINT billing_rated_transaction_other_pkey PRIMARY KEY (id, status); + + +-- +-- Name: billing_rejected_billing_accounts billing_rejected_billing_accounts_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_rejected_billing_accounts + ADD CONSTRAINT billing_rejected_billing_accounts_pkey PRIMARY KEY (id); + + +-- +-- Name: billing_reservation billing_reservation_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_reservation + ADD CONSTRAINT billing_reservation_pkey PRIMARY KEY (id); + + +-- +-- Name: billing_resrv_countid billing_resrv_countid_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_resrv_countid + ADD CONSTRAINT billing_resrv_countid_pkey PRIMARY KEY (reservation_id, counterperiodvalues_key); + + +-- +-- Name: billing_service_instance billing_service_instance_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_service_instance + ADD CONSTRAINT billing_service_instance_pkey PRIMARY KEY (id); + + +-- +-- Name: billing_subscrip_termin_reason billing_subscrip_termin_reason_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_subscrip_termin_reason + ADD CONSTRAINT billing_subscrip_termin_reason_pkey PRIMARY KEY (id); + + +-- +-- Name: billing_subscription billing_subscription_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_subscription + ADD CONSTRAINT billing_subscription_pkey PRIMARY KEY (id); + + +-- +-- Name: billing_tax_category billing_tax_category_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_tax_category + ADD CONSTRAINT billing_tax_category_pkey PRIMARY KEY (id); + + +-- +-- Name: billing_tax_class billing_tax_class_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_tax_class + ADD CONSTRAINT billing_tax_class_pkey PRIMARY KEY (id); + + +-- +-- Name: billing_tax_language billing_tax_language_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_tax_language + ADD CONSTRAINT billing_tax_language_pkey PRIMARY KEY (id); + + +-- +-- Name: billing_tax_mapping billing_tax_mapping_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_tax_mapping + ADD CONSTRAINT billing_tax_mapping_pkey PRIMARY KEY (id); + + +-- +-- Name: billing_tax billing_tax_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_tax + ADD CONSTRAINT billing_tax_pkey PRIMARY KEY (id); + + +-- +-- Name: billing_trading_country billing_trading_country_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_trading_country + ADD CONSTRAINT billing_trading_country_pkey PRIMARY KEY (id); + + +-- +-- Name: billing_trading_currency billing_trading_currency_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_trading_currency + ADD CONSTRAINT billing_trading_currency_pkey PRIMARY KEY (id); + + +-- +-- Name: billing_trading_language billing_trading_language_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_trading_language + ADD CONSTRAINT billing_trading_language_pkey PRIMARY KEY (id); + + +-- +-- Name: billing_user_account billing_user_account_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_user_account + ADD CONSTRAINT billing_user_account_pkey PRIMARY KEY (id); + + +-- +-- Name: billing_wallet_operation billing_wallet_operation_p_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_wallet_operation + ADD CONSTRAINT billing_wallet_operation_p_pkey PRIMARY KEY (id, status); + + +-- +-- Name: billing_wallet_operation_open billing_wallet_operation_open_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_wallet_operation_open + ADD CONSTRAINT billing_wallet_operation_open_pkey PRIMARY KEY (id, status); + + +-- +-- Name: billing_wallet_operation_other billing_wallet_operation_other_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_wallet_operation_other + ADD CONSTRAINT billing_wallet_operation_other_pkey PRIMARY KEY (id, status); + + +-- +-- Name: billing_wallet billing_wallet_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_wallet + ADD CONSTRAINT billing_wallet_pkey PRIMARY KEY (id); + + +-- +-- Name: cat_bundle_product_template cat_bundle_prod_tpl_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_bundle_product_template + ADD CONSTRAINT cat_bundle_prod_tpl_pkey PRIMARY KEY (id); + + +-- +-- Name: cat_calendar_days cat_calendar_days_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_calendar_days + ADD CONSTRAINT cat_calendar_days_pkey PRIMARY KEY (calendar_id, day_id); + + +-- +-- Name: cat_calendar_holiday cat_calendar_holiday_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_calendar_holiday + ADD CONSTRAINT cat_calendar_holiday_pkey PRIMARY KEY (id); + + +-- +-- Name: cat_calendar_hours cat_calendar_hours_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_calendar_hours + ADD CONSTRAINT cat_calendar_hours_pkey PRIMARY KEY (calendar_id, hour_id); + + +-- +-- Name: cat_calendar_interval cat_calendar_interval_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_calendar_interval + ADD CONSTRAINT cat_calendar_interval_pkey PRIMARY KEY (id); + + +-- +-- Name: cat_calendar cat_calendar_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_calendar + ADD CONSTRAINT cat_calendar_pkey PRIMARY KEY (id); + + +-- +-- Name: cat_channel cat_channel_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_channel + ADD CONSTRAINT cat_channel_pkey PRIMARY KEY (id); + + +-- +-- Name: cat_charge_template cat_charge_template_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_charge_template + ADD CONSTRAINT cat_charge_template_pkey PRIMARY KEY (id); + + +-- +-- Name: cat_chrg_edr cat_chrg_edr_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_chrg_edr + ADD CONSTRAINT cat_chrg_edr_pkey PRIMARY KEY (charge_tmpl_id, trigg_edr_id); + + +-- +-- Name: cat_counter_template cat_counter_template_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_counter_template + ADD CONSTRAINT cat_counter_template_pkey PRIMARY KEY (id); + + +-- +-- Name: cat_day_in_year cat_day_in_year_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_day_in_year + ADD CONSTRAINT cat_day_in_year_pkey PRIMARY KEY (id); + + +-- +-- Name: cat_digital_resource cat_digital_resource_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_digital_resource + ADD CONSTRAINT cat_digital_resource_pkey PRIMARY KEY (id); + + +-- +-- Name: cat_discount_plan_item cat_discount_plan_item_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_discount_plan_item + ADD CONSTRAINT cat_discount_plan_item_pkey PRIMARY KEY (id); + + +-- +-- Name: cat_discount_plan cat_discount_plan_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_discount_plan + ADD CONSTRAINT cat_discount_plan_pkey PRIMARY KEY (id); + + +-- +-- Name: cat_hour_in_day cat_hour_in_day_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_hour_in_day + ADD CONSTRAINT cat_hour_in_day_pkey PRIMARY KEY (id); + + +-- +-- Name: cat_offer_product_template cat_offer_product_template_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_offer_product_template + ADD CONSTRAINT cat_offer_product_template_pkey PRIMARY KEY (id); + + +-- +-- Name: cat_offer_template cat_offer_template_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_offer_template + ADD CONSTRAINT cat_offer_template_pkey PRIMARY KEY (id); + + +-- +-- Name: cat_offer_template cat_offer_template_uk; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_offer_template + ADD CONSTRAINT cat_offer_template_uk UNIQUE (code, valid_from, valid_to); + + +-- +-- Name: cat_offer_tmpl_discount_plan cat_offer_tmpl_discount_plan_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_offer_tmpl_discount_plan + ADD CONSTRAINT cat_offer_tmpl_discount_plan_pkey PRIMARY KEY (offer_tmpl_id, discount_plan_id); + + +-- +-- Name: cat_price_plan_matrix cat_price_plan_matrix_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_price_plan_matrix + ADD CONSTRAINT cat_price_plan_matrix_pkey PRIMARY KEY (id); + + +-- +-- Name: cat_product_offer_channels cat_prod_off_channels_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_product_offer_channels + ADD CONSTRAINT cat_prod_off_channels_pkey PRIMARY KEY (product_id, channel_id); + + +-- +-- Name: cat_product_offer_bam cat_product_offer_bam_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_product_offer_bam + ADD CONSTRAINT cat_product_offer_bam_pkey PRIMARY KEY (product_id, bam_id); + + +-- +-- Name: cat_product_offer_customer_category cat_product_offer_customer_category_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_product_offer_customer_category + ADD CONSTRAINT cat_product_offer_customer_category_pkey PRIMARY KEY (product_id, customer_category_id); + + +-- +-- Name: cat_product_offer_digital_res cat_product_offer_digital_res_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_product_offer_digital_res + ADD CONSTRAINT cat_product_offer_digital_res_pkey PRIMARY KEY (product_id, digital_resource_id); + + +-- +-- Name: cat_product_offer_seller cat_product_offer_seller_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_product_offer_seller + ADD CONSTRAINT cat_product_offer_seller_pkey PRIMARY KEY (product_id, seller_id); + + +-- +-- Name: cat_product_offer_tmpl_cat cat_product_offer_tmpl_cat_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_product_offer_tmpl_cat + ADD CONSTRAINT cat_product_offer_tmpl_cat_pkey PRIMARY KEY (product_id, offer_template_cat_id); + + +-- +-- Name: cat_product_templ_charge_templ cat_product_templ_charge_templ_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_product_templ_charge_templ + ADD CONSTRAINT cat_product_templ_charge_templ_pkey PRIMARY KEY (product_charge_template_id, product_template_id); + + +-- +-- Name: cat_product_wallet_template cat_product_wallet_template_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_product_wallet_template + ADD CONSTRAINT cat_product_wallet_template_pkey PRIMARY KEY (product_template_id, wallet_template_id); + + +-- +-- Name: cat_serv_rec_charge_template cat_serv_rec_charge_template_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_serv_rec_charge_template + ADD CONSTRAINT cat_serv_rec_charge_template_pkey PRIMARY KEY (id); + + +-- +-- Name: cat_serv_rec_counter_template cat_serv_rec_counter_template_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_serv_rec_counter_template + ADD CONSTRAINT cat_serv_rec_counter_template_pkey PRIMARY KEY (service_rec_templt_id, indx); + + +-- +-- Name: cat_serv_rec_wallet_template cat_serv_rec_wallet_template_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_serv_rec_wallet_template + ADD CONSTRAINT cat_serv_rec_wallet_template_pkey PRIMARY KEY (service_rec_templt_id, indx); + + +-- +-- Name: cat_serv_sub_charge_template cat_serv_sub_charge_template_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_serv_sub_charge_template + ADD CONSTRAINT cat_serv_sub_charge_template_pkey PRIMARY KEY (id); + + +-- +-- Name: cat_serv_sub_counter_template cat_serv_sub_counter_template_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_serv_sub_counter_template + ADD CONSTRAINT cat_serv_sub_counter_template_pkey PRIMARY KEY (service_sub_templt_id, indx); + + +-- +-- Name: cat_serv_sub_wallet_template cat_serv_sub_wallet_template_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_serv_sub_wallet_template + ADD CONSTRAINT cat_serv_sub_wallet_template_pkey PRIMARY KEY (service_sub_templt_id, indx); + + +-- +-- Name: cat_serv_trm_charge_template cat_serv_trm_charge_template_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_serv_trm_charge_template + ADD CONSTRAINT cat_serv_trm_charge_template_pkey PRIMARY KEY (id); + + +-- +-- Name: cat_serv_trm_counter_template cat_serv_trm_counter_template_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_serv_trm_counter_template + ADD CONSTRAINT cat_serv_trm_counter_template_pkey PRIMARY KEY (service_trm_templt_id, indx); + + +-- +-- Name: cat_serv_trm_wallet_template cat_serv_trm_wallet_template_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_serv_trm_wallet_template + ADD CONSTRAINT cat_serv_trm_wallet_template_pkey PRIMARY KEY (service_trm_templt_id, indx); + + +-- +-- Name: cat_serv_usage_charge_template cat_serv_usage_charge_template_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_serv_usage_charge_template + ADD CONSTRAINT cat_serv_usage_charge_template_pkey PRIMARY KEY (id); + + +-- +-- Name: cat_serv_usage_counter_template cat_serv_usage_counter_template_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_serv_usage_counter_template + ADD CONSTRAINT cat_serv_usage_counter_template_pkey PRIMARY KEY (service_usage_templt_id, indx); + + +-- +-- Name: cat_serv_usage_wallet_template cat_serv_usage_wallet_template_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_serv_usage_wallet_template + ADD CONSTRAINT cat_serv_usage_wallet_template_pkey PRIMARY KEY (service_usage_templt_id, indx); + + +-- +-- Name: cat_service_template cat_service_template_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_service_template + ADD CONSTRAINT cat_service_template_pkey PRIMARY KEY (id); + + +-- +-- Name: cat_triggered_edr cat_triggered_edr_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_triggered_edr + ADD CONSTRAINT cat_triggered_edr_pkey PRIMARY KEY (id); + + +-- +-- Name: cat_unit_of_measure cat_unit_of_measure_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_unit_of_measure + ADD CONSTRAINT cat_unit_of_measure_pkey PRIMARY KEY (id); + + +-- +-- Name: cat_wallet_template cat_wallet_template_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_wallet_template + ADD CONSTRAINT cat_wallet_template_pkey PRIMARY KEY (id); + + +-- +-- Name: com_campaign_crm_contact_tag com_campaign_crm_contact_tag_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.com_campaign_crm_contact_tag + ADD CONSTRAINT com_campaign_crm_contact_tag_pkey PRIMARY KEY (campaign_id, tag); + + +-- +-- Name: com_campaign com_campaign_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.com_campaign + ADD CONSTRAINT com_campaign_pkey PRIMARY KEY (id); + + +-- +-- Name: com_communication_entity com_communication_entity_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.com_communication_entity + ADD CONSTRAINT com_communication_entity_pkey PRIMARY KEY (id); + + +-- +-- Name: com_contact_com_message com_contact_com_message_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.com_contact_com_message + ADD CONSTRAINT com_contact_com_message_pkey PRIMARY KEY (com_contact_id, messages_id); + + +-- +-- Name: com_contact_coords com_contact_coords_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.com_contact_coords + ADD CONSTRAINT com_contact_coords_pkey PRIMARY KEY (id); + + +-- +-- Name: com_contact com_contact_email; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.com_contact + ADD CONSTRAINT com_contact_email UNIQUE (email); + + +-- +-- Name: com_contact com_contact_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.com_contact + ADD CONSTRAINT com_contact_pkey PRIMARY KEY (id); + + +-- +-- Name: com_contact_tag com_contact_tag_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.com_contact_tag + ADD CONSTRAINT com_contact_tag_pkey PRIMARY KEY (contact_id, tag); + + +-- +-- Name: com_message com_message_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.com_message + ADD CONSTRAINT com_message_pkey PRIMARY KEY (id); + + +-- +-- Name: com_message_template com_message_template_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.com_message_template + ADD CONSTRAINT com_message_template_pkey PRIMARY KEY (id); + + +-- +-- Name: com_meveo_instance com_meveo_instance_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.com_meveo_instance + ADD CONSTRAINT com_meveo_instance_pkey PRIMARY KEY (id); + + +-- +-- Name: com_msg_tmpl_variable com_msg_tmpl_variable_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.com_msg_tmpl_variable + ADD CONSTRAINT com_msg_tmpl_variable_pkey PRIMARY KEY (id); + + +-- +-- Name: com_msg_var_value com_msg_var_value_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.com_msg_var_value + ADD CONSTRAINT com_msg_var_value_pkey PRIMARY KEY (id); + + +-- +-- Name: com_provider_policy com_provider_policy_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.com_provider_policy + ADD CONSTRAINT com_provider_policy_pkey PRIMARY KEY (id); + + +-- +-- Name: com_sender_config com_sender_config_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.com_sender_config + ADD CONSTRAINT com_sender_config_pkey PRIMARY KEY (id); + + +-- +-- Name: crm_additional_details crm_additional_details_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.crm_additional_details + ADD CONSTRAINT crm_additional_details_pkey PRIMARY KEY (id); + + +-- +-- Name: crm_address_book crm_address_book_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.crm_address_book + ADD CONSTRAINT crm_address_book_pkey PRIMARY KEY (id); + + +-- +-- Name: crm_business_account_model crm_bam_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.crm_business_account_model + ADD CONSTRAINT crm_bam_pkey PRIMARY KEY (id); + + +-- +-- Name: cust_cei crm_cust_cei_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cust_cei + ADD CONSTRAINT crm_cust_cei_pkey PRIMARY KEY (id); + + +-- +-- Name: crm_custom_action crm_custom_action_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.crm_custom_action + ADD CONSTRAINT crm_custom_action_pkey PRIMARY KEY (id); + + +-- +-- Name: crm_custom_field_tmpl_mcols crm_custom_field_tmpl_mcols_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.crm_custom_field_tmpl_mcols + ADD CONSTRAINT crm_custom_field_tmpl_mcols_pkey PRIMARY KEY (cft_id, code); + + +-- +-- Name: crm_custom_field_tmpl crm_custom_field_tmpl_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.crm_custom_field_tmpl + ADD CONSTRAINT crm_custom_field_tmpl_pkey PRIMARY KEY (id); + + +-- +-- Name: crm_custom_field_tmpl_val crm_custom_field_tmpl_val_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.crm_custom_field_tmpl_val + ADD CONSTRAINT crm_custom_field_tmpl_val_pkey PRIMARY KEY (customfieldtemplate_id, listvalues_key); + + +-- +-- Name: crm_customer_brand crm_customer_brand_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.crm_customer_brand + ADD CONSTRAINT crm_customer_brand_pkey PRIMARY KEY (id); + + +-- +-- Name: crm_customer_category crm_customer_category_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.crm_customer_category + ADD CONSTRAINT crm_customer_category_pkey PRIMARY KEY (id); + + +-- +-- Name: crm_customer crm_customer_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.crm_customer + ADD CONSTRAINT crm_customer_pkey PRIMARY KEY (id); + + +-- +-- Name: crm_email crm_email_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.crm_email + ADD CONSTRAINT crm_email_pkey PRIMARY KEY (id); + + +-- +-- Name: crm_provider_contact crm_provider_contact_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.crm_provider_contact + ADD CONSTRAINT crm_provider_contact_pkey PRIMARY KEY (id); + + +-- +-- Name: crm_provider crm_provider_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.crm_provider + ADD CONSTRAINT crm_provider_pkey PRIMARY KEY (id); + + +-- +-- Name: crm_seller crm_seller_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.crm_seller + ADD CONSTRAINT crm_seller_pkey PRIMARY KEY (id); + + +-- +-- Name: cust_cet cust_cet_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cust_cet + ADD CONSTRAINT cust_cet_pkey PRIMARY KEY (id); + + +-- +-- Name: databasechangeloglock databasechangeloglock_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.databasechangeloglock + ADD CONSTRAINT databasechangeloglock_pkey PRIMARY KEY (id); + + +-- +-- Name: dwh_account_operation dwh_account_operation_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.dwh_account_operation + ADD CONSTRAINT dwh_account_operation_pkey PRIMARY KEY (id); + + +-- +-- Name: dwh_chart_bar dwh_chart_bar_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.dwh_chart_bar + ADD CONSTRAINT dwh_chart_bar_pkey PRIMARY KEY (id); + + +-- +-- Name: dwh_chart_line dwh_chart_line_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.dwh_chart_line + ADD CONSTRAINT dwh_chart_line_pkey PRIMARY KEY (id); + + +-- +-- Name: dwh_chart_pie dwh_chart_pie_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.dwh_chart_pie + ADD CONSTRAINT dwh_chart_pie_pkey PRIMARY KEY (id); + + +-- +-- Name: dwh_chart dwh_chart_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.dwh_chart + ADD CONSTRAINT dwh_chart_pkey PRIMARY KEY (id); + + +-- +-- Name: dwh_journal_entries dwh_journal_entries_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.dwh_journal_entries + ADD CONSTRAINT dwh_journal_entries_pkey PRIMARY KEY (id); + + +-- +-- Name: dwh_measurable_quant dwh_measurable_quant_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.dwh_measurable_quant + ADD CONSTRAINT dwh_measurable_quant_pkey PRIMARY KEY (id); + + +-- +-- Name: dwh_measured_value dwh_measured_value_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.dwh_measured_value + ADD CONSTRAINT dwh_measured_value_pkey PRIMARY KEY (id); + + +-- +-- Name: dwh_report_extract_execution dwh_report_extract_execution_pk; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.dwh_report_extract_execution + ADD CONSTRAINT dwh_report_extract_execution_pk PRIMARY KEY (id); + + +-- +-- Name: dwh_report_extract dwh_report_extract_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.dwh_report_extract + ADD CONSTRAINT dwh_report_extract_pkey PRIMARY KEY (id); + + +-- +-- Name: flat_file flat_file_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.flat_file + ADD CONSTRAINT flat_file_pkey PRIMARY KEY (id); + + +-- +-- Name: ftp_transferred_file ftp_transferred_file_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.ftp_transferred_file + ADD CONSTRAINT ftp_transferred_file_pkey PRIMARY KEY (id); + + +-- +-- Name: hierarchy_entity hierarchy_entity_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.hierarchy_entity + ADD CONSTRAINT hierarchy_entity_pkey PRIMARY KEY (id); + + +-- +-- Name: job_execution job_execution_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.job_execution + ADD CONSTRAINT job_execution_pkey PRIMARY KEY (id); + + +-- +-- Name: medina_access medina_access_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.medina_access + ADD CONSTRAINT medina_access_pkey PRIMARY KEY (id); + + +-- +-- Name: meveo_and_composite_filter_condition meveo_and_composite_filter_condition_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.meveo_and_composite_filter_condition + ADD CONSTRAINT meveo_and_composite_filter_condition_pkey PRIMARY KEY (id); + + +-- +-- Name: meveo_filter_condition meveo_filter_condition_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.meveo_filter_condition + ADD CONSTRAINT meveo_filter_condition_pkey PRIMARY KEY (id); + + +-- +-- Name: meveo_filter_oc_field_names meveo_filter_oc_field_names_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.meveo_filter_oc_field_names + ADD CONSTRAINT meveo_filter_oc_field_names_pkey PRIMARY KEY (field_name, order_condition_id); + + +-- +-- Name: meveo_filter_order_condition meveo_filter_order_condition_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.meveo_filter_order_condition + ADD CONSTRAINT meveo_filter_order_condition_pkey PRIMARY KEY (id); + + +-- +-- Name: meveo_filter meveo_filter_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.meveo_filter + ADD CONSTRAINT meveo_filter_pkey PRIMARY KEY (id); + + +-- +-- Name: meveo_filter_selector_display_fields meveo_filter_selector_display_fields_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.meveo_filter_selector_display_fields + ADD CONSTRAINT meveo_filter_selector_display_fields_pkey PRIMARY KEY (filter_selector_id, display_field); + + +-- +-- Name: meveo_filter_selector_export_fields meveo_filter_selector_export_fields_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.meveo_filter_selector_export_fields + ADD CONSTRAINT meveo_filter_selector_export_fields_pkey PRIMARY KEY (filter_selector_id, export_field); + + +-- +-- Name: meveo_filter_selector_ignore_fields meveo_filter_selector_ignore_fields_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.meveo_filter_selector_ignore_fields + ADD CONSTRAINT meveo_filter_selector_ignore_fields_pkey PRIMARY KEY (filter_selector_id, ignored_field); + + +-- +-- Name: meveo_filter_selector meveo_filter_selector_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.meveo_filter_selector + ADD CONSTRAINT meveo_filter_selector_pkey PRIMARY KEY (id); + + +-- +-- Name: meveo_job_instance meveo_job_instance_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.meveo_job_instance + ADD CONSTRAINT meveo_job_instance_pkey PRIMARY KEY (id); + + +-- +-- Name: meveo_metrics_config meveo_metrics_config_code_unique; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.meveo_metrics_config + ADD CONSTRAINT meveo_metrics_config_code_unique UNIQUE (code); + + +-- +-- Name: meveo_metrics_config meveo_metrics_config_id_pk; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.meveo_metrics_config + ADD CONSTRAINT meveo_metrics_config_id_pk PRIMARY KEY (id); + + +-- +-- Name: meveo_module_item meveo_module_item_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.meveo_module_item + ADD CONSTRAINT meveo_module_item_pkey PRIMARY KEY (id); + + +-- +-- Name: meveo_module meveo_module_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.meveo_module + ADD CONSTRAINT meveo_module_pkey PRIMARY KEY (id); + + +-- +-- Name: meveo_native_filter_condition meveo_native_filter_condition_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.meveo_native_filter_condition + ADD CONSTRAINT meveo_native_filter_condition_pkey PRIMARY KEY (id); + + +-- +-- Name: meveo_or_composite_filter_condition meveo_or_composite_filter_condition_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.meveo_or_composite_filter_condition + ADD CONSTRAINT meveo_or_composite_filter_condition_pkey PRIMARY KEY (id); + + +-- +-- Name: meveo_primitive_filter_condition meveo_primitive_filter_condition_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.meveo_primitive_filter_condition + ADD CONSTRAINT meveo_primitive_filter_condition_pkey PRIMARY KEY (id); + + +-- +-- Name: meveo_script_instance_cat meveo_script_instance_cat_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.meveo_script_instance_cat + ADD CONSTRAINT meveo_script_instance_cat_pkey PRIMARY KEY (id); + + +-- +-- Name: meveo_script_instance meveo_script_instance_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.meveo_script_instance + ADD CONSTRAINT meveo_script_instance_pkey PRIMARY KEY (id); + + +-- +-- Name: meveo_timer meveo_timer_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.meveo_timer + ADD CONSTRAINT meveo_timer_pkey PRIMARY KEY (id); + + +-- +-- Name: ord_item_offerings ord_item_offer_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.ord_item_offerings + ADD CONSTRAINT ord_item_offer_pkey PRIMARY KEY (id); + + +-- +-- Name: ord_item_prd_instance ord_item_prd_instance_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.ord_item_prd_instance + ADD CONSTRAINT ord_item_prd_instance_pkey PRIMARY KEY (order_item_id, prd_instance_id); + + +-- +-- Name: ord_order_history ord_order_history_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.ord_order_history + ADD CONSTRAINT ord_order_history_pkey PRIMARY KEY (id); + + +-- +-- Name: ord_order_item ord_order_item_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.ord_order_item + ADD CONSTRAINT ord_order_item_pkey PRIMARY KEY (id); + + +-- +-- Name: ord_order ord_order_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.ord_order + ADD CONSTRAINT ord_order_pkey PRIMARY KEY (id); + + +-- +-- Name: ord_quot_item_offerings ord_quot_item_offer_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.ord_quot_item_offerings + ADD CONSTRAINT ord_quot_item_offer_pkey PRIMARY KEY (id); + + +-- +-- Name: ord_quote_item ord_quote_item_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.ord_quote_item + ADD CONSTRAINT ord_quote_item_pkey PRIMARY KEY (id); + + +-- +-- Name: ord_quote ord_quote_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.ord_quote + ADD CONSTRAINT ord_quote_pkey PRIMARY KEY (id); + + +-- +-- Name: adm_gdpr_configuration pk_adm_gdpr_configuration; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.adm_gdpr_configuration + ADD CONSTRAINT pk_adm_gdpr_configuration PRIMARY KEY (id); + + +-- +-- Name: adm_notif_job_params pk_adm_notif_job_params; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.adm_notif_job_params + ADD CONSTRAINT pk_adm_notif_job_params PRIMARY KEY (jobtrigger_id, jobparams_key); + + +-- +-- Name: adm_notification_params pk_adm_notification_params; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.adm_notification_params + ADD CONSTRAINT pk_adm_notification_params PRIMARY KEY (notification_id, params_key); + + +-- +-- Name: ar_accounting_writing pk_ar_accounting_writing_seq; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.ar_accounting_writing + ADD CONSTRAINT pk_ar_accounting_writing_seq PRIMARY KEY (id); + + +-- +-- Name: ar_payment_gateway_rum_sequence pk_ar_payment_gateway_rum_sequence; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.ar_payment_gateway_rum_sequence + ADD CONSTRAINT pk_ar_payment_gateway_rum_sequence PRIMARY KEY (id); + + +-- +-- Name: billing_finance_segment pk_billing_finance_segment; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_finance_segment + ADD CONSTRAINT pk_billing_finance_segment PRIMARY KEY (id); + + +-- +-- Name: billing_seq_invoice pk_billing_seq_invoice; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_seq_invoice + ADD CONSTRAINT pk_billing_seq_invoice PRIMARY KEY (id); + + +-- +-- Name: cat_business_offer_model pk_cat_bom; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_business_offer_model + ADD CONSTRAINT pk_cat_bom PRIMARY KEY (id); + + +-- +-- Name: cat_business_serv_model pk_cat_bsm; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_business_serv_model + ADD CONSTRAINT pk_cat_bsm PRIMARY KEY (id); + + +-- +-- Name: cat_business_product_model pk_cat_business_product_model; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_business_product_model + ADD CONSTRAINT pk_cat_business_product_model PRIMARY KEY (id); + + +-- +-- Name: cat_offer_serv_incomp pk_cat_offer_serv_incomp; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_offer_serv_incomp + ADD CONSTRAINT pk_cat_offer_serv_incomp PRIMARY KEY (offer_service_template_id, service_template_id); + + +-- +-- Name: cat_offer_serv_templates pk_cat_offer_serv_templates; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_offer_serv_templates + ADD CONSTRAINT pk_cat_offer_serv_templates PRIMARY KEY (id); + + +-- +-- Name: cat_offer_template_category pk_cat_offer_template_category; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_offer_template_category + ADD CONSTRAINT pk_cat_offer_template_category PRIMARY KEY (id); + + +-- +-- Name: crm_customer_sequence pk_crm_customer_sequence; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.crm_customer_sequence + ADD CONSTRAINT pk_crm_customer_sequence PRIMARY KEY (id); + + +-- +-- Name: dunning_document pk_dunning_document_sequence; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.dunning_document + ADD CONSTRAINT pk_dunning_document_sequence PRIMARY KEY (id); + + +-- +-- Name: dwh_report_extract_params pk_report_extract_params; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.dwh_report_extract_params + ADD CONSTRAINT pk_report_extract_params PRIMARY KEY (reportextract_id, params_key); + + +-- +-- Name: rating_cdr rating_cdr_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.rating_cdr + ADD CONSTRAINT rating_cdr_pkey PRIMARY KEY (id); + + +-- +-- Name: rating_edr rating_edr_p_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.rating_edr + ADD CONSTRAINT rating_edr_p_pkey PRIMARY KEY (id, status); + + +-- +-- Name: rating_edr_open rating_edr_open_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.rating_edr_open + ADD CONSTRAINT rating_edr_open_pkey PRIMARY KEY (id, status); + + +-- +-- Name: rating_edr_other rating_edr_other_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.rating_edr_other + ADD CONSTRAINT rating_edr_other_pkey PRIMARY KEY (id, status); + + +-- +-- Name: report_emails report_emails_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.report_emails + ADD CONSTRAINT report_emails_pkey PRIMARY KEY (email_id, report_id); + + +-- +-- Name: rm_service_param_template rm_service_param_template_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.rm_service_param_template + ADD CONSTRAINT rm_service_param_template_pkey PRIMARY KEY (id); + + +-- +-- Name: cat_discount_plan_item uk_1q0ayvmttpoo254r1v8hl0kjn; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_discount_plan_item + ADD CONSTRAINT uk_1q0ayvmttpoo254r1v8hl0kjn UNIQUE (discount_plan_id, code); + + +-- +-- Name: billing_invoice_template uk_23jasgq9b22ry02e4tl773c8i; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_invoice_template + ADD CONSTRAINT uk_23jasgq9b22ry02e4tl773c8i UNIQUE (file_name); + + +-- +-- Name: adm_notification uk_3ycqdueceguo8a0s21h1gkcqw; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.adm_notification + ADD CONSTRAINT uk_3ycqdueceguo8a0s21h1gkcqw UNIQUE (code); + + +-- +-- Name: cat_hour_in_day uk_46j9b2xyivfvbibad362o1dlr; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_hour_in_day + ADD CONSTRAINT uk_46j9b2xyivfvbibad362o1dlr UNIQUE (hour, min); + + +-- +-- Name: cat_discount_plan uk_4qps24of1qada6uyq7lh5ua0t; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_discount_plan + ADD CONSTRAINT uk_4qps24of1qada6uyq7lh5ua0t UNIQUE (code); + + +-- +-- Name: cat_price_plan_matrix uk_52v1uwefc75bgqrj5encpyd9w; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_price_plan_matrix + ADD CONSTRAINT uk_52v1uwefc75bgqrj5encpyd9w UNIQUE (code); + + +-- +-- Name: adm_notif_im_user uk_6g7agb8u5whyi5ukj627l2qc9; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.adm_notif_im_user + ADD CONSTRAINT uk_6g7agb8u5whyi5ukj627l2qc9 UNIQUE (users_id); + + +-- +-- Name: com_contact_coords uk_6lkh6xsel27sl2bp1vgdhj0hm; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.com_contact_coords + ADD CONSTRAINT uk_6lkh6xsel27sl2bp1vgdhj0hm UNIQUE (code); + + +-- +-- Name: cat_service_template uk_6u1l58s8u672jj9sqb9tgqdbu; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_service_template + ADD CONSTRAINT uk_6u1l58s8u672jj9sqb9tgqdbu UNIQUE (code); + + +-- +-- Name: billing_subscription uk_9fnf93rp352nkw2kpd4oq5xp9; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_subscription + ADD CONSTRAINT uk_9fnf93rp352nkw2kpd4oq5xp9 UNIQUE (code); + + +-- +-- Name: adm_file_format uk_9fnf93rp352nkw2kpdbari4xp9; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.adm_file_format + ADD CONSTRAINT uk_9fnf93rp352nkw2kpdbari4xp9 UNIQUE (code); + + +-- +-- Name: adm_file_type uk_9fnf93rp352nkw2kpdbari5yr8; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.adm_file_type + ADD CONSTRAINT uk_9fnf93rp352nkw2kpdbari5yr8 UNIQUE (code); + + +-- +-- Name: flat_file uk_9fnf93rp352nkw2kpdbari6yr9; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.flat_file + ADD CONSTRAINT uk_9fnf93rp352nkw2kpdbari6yr9 UNIQUE (code); + + +-- +-- Name: crm_custom_field_tmpl uk_abfci88fr16lqf19cf961b08d; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.crm_custom_field_tmpl + ADD CONSTRAINT uk_abfci88fr16lqf19cf961b08d UNIQUE (code, applies_to); + + +-- +-- Name: account_entity uk_account_entity; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.account_entity + ADD CONSTRAINT uk_account_entity UNIQUE (code, account_type); + + +-- +-- Name: adm_custom_generic_entity_code uk_adm_custom_generic_entity_code_class; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.adm_custom_generic_entity_code + ADD CONSTRAINT uk_adm_custom_generic_entity_code_class UNIQUE (entity_class); + + +-- +-- Name: ar_credit_category uk_ar_credit_category; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.ar_credit_category + ADD CONSTRAINT uk_ar_credit_category UNIQUE (code); + + +-- +-- Name: crm_customer_brand uk_bf0bq2sqe9fefsoud50t0fbjp; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.crm_customer_brand + ADD CONSTRAINT uk_bf0bq2sqe9fefsoud50t0fbjp UNIQUE (code); + + +-- +-- Name: billing_seq_invtyp_sell uk_bill_seq_it_sell; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_seq_invtyp_sell + ADD CONSTRAINT uk_bill_seq_it_sell UNIQUE (seller_id, invoicetype_id); + + +-- +-- Name: billing_accounting_code uk_billing_accounting_code; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_accounting_code + ADD CONSTRAINT uk_billing_accounting_code UNIQUE (code); + + +-- +-- Name: billing_general_ledger uk_billing_general_ledger_code; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_general_ledger + ADD CONSTRAINT uk_billing_general_ledger_code UNIQUE (code); + + +-- +-- Name: billing_invoice uk_billing_invoice; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_invoice + ADD CONSTRAINT uk_billing_invoice UNIQUE (invoice_number, invoice_type_id); + + +-- +-- Name: billing_invoice_type uk_billing_invoice_type; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_invoice_type + ADD CONSTRAINT uk_billing_invoice_type UNIQUE (code); + + +-- +-- Name: billing_tax_category uk_billing_tax_category_code; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_tax_category + ADD CONSTRAINT uk_billing_tax_category_code UNIQUE (code); + + +-- +-- Name: billing_tax_class uk_billing_tax_class_code; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_tax_class + ADD CONSTRAINT uk_billing_tax_class_code UNIQUE (code); + + +-- +-- Name: billing_wallet uk_billing_wallet; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_wallet + ADD CONSTRAINT uk_billing_wallet UNIQUE (code, user_account_id); + + +-- +-- Name: cat_bundle_product_template uk_cat_bundle_prod_tpl; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_bundle_product_template + ADD CONSTRAINT uk_cat_bundle_prod_tpl UNIQUE (product_template_id, bundle_template_id); + + +-- +-- Name: cat_channel uk_cat_channel; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_channel + ADD CONSTRAINT uk_cat_channel UNIQUE (code); + + +-- +-- Name: cat_offer_serv_templates uk_cat_offer_serv_templates; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_offer_serv_templates + ADD CONSTRAINT uk_cat_offer_serv_templates UNIQUE (offer_template_id, service_template_id); + + +-- +-- Name: cat_offer_template_category uk_cat_offer_template_category; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_offer_template_category + ADD CONSTRAINT uk_cat_offer_template_category UNIQUE (code); + + +-- +-- Name: hierarchy_entity uk_code_hierarchy; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.hierarchy_entity + ADD CONSTRAINT uk_code_hierarchy UNIQUE (code, hierarchy_type); + + +-- +-- Name: crm_provider uk_crm_provider; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.crm_provider + ADD CONSTRAINT uk_crm_provider UNIQUE (code); + + +-- +-- Name: cust_cei uk_cust_cei; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cust_cei + ADD CONSTRAINT uk_cust_cei UNIQUE (code, cet_code); + + +-- +-- Name: cust_cet uk_cust_cet; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cust_cet + ADD CONSTRAINT uk_cust_cet UNIQUE (code); + + +-- +-- Name: billing_subscrip_termin_reason uk_cygiejvomk5mi5v4o04hf4uny; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_subscrip_termin_reason + ADD CONSTRAINT uk_cygiejvomk5mi5v4o04hf4uny UNIQUE (code); + + +-- +-- Name: billing_cycle uk_cyq7rhfwc1wqvxbj2tukw34f2; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_cycle + ADD CONSTRAINT uk_cyq7rhfwc1wqvxbj2tukw34f2 UNIQUE (code); + + +-- +-- Name: wf_decision_rule uk_decision_rule_name_value; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.wf_decision_rule + ADD CONSTRAINT uk_decision_rule_name_value UNIQUE (name, value); + + +-- +-- Name: cat_digital_resource uk_digital_resource; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_digital_resource + ADD CONSTRAINT uk_digital_resource UNIQUE (code); + + +-- +-- Name: adm_currency uk_dqcyys6yxxl4onj137n9c1nwu; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.adm_currency + ADD CONSTRAINT uk_dqcyys6yxxl4onj137n9c1nwu UNIQUE (currency_code); + + +-- +-- Name: com_contact_com_message uk_e1trke21afbfr3v8wqnsks2is; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.com_contact_com_message + ADD CONSTRAINT uk_e1trke21afbfr3v8wqnsks2is UNIQUE (messages_id); + + +-- +-- Name: cat_triggered_edr uk_e5epl6nn8r6uyegu6ytx0c3op; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_triggered_edr + ADD CONSTRAINT uk_e5epl6nn8r6uyegu6ytx0c3op UNIQUE (code); + + +-- +-- Name: com_sender_config uk_e9tdxu2w5ebts1p1nr1ejqbgp; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.com_sender_config + ADD CONSTRAINT uk_e9tdxu2w5ebts1p1nr1ejqbgp UNIQUE (code); + + +-- +-- Name: billing_tax uk_ej17p1cs8977u8njoppj4ebug; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_tax + ADD CONSTRAINT uk_ej17p1cs8977u8njoppj4ebug UNIQUE (code); + + +-- +-- Name: adm_inbound_request uk_fg8lvusnsfih36f76coxmh8qi; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.adm_inbound_request + ADD CONSTRAINT uk_fg8lvusnsfih36f76coxmh8qi UNIQUE (code); + + +-- +-- Name: wf_status uk_generic_wf_id_code_status; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.wf_status + ADD CONSTRAINT uk_generic_wf_id_code_status UNIQUE (generic_wf_id, code); + + +-- +-- Name: cat_day_in_year uk_gm4w28fbb5i1t0403tjbjyjrq; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_day_in_year + ADD CONSTRAINT uk_gm4w28fbb5i1t0403tjbjyjrq UNIQUE (day, month); + + +-- +-- Name: com_campaign uk_h1vbmdpl6hby6wefd9isqht8; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.com_campaign + ADD CONSTRAINT uk_h1vbmdpl6hby6wefd9isqht8 UNIQUE (code); + + +-- +-- Name: com_msg_var_value uk_i4iy89rb3qcvhd7qivhjvw2mo; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.com_msg_var_value + ADD CONSTRAINT uk_i4iy89rb3qcvhd7qivhjvw2mo UNIQUE (code); + + +-- +-- Name: com_msg_tmpl_variable uk_ie5npbxx0nxnpogq73fdsi9fp; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.com_msg_tmpl_variable + ADD CONSTRAINT uk_ie5npbxx0nxnpogq73fdsi9fp UNIQUE (code); + + +-- +-- Name: crm_customer_category uk_ila682ivfyhhi6dfk9yfuahr; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.crm_customer_category + ADD CONSTRAINT uk_ila682ivfyhhi6dfk9yfuahr UNIQUE (code); + + +-- +-- Name: wf_workflow uk_j8v4x5olh5um1g7y5vnsayrka; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.wf_workflow + ADD CONSTRAINT uk_j8v4x5olh5um1g7y5vnsayrka UNIQUE (code); + + +-- +-- Name: billing_invoice_template uk_k9ha8me5f8rka8uqrgempqwuo; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_invoice_template + ADD CONSTRAINT uk_k9ha8me5f8rka8uqrgempqwuo UNIQUE (code); + + +-- +-- Name: medina_access uk_lca62y5gn9qo1e6jr84i9w3lr; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.medina_access + ADD CONSTRAINT uk_lca62y5gn9qo1e6jr84i9w3lr UNIQUE (acces_user_id, subscription_id, start_date, end_date); + + +-- +-- Name: adm_title uk_lqvhsn08tpoq8kiy1qdc8j6ms; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.adm_title + ADD CONSTRAINT uk_lqvhsn08tpoq8kiy1qdc8j6ms UNIQUE (code); + + +-- +-- Name: cat_wallet_template uk_m7m3ix32qoai9fv3xncoys8c9; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_wallet_template + ADD CONSTRAINT uk_m7m3ix32qoai9fv3xncoys8c9 UNIQUE (code); + + +-- +-- Name: meveo_filter uk_meveo_filter; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.meveo_filter + ADD CONSTRAINT uk_meveo_filter UNIQUE (code); + + +-- +-- Name: meveo_job_instance uk_meveo_job_instance; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.meveo_job_instance + ADD CONSTRAINT uk_meveo_job_instance UNIQUE (code); + + +-- +-- Name: meveo_module uk_meveo_module; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.meveo_module + ADD CONSTRAINT uk_meveo_module UNIQUE (code); + + +-- +-- Name: meveo_script_instance uk_meveo_script_instance; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.meveo_script_instance + ADD CONSTRAINT uk_meveo_script_instance UNIQUE (code); + + +-- +-- Name: billing_counter_period uk_mns6ldfxmurbo0j4y890h4ipe; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_counter_period + ADD CONSTRAINT uk_mns6ldfxmurbo0j4y890h4ipe UNIQUE (counter_instance_id, period_start_date); + + +-- +-- Name: adm_notif_email_user uk_mp4h7biod5wtjo1x3yp80q3um; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.adm_notif_email_user + ADD CONSTRAINT uk_mp4h7biod5wtjo1x3yp80q3um UNIQUE (users_id); + + +-- +-- Name: cat_calendar uk_my3lp1lx5r0jeftgekg48nf89; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_calendar + ADD CONSTRAINT uk_my3lp1lx5r0jeftgekg48nf89 UNIQUE (code); + + +-- +-- Name: cat_charge_template uk_n2bbtllrbgypse7qh9h3w6uy8; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_charge_template + ADD CONSTRAINT uk_n2bbtllrbgypse7qh9h3w6uy8 UNIQUE (code); + + +-- +-- Name: adm_user uk_n9pt70038bt2ufk8x4pc7gr3l; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.adm_user + ADD CONSTRAINT uk_n9pt70038bt2ufk8x4pc7gr3l UNIQUE (username); + + +-- +-- Name: crm_provider_contact uk_o5gj61ogdrv2lqs68uxkswvn2; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.crm_provider_contact + ADD CONSTRAINT uk_o5gj61ogdrv2lqs68uxkswvn2 UNIQUE (code); + + +-- +-- Name: rm_service_param_template uk_ojqvlgvkqu3rnvm79bekf7k0b; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.rm_service_param_template + ADD CONSTRAINT uk_ojqvlgvkqu3rnvm79bekf7k0b UNIQUE (code); + + +-- +-- Name: billing_invoice uk_olfbcf2pmj73v5xdhnbp5i5gn; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_invoice + ADD CONSTRAINT uk_olfbcf2pmj73v5xdhnbp5i5gn UNIQUE (temporary_invoice_number); + + +-- +-- Name: ord_order uk_ord_order; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.ord_order + ADD CONSTRAINT uk_ord_order UNIQUE (code); + + +-- +-- Name: ord_quote uk_ord_quote; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.ord_quote + ADD CONSTRAINT uk_ord_quote UNIQUE (code); + + +-- +-- Name: ord_order_item uk_order_item_code; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.ord_order_item + ADD CONSTRAINT uk_order_item_code UNIQUE (code); + + +-- +-- Name: dwh_journal_entries uk_orinvacid; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.dwh_journal_entries + ADD CONSTRAINT uk_orinvacid UNIQUE (origin_id, invoice_number, accounting_code_id); + + +-- +-- Name: cat_counter_template uk_p12oo75s9gryyvaw53y06xoh3; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_counter_template + ADD CONSTRAINT uk_p12oo75s9gryyvaw53y06xoh3 UNIQUE (code); + + +-- +-- Name: ar_occ_template uk_p2nr7j9ik6ri37gmd8o1hojhb; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.ar_occ_template + ADD CONSTRAINT uk_p2nr7j9ik6ri37gmd8o1hojhb UNIQUE (code); + + +-- +-- Name: com_meveo_instance uk_p7r8cy3d1w7g8pir7rxq17071; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.com_meveo_instance + ADD CONSTRAINT uk_p7r8cy3d1w7g8pir7rxq17071 UNIQUE (code); + + +-- +-- Name: dwh_chart uk_pehkecunepva2oq9dx9faajhg; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.dwh_chart + ADD CONSTRAINT uk_pehkecunepva2oq9dx9faajhg UNIQUE (code); + + +-- +-- Name: crm_provider_pay_methods uk_prov_pay_meth; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.crm_provider_pay_methods + ADD CONSTRAINT uk_prov_pay_meth UNIQUE (provider_id, payment_method); + + +-- +-- Name: billing_invoice_sub_cat uk_pxj2js3rc3kkeo9bqewgai3yl; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_invoice_sub_cat + ADD CONSTRAINT uk_pxj2js3rc3kkeo9bqewgai3yl UNIQUE (code); + + +-- +-- Name: meveo_timer uk_q4ys10jgsw0px36rcvwdajh47; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.meveo_timer + ADD CONSTRAINT uk_q4ys10jgsw0px36rcvwdajh47 UNIQUE (code); + + +-- +-- Name: billing_invoice_cat uk_qck1376ll09l9itat2bcomhpl; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_invoice_cat + ADD CONSTRAINT uk_qck1376ll09l9itat2bcomhpl UNIQUE (code); + + +-- +-- Name: com_message_template uk_r0shu06cdbx57w86f2h57t66p; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.com_message_template + ADD CONSTRAINT uk_r0shu06cdbx57w86f2h57t66p UNIQUE (code); + + +-- +-- Name: dwh_measurable_quant uk_r7ba8gp6uk4ncc8q1a7rrt3fi; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.dwh_measurable_quant + ADD CONSTRAINT uk_r7ba8gp6uk4ncc8q1a7rrt3fi UNIQUE (code); + + +-- +-- Name: bi_job uk_stegw04bvx8bxued1pkncywxl; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.bi_job + ADD CONSTRAINT uk_stegw04bvx8bxued1pkncywxl UNIQUE (name); + + +-- +-- Name: wf_action uk_wf_action_uuid; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.wf_action + ADD CONSTRAINT uk_wf_action_uuid UNIQUE (uuid); + + +-- +-- Name: wf_generic_workflow uk_wf_generic_workflow_code; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.wf_generic_workflow + ADD CONSTRAINT uk_wf_generic_workflow_code UNIQUE (code); + + +-- +-- Name: wf_instance uk_wf_instance_code_gwf_id_cet_code; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.wf_instance + ADD CONSTRAINT uk_wf_instance_code_gwf_id_cet_code UNIQUE (entity_instance_code, generic_wf_id, target_cet_code); + + +-- +-- Name: wf_transition uk_wf_transition_uuid; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.wf_transition + ADD CONSTRAINT uk_wf_transition_uuid UNIQUE (uuid); + + +-- +-- Name: wf_action wf_action_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.wf_action + ADD CONSTRAINT wf_action_pkey PRIMARY KEY (id); + + +-- +-- Name: wf_generic_transition wf_generic_transition_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.wf_generic_transition + ADD CONSTRAINT wf_generic_transition_pkey PRIMARY KEY (id); + + +-- +-- Name: wf_generic_workflow wf_generic_workflow_pk; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.wf_generic_workflow + ADD CONSTRAINT wf_generic_workflow_pk PRIMARY KEY (id); + + +-- +-- Name: wf_history_action wf_history_action_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.wf_history_action + ADD CONSTRAINT wf_history_action_pkey PRIMARY KEY (id); + + +-- +-- Name: wf_history wf_history_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.wf_history + ADD CONSTRAINT wf_history_pkey PRIMARY KEY (id); + + +-- +-- Name: wf_instance_history wf_instance_history_pk; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.wf_instance_history + ADD CONSTRAINT wf_instance_history_pk PRIMARY KEY (id); + + +-- +-- Name: wf_instance wf_instance_pk; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.wf_instance + ADD CONSTRAINT wf_instance_pk PRIMARY KEY (id); + + +-- +-- Name: wf_status wf_status_pk; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.wf_status + ADD CONSTRAINT wf_status_pk PRIMARY KEY (id); + + +-- +-- Name: wf_transition_decision_rule wf_transition_decision_rule_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.wf_transition_decision_rule + ADD CONSTRAINT wf_transition_decision_rule_pkey PRIMARY KEY (transition_id, decision_rule_id); + + +-- +-- Name: wf_transition wf_transition_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.wf_transition + ADD CONSTRAINT wf_transition_pkey PRIMARY KEY (id); + + +-- +-- Name: wf_decision_rule wf_wf_decision_rule_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.wf_decision_rule + ADD CONSTRAINT wf_wf_decision_rule_pkey PRIMARY KEY (id); + + +-- +-- Name: wf_workflow wf_workflow_pkey; Type: CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.wf_workflow + ADD CONSTRAINT wf_workflow_pkey PRIMARY KEY (id); + + +-- +-- Name: account_entity_bam_id_index; Type: INDEX; Schema: public; Owner: dev_postgres +-- + +CREATE INDEX account_entity_bam_id_index ON public.account_entity USING btree (bam_id); + + +-- +-- Name: account_entity_index; Type: INDEX; Schema: public; Owner: dev_postgres +-- + +CREATE INDEX account_entity_index ON public.account_entity USING btree (primary_contact, title_id, bam_id); + + +-- +-- Name: account_entity_primary_contact_index; Type: INDEX; Schema: public; Owner: dev_postgres +-- + +CREATE INDEX account_entity_primary_contact_index ON public.account_entity USING btree (primary_contact); + + +-- +-- Name: account_entity_title_id_index; Type: INDEX; Schema: public; Owner: dev_postgres +-- + +CREATE INDEX account_entity_title_id_index ON public.account_entity USING btree (title_id); + + +-- +-- Name: account_entity_upper_code; Type: INDEX; Schema: public; Owner: dev_postgres +-- + +CREATE INDEX account_entity_upper_code ON public.account_entity USING btree (upper((code)::text)); + + +-- +-- Name: adm_file_type_code_index; Type: INDEX; Schema: public; Owner: dev_postgres +-- + +CREATE INDEX adm_file_type_code_index ON public.adm_file_type USING btree (code); + + +-- +-- Name: adm_sc_instance_id_index; Type: INDEX; Schema: public; Owner: dev_postgres +-- + +CREATE INDEX adm_sc_instance_id_index ON public.adm_script_sourc_role USING btree (script_instance_id); + + +-- +-- Name: adm_sc_role_id_index; Type: INDEX; Schema: public; Owner: dev_postgres +-- + +CREATE INDEX adm_sc_role_id_index ON public.adm_script_sourc_role USING btree (role_id); + + +-- +-- Name: adm_title_index; Type: INDEX; Schema: public; Owner: dev_postgres +-- + +CREATE INDEX adm_title_index ON public.adm_title USING btree (lower((code)::text)); + + +-- +-- Name: adm_user_title_index; Type: INDEX; Schema: public; Owner: dev_postgres +-- + +CREATE INDEX adm_user_title_index ON public.adm_user USING btree (title_id); + + +-- +-- Name: ao_inv_idx; Type: INDEX; Schema: public; Owner: dev_postgres +-- + +CREATE INDEX ao_inv_idx ON public.ar_account_operation USING btree (invoice_id); + + +-- +-- Name: ar_account_operation_cat_inv_agregate_id_idx; Type: INDEX; Schema: public; Owner: dev_postgres +-- + +CREATE INDEX ar_account_operation_cat_inv_agregate_id_idx ON public.ar_account_operation USING btree (cat_inv_agregate_id); + + +-- +-- Name: ar_account_operation_index; Type: INDEX; Schema: public; Owner: dev_postgres +-- + +CREATE INDEX ar_account_operation_index ON public.ar_account_operation USING btree (customer_account_id); + + +-- +-- Name: ar_account_operation_sub_cat_inv_agregate_id_idx; Type: INDEX; Schema: public; Owner: dev_postgres +-- + +CREATE INDEX ar_account_operation_sub_cat_inv_agregate_id_idx ON public.ar_account_operation USING btree (sub_cat_inv_agregate_id); + + +-- +-- Name: ar_customer_account_index; Type: INDEX; Schema: public; Owner: dev_postgres +-- + +CREATE INDEX ar_customer_account_index ON public.ar_customer_account USING btree (credit_category_id); + + +-- +-- Name: ar_payment_customer_index; Type: INDEX; Schema: public; Owner: dev_postgres +-- + +CREATE INDEX ar_payment_customer_index ON public.ar_payment_token USING btree (customer_account_id); + + +-- +-- Name: bc_instance_inv_cal_id; Type: INDEX; Schema: public; Owner: dev_postgres +-- + +CREATE INDEX bc_instance_inv_cal_id ON public.billing_charge_instance USING btree (invoicing_calendar_id); + + +-- +-- Name: bc_instance_sub_id; Type: INDEX; Schema: public; Owner: dev_postgres +-- + +CREATE INDEX bc_instance_sub_id ON public.billing_charge_instance USING btree (subscription_id); + + +-- +-- Name: billing_billing_account_index; Type: INDEX; Schema: public; Owner: dev_postgres +-- + +CREATE INDEX billing_billing_account_index ON public.billing_billing_account USING btree (customer_account_id); + + +-- +-- Name: billing_charge_instance_code_index; Type: INDEX; Schema: public; Owner: dev_postgres +-- + +CREATE INDEX billing_charge_instance_code_index ON public.billing_charge_instance USING btree (lower((code)::text)); + + +-- +-- Name: billing_charge_instance_index; Type: INDEX; Schema: public; Owner: dev_postgres +-- + +CREATE INDEX billing_charge_instance_index ON public.billing_charge_instance USING btree (invoicing_calendar_id, lower((code)::text), charge_template_id); + + +-- +-- Name: billing_charge_serv_inst_index; Type: INDEX; Schema: public; Owner: dev_postgres +-- + +CREATE INDEX billing_charge_serv_inst_index ON public.billing_charge_instance USING btree (service_instance_id); + + +-- +-- Name: billing_chrginst_wallet_index; Type: INDEX; Schema: public; Owner: dev_postgres +-- + +CREATE INDEX billing_chrginst_wallet_index ON public.billing_chrginst_wallet USING btree (wallet_instance_id); + + +-- +-- Name: billing_invoice_agregate_category_inv_agg; Type: INDEX; Schema: public; Owner: dev_postgres +-- + +CREATE INDEX billing_invoice_agregate_category_inv_agg ON public.billing_invoice_agregate USING btree (category_invoice_agregate); + + +-- +-- Name: billing_invoice_agregate_sub_cat_invoice_agregate_id_idx; Type: INDEX; Schema: public; Owner: dev_postgres +-- + +CREATE INDEX billing_invoice_agregate_sub_cat_invoice_agregate_id_idx ON public.billing_invoice_agregate USING btree (sub_cat_invoice_agregate_id); + + +-- +-- Name: billing_invoice_agregate_tax_invoice_agregate_idx; Type: INDEX; Schema: public; Owner: dev_postgres +-- + +CREATE INDEX billing_invoice_agregate_tax_invoice_agregate_idx ON public.billing_invoice_agregate USING btree (tax_invoice_agregate); + + +-- +-- Name: billing_invoice_billing_account_id; Type: INDEX; Schema: public; Owner: dev_postgres +-- + +CREATE INDEX billing_invoice_billing_account_id ON public.billing_invoice USING btree (billing_account_id); + + +-- +-- Name: billing_invoice_index; Type: INDEX; Schema: public; Owner: dev_postgres +-- + +CREATE INDEX billing_invoice_index ON public.billing_invoice USING btree (invoice_id, invoice_type_id); + + +-- +-- Name: billing_invoice_quote_id; Type: INDEX; Schema: public; Owner: dev_postgres +-- + +CREATE INDEX billing_invoice_quote_id ON public.billing_invoice USING btree (quote_id); + + +-- +-- Name: billing_invoice_version_index; Type: INDEX; Schema: public; Owner: dev_postgres +-- + +CREATE INDEX billing_invoice_version_index ON public.billing_invoice USING btree (version); + + +-- +-- Name: rt_adjusted_rated_tx; Type: INDEX; Schema: public; Owner: dev_postgres +-- + +CREATE INDEX rt_adjusted_rated_tx ON ONLY public.billing_rated_transaction USING btree (adjusted_rated_tx); + + +-- +-- Name: billing_rated_transaction_open_adjusted_rated_tx_idx; Type: INDEX; Schema: public; Owner: dev_postgres +-- + +CREATE INDEX billing_rated_transaction_open_adjusted_rated_tx_idx ON public.billing_rated_transaction_open USING btree (adjusted_rated_tx); + + +-- +-- Name: rt_argr_f_idx; Type: INDEX; Schema: public; Owner: dev_postgres +-- + +CREATE INDEX rt_argr_f_idx ON ONLY public.billing_rated_transaction USING btree (aggregate_id_f); + + +-- +-- Name: billing_rated_transaction_open_aggregate_id_f_idx; Type: INDEX; Schema: public; Owner: dev_postgres +-- + +CREATE INDEX billing_rated_transaction_open_aggregate_id_f_idx ON public.billing_rated_transaction_open USING btree (aggregate_id_f); + + +-- +-- Name: rt_edr_id; Type: INDEX; Schema: public; Owner: dev_postgres +-- + +CREATE INDEX rt_edr_id ON ONLY public.billing_rated_transaction USING btree (edr_id); + + +-- +-- Name: billing_rated_transaction_open_edr_id_idx; Type: INDEX; Schema: public; Owner: dev_postgres +-- + +CREATE INDEX billing_rated_transaction_open_edr_id_idx ON public.billing_rated_transaction_open USING btree (edr_id); + + +-- +-- Name: rt_order_index; Type: INDEX; Schema: public; Owner: dev_postgres +-- + +CREATE INDEX rt_order_index ON ONLY public.billing_rated_transaction USING btree (order_number) WHERE (order_number IS NOT NULL); + + +-- +-- Name: billing_rated_transaction_open_order_number_idx; Type: INDEX; Schema: public; Owner: dev_postgres +-- + +CREATE INDEX billing_rated_transaction_open_order_number_idx ON public.billing_rated_transaction_open USING btree (order_number) WHERE (order_number IS NOT NULL); + + +-- +-- Name: rt_usage_date_index; Type: INDEX; Schema: public; Owner: dev_postgres +-- + +CREATE INDEX rt_usage_date_index ON ONLY public.billing_rated_transaction USING btree (((usage_date)::date)); + + +-- +-- Name: billing_rated_transaction_open_usage_date_idx; Type: INDEX; Schema: public; Owner: dev_postgres +-- + +CREATE INDEX billing_rated_transaction_open_usage_date_idx ON public.billing_rated_transaction_open USING btree (((usage_date)::date)); + + +-- +-- Name: billing_rated_transaction_other_adjusted_rated_tx_idx; Type: INDEX; Schema: public; Owner: dev_postgres +-- + +CREATE INDEX billing_rated_transaction_other_adjusted_rated_tx_idx ON public.billing_rated_transaction_other USING btree (adjusted_rated_tx); + + +-- +-- Name: billing_rated_transaction_other_aggregate_id_f_idx; Type: INDEX; Schema: public; Owner: dev_postgres +-- + +CREATE INDEX billing_rated_transaction_other_aggregate_id_f_idx ON public.billing_rated_transaction_other USING btree (aggregate_id_f); + + +-- +-- Name: billing_rated_transaction_other_edr_id_idx; Type: INDEX; Schema: public; Owner: dev_postgres +-- + +CREATE INDEX billing_rated_transaction_other_edr_id_idx ON public.billing_rated_transaction_other USING btree (edr_id); + + +-- +-- Name: billing_rated_transaction_other_order_number_idx; Type: INDEX; Schema: public; Owner: dev_postgres +-- + +CREATE INDEX billing_rated_transaction_other_order_number_idx ON public.billing_rated_transaction_other USING btree (order_number) WHERE (order_number IS NOT NULL); + + +-- +-- Name: billing_rated_transaction_other_usage_date_idx; Type: INDEX; Schema: public; Owner: dev_postgres +-- + +CREATE INDEX billing_rated_transaction_other_usage_date_idx ON public.billing_rated_transaction_other USING btree (((usage_date)::date)); + + +-- +-- Name: billing_reservation_index; Type: INDEX; Schema: public; Owner: dev_postgres +-- + +CREATE INDEX billing_reservation_index ON public.billing_reservation USING btree (subscription_id, user_account_id, wallet_id); + + +-- +-- Name: billing_service_instance_code_index; Type: INDEX; Schema: public; Owner: dev_postgres +-- + +CREATE INDEX billing_service_instance_code_index ON public.billing_service_instance USING btree (lower((code)::text)); + + +-- +-- Name: billing_service_instance_index; Type: INDEX; Schema: public; Owner: dev_postgres +-- + +CREATE INDEX billing_service_instance_index ON public.billing_service_instance USING btree (subscription_id); + + +-- +-- Name: billing_subscription_code_index; Type: INDEX; Schema: public; Owner: dev_postgres +-- + +CREATE INDEX billing_subscription_code_index ON public.billing_subscription USING btree (lower((code)::text)); + + +-- +-- Name: billing_subscription_index; Type: INDEX; Schema: public; Owner: dev_postgres +-- + +CREATE INDEX billing_subscription_index ON public.billing_subscription USING btree (user_account_id); + + +-- +-- Name: billing_user_account_id_index; Type: INDEX; Schema: public; Owner: dev_postgres +-- + +CREATE INDEX billing_user_account_id_index ON public.billing_user_account USING btree (id); + + +-- +-- Name: billing_user_account_index; Type: INDEX; Schema: public; Owner: dev_postgres +-- + +CREATE INDEX billing_user_account_index ON public.billing_user_account USING btree (billing_account_id); + + +-- +-- Name: billing_wallet_index; Type: INDEX; Schema: public; Owner: dev_postgres +-- + +CREATE INDEX billing_wallet_index ON public.billing_wallet USING btree (user_account_id, cat_wallet_template_id); + + +-- +-- Name: billing_wallet_operation_index; Type: INDEX; Schema: public; Owner: dev_postgres +-- + +CREATE INDEX billing_wallet_operation_index ON ONLY public.billing_wallet_operation USING btree (wallet_id, charge_instance_id); + + +-- +-- Name: wo_edr_id; Type: INDEX; Schema: public; Owner: dev_postgres +-- + +CREATE INDEX wo_edr_id ON ONLY public.billing_wallet_operation USING btree (edr_id); + + +-- +-- Name: billing_wallet_operation_open_edr_id_idx; Type: INDEX; Schema: public; Owner: dev_postgres +-- + +CREATE INDEX billing_wallet_operation_open_edr_id_idx ON public.billing_wallet_operation_open USING btree (edr_id); + + +-- +-- Name: wo_operation_date_index; Type: INDEX; Schema: public; Owner: dev_postgres +-- + +CREATE INDEX wo_operation_date_index ON ONLY public.billing_wallet_operation USING btree (((operation_date)::date)); + + +-- +-- Name: billing_wallet_operation_open_operation_date_idx; Type: INDEX; Schema: public; Owner: dev_postgres +-- + +CREATE INDEX billing_wallet_operation_open_operation_date_idx ON public.billing_wallet_operation_open USING btree (((operation_date)::date)); + + +-- +-- Name: wo_rt_id; Type: INDEX; Schema: public; Owner: dev_postgres +-- + +CREATE INDEX wo_rt_id ON ONLY public.billing_wallet_operation USING btree (rated_transaction_id); + + +-- +-- Name: billing_wallet_operation_open_rated_transaction_id_idx; Type: INDEX; Schema: public; Owner: dev_postgres +-- + +CREATE INDEX billing_wallet_operation_open_rated_transaction_id_idx ON public.billing_wallet_operation_open USING btree (rated_transaction_id); + + +-- +-- Name: wo_rerated_wo; Type: INDEX; Schema: public; Owner: dev_postgres +-- + +CREATE INDEX wo_rerated_wo ON ONLY public.billing_wallet_operation USING btree (reratedwalletoperation_id); + + +-- +-- Name: billing_wallet_operation_open_reratedwalletoperation_id_idx; Type: INDEX; Schema: public; Owner: dev_postgres +-- + +CREATE INDEX billing_wallet_operation_open_reratedwalletoperation_id_idx ON public.billing_wallet_operation_open USING btree (reratedwalletoperation_id); + + +-- +-- Name: billing_wallet_operation_open_wallet_id_charge_instance_id_idx; Type: INDEX; Schema: public; Owner: dev_postgres +-- + +CREATE INDEX billing_wallet_operation_open_wallet_id_charge_instance_id_idx ON public.billing_wallet_operation_open USING btree (wallet_id, charge_instance_id); + + +-- +-- Name: billing_wallet_operation_other_edr_id_idx; Type: INDEX; Schema: public; Owner: dev_postgres +-- + +CREATE INDEX billing_wallet_operation_other_edr_id_idx ON public.billing_wallet_operation_other USING btree (edr_id); + + +-- +-- Name: billing_wallet_operation_other_operation_date_idx; Type: INDEX; Schema: public; Owner: dev_postgres +-- + +CREATE INDEX billing_wallet_operation_other_operation_date_idx ON public.billing_wallet_operation_other USING btree (((operation_date)::date)); + + +-- +-- Name: billing_wallet_operation_other_rated_transaction_id_idx; Type: INDEX; Schema: public; Owner: dev_postgres +-- + +CREATE INDEX billing_wallet_operation_other_rated_transaction_id_idx ON public.billing_wallet_operation_other USING btree (rated_transaction_id); + + +-- +-- Name: billing_wallet_operation_other_reratedwalletoperation_id_idx; Type: INDEX; Schema: public; Owner: dev_postgres +-- + +CREATE INDEX billing_wallet_operation_other_reratedwalletoperation_id_idx ON public.billing_wallet_operation_other USING btree (reratedwalletoperation_id); + + +-- +-- Name: billing_wallet_operation_other_wallet_id_charge_instance_id_idx; Type: INDEX; Schema: public; Owner: dev_postgres +-- + +CREATE INDEX billing_wallet_operation_other_wallet_id_charge_instance_id_idx ON public.billing_wallet_operation_other USING btree (wallet_id, charge_instance_id); + + +-- +-- Name: billing_wallet_ua_index; Type: INDEX; Schema: public; Owner: dev_postgres +-- + +CREATE INDEX billing_wallet_ua_index ON public.billing_wallet USING btree (user_account_id); + + +-- +-- Name: cat_bsm_st_id_index; Type: INDEX; Schema: public; Owner: dev_postgres +-- + +CREATE INDEX cat_bsm_st_id_index ON public.cat_business_serv_model USING btree (service_template_id); + + +-- +-- Name: cat_calendar_days_index; Type: INDEX; Schema: public; Owner: dev_postgres +-- + +CREATE INDEX cat_calendar_days_index ON public.cat_calendar_days USING btree (calendar_id); + + +-- +-- Name: cat_calendar_join_cal_1_id; Type: INDEX; Schema: public; Owner: dev_postgres +-- + +CREATE INDEX cat_calendar_join_cal_1_id ON public.cat_calendar USING btree (join_cal_1_id); + + +-- +-- Name: cat_calendar_join_cal_2_id; Type: INDEX; Schema: public; Owner: dev_postgres +-- + +CREATE INDEX cat_calendar_join_cal_2_id ON public.cat_calendar USING btree (join_cal_2_id); + + +-- +-- Name: cat_charge_template_code_index; Type: INDEX; Schema: public; Owner: dev_postgres +-- + +CREATE INDEX cat_charge_template_code_index ON public.cat_charge_template USING btree (lower((code)::text)); + + +-- +-- Name: cat_chrg_edr_chtmpl_index; Type: INDEX; Schema: public; Owner: dev_postgres +-- + +CREATE INDEX cat_chrg_edr_chtmpl_index ON public.cat_chrg_edr USING btree (charge_tmpl_id); + + +-- +-- Name: cat_chrg_edr_index; Type: INDEX; Schema: public; Owner: dev_postgres +-- + +CREATE INDEX cat_chrg_edr_index ON public.cat_chrg_edr USING btree (charge_tmpl_id, trigg_edr_id); + + +-- +-- Name: cat_chrg_edr_trigg_edr_index; Type: INDEX; Schema: public; Owner: dev_postgres +-- + +CREATE INDEX cat_chrg_edr_trigg_edr_index ON public.cat_chrg_edr USING btree (trigg_edr_id); + + +-- +-- Name: cat_offer_serv_templates_svtmpte_index; Type: INDEX; Schema: public; Owner: dev_postgres +-- + +CREATE INDEX cat_offer_serv_templates_svtmpte_index ON public.cat_offer_serv_templates USING btree (service_template_id); + + +-- +-- Name: cat_ofr_srv_tmpl_ofrtmpl_id_index; Type: INDEX; Schema: public; Owner: dev_postgres +-- + +CREATE INDEX cat_ofr_srv_tmpl_ofrtmpl_id_index ON public.cat_offer_serv_templates USING btree (offer_template_id); + + +-- +-- Name: cat_ofrpt_ofr_template_index; Type: INDEX; Schema: public; Owner: dev_postgres +-- + +CREATE INDEX cat_ofrpt_ofr_template_index ON public.cat_offer_product_template USING btree (offer_template_id); + + +-- +-- Name: cat_ofrpt_pr_template_index; Type: INDEX; Schema: public; Owner: dev_postgres +-- + +CREATE INDEX cat_ofrpt_pr_template_index ON public.cat_offer_product_template USING btree (product_template_id); + + +-- +-- Name: cat_ofrt_bp_model_index; Type: INDEX; Schema: public; Owner: dev_postgres +-- + +CREATE INDEX cat_ofrt_bp_model_index ON public.cat_offer_template USING btree (business_product_model_id); + + +-- +-- Name: cat_ofrt_code_index; Type: INDEX; Schema: public; Owner: dev_postgres +-- + +CREATE INDEX cat_ofrt_code_index ON public.cat_offer_template USING btree (lower((code)::text)); + + +-- +-- Name: cat_ofrt_valid_from_index; Type: INDEX; Schema: public; Owner: dev_postgres +-- + +CREATE INDEX cat_ofrt_valid_from_index ON public.cat_offer_template USING btree (valid_from); + + +-- +-- Name: cat_ofrt_valid_to_index; Type: INDEX; Schema: public; Owner: dev_postgres +-- + +CREATE INDEX cat_ofrt_valid_to_index ON public.cat_offer_template USING btree (valid_to); + + +-- +-- Name: cat_price_plan_event_c_index; Type: INDEX; Schema: public; Owner: dev_postgres +-- + +CREATE INDEX cat_price_plan_event_c_index ON public.cat_price_plan_matrix USING btree (event_code); + + +-- +-- Name: cat_product_wallet_template_id_index; Type: INDEX; Schema: public; Owner: dev_postgres +-- + +CREATE INDEX cat_product_wallet_template_id_index ON public.cat_product_wallet_template USING btree (wallet_template_id); + + +-- +-- Name: cat_rct_service_template_index; Type: INDEX; Schema: public; Owner: dev_postgres +-- + +CREATE INDEX cat_rct_service_template_index ON public.cat_serv_rec_charge_template USING btree (service_template_id); + + +-- +-- Name: cat_rwt_wallet_template_index; Type: INDEX; Schema: public; Owner: dev_postgres +-- + +CREATE INDEX cat_rwt_wallet_template_index ON public.cat_serv_rec_wallet_template USING btree (wallet_template_id); + + +-- +-- Name: cat_serv_sub_wallet_template_srvsubtmp_index; Type: INDEX; Schema: public; Owner: dev_postgres +-- + +CREATE INDEX cat_serv_sub_wallet_template_srvsubtmp_index ON public.cat_serv_sub_wallet_template USING btree (service_sub_templt_id); + + +-- +-- Name: cat_serv_trm_charge_template_index; Type: INDEX; Schema: public; Owner: dev_postgres +-- + +CREATE INDEX cat_serv_trm_charge_template_index ON public.cat_serv_trm_charge_template USING btree (service_template_id); + + +-- +-- Name: cat_serv_usage_charge_template_index; Type: INDEX; Schema: public; Owner: dev_postgres +-- + +CREATE INDEX cat_serv_usage_charge_template_index ON public.cat_serv_usage_charge_template USING btree (service_template_id); + + +-- +-- Name: cat_serv_usage_wallet_template_index; Type: INDEX; Schema: public; Owner: dev_postgres +-- + +CREATE INDEX cat_serv_usage_wallet_template_index ON public.cat_serv_usage_wallet_template USING btree (service_usage_templt_id); + + +-- +-- Name: cat_service_template_bsm_index; Type: INDEX; Schema: public; Owner: dev_postgres +-- + +CREATE INDEX cat_service_template_bsm_index ON public.cat_service_template USING btree (business_service_model_id); + + +-- +-- Name: cat_service_template_code_index; Type: INDEX; Schema: public; Owner: dev_postgres +-- + +CREATE INDEX cat_service_template_code_index ON public.cat_service_template USING btree (lower((code)::text)); + + +-- +-- Name: cat_st_inv_cal_id_index; Type: INDEX; Schema: public; Owner: dev_postgres +-- + +CREATE INDEX cat_st_inv_cal_id_index ON public.cat_service_template USING btree (invoicing_calendar_id); + + +-- +-- Name: cat_st_serv_mod_id_index; Type: INDEX; Schema: public; Owner: dev_postgres +-- + +CREATE INDEX cat_st_serv_mod_id_index ON public.cat_service_template USING btree (business_service_model_id); + + +-- +-- Name: cat_su_wallet_template_index; Type: INDEX; Schema: public; Owner: dev_postgres +-- + +CREATE INDEX cat_su_wallet_template_index ON public.cat_serv_usage_wallet_template USING btree (wallet_template_id); + + +-- +-- Name: cat_triggered_edr_index; Type: INDEX; Schema: public; Owner: dev_postgres +-- + +CREATE INDEX cat_triggered_edr_index ON public.cat_triggered_edr USING btree (meveo_instance_id); + + +-- +-- Name: cb_product_template_id_index; Type: INDEX; Schema: public; Owner: dev_postgres +-- + +CREATE INDEX cb_product_template_id_index ON public.cat_business_product_model USING btree (product_template_id); + + +-- +-- Name: cdr_header_edr_id; Type: INDEX; Schema: public; Owner: dev_postgres +-- + +CREATE INDEX cdr_header_edr_id ON public.rating_cdr USING btree (header_edr_id); + + +-- +-- Name: counter_period_ci_id; Type: INDEX; Schema: public; Owner: dev_postgres +-- + +CREATE INDEX counter_period_ci_id ON public.billing_counter_period USING btree (counter_instance_id); + + +-- +-- Name: crm_customer_brand_index; Type: INDEX; Schema: public; Owner: dev_postgres +-- + +CREATE INDEX crm_customer_brand_index ON public.crm_customer_brand USING btree (lower((code)::text)); + + +-- +-- Name: crm_customer_category_index; Type: INDEX; Schema: public; Owner: dev_postgres +-- + +CREATE INDEX crm_customer_category_index ON public.crm_customer_category USING btree (lower((code)::text)); + + +-- +-- Name: crm_customer_index; Type: INDEX; Schema: public; Owner: dev_postgres +-- + +CREATE INDEX crm_customer_index ON public.crm_customer USING btree (customer_brand_id); + + +-- +-- Name: crm_customer_primary_contact_index; Type: INDEX; Schema: public; Owner: dev_postgres +-- + +CREATE INDEX crm_customer_primary_contact_index ON public.crm_customer USING btree (customer_category_id); + + +-- +-- Name: cust_cei_cet_and_code_index; Type: INDEX; Schema: public; Owner: dev_postgres +-- + +CREATE INDEX cust_cei_cet_and_code_index ON public.cust_cei USING btree (lower((cet_code)::text), lower((code)::text)); + + +-- +-- Name: customer_code; Type: INDEX; Schema: public; Owner: dev_postgres +-- + +CREATE INDEX customer_code ON public.account_entity USING btree (lower((code)::text)); + + +-- +-- Name: edr_event_date_index; Type: INDEX; Schema: public; Owner: dev_postgres +-- + +CREATE INDEX edr_event_date_index ON ONLY public.rating_edr USING btree (((event_date)::date)); + + +-- +-- Name: edr_header_edr_id; Type: INDEX; Schema: public; Owner: dev_postgres +-- + +CREATE INDEX edr_header_edr_id ON ONLY public.rating_edr USING btree (header_edr_id); + + +-- +-- Name: flat_file_code_index; Type: INDEX; Schema: public; Owner: dev_postgres +-- + +CREATE INDEX flat_file_code_index ON public.flat_file USING btree (lower((code)::text)); + + +-- +-- Name: idx_subscription_rating_group; Type: INDEX; Schema: public; Owner: dev_postgres +-- + +CREATE INDEX idx_subscription_rating_group ON public.billing_subscription USING btree (rating_group); + + +-- +-- Name: invoice_agre_index; Type: INDEX; Schema: public; Owner: dev_postgres +-- + +CREATE INDEX invoice_agre_index ON public.billing_invoice_agregate USING btree (invoice_id); + + +-- +-- Name: invoice_billing_run_index; Type: INDEX; Schema: public; Owner: dev_postgres +-- + +CREATE INDEX invoice_billing_run_index ON public.billing_invoice_agregate USING btree (billing_run_id); + + +-- +-- Name: invoicing_calendar_id_index; Type: INDEX; Schema: public; Owner: dev_postgres +-- + +CREATE INDEX invoicing_calendar_id_index ON public.cat_offer_template USING btree (invoicing_calendar_id); + + +-- +-- Name: medina_access_subscription_id; Type: INDEX; Schema: public; Owner: dev_postgres +-- + +CREATE INDEX medina_access_subscription_id ON public.medina_access USING btree (subscription_id); + + +-- +-- Name: medina_access_user_id_index; Type: INDEX; Schema: public; Owner: dev_postgres +-- + +CREATE INDEX medina_access_user_id_index ON public.medina_access USING btree (acces_user_id); + + +-- +-- Name: meveo_module_index; Type: INDEX; Schema: public; Owner: dev_postgres +-- + +CREATE INDEX meveo_module_index ON public.meveo_module USING btree (script_instance_id); + + +-- +-- Name: meveo_module_item_index; Type: INDEX; Schema: public; Owner: dev_postgres +-- + +CREATE INDEX meveo_module_item_index ON public.meveo_module_item USING btree (module_id); + + +-- +-- Name: ord_order_item_order_index; Type: INDEX; Schema: public; Owner: dev_postgres +-- + +CREATE INDEX ord_order_item_order_index ON public.ord_order_item USING btree (order_id); + + +-- +-- Name: ord_order_item_sub_index; Type: INDEX; Schema: public; Owner: dev_postgres +-- + +CREATE INDEX ord_order_item_sub_index ON public.ord_order_item USING btree (subscription_id); + + +-- +-- Name: ord_order_item_ua_index; Type: INDEX; Schema: public; Owner: dev_postgres +-- + +CREATE INDEX ord_order_item_ua_index ON public.ord_order_item USING btree (user_account_id); + + +-- +-- Name: ord_order_payment_index; Type: INDEX; Schema: public; Owner: dev_postgres +-- + +CREATE INDEX ord_order_payment_index ON public.ord_order USING btree (payment_method_id); + + +-- +-- Name: ord_order_quote_index; Type: INDEX; Schema: public; Owner: dev_postgres +-- + +CREATE INDEX ord_order_quote_index ON public.ord_order USING btree (quote_id); + + +-- +-- Name: ord_quote_version_index; Type: INDEX; Schema: public; Owner: dev_postgres +-- + +CREATE INDEX ord_quote_version_index ON public.ord_quote USING btree (version); + + +-- +-- Name: rating_cdr_index; Type: INDEX; Schema: public; Owner: dev_postgres +-- + +CREATE INDEX rating_cdr_index ON public.rating_cdr USING btree (origin_batch, origin_record); + + +-- +-- Name: rating_cdr_status; Type: INDEX; Schema: public; Owner: dev_postgres +-- + +CREATE INDEX rating_cdr_status ON public.rating_cdr USING btree (status); + + +-- +-- Name: rating_edr_index; Type: INDEX; Schema: public; Owner: dev_postgres +-- + +CREATE INDEX rating_edr_index ON ONLY public.rating_edr USING btree (origin_batch, origin_record); + + +-- +-- Name: rating_edr_open_event_date_idx; Type: INDEX; Schema: public; Owner: dev_postgres +-- + +CREATE INDEX rating_edr_open_event_date_idx ON public.rating_edr_open USING btree (((event_date)::date)); + + +-- +-- Name: rating_edr_open_header_edr_id_idx; Type: INDEX; Schema: public; Owner: dev_postgres +-- + +CREATE INDEX rating_edr_open_header_edr_id_idx ON public.rating_edr_open USING btree (header_edr_id); + + +-- +-- Name: rating_edr_open_origin_batch_origin_record_idx; Type: INDEX; Schema: public; Owner: dev_postgres +-- + +CREATE INDEX rating_edr_open_origin_batch_origin_record_idx ON public.rating_edr_open USING btree (origin_batch, origin_record); + + +-- +-- Name: rating_edr_other_event_date_idx; Type: INDEX; Schema: public; Owner: dev_postgres +-- + +CREATE INDEX rating_edr_other_event_date_idx ON public.rating_edr_other USING btree (((event_date)::date)); + + +-- +-- Name: rating_edr_other_header_edr_id_idx; Type: INDEX; Schema: public; Owner: dev_postgres +-- + +CREATE INDEX rating_edr_other_header_edr_id_idx ON public.rating_edr_other USING btree (header_edr_id); + + +-- +-- Name: rating_edr_other_origin_batch_origin_record_idx; Type: INDEX; Schema: public; Owner: dev_postgres +-- + +CREATE INDEX rating_edr_other_origin_batch_origin_record_idx ON public.rating_edr_other USING btree (origin_batch, origin_record); + + +-- +-- Name: rating_edr_sub_id_index; Type: INDEX; Schema: public; Owner: dev_postgres +-- + +CREATE INDEX rating_edr_sub_id_index ON public.rating_edr_open USING btree (subscription_id, id); + + +-- +-- Name: resa_origin_edr_id; Type: INDEX; Schema: public; Owner: dev_postgres +-- + +CREATE INDEX resa_origin_edr_id ON public.billing_reservation USING btree (origin_edr_id); + + +-- +-- Name: rt_ba_invoice_open_serv_index; Type: INDEX; Schema: public; Owner: dev_postgres +-- + +CREATE INDEX rt_ba_invoice_open_serv_index ON public.billing_rated_transaction_open USING btree (billing_account__id, service_instance_id) WHERE (service_instance_id IS NOT NULL); + + +-- +-- Name: rt_ba_invoice_open_sub_index; Type: INDEX; Schema: public; Owner: dev_postgres +-- + +CREATE INDEX rt_ba_invoice_open_sub_index ON public.billing_rated_transaction_open USING btree (billing_account__id, subscription_id); + + +-- +-- Name: rt_invoice_index; Type: INDEX; Schema: public; Owner: dev_postgres +-- + +CREATE INDEX rt_invoice_index ON public.billing_rated_transaction_other USING btree (invoice_id); + + +-- +-- Name: rt_sub_invoice_open_serv_index; Type: INDEX; Schema: public; Owner: dev_postgres +-- + +CREATE INDEX rt_sub_invoice_open_serv_index ON public.billing_rated_transaction_open USING btree (subscription_id, service_instance_id) WHERE (subscription_id IS NOT NULL); + + +-- +-- Name: wf_instance_entity_id_idx; Type: INDEX; Schema: public; Owner: dev_postgres +-- + +CREATE INDEX wf_instance_entity_id_idx ON public.wf_instance USING btree (entity_instance_id); + + +-- +-- Name: billing_rated_transaction_open_adjusted_rated_tx_idx; Type: INDEX ATTACH; Schema: public; Owner: dev_postgres +-- + +ALTER INDEX public.rt_adjusted_rated_tx ATTACH PARTITION public.billing_rated_transaction_open_adjusted_rated_tx_idx; + + +-- +-- Name: billing_rated_transaction_open_aggregate_id_f_idx; Type: INDEX ATTACH; Schema: public; Owner: dev_postgres +-- + +ALTER INDEX public.rt_argr_f_idx ATTACH PARTITION public.billing_rated_transaction_open_aggregate_id_f_idx; + + +-- +-- Name: billing_rated_transaction_open_edr_id_idx; Type: INDEX ATTACH; Schema: public; Owner: dev_postgres +-- + +ALTER INDEX public.rt_edr_id ATTACH PARTITION public.billing_rated_transaction_open_edr_id_idx; + + +-- +-- Name: billing_rated_transaction_open_order_number_idx; Type: INDEX ATTACH; Schema: public; Owner: dev_postgres +-- + +ALTER INDEX public.rt_order_index ATTACH PARTITION public.billing_rated_transaction_open_order_number_idx; + + +-- +-- Name: billing_rated_transaction_open_pkey; Type: INDEX ATTACH; Schema: public; Owner: dev_postgres +-- + +ALTER INDEX public.billing_rated_transaction_p_pkey ATTACH PARTITION public.billing_rated_transaction_open_pkey; + + +-- +-- Name: billing_rated_transaction_open_usage_date_idx; Type: INDEX ATTACH; Schema: public; Owner: dev_postgres +-- + +ALTER INDEX public.rt_usage_date_index ATTACH PARTITION public.billing_rated_transaction_open_usage_date_idx; + + +-- +-- Name: billing_rated_transaction_other_adjusted_rated_tx_idx; Type: INDEX ATTACH; Schema: public; Owner: dev_postgres +-- + +ALTER INDEX public.rt_adjusted_rated_tx ATTACH PARTITION public.billing_rated_transaction_other_adjusted_rated_tx_idx; + + +-- +-- Name: billing_rated_transaction_other_aggregate_id_f_idx; Type: INDEX ATTACH; Schema: public; Owner: dev_postgres +-- + +ALTER INDEX public.rt_argr_f_idx ATTACH PARTITION public.billing_rated_transaction_other_aggregate_id_f_idx; + + +-- +-- Name: billing_rated_transaction_other_edr_id_idx; Type: INDEX ATTACH; Schema: public; Owner: dev_postgres +-- + +ALTER INDEX public.rt_edr_id ATTACH PARTITION public.billing_rated_transaction_other_edr_id_idx; + + +-- +-- Name: billing_rated_transaction_other_order_number_idx; Type: INDEX ATTACH; Schema: public; Owner: dev_postgres +-- + +ALTER INDEX public.rt_order_index ATTACH PARTITION public.billing_rated_transaction_other_order_number_idx; + + +-- +-- Name: billing_rated_transaction_other_pkey; Type: INDEX ATTACH; Schema: public; Owner: dev_postgres +-- + +ALTER INDEX public.billing_rated_transaction_p_pkey ATTACH PARTITION public.billing_rated_transaction_other_pkey; + + +-- +-- Name: billing_rated_transaction_other_usage_date_idx; Type: INDEX ATTACH; Schema: public; Owner: dev_postgres +-- + +ALTER INDEX public.rt_usage_date_index ATTACH PARTITION public.billing_rated_transaction_other_usage_date_idx; + + +-- +-- Name: billing_wallet_operation_open_edr_id_idx; Type: INDEX ATTACH; Schema: public; Owner: dev_postgres +-- + +ALTER INDEX public.wo_edr_id ATTACH PARTITION public.billing_wallet_operation_open_edr_id_idx; + + +-- +-- Name: billing_wallet_operation_open_operation_date_idx; Type: INDEX ATTACH; Schema: public; Owner: dev_postgres +-- + +ALTER INDEX public.wo_operation_date_index ATTACH PARTITION public.billing_wallet_operation_open_operation_date_idx; + + +-- +-- Name: billing_wallet_operation_open_pkey; Type: INDEX ATTACH; Schema: public; Owner: dev_postgres +-- + +ALTER INDEX public.billing_wallet_operation_p_pkey ATTACH PARTITION public.billing_wallet_operation_open_pkey; + + +-- +-- Name: billing_wallet_operation_open_rated_transaction_id_idx; Type: INDEX ATTACH; Schema: public; Owner: dev_postgres +-- + +ALTER INDEX public.wo_rt_id ATTACH PARTITION public.billing_wallet_operation_open_rated_transaction_id_idx; + + +-- +-- Name: billing_wallet_operation_open_reratedwalletoperation_id_idx; Type: INDEX ATTACH; Schema: public; Owner: dev_postgres +-- + +ALTER INDEX public.wo_rerated_wo ATTACH PARTITION public.billing_wallet_operation_open_reratedwalletoperation_id_idx; + + +-- +-- Name: billing_wallet_operation_open_wallet_id_charge_instance_id_idx; Type: INDEX ATTACH; Schema: public; Owner: dev_postgres +-- + +ALTER INDEX public.billing_wallet_operation_index ATTACH PARTITION public.billing_wallet_operation_open_wallet_id_charge_instance_id_idx; + + +-- +-- Name: billing_wallet_operation_other_edr_id_idx; Type: INDEX ATTACH; Schema: public; Owner: dev_postgres +-- + +ALTER INDEX public.wo_edr_id ATTACH PARTITION public.billing_wallet_operation_other_edr_id_idx; + + +-- +-- Name: billing_wallet_operation_other_operation_date_idx; Type: INDEX ATTACH; Schema: public; Owner: dev_postgres +-- + +ALTER INDEX public.wo_operation_date_index ATTACH PARTITION public.billing_wallet_operation_other_operation_date_idx; + + +-- +-- Name: billing_wallet_operation_other_pkey; Type: INDEX ATTACH; Schema: public; Owner: dev_postgres +-- + +ALTER INDEX public.billing_wallet_operation_p_pkey ATTACH PARTITION public.billing_wallet_operation_other_pkey; + + +-- +-- Name: billing_wallet_operation_other_rated_transaction_id_idx; Type: INDEX ATTACH; Schema: public; Owner: dev_postgres +-- + +ALTER INDEX public.wo_rt_id ATTACH PARTITION public.billing_wallet_operation_other_rated_transaction_id_idx; + + +-- +-- Name: billing_wallet_operation_other_reratedwalletoperation_id_idx; Type: INDEX ATTACH; Schema: public; Owner: dev_postgres +-- + +ALTER INDEX public.wo_rerated_wo ATTACH PARTITION public.billing_wallet_operation_other_reratedwalletoperation_id_idx; + + +-- +-- Name: billing_wallet_operation_other_wallet_id_charge_instance_id_idx; Type: INDEX ATTACH; Schema: public; Owner: dev_postgres +-- + +ALTER INDEX public.billing_wallet_operation_index ATTACH PARTITION public.billing_wallet_operation_other_wallet_id_charge_instance_id_idx; + + +-- +-- Name: rating_edr_open_event_date_idx; Type: INDEX ATTACH; Schema: public; Owner: dev_postgres +-- + +ALTER INDEX public.edr_event_date_index ATTACH PARTITION public.rating_edr_open_event_date_idx; + + +-- +-- Name: rating_edr_open_header_edr_id_idx; Type: INDEX ATTACH; Schema: public; Owner: dev_postgres +-- + +ALTER INDEX public.edr_header_edr_id ATTACH PARTITION public.rating_edr_open_header_edr_id_idx; + + +-- +-- Name: rating_edr_open_origin_batch_origin_record_idx; Type: INDEX ATTACH; Schema: public; Owner: dev_postgres +-- + +ALTER INDEX public.rating_edr_index ATTACH PARTITION public.rating_edr_open_origin_batch_origin_record_idx; + + +-- +-- Name: rating_edr_open_pkey; Type: INDEX ATTACH; Schema: public; Owner: dev_postgres +-- + +ALTER INDEX public.rating_edr_p_pkey ATTACH PARTITION public.rating_edr_open_pkey; + + +-- +-- Name: rating_edr_other_event_date_idx; Type: INDEX ATTACH; Schema: public; Owner: dev_postgres +-- + +ALTER INDEX public.edr_event_date_index ATTACH PARTITION public.rating_edr_other_event_date_idx; + + +-- +-- Name: rating_edr_other_header_edr_id_idx; Type: INDEX ATTACH; Schema: public; Owner: dev_postgres +-- + +ALTER INDEX public.edr_header_edr_id ATTACH PARTITION public.rating_edr_other_header_edr_id_idx; + + +-- +-- Name: rating_edr_other_origin_batch_origin_record_idx; Type: INDEX ATTACH; Schema: public; Owner: dev_postgres +-- + +ALTER INDEX public.rating_edr_index ATTACH PARTITION public.rating_edr_other_origin_batch_origin_record_idx; + + +-- +-- Name: rating_edr_other_pkey; Type: INDEX ATTACH; Schema: public; Owner: dev_postgres +-- + +ALTER INDEX public.rating_edr_p_pkey ATTACH PARTITION public.rating_edr_other_pkey; + + +-- +-- Name: billing_counter_period_values billing_counter_period_values_counterperiod_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_counter_period_values + ADD CONSTRAINT billing_counter_period_values_counterperiod_id_fk FOREIGN KEY (counterperiod_id) REFERENCES public.billing_counter_period(id); + + +-- +-- Name: billing_discount_plan_instance billing_discount_plan_instance_ba_fk; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_discount_plan_instance + ADD CONSTRAINT billing_discount_plan_instance_ba_fk FOREIGN KEY (billing_account_id) REFERENCES public.billing_billing_account(id); + + +-- +-- Name: billing_discount_plan_instance billing_discount_plan_instance_bs_fk; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_discount_plan_instance + ADD CONSTRAINT billing_discount_plan_instance_bs_fk FOREIGN KEY (subscription_id) REFERENCES public.billing_subscription(id); + + +-- +-- Name: billing_discount_plan_instance billing_discount_plan_instance_dp_fk; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_discount_plan_instance + ADD CONSTRAINT billing_discount_plan_instance_dp_fk FOREIGN KEY (discount_plan_id) REFERENCES public.cat_discount_plan(id); + + +-- +-- Name: dwh_report_extract_execution dwh_report_extract_execution_re_fk; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.dwh_report_extract_execution + ADD CONSTRAINT dwh_report_extract_execution_re_fk FOREIGN KEY (report_extract_id) REFERENCES public.dwh_report_extract(id); + + +-- +-- Name: account_entity fk_10ogn6loj5rxbuv94vlistxb8; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.account_entity + ADD CONSTRAINT fk_10ogn6loj5rxbuv94vlistxb8 FOREIGN KEY (primary_contact) REFERENCES public.crm_provider_contact(id); + + +-- +-- Name: adm_notif_webhook_param fk_17fe7mcjmmcgcntqmjm9hlaots; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.adm_notif_webhook_param + ADD CONSTRAINT fk_17fe7mcjmmcgcntqmjm9hlaots FOREIGN KEY (webhook_id) REFERENCES public.adm_notif_webhooks(id); + + +-- +-- Name: billing_invoice_agregate fk_1c83s5iubrhpgaxigexo6d76w; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_invoice_agregate + ADD CONSTRAINT fk_1c83s5iubrhpgaxigexo6d76w FOREIGN KEY (user_account_id) REFERENCES public.billing_user_account(id); + + +-- +-- Name: adm_inbound_resp_cookies fk_1kyctwmlumac9aoikhb3kmc02; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.adm_inbound_resp_cookies + ADD CONSTRAINT fk_1kyctwmlumac9aoikhb3kmc02 FOREIGN KEY (inboundrequest_id) REFERENCES public.adm_inbound_request(id); + + +-- +-- Name: com_message fk_1pyl5u7tyess63kwnpvmpk261; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.com_message + ADD CONSTRAINT fk_1pyl5u7tyess63kwnpvmpk261 FOREIGN KEY (campaign_id) REFERENCES public.com_campaign(id); + + +-- +-- Name: billing_wallet fk_1vdcto7usl11bexyjehfqw004; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_wallet + ADD CONSTRAINT fk_1vdcto7usl11bexyjehfqw004 FOREIGN KEY (user_account_id) REFERENCES public.billing_user_account(id); + + +-- +-- Name: adm_notif_im fk_2g7q7yhplcohaydhp9a8fuq57; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.adm_notif_im + ADD CONSTRAINT fk_2g7q7yhplcohaydhp9a8fuq57 FOREIGN KEY (id) REFERENCES public.adm_notification(id); + + +-- +-- Name: billing_user_account fk_2hdhukmy9gs6qhdsjyngtlmb7; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_user_account + ADD CONSTRAINT fk_2hdhukmy9gs6qhdsjyngtlmb7 FOREIGN KEY (wallet_id) REFERENCES public.billing_wallet(id); + + +-- +-- Name: billing_seq_invtyp_sell fk_2rjk30cy77bs2jxqwsbrhk6qb; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_seq_invtyp_sell + ADD CONSTRAINT fk_2rjk30cy77bs2jxqwsbrhk6qb FOREIGN KEY (invoicetype_id) REFERENCES public.billing_invoice_type(id); + + +-- +-- Name: cat_price_plan_matrix fk_2u5oqudtp5x9ga8r1envegpyt; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_price_plan_matrix + ADD CONSTRAINT fk_2u5oqudtp5x9ga8r1envegpyt FOREIGN KEY (trading_country_id) REFERENCES public.billing_trading_country(id); + + +-- +-- Name: adm_notif_email fk_322kxmwl69di0jhj28u776766; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.adm_notif_email + ADD CONSTRAINT fk_322kxmwl69di0jhj28u776766 FOREIGN KEY (id) REFERENCES public.adm_notification(id); + + +-- +-- Name: billing_wallet_operation fk_32r2ed0015tnd2pp5196vcqpy; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE public.billing_wallet_operation + ADD CONSTRAINT fk_32r2ed0015tnd2pp5196vcqpy FOREIGN KEY (reservation_id) REFERENCES public.billing_reservation(id); + + +-- +-- Name: ar_ddrequest_item fk_33rma6e4cn4p76wl5t2dxk12q; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.ar_ddrequest_item + ADD CONSTRAINT fk_33rma6e4cn4p76wl5t2dxk12q FOREIGN KEY (ddrequest_lot_id) REFERENCES public.ar_ddrequest_lot(id); + + +-- +-- Name: com_meveo_instance fk_398jtw7cvvcjmyalvke9iwoqw; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.com_meveo_instance + ADD CONSTRAINT fk_398jtw7cvvcjmyalvke9iwoqw FOREIGN KEY (customer_id) REFERENCES public.crm_customer(id); + + +-- +-- Name: cat_chrg_edr fk_3mqb6u4hyx9wnus0nqdoyoypx; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_chrg_edr + ADD CONSTRAINT fk_3mqb6u4hyx9wnus0nqdoyoypx FOREIGN KEY (charge_tmpl_id) REFERENCES public.cat_charge_template(id); + + +-- +-- Name: billing_invoice_agregate fk_3p1fql2al00q8f67l8725hssj; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_invoice_agregate + ADD CONSTRAINT fk_3p1fql2al00q8f67l8725hssj FOREIGN KEY (sub_category_tax) REFERENCES public.billing_tax(id); + + +-- +-- Name: ar_ddrequest_lot_op fk_3riuxoqaodw7b6jbeoofjx6se; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.ar_ddrequest_lot_op + ADD CONSTRAINT fk_3riuxoqaodw7b6jbeoofjx6se FOREIGN KEY (ddrequest_lot_id) REFERENCES public.ar_ddrequest_lot(id); + + +-- +-- Name: billing_invoice_agregate fk_3xyx5uv28ockwy46ejub2ex; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_invoice_agregate + ADD CONSTRAINT fk_3xyx5uv28ockwy46ejub2ex FOREIGN KEY (trading_currency_id) REFERENCES public.billing_trading_currency(id); + + +-- +-- Name: billing_priceplan_inst fk_3y3p1q0o8tw5u0vcoddukbbyd; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_priceplan_inst + ADD CONSTRAINT fk_3y3p1q0o8tw5u0vcoddukbbyd FOREIGN KEY (billing_account_id) REFERENCES public.billing_billing_account(id); + + +-- +-- Name: cat_serv_sub_charge_template fk_3yhjbdockv9jvyw9iqmqlha63; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_serv_sub_charge_template + ADD CONSTRAINT fk_3yhjbdockv9jvyw9iqmqlha63 FOREIGN KEY (charge_template_id) REFERENCES public.cat_charge_template(id); + + +-- +-- Name: cat_serv_usage_charge_template fk_443th9siwouj4fg746sgyfqtv; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_serv_usage_charge_template + ADD CONSTRAINT fk_443th9siwouj4fg746sgyfqtv FOREIGN KEY (charge_template_id) REFERENCES public.cat_charge_template(id); + + +-- +-- Name: billing_charge_instance fk_4anpnb5ta9fic7bjqoi393850; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_charge_instance + ADD CONSTRAINT fk_4anpnb5ta9fic7bjqoi393850 FOREIGN KEY (seller_id) REFERENCES public.crm_seller(id); + + +-- +-- Name: adm_role_permission fk_4au8lqa3bc46gks4dmpb4h4l6; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.adm_role_permission + ADD CONSTRAINT fk_4au8lqa3bc46gks4dmpb4h4l6 FOREIGN KEY (permission_id) REFERENCES public.adm_permission(id); + + +-- +-- Name: adm_file_format_file_type fk_4au8lqa3bc46gks4dmpbbari4h4l6; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.adm_file_format_file_type + ADD CONSTRAINT fk_4au8lqa3bc46gks4dmpbbari4h4l6 FOREIGN KEY (file_format_id) REFERENCES public.adm_file_format(id); + + +-- +-- Name: crm_provider fk_4ek32592buri3max5vqhj1u3t; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.crm_provider + ADD CONSTRAINT fk_4ek32592buri3max5vqhj1u3t FOREIGN KEY (customer_account_id) REFERENCES public.ar_customer_account(id); + + +-- +-- Name: adm_notif_webhook_header fk_4h6yt55gudw9l1719aw6untt2; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.adm_notif_webhook_header + ADD CONSTRAINT fk_4h6yt55gudw9l1719aw6untt2 FOREIGN KEY (webhook_id) REFERENCES public.adm_notif_webhooks(id); + + +-- +-- Name: meveo_job_instance fk_4hgoocwc77rh6ne8fct0f2y2h; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.meveo_job_instance + ADD CONSTRAINT fk_4hgoocwc77rh6ne8fct0f2y2h FOREIGN KEY (timerentity_id) REFERENCES public.meveo_timer(id); + + +-- +-- Name: cat_discount_plan_item fk_4jfa3r8q8aq8jyhs89d6dgk2c; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_discount_plan_item + ADD CONSTRAINT fk_4jfa3r8q8aq8jyhs89d6dgk2c FOREIGN KEY (discount_plan_id) REFERENCES public.cat_discount_plan(id); + + +-- +-- Name: adm_notif_email_list fk_4vtpt0lvrub50uph180ifdkga; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.adm_notif_email_list + ADD CONSTRAINT fk_4vtpt0lvrub50uph180ifdkga FOREIGN KEY (emailnotification_id) REFERENCES public.adm_notif_email(id); + + +-- +-- Name: crm_customer fk_5b7wkhes4x4bebav4y7nwr8c1; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.crm_customer + ADD CONSTRAINT fk_5b7wkhes4x4bebav4y7nwr8c1 FOREIGN KEY (customer_category_id) REFERENCES public.crm_customer_category(id); + + +-- +-- Name: cat_serv_trm_charge_template fk_5ehn1daxca6x6t7pvdpuo4n6m; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_serv_trm_charge_template + ADD CONSTRAINT fk_5ehn1daxca6x6t7pvdpuo4n6m FOREIGN KEY (charge_template_id) REFERENCES public.cat_charge_template(id); + + +-- +-- Name: billing_priceplan_inst fk_5ek3y1hovn2vthjdsxo2hmf41; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_priceplan_inst + ADD CONSTRAINT fk_5ek3y1hovn2vthjdsxo2hmf41 FOREIGN KEY (trading_currency_id) REFERENCES public.billing_trading_currency(id); + + +-- +-- Name: cat_offer_serv_templates fk_5gvoe7fuemcnpabaapjx9an66; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_offer_serv_templates + ADD CONSTRAINT fk_5gvoe7fuemcnpabaapjx9an66 FOREIGN KEY (offer_template_id) REFERENCES public.cat_offer_template(id); + + +-- +-- Name: billing_wallet_operation fk_5htics7k9v44an8ap11wivraf; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE public.billing_wallet_operation + ADD CONSTRAINT fk_5htics7k9v44an8ap11wivraf FOREIGN KEY (wallet_id) REFERENCES public.billing_wallet(id); + + +-- +-- Name: billing_invoice_agregate fk_5ihltpd1fpifa5nlgx8672odg; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_invoice_agregate + ADD CONSTRAINT fk_5ihltpd1fpifa5nlgx8672odg FOREIGN KEY (trading_country_id) REFERENCES public.billing_trading_country(id); + + +-- +-- Name: billing_billing_run fk_5k4t0lm6oyd495l5nisxpdda; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_billing_run + ADD CONSTRAINT fk_5k4t0lm6oyd495l5nisxpdda FOREIGN KEY (billing_cycle_id) REFERENCES public.billing_cycle(id); + + +-- +-- Name: adm_inbound_req_headers fk_5l2gy0e4dol6gtr05sq929hnx; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.adm_inbound_req_headers + ADD CONSTRAINT fk_5l2gy0e4dol6gtr05sq929hnx FOREIGN KEY (inboundrequest_id) REFERENCES public.adm_inbound_request(id); + + +-- +-- Name: crm_provider fk_5llfbkuo4biup0stpfma3t1yg; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.crm_provider + ADD CONSTRAINT fk_5llfbkuo4biup0stpfma3t1yg FOREIGN KEY (billing_account_id) REFERENCES public.billing_billing_account(id); + + +-- +-- Name: billing_charge_instance fk_5q5wxh2nq7gbd9bcds59egh3e; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_charge_instance + ADD CONSTRAINT fk_5q5wxh2nq7gbd9bcds59egh3e FOREIGN KEY (service_instance_id) REFERENCES public.billing_service_instance(id); + + +-- +-- Name: billing_wallet_operation fk_60qrdadyj5wvmyii1einfb2lo; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE public.billing_wallet_operation + ADD CONSTRAINT fk_60qrdadyj5wvmyii1einfb2lo FOREIGN KEY (counter_id) REFERENCES public.billing_counter(id); + + +-- +-- Name: billing_reservation fk_662t2ypc8sljgg2hvsri0l0oo; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_reservation + ADD CONSTRAINT fk_662t2ypc8sljgg2hvsri0l0oo FOREIGN KEY (subscription_id) REFERENCES public.billing_subscription(id); + + +-- +-- Name: com_message fk_6dxm4rgmyeu9wp565rhchil5l; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.com_message + ADD CONSTRAINT fk_6dxm4rgmyeu9wp565rhchil5l FOREIGN KEY (contact_id) REFERENCES public.com_contact(id); + + +-- +-- Name: adm_notif_im_user fk_6g7agb8u5whyi5ukj627l2qc9; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.adm_notif_im_user + ADD CONSTRAINT fk_6g7agb8u5whyi5ukj627l2qc9 FOREIGN KEY (users_id) REFERENCES public.adm_user(id); + + +-- +-- Name: billing_discount_language fk_6h9v65yaq2ko1soqrhjiiicqa; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_discount_language + ADD CONSTRAINT fk_6h9v65yaq2ko1soqrhjiiicqa FOREIGN KEY (discount_id) REFERENCES public.billing_discount(id); + + +-- +-- Name: billing_reservation fk_6o5pe4stw4fx6f4ltsrs2f2jn; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_reservation + ADD CONSTRAINT fk_6o5pe4stw4fx6f4ltsrs2f2jn FOREIGN KEY (user_account_id) REFERENCES public.billing_user_account(id); + + +-- +-- Name: ar_action_dunning fk_6v2pj23pubnpy19ug8ifqr5bi; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.ar_action_dunning + ADD CONSTRAINT fk_6v2pj23pubnpy19ug8ifqr5bi FOREIGN KEY (recorded_invoice_id) REFERENCES public.ar_account_operation(id); + + +-- +-- Name: billing_wallet_operation fk_75hyldnus6ti0y40vwcl49ued; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE public.billing_wallet_operation + ADD CONSTRAINT fk_75hyldnus6ti0y40vwcl49ued FOREIGN KEY (charge_instance_id) REFERENCES public.billing_charge_instance(id); + + +-- +-- Name: ar_account_operation fk_7cx4bkm26pn11matqqj275rqf; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.ar_account_operation + ADD CONSTRAINT fk_7cx4bkm26pn11matqqj275rqf FOREIGN KEY (customer_account_id) REFERENCES public.ar_customer_account(id); + + +-- +-- Name: cat_discount_plan_item fk_7g01q48hl5yo6gxig0rwugsjt; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_discount_plan_item + ADD CONSTRAINT fk_7g01q48hl5yo6gxig0rwugsjt FOREIGN KEY (invoice_category_id) REFERENCES public.billing_invoice_cat(id); + + +-- +-- Name: ar_matching_amount fk_7gk0wua5hliyxpayp6lr0d3gf; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.ar_matching_amount + ADD CONSTRAINT fk_7gk0wua5hliyxpayp6lr0d3gf FOREIGN KEY (account_operation_id) REFERENCES public.ar_account_operation(id); + + +-- +-- Name: cat_charge_template fk_7rod1pdt2un6wjrv7og61xhil; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_charge_template + ADD CONSTRAINT fk_7rod1pdt2un6wjrv7og61xhil FOREIGN KEY (invoice_sub_category) REFERENCES public.billing_invoice_sub_cat(id); + + +-- +-- Name: crm_customer fk_7x19mvbp8qjnyx4iwnsi7lsdb; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.crm_customer + ADD CONSTRAINT fk_7x19mvbp8qjnyx4iwnsi7lsdb FOREIGN KEY (seller_id) REFERENCES public.crm_seller(id); + + +-- +-- Name: crm_provider fk_823qcm3rbvf74ntkmc8syb2w3; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.crm_provider + ADD CONSTRAINT fk_823qcm3rbvf74ntkmc8syb2w3 FOREIGN KEY (user_account_id) REFERENCES public.billing_user_account(id); + + +-- +-- Name: crm_provider fk_82krx5kxchy237uw8rwdqi9c4; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.crm_provider + ADD CONSTRAINT fk_82krx5kxchy237uw8rwdqi9c4 FOREIGN KEY (currency_id) REFERENCES public.adm_currency(id); + + +-- +-- Name: cat_calendar_interval fk_872pn60c94wp61plarqpmth21; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_calendar_interval + ADD CONSTRAINT fk_872pn60c94wp61plarqpmth21 FOREIGN KEY (calendar_id) REFERENCES public.cat_calendar(id); + + +-- +-- Name: billing_billing_account fk_890ehdn0ssnd9c39rj5h0ualp; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_billing_account + ADD CONSTRAINT fk_890ehdn0ssnd9c39rj5h0ualp FOREIGN KEY (billing_cycle) REFERENCES public.billing_cycle(id); + + +-- +-- Name: crm_seller fk_8f32lmslardn8lenxgmjqhp3; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.crm_seller + ADD CONSTRAINT fk_8f32lmslardn8lenxgmjqhp3 FOREIGN KEY (trading_country_id) REFERENCES public.billing_trading_country(id); + + +-- +-- Name: adm_notif_history fk_8k2sxhjmrswxnecfo74bdmnsa; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.adm_notif_history + ADD CONSTRAINT fk_8k2sxhjmrswxnecfo74bdmnsa FOREIGN KEY (inbound_request_id) REFERENCES public.adm_inbound_request(id); + + +-- +-- Name: billing_charge_instance fk_8tdcpq8ixa51nrk3ui4t8hdmq; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_charge_instance + ADD CONSTRAINT fk_8tdcpq8ixa51nrk3ui4t8hdmq FOREIGN KEY (charge_template_id) REFERENCES public.cat_charge_template(id); + + +-- +-- Name: billing_subscription fk_8uhfpy4ahtyqpk8s3ye42d09n; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_subscription + ADD CONSTRAINT fk_8uhfpy4ahtyqpk8s3ye42d09n FOREIGN KEY (offer_id) REFERENCES public.cat_offer_template(id); + + +-- +-- Name: dwh_chart_pie fk_8vdeospih0frijbyesgetnpgq; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.dwh_chart_pie + ADD CONSTRAINT fk_8vdeospih0frijbyesgetnpgq FOREIGN KEY (id) REFERENCES public.dwh_chart(id); + + +-- +-- Name: report_emails fk_8w3p2bve2i4l9uayn4qgiw5i1; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.report_emails + ADD CONSTRAINT fk_8w3p2bve2i4l9uayn4qgiw5i1 FOREIGN KEY (report_id) REFERENCES public.bi_report(id); + + +-- +-- Name: billing_counter fk_8wqr2tvmet4ppmh3dckx0arn; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_counter + ADD CONSTRAINT fk_8wqr2tvmet4ppmh3dckx0arn FOREIGN KEY (user_account_id) REFERENCES public.billing_user_account(id); + + +-- +-- Name: cat_serv_rec_wallet_template fk_9b8d2ybpb5tcws4rdlshtsitm; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_serv_rec_wallet_template + ADD CONSTRAINT fk_9b8d2ybpb5tcws4rdlshtsitm FOREIGN KEY (wallet_template_id) REFERENCES public.cat_wallet_template(id); + + +-- +-- Name: ar_customer_account fk_9i811xvc40e19t613cmpvwmu9; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.ar_customer_account + ADD CONSTRAINT fk_9i811xvc40e19t613cmpvwmu9 FOREIGN KEY (id) REFERENCES public.account_entity(id); + + +-- +-- Name: crm_seller fk_9kbreo3t9k9wk0vo2xld9rin2; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.crm_seller + ADD CONSTRAINT fk_9kbreo3t9k9wk0vo2xld9rin2 FOREIGN KEY (trading_language_id) REFERENCES public.billing_trading_language(id); + + +-- +-- Name: billing_invoice fk_9lqkbfo4yjqqbopmorht5acs7; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_invoice + ADD CONSTRAINT fk_9lqkbfo4yjqqbopmorht5acs7 FOREIGN KEY (billing_account_id) REFERENCES public.billing_billing_account(id); + + +-- +-- Name: cat_serv_trm_wallet_template fk_9mex36caetcfv4c9f689yfdhw; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_serv_trm_wallet_template + ADD CONSTRAINT fk_9mex36caetcfv4c9f689yfdhw FOREIGN KEY (service_trm_templt_id) REFERENCES public.cat_serv_trm_charge_template(id); + + +-- +-- Name: adm_notification fk_9o7xuvhq1a4hi7q0gkmylg1jn; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.adm_notification + ADD CONSTRAINT fk_9o7xuvhq1a4hi7q0gkmylg1jn FOREIGN KEY (counter_instance_id) REFERENCES public.billing_counter(id); + + +-- +-- Name: cat_chrg_edr fk_9ty5cer66o6ixc5kxf49ikt5; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_chrg_edr + ADD CONSTRAINT fk_9ty5cer66o6ixc5kxf49ikt5 FOREIGN KEY (trigg_edr_id) REFERENCES public.cat_triggered_edr(id); + + +-- +-- Name: billing_trading_language fk_9wqyi2luy5iwrbd1f17dgy33w; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_trading_language + ADD CONSTRAINT fk_9wqyi2luy5iwrbd1f17dgy33w FOREIGN KEY (language_id) REFERENCES public.adm_language(id); + + +-- +-- Name: billing_invoice_agregate fk_9xtwx023h5d9x6uwo19gn30ur; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_invoice_agregate + ADD CONSTRAINT fk_9xtwx023h5d9x6uwo19gn30ur FOREIGN KEY (tax_id) REFERENCES public.billing_tax(id); + + +-- +-- Name: billing_tax_language fk_a41c18k21jxwnxvu0dhs9bxgl; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_tax_language + ADD CONSTRAINT fk_a41c18k21jxwnxvu0dhs9bxgl FOREIGN KEY (trading_language_id) REFERENCES public.billing_trading_language(id); + + +-- +-- Name: cat_serv_sub_wallet_template fk_a6swrmjyqqabj90t321vhonyf; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_serv_sub_wallet_template + ADD CONSTRAINT fk_a6swrmjyqqabj90t321vhonyf FOREIGN KEY (service_sub_templt_id) REFERENCES public.cat_serv_sub_charge_template(id); + + +-- +-- Name: ar_customer_account fk_aaptbcu3lj7b87m97em457i3w; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.ar_customer_account + ADD CONSTRAINT fk_aaptbcu3lj7b87m97em457i3w FOREIGN KEY (customer_id) REFERENCES public.crm_customer(id); + + +-- +-- Name: account_entity fk_account_entity_crm_business_account_model; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.account_entity + ADD CONSTRAINT fk_account_entity_crm_business_account_model FOREIGN KEY (bam_id) REFERENCES public.crm_business_account_model(id); + + +-- +-- Name: ar_accounting_writing fk_accounting_writing_accounting_code; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.ar_accounting_writing + ADD CONSTRAINT fk_accounting_writing_accounting_code FOREIGN KEY (accounting_code_id) REFERENCES public.billing_accounting_code(id); + + +-- +-- Name: ar_accounting_writing fk_accounting_writing_invoice_category; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.ar_accounting_writing + ADD CONSTRAINT fk_accounting_writing_invoice_category FOREIGN KEY (invoice_category_id) REFERENCES public.billing_invoice_cat(id); + + +-- +-- Name: ar_accounting_writing fk_accounting_writing_origin_writing; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.ar_accounting_writing + ADD CONSTRAINT fk_accounting_writing_origin_writing FOREIGN KEY (origin_writing_id) REFERENCES public.ar_accounting_writing(id); + + +-- +-- Name: ar_accounting_writing fk_accounting_writing_tax; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.ar_accounting_writing + ADD CONSTRAINT fk_accounting_writing_tax FOREIGN KEY (tax_id) REFERENCES public.billing_tax(id); + + +-- +-- Name: adm_user_role fk_adtro5wh9g4byvy0pxpwwboxq; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.adm_user_role + ADD CONSTRAINT fk_adtro5wh9g4byvy0pxpwwboxq FOREIGN KEY (user_id) REFERENCES public.adm_user(id); + + +-- +-- Name: billing_counter_period fk_ah6awbukub9hunnmg30i5qgfd; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_counter_period + ADD CONSTRAINT fk_ah6awbukub9hunnmg30i5qgfd FOREIGN KEY (counter_instance_id) REFERENCES public.billing_counter(id); + + +-- +-- Name: cat_charge_template fk_ailcl9mls5y7bjr9yur52767h; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_charge_template + ADD CONSTRAINT fk_ailcl9mls5y7bjr9yur52767h FOREIGN KEY (calendar_id) REFERENCES public.cat_calendar(id); + + +-- +-- Name: billing_user_account fk_alpl7r5p2nm43w0ro26ckcqnb; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_user_account + ADD CONSTRAINT fk_alpl7r5p2nm43w0ro26ckcqnb FOREIGN KEY (id) REFERENCES public.account_entity(id); + + +-- +-- Name: billing_rated_transaction fk_anslvrbm465ossqx8surjyu22; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE public.billing_rated_transaction + ADD CONSTRAINT fk_anslvrbm465ossqx8surjyu22 FOREIGN KEY (wallet_id) REFERENCES public.billing_wallet(id); + + +-- +-- Name: ar_account_operation fk_ao_ddreq_item_id; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.ar_account_operation + ADD CONSTRAINT fk_ao_ddreq_item_id FOREIGN KEY (ddrequest_item_id) REFERENCES public.ar_ddrequest_item(id); + + +-- +-- Name: ar_payment_schedule_inst_item fk_ao_ps_id; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.ar_payment_schedule_inst_item + ADD CONSTRAINT fk_ao_ps_id FOREIGN KEY (ao_ps_id) REFERENCES public.ar_account_operation(id); + + +-- +-- Name: ar_account_operation fk_ao_rejected_payment_id; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.ar_account_operation + ADD CONSTRAINT fk_ao_rejected_payment_id FOREIGN KEY (rejected_payment_id) REFERENCES public.ar_account_operation(id); + + +-- +-- Name: ar_account_operation fk_ao_subscription_id; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.ar_account_operation + ADD CONSTRAINT fk_ao_subscription_id FOREIGN KEY (subscription_id) REFERENCES public.billing_subscription(id); + + +-- +-- Name: billing_invoice_type_applies_to fk_applies_to_id_billing_invoice_type_applies_to; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_invoice_type_applies_to + ADD CONSTRAINT fk_applies_to_id_billing_invoice_type_applies_to FOREIGN KEY (applies_to_id) REFERENCES public.billing_invoice_type(id) ON UPDATE CASCADE ON DELETE CASCADE; + + +-- +-- Name: ar_account_operation fk_ar_account_operation_accounting_code; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.ar_account_operation + ADD CONSTRAINT fk_ar_account_operation_accounting_code FOREIGN KEY (accounting_code_id) REFERENCES public.billing_accounting_code(id); + + +-- +-- Name: ar_account_operation fk_ar_account_operation_dunning_document; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.ar_account_operation + ADD CONSTRAINT fk_ar_account_operation_dunning_document FOREIGN KEY (dunning_document_id) REFERENCES public.dunning_document(id); + + +-- +-- Name: ar_customer_account fk_ar_credit_category_ar_customer_account; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.ar_customer_account + ADD CONSTRAINT fk_ar_credit_category_ar_customer_account FOREIGN KEY (credit_category_id) REFERENCES public.ar_credit_category(id); + + +-- +-- Name: ar_occ_template fk_ar_occ_template_accounting_code; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.ar_occ_template + ADD CONSTRAINT fk_ar_occ_template_accounting_code FOREIGN KEY (accounting_code_id) REFERENCES public.billing_accounting_code(id); + + +-- +-- Name: ar_other_transaction fk_ar_other_transaction_accounting_code; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.ar_other_transaction + ADD CONSTRAINT fk_ar_other_transaction_accounting_code FOREIGN KEY (accounting_code_id) REFERENCES public.billing_accounting_code(id); + + +-- +-- Name: ar_other_transaction fk_ar_other_transaction_general_ledger; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.ar_other_transaction + ADD CONSTRAINT fk_ar_other_transaction_general_ledger FOREIGN KEY (general_ledger_id) REFERENCES public.billing_general_ledger(id); + + +-- +-- Name: ar_payment_gateway_rum_sequence fk_ar_payment_gateway_rum_sequence; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.ar_payment_gateway_rum_sequence + ADD CONSTRAINT fk_ar_payment_gateway_rum_sequence FOREIGN KEY (payment_gateway_id) REFERENCES public.ar_payment_gateway(id); + + +-- +-- Name: ar_payment_ventilation fk_ar_payment_ventilation_ar_account_operation; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.ar_payment_ventilation + ADD CONSTRAINT fk_ar_payment_ventilation_ar_account_operation FOREIGN KEY (account_operation_id) REFERENCES public.ar_account_operation(id); + + +-- +-- Name: ar_payment_ventilation fk_ar_payment_ventilation_ar_customer_account; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.ar_payment_ventilation + ADD CONSTRAINT fk_ar_payment_ventilation_ar_customer_account FOREIGN KEY (customer_account_id) REFERENCES public.ar_customer_account(id); + + +-- +-- Name: ar_payment_ventilation fk_ar_payment_ventilation_ar_other_transaction; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.ar_payment_ventilation + ADD CONSTRAINT fk_ar_payment_ventilation_ar_other_transaction FOREIGN KEY (new_ot_id) REFERENCES public.ar_other_transaction(id); + + +-- +-- Name: ar_payment_ventilation fk_ar_payment_ventilation_ar_other_transaction_origin; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.ar_payment_ventilation + ADD CONSTRAINT fk_ar_payment_ventilation_ar_other_transaction_origin FOREIGN KEY (original_ot_id) REFERENCES public.ar_other_transaction(id); + + +-- +-- Name: ar_revenue_recog_rule fk_ar_revenue_recog_rule_script; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.ar_revenue_recog_rule + ADD CONSTRAINT fk_ar_revenue_recog_rule_script FOREIGN KEY (script_instance_id) REFERENCES public.meveo_script_instance(id); + + +-- +-- Name: ar_revenue_schedule fk_ar_revenue_schedule_charge; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.ar_revenue_schedule + ADD CONSTRAINT fk_ar_revenue_schedule_charge FOREIGN KEY (charge_instance_id) REFERENCES public.billing_charge_instance(id); + + +-- +-- Name: billing_discount_language fk_ath36sr0ck77jhr68mm1w10dg; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_discount_language + ADD CONSTRAINT fk_ath36sr0ck77jhr68mm1w10dg FOREIGN KEY (trading_language_id) REFERENCES public.billing_trading_language(id); + + +-- +-- Name: billing_billing_account fk_ba_email_template; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_billing_account + ADD CONSTRAINT fk_ba_email_template FOREIGN KEY (email_template_id) REFERENCES public.com_message_template(id); + + +-- +-- Name: billing_rated_transaction fk_bbnhg8vn7jkttghphr65iwug5; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE public.billing_rated_transaction + ADD CONSTRAINT fk_bbnhg8vn7jkttghphr65iwug5 FOREIGN KEY (billing_account__id) REFERENCES public.billing_billing_account(id); + + +-- +-- Name: billing_invoice fk_bill_invoice_quote; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_invoice + ADD CONSTRAINT fk_bill_invoice_quote FOREIGN KEY (quote_id) REFERENCES public.ord_quote(id); + + +-- +-- Name: billing_billing_account fk_billing_account_tax_category_id; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_billing_account + ADD CONSTRAINT fk_billing_account_tax_category_id FOREIGN KEY (tax_category_id) REFERENCES public.billing_tax_category(id); + + +-- +-- Name: billing_accounting_code fk_billing_accounting_code_parent; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_accounting_code + ADD CONSTRAINT fk_billing_accounting_code_parent FOREIGN KEY (parent_accounting_code_id) REFERENCES public.billing_accounting_code(id); + + +-- +-- Name: billing_billing_account fk_billing_billing_account_invoice_sub_cat; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_billing_account + ADD CONSTRAINT fk_billing_billing_account_invoice_sub_cat FOREIGN KEY (minimum_invoice_sub_category_id) REFERENCES public.billing_invoice_sub_cat(id); + + +-- +-- Name: cat_offer_template fk_billing_cat_offer_template_invoice_sub_cat; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_offer_template + ADD CONSTRAINT fk_billing_cat_offer_template_invoice_sub_cat FOREIGN KEY (minimum_invoice_sub_category_id) REFERENCES public.billing_invoice_sub_cat(id); + + +-- +-- Name: cat_service_template fk_billing_cat_service_template_invoice_sub_cat; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_service_template + ADD CONSTRAINT fk_billing_cat_service_template_invoice_sub_cat FOREIGN KEY (minimum_invoice_sub_category_id) REFERENCES public.billing_invoice_sub_cat(id); + + +-- +-- Name: billing_counter fk_billing_counter_customer_account_id; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_counter + ADD CONSTRAINT fk_billing_counter_customer_account_id FOREIGN KEY (customer_account_id) REFERENCES public.ar_customer_account(id); + + +-- +-- Name: billing_counter fk_billing_counter_customer_id; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_counter + ADD CONSTRAINT fk_billing_counter_customer_id FOREIGN KEY (customer_id) REFERENCES public.crm_customer(id); + + +-- +-- Name: billing_counter fk_billing_counter_service_instance_id; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_counter + ADD CONSTRAINT fk_billing_counter_service_instance_id FOREIGN KEY (service_instance_id) REFERENCES public.billing_service_instance(id); + + +-- +-- Name: billing_counter fk_billing_counter_subscription_id; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_counter + ADD CONSTRAINT fk_billing_counter_subscription_id FOREIGN KEY (subscription_id) REFERENCES public.billing_subscription(id); + + +-- +-- Name: ar_account_operation fk_billing_invoice; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.ar_account_operation + ADD CONSTRAINT fk_billing_invoice FOREIGN KEY (invoice_id) REFERENCES public.billing_invoice(id); + + +-- +-- Name: billing_invoice fk_billing_invoice_adjusted_invoice; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_invoice + ADD CONSTRAINT fk_billing_invoice_adjusted_invoice FOREIGN KEY (invoice_id) REFERENCES public.billing_invoice(id); + + +-- +-- Name: billing_invoice_agregate fk_billing_invoice_aggregate_accounting_code; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_invoice_agregate + ADD CONSTRAINT fk_billing_invoice_aggregate_accounting_code FOREIGN KEY (accounting_code_id) REFERENCES public.billing_accounting_code(id); + + +-- +-- Name: billing_invoice fk_billing_invoice_crm_seller; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_invoice + ADD CONSTRAINT fk_billing_invoice_crm_seller FOREIGN KEY (seller_id) REFERENCES public.crm_seller(id); + + +-- +-- Name: billing_invoice_sub_cat fk_billing_invoice_sub_cat_accounting_code; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_invoice_sub_cat + ADD CONSTRAINT fk_billing_invoice_sub_cat_accounting_code FOREIGN KEY (accounting_code_id) REFERENCES public.billing_accounting_code(id); + + +-- +-- Name: billing_invoice_type fk_billing_invoice_type_billing_seq_invoice; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_invoice_type + ADD CONSTRAINT fk_billing_invoice_type_billing_seq_invoice FOREIGN KEY (invoice_sequence_id) REFERENCES public.billing_seq_invoice(id); + + +-- +-- Name: billing_product_instance fk_billing_product_instance_crm_seller; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_product_instance + ADD CONSTRAINT fk_billing_product_instance_crm_seller FOREIGN KEY (seller_id) REFERENCES public.crm_seller(id); + + +-- +-- Name: billing_rated_transaction fk_billing_rated_transaction_crm_seller; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE public.billing_rated_transaction + ADD CONSTRAINT fk_billing_rated_transaction_crm_seller FOREIGN KEY (seller_id) REFERENCES public.crm_seller(id); + + +-- +-- Name: billing_rated_transaction fk_billing_rated_transaction_offer_template; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE public.billing_rated_transaction + ADD CONSTRAINT fk_billing_rated_transaction_offer_template FOREIGN KEY (offer_id) REFERENCES public.cat_offer_template(id); + + +-- +-- Name: billing_rated_transaction fk_billing_rated_transaction_tax_class_id; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE public.billing_rated_transaction + ADD CONSTRAINT fk_billing_rated_transaction_tax_class_id FOREIGN KEY (tax_class_id) REFERENCES public.billing_tax_class(id); + + +-- +-- Name: billing_seq_invtyp_sell fk_billing_seq_invtyp_sell_billing_seq_invoice; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_seq_invtyp_sell + ADD CONSTRAINT fk_billing_seq_invtyp_sell_billing_seq_invoice FOREIGN KEY (invoice_sequence_id) REFERENCES public.billing_seq_invoice(id); + + +-- +-- Name: billing_service_instance fk_billing_service_instance_invoice_sub_cat; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_service_instance + ADD CONSTRAINT fk_billing_service_instance_invoice_sub_cat FOREIGN KEY (minimum_invoice_sub_category_id) REFERENCES public.billing_invoice_sub_cat(id); + + +-- +-- Name: billing_subscription fk_billing_subscription_crm_seller; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_subscription + ADD CONSTRAINT fk_billing_subscription_crm_seller FOREIGN KEY (seller_id) REFERENCES public.crm_seller(id); + + +-- +-- Name: billing_subscription fk_billing_subscription_invoice_sub_cat; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_subscription + ADD CONSTRAINT fk_billing_subscription_invoice_sub_cat FOREIGN KEY (minimum_invoice_sub_category_id) REFERENCES public.billing_invoice_sub_cat(id); + + +-- +-- Name: billing_tax fk_billing_tax_accounting_code; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_tax + ADD CONSTRAINT fk_billing_tax_accounting_code FOREIGN KEY (accounting_code_id) REFERENCES public.billing_accounting_code(id); + + +-- +-- Name: billing_tax_mapping fk_billing_tax_mapping_buyer_country_id; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_tax_mapping + ADD CONSTRAINT fk_billing_tax_mapping_buyer_country_id FOREIGN KEY (buyer_country_id) REFERENCES public.billing_trading_country(id); + + +-- +-- Name: billing_tax_mapping fk_billing_tax_mapping_seller_country_id; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_tax_mapping + ADD CONSTRAINT fk_billing_tax_mapping_seller_country_id FOREIGN KEY (seller_country_id) REFERENCES public.billing_trading_country(id); + + +-- +-- Name: billing_tax_mapping fk_billing_tax_mapping_tax_category_id; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_tax_mapping + ADD CONSTRAINT fk_billing_tax_mapping_tax_category_id FOREIGN KEY (tax_category_id) REFERENCES public.billing_tax_category(id); + + +-- +-- Name: billing_tax_mapping fk_billing_tax_mapping_tax_class_id; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_tax_mapping + ADD CONSTRAINT fk_billing_tax_mapping_tax_class_id FOREIGN KEY (tax_class_id) REFERENCES public.billing_tax_class(id); + + +-- +-- Name: billing_tax_mapping fk_billing_tax_mapping_tax_id; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_tax_mapping + ADD CONSTRAINT fk_billing_tax_mapping_tax_id FOREIGN KEY (tax_id) REFERENCES public.billing_tax(id); + + +-- +-- Name: billing_tax_mapping fk_billing_tax_mapping_tax_script_id; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_tax_mapping + ADD CONSTRAINT fk_billing_tax_mapping_tax_script_id FOREIGN KEY (tax_script_id) REFERENCES public.meveo_script_instance(id); + + +-- +-- Name: billing_wallet_operation fk_billing_wallet_operation_billing_invoice_sub_cat; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE public.billing_wallet_operation + ADD CONSTRAINT fk_billing_wallet_operation_billing_invoice_sub_cat FOREIGN KEY (invoice_sub_category_id) REFERENCES public.billing_invoice_sub_cat(id); + + +-- +-- Name: billing_wallet_operation fk_billing_wallet_operation_offer_template; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE public.billing_wallet_operation + ADD CONSTRAINT fk_billing_wallet_operation_offer_template FOREIGN KEY (offer_id) REFERENCES public.cat_offer_template(id); + + +-- +-- Name: billing_wallet_operation fk_billing_wallet_operation_tax_class_id; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE public.billing_wallet_operation + ADD CONSTRAINT fk_billing_wallet_operation_tax_class_id FOREIGN KEY (tax_class_id) REFERENCES public.billing_tax_class(id); + + +-- +-- Name: billing_invoice fk_bo8b1b4gdnqloyib62h1qfwq2; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_invoice + ADD CONSTRAINT fk_bo8b1b4gdnqloyib62h1qfwq2 FOREIGN KEY (trading_country_id) REFERENCES public.billing_trading_country(id); + + +-- +-- Name: ar_action_dunning fk_bqvc94w3y6lx7u0tc0jfsfwt7; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.ar_action_dunning + ADD CONSTRAINT fk_bqvc94w3y6lx7u0tc0jfsfwt7 FOREIGN KEY (customer_account_id) REFERENCES public.ar_customer_account(id); + + +-- +-- Name: billing_subscription fk_bs_init_active; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_subscription + ADD CONSTRAINT fk_bs_init_active FOREIGN KEY (calendar_init_active_id) REFERENCES public.cat_calendar(id); + + +-- +-- Name: billing_subscription fk_bs_renew_for; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_subscription + ADD CONSTRAINT fk_bs_renew_for FOREIGN KEY (calendar_renew_for_id) REFERENCES public.cat_calendar(id); + + +-- +-- Name: cat_calendar_hours fk_bw7sxqdsqtsddknk0qqdc91j9; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_calendar_hours + ADD CONSTRAINT fk_bw7sxqdsqtsddknk0qqdc91j9 FOREIGN KEY (calendar_id) REFERENCES public.cat_calendar(id); + + +-- +-- Name: cat_discount_plan_item fk_c8jrrvbxq6974yskydgo0wkn2; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_discount_plan_item + ADD CONSTRAINT fk_c8jrrvbxq6974yskydgo0wkn2 FOREIGN KEY (invoice_sub_category_id) REFERENCES public.billing_invoice_sub_cat(id); + + +-- +-- Name: billing_invoice_agregate fk_c91o61obn07uoo459jxwhfdiq; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_invoice_agregate + ADD CONSTRAINT fk_c91o61obn07uoo459jxwhfdiq FOREIGN KEY (trading_language_id) REFERENCES public.billing_trading_language(id); + + +-- +-- Name: billing_wallet fk_c9nba6gws3ooqqqdlc07uqiha; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_wallet + ADD CONSTRAINT fk_c9nba6gws3ooqqqdlc07uqiha FOREIGN KEY (cat_wallet_template_id) REFERENCES public.cat_wallet_template(id); + + +-- +-- Name: ar_payment_token fk_ca_id_payment_token; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.ar_payment_token + ADD CONSTRAINT fk_ca_id_payment_token FOREIGN KEY (customer_account_id) REFERENCES public.ar_customer_account(id) ON DELETE CASCADE; + + +-- +-- Name: account_entity fk_ca_minimum_charge_template_id; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.account_entity + ADD CONSTRAINT fk_ca_minimum_charge_template_id FOREIGN KEY (minimum_charge_template_id) REFERENCES public.cat_charge_template(id); + + +-- +-- Name: ar_customer_account fk_ca_minimum_target_account_id; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.ar_customer_account + ADD CONSTRAINT fk_ca_minimum_target_account_id FOREIGN KEY (minimum_target_account_id) REFERENCES public.billing_billing_account(id); + + +-- +-- Name: billing_service_instance fk_caafr2v98pc78pkpp214twojx; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_service_instance + ADD CONSTRAINT fk_caafr2v98pc78pkpp214twojx FOREIGN KEY (service_template_id) REFERENCES public.cat_service_template(id); + + +-- +-- Name: billing_service_instance fk_calendar_srv_inst; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_service_instance + ADD CONSTRAINT fk_calendar_srv_inst FOREIGN KEY (calendar_ps_id) REFERENCES public.cat_calendar(id); + + +-- +-- Name: cat_business_offer_model fk_cat_bom_meveo_module; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_business_offer_model + ADD CONSTRAINT fk_cat_bom_meveo_module FOREIGN KEY (id) REFERENCES public.meveo_module(id); + + +-- +-- Name: cat_business_offer_model fk_cat_bom_offer_template; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_business_offer_model + ADD CONSTRAINT fk_cat_bom_offer_template FOREIGN KEY (offer_template_id) REFERENCES public.cat_offer_template(id); + + +-- +-- Name: cat_business_serv_model fk_cat_bsm_meveo_module; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_business_serv_model + ADD CONSTRAINT fk_cat_bsm_meveo_module FOREIGN KEY (id) REFERENCES public.meveo_module(id); + + +-- +-- Name: cat_business_serv_model fk_cat_bsm_service_template; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_business_serv_model + ADD CONSTRAINT fk_cat_bsm_service_template FOREIGN KEY (service_template_id) REFERENCES public.cat_service_template(id); + + +-- +-- Name: cat_bundle_product_template fk_cat_bun_pro_tpl_prod_off_tpl; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_bundle_product_template + ADD CONSTRAINT fk_cat_bun_pro_tpl_prod_off_tpl FOREIGN KEY (product_template_id) REFERENCES public.cat_offer_template(id); + + +-- +-- Name: cat_bundle_product_template fk_cat_bun_prod_tpl_prod_off_tpl; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_bundle_product_template + ADD CONSTRAINT fk_cat_bun_prod_tpl_prod_off_tpl FOREIGN KEY (bundle_template_id) REFERENCES public.cat_offer_template(id); + + +-- +-- Name: cat_charge_template fk_cat_charge_template_recog_rule; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_charge_template + ADD CONSTRAINT fk_cat_charge_template_recog_rule FOREIGN KEY (revenue_recog_rule_id) REFERENCES public.ar_revenue_recog_rule(id); + + +-- +-- Name: cat_charge_template fk_cat_charge_template_tax_class_id; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_charge_template + ADD CONSTRAINT fk_cat_charge_template_tax_class_id FOREIGN KEY (tax_class_id) REFERENCES public.billing_tax_class(id); + + +-- +-- Name: cat_offer_product_template fk_cat_off_pro_tpl_offer_template; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_offer_product_template + ADD CONSTRAINT fk_cat_off_pro_tpl_offer_template FOREIGN KEY (offer_template_id) REFERENCES public.cat_offer_template(id); + + +-- +-- Name: cat_offer_product_template fk_cat_off_prod_tpl_off_tpl; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_offer_product_template + ADD CONSTRAINT fk_cat_off_prod_tpl_off_tpl FOREIGN KEY (product_template_id) REFERENCES public.cat_offer_template(id); + + +-- +-- Name: cat_offer_template fk_cat_off_tpl_buss_prod_mod; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_offer_template + ADD CONSTRAINT fk_cat_off_tpl_buss_prod_mod FOREIGN KEY (business_product_model_id) REFERENCES public.cat_business_product_model(id); + + +-- +-- Name: cat_offer_template fk_cat_off_tpl_prod_chrg_tpl; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_offer_template + ADD CONSTRAINT fk_cat_off_tpl_prod_chrg_tpl FOREIGN KEY (product_charge_tmpl_id) REFERENCES public.cat_charge_template(id); + + +-- +-- Name: cat_offer_template fk_cat_offer_template_bom; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_offer_template + ADD CONSTRAINT fk_cat_offer_template_bom FOREIGN KEY (business_offer_model_id) REFERENCES public.cat_business_offer_model(id); + + +-- +-- Name: cat_offer_template fk_cat_offer_template_script_instance_subscription; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_offer_template + ADD CONSTRAINT fk_cat_offer_template_script_instance_subscription FOREIGN KEY (subscription_script_instance_id) REFERENCES public.meveo_script_instance(id); + + +-- +-- Name: cat_offer_template fk_cat_offer_template_script_instance_termination; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_offer_template + ADD CONSTRAINT fk_cat_offer_template_script_instance_termination FOREIGN KEY (termination_script_instance_id) REFERENCES public.meveo_script_instance(id); + + +-- +-- Name: cat_offer_serv_incomp fk_cat_os_incomp_offer_template; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_offer_serv_incomp + ADD CONSTRAINT fk_cat_os_incomp_offer_template FOREIGN KEY (offer_service_template_id) REFERENCES public.cat_offer_serv_templates(id); + + +-- +-- Name: cat_offer_serv_incomp fk_cat_os_incomp_service_template; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_offer_serv_incomp + ADD CONSTRAINT fk_cat_os_incomp_service_template FOREIGN KEY (service_template_id) REFERENCES public.cat_service_template(id); + + +-- +-- Name: cat_product_offer_digital_res fk_cat_product_offer_digital_res_l; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_product_offer_digital_res + ADD CONSTRAINT fk_cat_product_offer_digital_res_l FOREIGN KEY (product_id) REFERENCES public.cat_offer_template(id); + + +-- +-- Name: cat_product_offer_digital_res fk_cat_product_offer_digital_res_r; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_product_offer_digital_res + ADD CONSTRAINT fk_cat_product_offer_digital_res_r FOREIGN KEY (digital_resource_id) REFERENCES public.cat_digital_resource(id); + + +-- +-- Name: cat_service_template fk_cat_service_template_bsm; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_service_template + ADD CONSTRAINT fk_cat_service_template_bsm FOREIGN KEY (business_service_model_id) REFERENCES public.cat_business_serv_model(id); + + +-- +-- Name: cat_service_template fk_cat_service_template_script_instance_activation; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_service_template + ADD CONSTRAINT fk_cat_service_template_script_instance_activation FOREIGN KEY (activation_script_instance_id) REFERENCES public.meveo_script_instance(id); + + +-- +-- Name: cat_service_template fk_cat_service_template_script_instance_termination; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_service_template + ADD CONSTRAINT fk_cat_service_template_script_instance_termination FOREIGN KEY (termination_script_instance_id) REFERENCES public.meveo_script_instance(id); + + +-- +-- Name: billing_reservation fk_cau8elf0u0q5vi6voqv07rx8p; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_reservation + ADD CONSTRAINT fk_cau8elf0u0q5vi6voqv07rx8p FOREIGN KEY (wallet_id) REFERENCES public.billing_wallet(id); + + +-- +-- Name: adm_inbound_req_cookies fk_cfd55de59w792gxpcd478ujfq; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.adm_inbound_req_cookies + ADD CONSTRAINT fk_cfd55de59w792gxpcd478ujfq FOREIGN KEY (inboundrequest_id) REFERENCES public.adm_inbound_request(id); + + +-- +-- Name: crm_custom_field_tmpl fk_cft_calendar; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.crm_custom_field_tmpl + ADD CONSTRAINT fk_cft_calendar FOREIGN KEY (calendar_id) REFERENCES public.cat_calendar(id); + + +-- +-- Name: crm_custom_field_tmpl_mcols fk_cft_mcols_cft; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.crm_custom_field_tmpl_mcols + ADD CONSTRAINT fk_cft_mcols_cft FOREIGN KEY (cft_id) REFERENCES public.crm_custom_field_tmpl(id); + + +-- +-- Name: cat_charge_template fk_charge_template_rating_script_id; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_charge_template + ADD CONSTRAINT fk_charge_template_rating_script_id FOREIGN KEY (rating_script_id) REFERENCES public.meveo_script_instance(id); + + +-- +-- Name: billing_charge_instance fk_chrg_instance_ua; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_charge_instance + ADD CONSTRAINT fk_chrg_instance_ua FOREIGN KEY (user_account_id) REFERENCES public.billing_user_account(id); + + +-- +-- Name: billing_service_instance fk_cjdtigou2dhmp30e1je4l4la3; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_service_instance + ADD CONSTRAINT fk_cjdtigou2dhmp30e1je4l4la3 FOREIGN KEY (subscription_id) REFERENCES public.billing_subscription(id); + + +-- +-- Name: crm_seller fk_clryk9sfqcnt5m298cpbfvnm9; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.crm_seller + ADD CONSTRAINT fk_clryk9sfqcnt5m298cpbfvnm9 FOREIGN KEY (parent_seller_id) REFERENCES public.crm_seller(id); + + +-- +-- Name: adm_notif_email fk_com_message_template; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.adm_notif_email + ADD CONSTRAINT fk_com_message_template FOREIGN KEY (email_template_id) REFERENCES public.com_message_template(id); + + +-- +-- Name: account_entity fk_country_id_account; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.account_entity + ADD CONSTRAINT fk_country_id_account FOREIGN KEY (address_country_id) REFERENCES public.adm_country(id); + + +-- +-- Name: ord_order_item fk_country_id_order; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.ord_order_item + ADD CONSTRAINT fk_country_id_order FOREIGN KEY (address_country_id) REFERENCES public.adm_country(id); + + +-- +-- Name: crm_provider fk_country_id_prov; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.crm_provider + ADD CONSTRAINT fk_country_id_prov FOREIGN KEY (address_country_id) REFERENCES public.adm_country(id); + + +-- +-- Name: crm_provider_contact fk_country_id_prov_contact; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.crm_provider_contact + ADD CONSTRAINT fk_country_id_prov_contact FOREIGN KEY (address_country_id) REFERENCES public.adm_country(id); + + +-- +-- Name: com_sender_config fk_country_id_sender; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.com_sender_config + ADD CONSTRAINT fk_country_id_sender FOREIGN KEY (address_country_id) REFERENCES public.adm_country(id); + + +-- +-- Name: crm_customer_category fk_crm_customer_category_accounting_code; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.crm_customer_category + ADD CONSTRAINT fk_crm_customer_category_accounting_code FOREIGN KEY (accounting_code_id) REFERENCES public.billing_accounting_code(id); + + +-- +-- Name: crm_customer_category fk_crm_customer_category_tax_category_id; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.crm_customer_category + ADD CONSTRAINT fk_crm_customer_category_tax_category_id FOREIGN KEY (tax_category_id) REFERENCES public.billing_tax_category(id); + + +-- +-- Name: crm_customer_sequence fk_crm_customer_sequence_seller; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.crm_customer_sequence + ADD CONSTRAINT fk_crm_customer_sequence_seller FOREIGN KEY (seller_id) REFERENCES public.crm_seller(id); + + +-- +-- Name: crm_seller fk_crm_seller_general_ledger; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.crm_seller + ADD CONSTRAINT fk_crm_seller_general_ledger FOREIGN KEY (general_ledger_id) REFERENCES public.billing_general_ledger(id); + + +-- +-- Name: billing_service_instance fk_ctwb65gvm9ywajg9pim86cqut; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_service_instance + ADD CONSTRAINT fk_ctwb65gvm9ywajg9pim86cqut FOREIGN KEY (sub_termin_reason_id) REFERENCES public.billing_subscrip_termin_reason(id); + + +-- +-- Name: crm_custom_action fk_cust_action_script_instance; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.crm_custom_action + ADD CONSTRAINT fk_cust_action_script_instance FOREIGN KEY (script_instance_id) REFERENCES public.meveo_script_instance(id); + + +-- +-- Name: crm_customer fk_customer_minimum_target_account_id; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.crm_customer + ADD CONSTRAINT fk_customer_minimum_target_account_id FOREIGN KEY (minimum_target_account_id) REFERENCES public.billing_billing_account(id); + + +-- +-- Name: flat_file fk_d4iavkklx1qg1ani36bari5o5i; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.flat_file + ADD CONSTRAINT fk_d4iavkklx1qg1ani36bari5o5i FOREIGN KEY (file_format_id) REFERENCES public.adm_file_format(id); + + +-- +-- Name: billing_subscription fk_d4iavkklx1qg1ani36hpg3o3i; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_subscription + ADD CONSTRAINT fk_d4iavkklx1qg1ani36hpg3o3i FOREIGN KEY (user_account_id) REFERENCES public.billing_user_account(id); + + +-- +-- Name: adm_notif_im_user fk_damvosa961a8nk1d0sxq9eft3; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.adm_notif_im_user + ADD CONSTRAINT fk_damvosa961a8nk1d0sxq9eft3 FOREIGN KEY (instantmessagingnotification_id) REFERENCES public.adm_notif_im(id); + + +-- +-- Name: cat_counter_template fk_db0agy1pteutwwsb61imqu8f6; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_counter_template + ADD CONSTRAINT fk_db0agy1pteutwwsb61imqu8f6 FOREIGN KEY (calendar_id) REFERENCES public.cat_calendar(id); + + +-- +-- Name: ar_ddrequest_item fk_dd_item_refund_id; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.ar_ddrequest_item + ADD CONSTRAINT fk_dd_item_refund_id FOREIGN KEY (refund_id) REFERENCES public.ar_account_operation(id); + + +-- +-- Name: ar_ddrequest_lot_op fk_dd_item_sell_id; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.ar_ddrequest_lot_op + ADD CONSTRAINT fk_dd_item_sell_id FOREIGN KEY (seller_id) REFERENCES public.crm_seller(id); + + +-- +-- Name: wf_transition_decision_rule fk_decision_rule_id_decision_rule; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.wf_transition_decision_rule + ADD CONSTRAINT fk_decision_rule_id_decision_rule FOREIGN KEY (decision_rule_id) REFERENCES public.wf_decision_rule(id); + + +-- +-- Name: dwh_chart_bar fk_deinn6saryvr8li5c8vjoga6a; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.dwh_chart_bar + ADD CONSTRAINT fk_deinn6saryvr8li5c8vjoga6a FOREIGN KEY (id) REFERENCES public.dwh_chart(id); + + +-- +-- Name: adm_inbound_req_params fk_djmbjb6ja9fapeadjyj395020; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.adm_inbound_req_params + ADD CONSTRAINT fk_djmbjb6ja9fapeadjyj395020 FOREIGN KEY (inboundrequest_id) REFERENCES public.adm_inbound_request(id); + + +-- +-- Name: cat_serv_usage_wallet_template fk_djsiyqv4nss0aba3dfvxlo0g9; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_serv_usage_wallet_template + ADD CONSTRAINT fk_djsiyqv4nss0aba3dfvxlo0g9 FOREIGN KEY (wallet_template_id) REFERENCES public.cat_wallet_template(id); + + +-- +-- Name: crm_custom_field_tmpl_val fk_dsb0t79daf6j4gecorhl833tf; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.crm_custom_field_tmpl_val + ADD CONSTRAINT fk_dsb0t79daf6j4gecorhl833tf FOREIGN KEY (customfieldtemplate_id) REFERENCES public.crm_custom_field_tmpl(id); + + +-- +-- Name: dunning_document fk_dunning_document_ca; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.dunning_document + ADD CONSTRAINT fk_dunning_document_ca FOREIGN KEY (customer_account_id) REFERENCES public.ar_customer_account(id); + + +-- +-- Name: dunning_document fk_dunning_document_subscription; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.dunning_document + ADD CONSTRAINT fk_dunning_document_subscription FOREIGN KEY (billing_subscription_id) REFERENCES public.billing_subscription(id); + + +-- +-- Name: billing_charge_instance fk_dwdlb9d5mlvdddm3yowwa9uem; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_charge_instance + ADD CONSTRAINT fk_dwdlb9d5mlvdddm3yowwa9uem FOREIGN KEY (subscription_id) REFERENCES public.billing_subscription(id); + + +-- +-- Name: dwh_account_operation fk_dwh_account_operation_accounting_code; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.dwh_account_operation + ADD CONSTRAINT fk_dwh_account_operation_accounting_code FOREIGN KEY (accounting_code_id) REFERENCES public.billing_accounting_code(id); + + +-- +-- Name: dwh_journal_entries fk_dwh_journal_entries_accounting_code; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.dwh_journal_entries + ADD CONSTRAINT fk_dwh_journal_entries_accounting_code FOREIGN KEY (accounting_code_id) REFERENCES public.billing_accounting_code(id); + + +-- +-- Name: com_contact_com_message fk_e1trke21afbfr3v8wqnsks2is; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.com_contact_com_message + ADD CONSTRAINT fk_e1trke21afbfr3v8wqnsks2is FOREIGN KEY (messages_id) REFERENCES public.com_message(id); + + +-- +-- Name: bi_report_emails fk_e5pijp4pbuitmvarlbblnyula; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.bi_report_emails + ADD CONSTRAINT fk_e5pijp4pbuitmvarlbblnyula FOREIGN KEY (email_id) REFERENCES public.crm_email(id); + + +-- +-- Name: billing_invoice fk_e6lpg28vestq5376ftwurc3dq; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_invoice + ADD CONSTRAINT fk_e6lpg28vestq5376ftwurc3dq FOREIGN KEY (trading_language_id) REFERENCES public.billing_trading_language(id); + + +-- +-- Name: billing_billing_run_list fk_enol93c3egcl0hf5uhrvd8n85; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_billing_run_list + ADD CONSTRAINT fk_enol93c3egcl0hf5uhrvd8n85 FOREIGN KEY (billing_account_id) REFERENCES public.billing_billing_account(id); + + +-- +-- Name: dwh_chart_line fk_ertp1u2by6dldfhs76wcivhty; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.dwh_chart_line + ADD CONSTRAINT fk_ertp1u2by6dldfhs76wcivhty FOREIGN KEY (id) REFERENCES public.dwh_chart(id); + + +-- +-- Name: billing_chrginst_wallet fk_espkcwuorhst9youte9r59vfq; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_chrginst_wallet + ADD CONSTRAINT fk_espkcwuorhst9youte9r59vfq FOREIGN KEY (chrg_instance_id) REFERENCES public.billing_charge_instance(id); + + +-- +-- Name: billing_rated_transaction fk_eucl7of9ovyut1c4r2jkf01u6; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE public.billing_rated_transaction + ADD CONSTRAINT fk_eucl7of9ovyut1c4r2jkf01u6 FOREIGN KEY (priceplan_id) REFERENCES public.cat_price_plan_matrix(id); + + +-- +-- Name: cat_serv_rec_charge_template fk_exhkf6tlyfmkjik41o7pdaklk; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_serv_rec_charge_template + ADD CONSTRAINT fk_exhkf6tlyfmkjik41o7pdaklk FOREIGN KEY (service_template_id) REFERENCES public.cat_service_template(id); + + +-- +-- Name: billing_wallet_operation fk_f0v21kf4sbdcq1wwqsxmb5tsk; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE public.billing_wallet_operation + ADD CONSTRAINT fk_f0v21kf4sbdcq1wwqsxmb5tsk FOREIGN KEY (priceplan_id) REFERENCES public.cat_price_plan_matrix(id); + + +-- +-- Name: billing_counter fk_f3e8vebhfnmyikf3xwui2eqn5; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_counter + ADD CONSTRAINT fk_f3e8vebhfnmyikf3xwui2eqn5 FOREIGN KEY (billing_account_id) REFERENCES public.billing_billing_account(id); + + +-- +-- Name: adm_user fk_f3ptnqm19vwtactrn9asu7kex; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.adm_user + ADD CONSTRAINT fk_f3ptnqm19vwtactrn9asu7kex FOREIGN KEY (title_id) REFERENCES public.adm_title(id); + + +-- +-- Name: rating_edr fk_f5tulmo519cm4il45bhborgq1; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE public.rating_edr + ADD CONSTRAINT fk_f5tulmo519cm4il45bhborgq1 FOREIGN KEY (subscription_id) REFERENCES public.billing_subscription(id); + + +-- +-- Name: ar_ddrequest_item fk_fac0a9x4wkq2eawtebunbibxy; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.ar_ddrequest_item + ADD CONSTRAINT fk_fac0a9x4wkq2eawtebunbibxy FOREIGN KEY (payment_id) REFERENCES public.ar_account_operation(id); + + +-- +-- Name: billing_counter fk_fasnjr9ad2layx0fy99yqaqgh; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_counter + ADD CONSTRAINT fk_fasnjr9ad2layx0fy99yqaqgh FOREIGN KEY (counter_template_id) REFERENCES public.cat_counter_template(id); + + +-- +-- Name: billing_invoice_agregate fk_fgcgjix0bu0jcnnh7h92gdl3f; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_invoice_agregate + ADD CONSTRAINT fk_fgcgjix0bu0jcnnh7h92gdl3f FOREIGN KEY (invoicecategory) REFERENCES public.billing_invoice_cat(id); + + +-- +-- Name: meveo_filter_selector_ignore_fields fk_filter_selector_ignore_fields; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.meveo_filter_selector_ignore_fields + ADD CONSTRAINT fk_filter_selector_ignore_fields FOREIGN KEY (filter_selector_id) REFERENCES public.meveo_filter_selector(id) ON UPDATE CASCADE ON DELETE CASCADE; + + +-- +-- Name: billing_billing_account fk_fky4ah96o9fohkx7u569phxxr; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_billing_account + ADD CONSTRAINT fk_fky4ah96o9fohkx7u569phxxr FOREIGN KEY (id) REFERENCES public.account_entity(id); + + +-- +-- Name: meveo_job_instance fk_following_job_id; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.meveo_job_instance + ADD CONSTRAINT fk_following_job_id FOREIGN KEY (following_job_id) REFERENCES public.meveo_job_instance(id); + + +-- +-- Name: cat_serv_rec_charge_template fk_foohp8o0xupxmxcwblexcfqpp; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_serv_rec_charge_template + ADD CONSTRAINT fk_foohp8o0xupxmxcwblexcfqpp FOREIGN KEY (charge_template_id) REFERENCES public.cat_charge_template(id); + + +-- +-- Name: billing_billing_account fk_fr8rdcj2vx5ityva2l4fkcns4; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_billing_account + ADD CONSTRAINT fk_fr8rdcj2vx5ityva2l4fkcns4 FOREIGN KEY (customer_account_id) REFERENCES public.ar_customer_account(id); + + +-- +-- Name: cat_calendar fk_fskhdurrqlhc43f27gsprqqwn; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_calendar + ADD CONSTRAINT fk_fskhdurrqlhc43f27gsprqqwn FOREIGN KEY (join_cal_2_id) REFERENCES public.cat_calendar(id); + + +-- +-- Name: billing_billing_account fk_ftwju9g5tva4btwupb5yy8wuc; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_billing_account + ADD CONSTRAINT fk_ftwju9g5tva4btwupb5yy8wuc FOREIGN KEY (termin_reason_id) REFERENCES public.billing_subscrip_termin_reason(id); + + +-- +-- Name: billing_billing_run_list fk_fvujybj16rexoar6bbg65rtmw; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_billing_run_list + ADD CONSTRAINT fk_fvujybj16rexoar6bbg65rtmw FOREIGN KEY (billing_run_id) REFERENCES public.billing_billing_run(id); + + +-- +-- Name: adm_notification fk_g2g3git8jshnvyt4quial8rly; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.adm_notification + ADD CONSTRAINT fk_g2g3git8jshnvyt4quial8rly FOREIGN KEY (counter_template_id) REFERENCES public.cat_counter_template(id); + + +-- +-- Name: ar_action_dunning fk_gbkp9rahk5rqst7xvptmohhhl; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.ar_action_dunning + ADD CONSTRAINT fk_gbkp9rahk5rqst7xvptmohhhl FOREIGN KEY (dunning_lot_id) REFERENCES public.ar_dunning_lot(id); + + +-- +-- Name: cat_serv_usage_charge_template fk_gdamyabsva5cqay9nk1fm1rr7; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_serv_usage_charge_template + ADD CONSTRAINT fk_gdamyabsva5cqay9nk1fm1rr7 FOREIGN KEY (counter_template_id) REFERENCES public.cat_counter_template(id); + + +-- +-- Name: billing_rated_transaction fk_gq86s178gc3orumcl8symk4nn; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE public.billing_rated_transaction + ADD CONSTRAINT fk_gq86s178gc3orumcl8symk4nn FOREIGN KEY (invoice_id) REFERENCES public.billing_invoice(id); + + +-- +-- Name: billing_invoice fk_gr6elpjoiw7nyro2tdwsar20v; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_invoice + ADD CONSTRAINT fk_gr6elpjoiw7nyro2tdwsar20v FOREIGN KEY (recorded_invoice_id) REFERENCES public.ar_account_operation(id); + + +-- +-- Name: adm_inbound_resp_headers fk_h07be9b84xmmx5ypkbunkxwxt; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.adm_inbound_resp_headers + ADD CONSTRAINT fk_h07be9b84xmmx5ypkbunkxwxt FOREIGN KEY (inboundrequest_id) REFERENCES public.adm_inbound_request(id); + + +-- +-- Name: billing_rejected_billing_accounts fk_hamqnc1lpwfm4b3qjbefi24rn; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_rejected_billing_accounts + ADD CONSTRAINT fk_hamqnc1lpwfm4b3qjbefi24rn FOREIGN KEY (billing_account) REFERENCES public.billing_billing_account(id); + + +-- +-- Name: medina_access fk_hcav39o2ux8q2oaaqva8b5c8c; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.medina_access + ADD CONSTRAINT fk_hcav39o2ux8q2oaaqva8b5c8c FOREIGN KEY (subscription_id) REFERENCES public.billing_subscription(id); + + +-- +-- Name: billing_wallet_operation fk_hg1a5impet68w8a37dehlnib0; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE public.billing_wallet_operation + ADD CONSTRAINT fk_hg1a5impet68w8a37dehlnib0 FOREIGN KEY (seller_id) REFERENCES public.crm_seller(id); + + +-- +-- Name: hierarchy_entity fk_hierarchy_entity_hierarchy_entity; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.hierarchy_entity + ADD CONSTRAINT fk_hierarchy_entity_hierarchy_entity FOREIGN KEY (parent_id) REFERENCES public.hierarchy_entity(id); + + +-- +-- Name: adm_user fk_hierarchy_level_adm_user_hierarchy_entity; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.adm_user + ADD CONSTRAINT fk_hierarchy_level_adm_user_hierarchy_entity FOREIGN KEY (hierarchy_level_id) REFERENCES public.hierarchy_entity(id); + + +-- +-- Name: wf_instance_history fk_history_wf_instance; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.wf_instance_history + ADD CONSTRAINT fk_history_wf_instance FOREIGN KEY (wf_instance_id) REFERENCES public.wf_instance(id) ON DELETE CASCADE; + + +-- +-- Name: cat_calendar_hours fk_hlmhwditgy8p9em0e631ynw6r; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_calendar_hours + ADD CONSTRAINT fk_hlmhwditgy8p9em0e631ynw6r FOREIGN KEY (hour_id) REFERENCES public.cat_hour_in_day(id); + + +-- +-- Name: billing_invoice_cat_lang fk_hslb4pch5bj6m6xsy0tqmnn4j; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_invoice_cat_lang + ADD CONSTRAINT fk_hslb4pch5bj6m6xsy0tqmnn4j FOREIGN KEY (trading_language_id) REFERENCES public.billing_trading_language(id); + + +-- +-- Name: cat_serv_sub_charge_template fk_hxp6httf1qfs3tsvquux363y7; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_serv_sub_charge_template + ADD CONSTRAINT fk_hxp6httf1qfs3tsvquux363y7 FOREIGN KEY (service_template_id) REFERENCES public.cat_service_template(id); + + +-- +-- Name: billing_invoice fk_hyqj44hv50qhdvvvqp5eujrur; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_invoice + ADD CONSTRAINT fk_hyqj44hv50qhdvvvqp5eujrur FOREIGN KEY (billing_run_id) REFERENCES public.billing_billing_run(id); + + +-- +-- Name: dwh_chart fk_i6lkk8x010ktvw2clmmmmp9os; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.dwh_chart + ADD CONSTRAINT fk_i6lkk8x010ktvw2clmmmmp9os FOREIGN KEY (msr_qty_id) REFERENCES public.dwh_measurable_quant(id); + + +-- +-- Name: billing_invoice_agregate fk_i8v257236336x3tpy7ili7ys2; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_invoice_agregate + ADD CONSTRAINT fk_i8v257236336x3tpy7ili7ys2 FOREIGN KEY (billing_run_id) REFERENCES public.billing_billing_run(id); + + +-- +-- Name: billing_invoice_agregate fk_ia_dpi; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_invoice_agregate + ADD CONSTRAINT fk_ia_dpi FOREIGN KEY (discount_plan_item_id) REFERENCES public.cat_discount_plan_item(id); + + +-- +-- Name: billing_resrv_countid fk_ibxc01nbhutnxtkoextnrm0a6; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_resrv_countid + ADD CONSTRAINT fk_ibxc01nbhutnxtkoextnrm0a6 FOREIGN KEY (reservation_id) REFERENCES public.billing_reservation(id); + + +-- +-- Name: billing_invoice_agregate fk_icmfsev8m5n386ifttcgelv40; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_invoice_agregate + ADD CONSTRAINT fk_icmfsev8m5n386ifttcgelv40 FOREIGN KEY (invoice_id) REFERENCES public.billing_invoice(id) ON UPDATE CASCADE ON DELETE CASCADE; + + +-- +-- Name: bi_job_history fk_ifdipuijxgp2i9k26n7bc2jnr; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.bi_job_history + ADD CONSTRAINT fk_ifdipuijxgp2i9k26n7bc2jnr FOREIGN KEY (job_id) REFERENCES public.bi_job(id); + + +-- +-- Name: cat_price_plan_matrix fk_ihqc2by1drw4jp17umkkjcguc; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_price_plan_matrix + ADD CONSTRAINT fk_ihqc2by1drw4jp17umkkjcguc FOREIGN KEY (seller_id) REFERENCES public.crm_seller(id); + + +-- +-- Name: billing_billing_account fk_ii78vj9v7bqdip985wona13qm; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_billing_account + ADD CONSTRAINT fk_ii78vj9v7bqdip985wona13qm FOREIGN KEY (trading_country_id) REFERENCES public.billing_trading_country(id); + + +-- +-- Name: billing_rated_transaction fk_input_billing_rated_transaction_cat_unit_of_measure; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE public.billing_rated_transaction + ADD CONSTRAINT fk_input_billing_rated_transaction_cat_unit_of_measure FOREIGN KEY (input_unitofmeasure) REFERENCES public.cat_unit_of_measure(id); + + +-- +-- Name: billing_wallet_operation fk_input_billing_wallet_operation_cat_unit_of_measure; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE public.billing_wallet_operation + ADD CONSTRAINT fk_input_billing_wallet_operation_cat_unit_of_measure FOREIGN KEY (input_unitofmeasure) REFERENCES public.cat_unit_of_measure(id); + + +-- +-- Name: cat_charge_template fk_input_cat_charge_template_cat_unit_of_measure; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_charge_template + ADD CONSTRAINT fk_input_cat_charge_template_cat_unit_of_measure FOREIGN KEY (input_unitofmeasure) REFERENCES public.cat_unit_of_measure(id); + + +-- +-- Name: wf_instance fk_instance_generic_wf; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.wf_instance + ADD CONSTRAINT fk_instance_generic_wf FOREIGN KEY (generic_wf_id) REFERENCES public.wf_generic_workflow(id) ON UPDATE CASCADE ON DELETE CASCADE; + + +-- +-- Name: wf_instance fk_instance_wf_status; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.wf_instance + ADD CONSTRAINT fk_instance_wf_status FOREIGN KEY (current_wf_status_id) REFERENCES public.wf_status(id); + + +-- +-- Name: ar_account_operation fk_inv_aos; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.ar_account_operation + ADD CONSTRAINT fk_inv_aos FOREIGN KEY (recorded_invoice_id) REFERENCES public.ar_account_operation(id); + + +-- +-- Name: ar_account_operation fk_inv_cat_agregate; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.ar_account_operation + ADD CONSTRAINT fk_inv_cat_agregate FOREIGN KEY (cat_inv_agregate_id) REFERENCES public.billing_invoice_agregate(id); + + +-- +-- Name: billing_invoice_type fk_inv_email_template; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_invoice_type + ADD CONSTRAINT fk_inv_email_template FOREIGN KEY (email_template_id) REFERENCES public.com_message_template(id); + + +-- +-- Name: billing_invoice fk_inv_order; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_invoice + ADD CONSTRAINT fk_inv_order FOREIGN KEY (order_id) REFERENCES public.ord_order(id); + + +-- +-- Name: ar_account_operation fk_inv_sub_cat_agregate; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.ar_account_operation + ADD CONSTRAINT fk_inv_sub_cat_agregate FOREIGN KEY (sub_cat_inv_agregate_id) REFERENCES public.billing_invoice_agregate(id); + + +-- +-- Name: billing_invoice fk_inv_subscription; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_invoice + ADD CONSTRAINT fk_inv_subscription FOREIGN KEY (subscription_id) REFERENCES public.billing_subscription(id); + + +-- +-- Name: ar_payment_schedule_inst_item fk_invoice_id; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.ar_payment_schedule_inst_item + ADD CONSTRAINT fk_invoice_id FOREIGN KEY (invoice_id) REFERENCES public.billing_invoice(id); + + +-- +-- Name: billing_invoices_orders fk_invoice_id_bill_invoices-orders; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_invoices_orders + ADD CONSTRAINT "fk_invoice_id_bill_invoices-orders" FOREIGN KEY (invoice_id) REFERENCES public.billing_invoice(id); + + +-- +-- Name: billing_invoice fk_invoice_pm; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_invoice + ADD CONSTRAINT fk_invoice_pm FOREIGN KEY (payment_method_id) REFERENCES public.ar_payment_token(id); + + +-- +-- Name: billing_invoice_type_applies_to fk_invoice_type_appl_to_id_billing_invoice_type_applies_to; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_invoice_type_applies_to + ADD CONSTRAINT fk_invoice_type_appl_to_id_billing_invoice_type_applies_to FOREIGN KEY (invoice_type_id) REFERENCES public.billing_invoice_type(id) ON UPDATE CASCADE ON DELETE CASCADE; + + +-- +-- Name: billing_cycle fk_invoice_type_id_billing_cycle; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_cycle + ADD CONSTRAINT fk_invoice_type_id_billing_cycle FOREIGN KEY (invoice_type_id) REFERENCES public.billing_invoice_type(id); + + +-- +-- Name: billing_invoice fk_invoice_type_id_billing_invoice; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_invoice + ADD CONSTRAINT fk_invoice_type_id_billing_invoice FOREIGN KEY (invoice_type_id) REFERENCES public.billing_invoice_type(id); + + +-- +-- Name: billing_invoice_type fk_invoice_type_script_instance; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_invoice_type + ADD CONSTRAINT fk_invoice_type_script_instance FOREIGN KEY (script_instance_id) REFERENCES public.meveo_script_instance(id); + + +-- +-- Name: adm_notif_email_user fk_ioh6e5l8yglwedbkvmrhuuc9i; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.adm_notif_email_user + ADD CONSTRAINT fk_ioh6e5l8yglwedbkvmrhuuc9i FOREIGN KEY (emailnotification_id) REFERENCES public.adm_notif_email(id); + + +-- +-- Name: adm_notif_im_list fk_irak9kuf31eoi04whmof2o1vp; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.adm_notif_im_list + ADD CONSTRAINT fk_irak9kuf31eoi04whmof2o1vp FOREIGN KEY (instantmessagingnotification_id) REFERENCES public.adm_notif_im(id); + + +-- +-- Name: billing_seq_invtyp_sell fk_ivmab13iml7v0n29giw9w8kor; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_seq_invtyp_sell + ADD CONSTRAINT fk_ivmab13iml7v0n29giw9w8kor FOREIGN KEY (seller_id) REFERENCES public.crm_seller(id); + + +-- +-- Name: billing_rejected_billing_accounts fk_iyfs5u3t9m0hc9rkeadr6atq9; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_rejected_billing_accounts + ADD CONSTRAINT fk_iyfs5u3t9m0hc9rkeadr6atq9 FOREIGN KEY (billing_run) REFERENCES public.billing_billing_run(id); + + +-- +-- Name: cat_price_plan_matrix fk_j45dy6ja0ulbs15erjw2abtin; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_price_plan_matrix + ADD CONSTRAINT fk_j45dy6ja0ulbs15erjw2abtin FOREIGN KEY (valid_cal_id) REFERENCES public.cat_calendar(id); + + +-- +-- Name: billing_billing_run fk_j7uk7f4r30ar8my36b338fgp3; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_billing_run + ADD CONSTRAINT fk_j7uk7f4r30ar8my36b338fgp3 FOREIGN KEY (pr_country_id) REFERENCES public.adm_country(id); + + +-- +-- Name: adm_country fk_j9hs06oggl0dsm766xegjd7cl; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.adm_country + ADD CONSTRAINT fk_j9hs06oggl0dsm766xegjd7cl FOREIGN KEY (currency_id) REFERENCES public.adm_currency(id); + + +-- +-- Name: com_msg_tmpl_variable fk_ja18lr86yy3lu9qy06wkhkjeg; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.com_msg_tmpl_variable + ADD CONSTRAINT fk_ja18lr86yy3lu9qy06wkhkjeg FOREIGN KEY (template_id) REFERENCES public.com_message_template(id); + + +-- +-- Name: billing_invoice_agregate fk_jbw5pwksdd6x3f6ystkruwb60; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_invoice_agregate + ADD CONSTRAINT fk_jbw5pwksdd6x3f6ystkruwb60 FOREIGN KEY (billing_account_id) REFERENCES public.billing_billing_account(id); + + +-- +-- Name: cat_serv_sub_wallet_template fk_jl5jtnqtxuaupodubdf49we35; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_serv_sub_wallet_template + ADD CONSTRAINT fk_jl5jtnqtxuaupodubdf49we35 FOREIGN KEY (wallet_template_id) REFERENCES public.cat_wallet_template(id); + + +-- +-- Name: billing_invoice_agregate fk_jlvgkggvct8w375rh8xnp0045; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_invoice_agregate + ADD CONSTRAINT fk_jlvgkggvct8w375rh8xnp0045 FOREIGN KEY (tax_invoice_agregate) REFERENCES public.billing_invoice_agregate(id); + + +-- +-- Name: job_execution fk_job_execution_job_instance_id; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.job_execution + ADD CONSTRAINT fk_job_execution_job_instance_id FOREIGN KEY (job_instance_id) REFERENCES public.meveo_job_instance(id) ON UPDATE CASCADE ON DELETE CASCADE; + + +-- +-- Name: adm_notif_job fk_job_trigger_notif; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.adm_notif_job + ADD CONSTRAINT fk_job_trigger_notif FOREIGN KEY (job_instance_id) REFERENCES public.meveo_job_instance(id); + + +-- +-- Name: billing_invoice_agregate fk_jol1l9b38nefwe19h55gjhi; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_invoice_agregate + ADD CONSTRAINT fk_jol1l9b38nefwe19h55gjhi FOREIGN KEY (category_invoice_agregate) REFERENCES public.billing_invoice_agregate(id); + + +-- +-- Name: cat_serv_rec_wallet_template fk_jvxy2yssvh2lglsjux5lysuev; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_serv_rec_wallet_template + ADD CONSTRAINT fk_jvxy2yssvh2lglsjux5lysuev FOREIGN KEY (service_rec_templt_id) REFERENCES public.cat_serv_rec_charge_template(id); + + +-- +-- Name: cat_calendar_days fk_jwbui370vw0u0i4bprhep89va; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_calendar_days + ADD CONSTRAINT fk_jwbui370vw0u0i4bprhep89va FOREIGN KEY (day_id) REFERENCES public.cat_day_in_year(id); + + +-- +-- Name: crm_customer fk_jy0ltntuxo83krlvovb0gmmcu; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.crm_customer + ADD CONSTRAINT fk_jy0ltntuxo83krlvovb0gmmcu FOREIGN KEY (customer_brand_id) REFERENCES public.crm_customer_brand(id); + + +-- +-- Name: billing_trading_country fk_k9rx9xam7tpfhxdd9ebir310v; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_trading_country + ADD CONSTRAINT fk_k9rx9xam7tpfhxdd9ebir310v FOREIGN KEY (country_id) REFERENCES public.adm_country(id); + + +-- +-- Name: billing_billing_run fk_kh24jie5tlw4y93g44d4aq4es; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_billing_run + ADD CONSTRAINT fk_kh24jie5tlw4y93g44d4aq4es FOREIGN KEY (pr_language_id) REFERENCES public.adm_language(id); + + +-- +-- Name: dwh_chart fk_kjno1ku2jpqxlh7s4tpekd40k; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.dwh_chart + ADD CONSTRAINT fk_kjno1ku2jpqxlh7s4tpekd40k FOREIGN KEY (role_id) REFERENCES public.adm_role(id); + + +-- +-- Name: cat_price_plan_matrix fk_kwd24d6mb0ac27a9smche8u8u; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_price_plan_matrix + ADD CONSTRAINT fk_kwd24d6mb0ac27a9smche8u8u FOREIGN KEY (trading_currency_id) REFERENCES public.billing_trading_currency(id); + + +-- +-- Name: account_entity fk_kysnihoom2p6tjxemg0rfquva; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.account_entity + ADD CONSTRAINT fk_kysnihoom2p6tjxemg0rfquva FOREIGN KEY (title_id) REFERENCES public.adm_title(id); + + +-- +-- Name: ar_ddrequest_lot fk_lot_req_builder_id; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.ar_ddrequest_lot + ADD CONSTRAINT fk_lot_req_builder_id FOREIGN KEY (ddrequest_builder_id) REFERENCES public.ar_ddrequest_builder(id); + + +-- +-- Name: billing_billing_account fk_luc75yfv40lypmgdljmbeu1l2; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_billing_account + ADD CONSTRAINT fk_luc75yfv40lypmgdljmbeu1l2 FOREIGN KEY (trading_language_id) REFERENCES public.billing_trading_language(id); + + +-- +-- Name: billing_invoice fk_m1k0p8afwiq28x9jfexqy8bvx; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_invoice + ADD CONSTRAINT fk_m1k0p8afwiq28x9jfexqy8bvx FOREIGN KEY (trading_currency_id) REFERENCES public.billing_trading_currency(id); + + +-- +-- Name: cat_offer_serv_templates fk_m4r0891967ixswyppuy3oh925; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_offer_serv_templates + ADD CONSTRAINT fk_m4r0891967ixswyppuy3oh925 FOREIGN KEY (service_template_id) REFERENCES public.cat_service_template(id); + + +-- +-- Name: crm_provider fk_m5u8n11dsbf2q9yy5vy5ehwmf; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.crm_provider + ADD CONSTRAINT fk_m5u8n11dsbf2q9yy5vy5ehwmf FOREIGN KEY (language_id) REFERENCES public.adm_language(id); + + +-- +-- Name: cat_serv_trm_wallet_template fk_mds23tfwffrfaiag61ujhh2mt; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_serv_trm_wallet_template + ADD CONSTRAINT fk_mds23tfwffrfaiag61ujhh2mt FOREIGN KEY (wallet_template_id) REFERENCES public.cat_wallet_template(id); + + +-- +-- Name: meveo_filter_condition fk_meveo_and_composite_filter_condition_and; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.meveo_filter_condition + ADD CONSTRAINT fk_meveo_and_composite_filter_condition_and FOREIGN KEY (composite_and_filter_condition_id) REFERENCES public.meveo_and_composite_filter_condition(id) ON UPDATE CASCADE ON DELETE CASCADE; + + +-- +-- Name: meveo_filter fk_meveo_filter_filter_condition; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.meveo_filter + ADD CONSTRAINT fk_meveo_filter_filter_condition FOREIGN KEY (filter_condition_id) REFERENCES public.meveo_filter_condition(id) ON UPDATE CASCADE ON DELETE CASCADE; + + +-- +-- Name: meveo_filter fk_meveo_filter_order_condition; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.meveo_filter + ADD CONSTRAINT fk_meveo_filter_order_condition FOREIGN KEY (order_condition_id) REFERENCES public.meveo_filter_order_condition(id) ON UPDATE CASCADE ON DELETE CASCADE; + + +-- +-- Name: meveo_filter_oc_field_names fk_meveo_filter_order_condition_field_names; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.meveo_filter_oc_field_names + ADD CONSTRAINT fk_meveo_filter_order_condition_field_names FOREIGN KEY (order_condition_id) REFERENCES public.meveo_filter_order_condition(id) ON UPDATE CASCADE ON DELETE CASCADE; + + +-- +-- Name: meveo_filter fk_meveo_filter_primary_selector; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.meveo_filter + ADD CONSTRAINT fk_meveo_filter_primary_selector FOREIGN KEY (primary_selector_id) REFERENCES public.meveo_filter_selector(id) ON UPDATE CASCADE ON DELETE CASCADE; + + +-- +-- Name: meveo_filter_selector fk_meveo_filter_secondary_selector; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.meveo_filter_selector + ADD CONSTRAINT fk_meveo_filter_secondary_selector FOREIGN KEY (filter_id) REFERENCES public.meveo_filter(id) ON UPDATE CASCADE ON DELETE CASCADE; + + +-- +-- Name: meveo_filter_selector_display_fields fk_meveo_filter_selector_display_fields; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.meveo_filter_selector_display_fields + ADD CONSTRAINT fk_meveo_filter_selector_display_fields FOREIGN KEY (filter_selector_id) REFERENCES public.meveo_filter_selector(id) ON UPDATE CASCADE ON DELETE CASCADE; + + +-- +-- Name: meveo_filter_selector_export_fields fk_meveo_filter_selector_export_fields; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.meveo_filter_selector_export_fields + ADD CONSTRAINT fk_meveo_filter_selector_export_fields FOREIGN KEY (filter_selector_id) REFERENCES public.meveo_filter_selector(id) ON UPDATE CASCADE ON DELETE CASCADE; + + +-- +-- Name: cat_triggered_edr fk_meveo_instance_id_com_meveo_instance; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_triggered_edr + ADD CONSTRAINT fk_meveo_instance_id_com_meveo_instance FOREIGN KEY (meveo_instance_id) REFERENCES public.com_meveo_instance(id); + + +-- +-- Name: meveo_module_item fk_meveo_module_item_meveo_module; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.meveo_module_item + ADD CONSTRAINT fk_meveo_module_item_meveo_module FOREIGN KEY (module_id) REFERENCES public.meveo_module(id); + + +-- +-- Name: meveo_module fk_meveo_module_script_instance; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.meveo_module + ADD CONSTRAINT fk_meveo_module_script_instance FOREIGN KEY (script_instance_id) REFERENCES public.meveo_script_instance(id); + + +-- +-- Name: meveo_filter_condition fk_meveo_or_composite_filter_condition_or; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.meveo_filter_condition + ADD CONSTRAINT fk_meveo_or_composite_filter_condition_or FOREIGN KEY (composite_or_filter_condition_id) REFERENCES public.meveo_or_composite_filter_condition(id) ON UPDATE CASCADE ON DELETE CASCADE; + + +-- +-- Name: meveo_script_instance fk_meveo_script_instance-category; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.meveo_script_instance + ADD CONSTRAINT "fk_meveo_script_instance-category" FOREIGN KEY (script_instance_cat_id) REFERENCES public.meveo_script_instance_cat(id); + + +-- +-- Name: crm_seller fk_mhpt572myu8mok6vrf6kbari2; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.crm_seller + ADD CONSTRAINT fk_mhpt572myu8mok6vrf6kbari2 FOREIGN KEY (trading_currency_id) REFERENCES public.billing_trading_currency(id); + + +-- +-- Name: adm_notif_email_user fk_mp4h7biod5wtjo1x3yp80q3um; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.adm_notif_email_user + ADD CONSTRAINT fk_mp4h7biod5wtjo1x3yp80q3um FOREIGN KEY (users_id) REFERENCES public.adm_user(id); + + +-- +-- Name: adm_notif_webhooks fk_n1n2i3ht998wlegdshme4gykm; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.adm_notif_webhooks + ADD CONSTRAINT fk_n1n2i3ht998wlegdshme4gykm FOREIGN KEY (id) REFERENCES public.adm_notification(id); + + +-- +-- Name: adm_script_notification fk_n1n2i3ht998wlegdshme8gyfd; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.adm_script_notification + ADD CONSTRAINT fk_n1n2i3ht998wlegdshme8gyfd FOREIGN KEY (id) REFERENCES public.adm_notification(id); + + +-- +-- Name: billing_invoice_cat_lang fk_n38yh52xgofxupiojjjp6w0ss; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_invoice_cat_lang + ADD CONSTRAINT fk_n38yh52xgofxupiojjjp6w0ss FOREIGN KEY (invoice_category_id) REFERENCES public.billing_invoice_cat(id); + + +-- +-- Name: billing_charge_instance fk_n5h6xvrtm2a2av5jik9vr0cp5; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_charge_instance + ADD CONSTRAINT fk_n5h6xvrtm2a2av5jik9vr0cp5 FOREIGN KEY (counter_id) REFERENCES public.billing_counter(id); + + +-- +-- Name: billing_billing_account fk_nhkxa8vr7ta6e0l7xg5j7injp; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_billing_account + ADD CONSTRAINT fk_nhkxa8vr7ta6e0l7xg5j7injp FOREIGN KEY (billing_run) REFERENCES public.billing_billing_run(id); + + +-- +-- Name: ar_dunning_lot fk_ni07ki1fjggoysarccglqdy7k; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.ar_dunning_lot + ADD CONSTRAINT fk_ni07ki1fjggoysarccglqdy7k FOREIGN KEY (dunning_history_id) REFERENCES public.bi_job_history(id); + + +-- +-- Name: adm_notification fk_notif_script_instance; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.adm_notification + ADD CONSTRAINT fk_notif_script_instance FOREIGN KEY (script_instance_id) REFERENCES public.meveo_script_instance(id); + + +-- +-- Name: adm_notif_email_attach fk_nsvkcha8gfihqji903fs5n516; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.adm_notif_email_attach + ADD CONSTRAINT fk_nsvkcha8gfihqji903fs5n516 FOREIGN KEY (emailnotification_id) REFERENCES public.adm_notif_email(id); + + +-- +-- Name: billing_rated_transaction fk_o2mp1mqcyi2l7q2b1p88h20dw; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE public.billing_rated_transaction + ADD CONSTRAINT fk_o2mp1mqcyi2l7q2b1p88h20dw FOREIGN KEY (billing_run_id) REFERENCES public.billing_billing_run(id); + + +-- +-- Name: billing_rated_transaction fk_o5yu3c0bnac626w755w5f0voc; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE public.billing_rated_transaction + ADD CONSTRAINT fk_o5yu3c0bnac626w755w5f0voc FOREIGN KEY (invoice_sub_category_id) REFERENCES public.billing_invoice_sub_cat(id); + + +-- +-- Name: billing_invoice_cat fk_occ_cat_inv; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_invoice_cat + ADD CONSTRAINT fk_occ_cat_inv FOREIGN KEY (occ_template_id) REFERENCES public.ar_occ_template(id); + + +-- +-- Name: billing_invoice_cat fk_occ_neg_cat_inv; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_invoice_cat + ADD CONSTRAINT fk_occ_neg_cat_inv FOREIGN KEY (occ_templ_negative_id) REFERENCES public.ar_occ_template(id); + + +-- +-- Name: billing_invoice_sub_cat fk_occ_neg_sub_cat_inv; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_invoice_sub_cat + ADD CONSTRAINT fk_occ_neg_sub_cat_inv FOREIGN KEY (occ_templ_negative_id) REFERENCES public.ar_occ_template(id); + + +-- +-- Name: billing_invoice_sub_cat fk_occ_sub_cat_inv; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_invoice_sub_cat + ADD CONSTRAINT fk_occ_sub_cat_inv FOREIGN KEY (occ_template_id) REFERENCES public.ar_occ_template(id); + + +-- +-- Name: billing_invoice_type fk_occ_templ_negative_id_billing_invoice_type; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_invoice_type + ADD CONSTRAINT fk_occ_templ_negative_id_billing_invoice_type FOREIGN KEY (occ_templ_negative_id) REFERENCES public.ar_occ_template(id); + + +-- +-- Name: billing_invoice_type fk_occ_template_id_billing_invoice_type; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_invoice_type + ADD CONSTRAINT fk_occ_template_id_billing_invoice_type FOREIGN KEY (occ_template_id) REFERENCES public.ar_occ_template(id); + + +-- +-- Name: cat_offer_template fk_off_tpl_prodcal; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_offer_template + ADD CONSTRAINT fk_off_tpl_prodcal FOREIGN KEY (invoicing_calendar_id) REFERENCES public.cat_calendar(id); + + +-- +-- Name: cat_offer_template_category fk_offer_cat_template_offer_cat_template; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_offer_template_category + ADD CONSTRAINT fk_offer_cat_template_offer_cat_template FOREIGN KEY (offer_template_category_id) REFERENCES public.cat_offer_template_category(id); + + +-- +-- Name: cat_offer_template fk_offer_script; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_offer_template + ADD CONSTRAINT fk_offer_script FOREIGN KEY (script_instance_id) REFERENCES public.meveo_script_instance(id); + + +-- +-- Name: billing_invoice_agregate fk_oj0fk2nkpqevu9warau9u2m; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_invoice_agregate + ADD CONSTRAINT fk_oj0fk2nkpqevu9warau9u2m FOREIGN KEY (wallet_id) REFERENCES public.billing_wallet(id); + + +-- +-- Name: ar_ddrequest_lot_op fk_op_ddreq_builder_id; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.ar_ddrequest_lot_op + ADD CONSTRAINT fk_op_ddreq_builder_id FOREIGN KEY (ddrequest_builder_id) REFERENCES public.ar_ddrequest_builder(id); + + +-- +-- Name: ar_ddrequest_lot_op fk_op_ddreq_filter_id; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.ar_ddrequest_lot_op + ADD CONSTRAINT fk_op_ddreq_filter_id FOREIGN KEY (filter_id) REFERENCES public.meveo_filter(id); + + +-- +-- Name: ord_item_offerings fk_ord_item_offerings_order; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.ord_item_offerings + ADD CONSTRAINT fk_ord_item_offerings_order FOREIGN KEY (order_item_id) REFERENCES public.ord_order_item(id); + + +-- +-- Name: ord_item_offerings fk_ord_item_offerings_prd_offering; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.ord_item_offerings + ADD CONSTRAINT fk_ord_item_offerings_prd_offering FOREIGN KEY (prd_offering_id) REFERENCES public.cat_offer_template(id); + + +-- +-- Name: ord_item_prd_instance fk_ord_item_prd_instance_order; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.ord_item_prd_instance + ADD CONSTRAINT fk_ord_item_prd_instance_order FOREIGN KEY (order_item_id) REFERENCES public.ord_order_item(id); + + +-- +-- Name: ord_item_prd_instance fk_ord_item_prd_instance_prd_instance; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.ord_item_prd_instance + ADD CONSTRAINT fk_ord_item_prd_instance_prd_instance FOREIGN KEY (prd_instance_id) REFERENCES public.billing_product_instance(id); + + +-- +-- Name: ord_order_item fk_ord_order_item_ord_order; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.ord_order_item + ADD CONSTRAINT fk_ord_order_item_ord_order FOREIGN KEY (order_id) REFERENCES public.ord_order(id); + + +-- +-- Name: ord_order_item fk_ord_order_item_subscription; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.ord_order_item + ADD CONSTRAINT fk_ord_order_item_subscription FOREIGN KEY (subscription_id) REFERENCES public.billing_subscription(id); + + +-- +-- Name: ord_order_item fk_ord_order_item_user_account; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.ord_order_item + ADD CONSTRAINT fk_ord_order_item_user_account FOREIGN KEY (user_account_id) REFERENCES public.billing_user_account(id); + + +-- +-- Name: ord_quot_item_offerings fk_ord_quote_item_offerings_order; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.ord_quot_item_offerings + ADD CONSTRAINT fk_ord_quote_item_offerings_order FOREIGN KEY (quote_item_id) REFERENCES public.ord_quote_item(id); + + +-- +-- Name: ord_quot_item_offerings fk_ord_quote_item_offerings_prd_offering; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.ord_quot_item_offerings + ADD CONSTRAINT fk_ord_quote_item_offerings_prd_offering FOREIGN KEY (prd_offering_id) REFERENCES public.cat_offer_template(id); + + +-- +-- Name: ord_quote_item fk_ord_quote_item_ord_order; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.ord_quote_item + ADD CONSTRAINT fk_ord_quote_item_ord_order FOREIGN KEY (quote_id) REFERENCES public.ord_quote(id); + + +-- +-- Name: ord_quote_item fk_ord_quote_item_user_account; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.ord_quote_item + ADD CONSTRAINT fk_ord_quote_item_user_account FOREIGN KEY (user_account_id) REFERENCES public.billing_user_account(id); + + +-- +-- Name: ord_quote fk_ord_quote_rt_usergrp; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.ord_quote + ADD CONSTRAINT fk_ord_quote_rt_usergrp FOREIGN KEY (routed_to_user_group_id) REFERENCES public.hierarchy_entity(id); + + +-- +-- Name: ord_quote fk_ord_quote_user_account; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.ord_quote + ADD CONSTRAINT fk_ord_quote_user_account FOREIGN KEY (user_account_id) REFERENCES public.billing_user_account(id); + + +-- +-- Name: ord_order_history fk_order_history_billing_service_instance; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.ord_order_history + ADD CONSTRAINT fk_order_history_billing_service_instance FOREIGN KEY (service_instance_id) REFERENCES public.billing_service_instance(id); + + +-- +-- Name: ord_order_history fk_order_history_order_item; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.ord_order_history + ADD CONSTRAINT fk_order_history_order_item FOREIGN KEY (order_item_id) REFERENCES public.ord_order_item(id); + + +-- +-- Name: billing_invoices_orders fk_order_id_bill_invoices-orders; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_invoices_orders + ADD CONSTRAINT "fk_order_id_bill_invoices-orders" FOREIGN KEY (order_id) REFERENCES public.ord_order(id); + + +-- +-- Name: ord_order fk_order_payment_method; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.ord_order + ADD CONSTRAINT fk_order_payment_method FOREIGN KEY (payment_method_id) REFERENCES public.ar_payment_token(id); + + +-- +-- Name: ord_order fk_order_quote; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.ord_order + ADD CONSTRAINT fk_order_quote FOREIGN KEY (quote_id) REFERENCES public.ord_quote(id); + + +-- +-- Name: ord_order fk_ordr_email_template; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.ord_order + ADD CONSTRAINT fk_ordr_email_template FOREIGN KEY (email_template_id) REFERENCES public.com_message_template(id); + + +-- +-- Name: cat_offer_template fk_ot_init_active; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_offer_template + ADD CONSTRAINT fk_ot_init_active FOREIGN KEY (calendar_init_active_id) REFERENCES public.cat_calendar(id); + + +-- +-- Name: cat_offer_template fk_ot_minimum_charge_template_id; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_offer_template + ADD CONSTRAINT fk_ot_minimum_charge_template_id FOREIGN KEY (minimum_charge_template_id) REFERENCES public.cat_charge_template(id); + + +-- +-- Name: cat_offer_template fk_ot_renew_for; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_offer_template + ADD CONSTRAINT fk_ot_renew_for FOREIGN KEY (calendar_renew_for_id) REFERENCES public.cat_calendar(id); + + +-- +-- Name: cat_serv_usage_charge_template fk_oxrjl1e7g6y1ehtpbse9cl1bi; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_serv_usage_charge_template + ADD CONSTRAINT fk_oxrjl1e7g6y1ehtpbse9cl1bi FOREIGN KEY (service_template_id) REFERENCES public.cat_service_template(id); + + +-- +-- Name: billing_invoice_agregate fk_p3lcj2g3sjry0355gqki3crfo; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_invoice_agregate + ADD CONSTRAINT fk_p3lcj2g3sjry0355gqki3crfo FOREIGN KEY (invoicesubcategory) REFERENCES public.billing_invoice_sub_cat(id); + + +-- +-- Name: adm_notif_job_params fk_params_job_trigger; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.adm_notif_job_params + ADD CONSTRAINT fk_params_job_trigger FOREIGN KEY (jobtrigger_id) REFERENCES public.adm_notif_job(id); + + +-- +-- Name: adm_notification_params fk_params_notification; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.adm_notification_params + ADD CONSTRAINT fk_params_notification FOREIGN KEY (notification_id) REFERENCES public.adm_notification(id); + + +-- +-- Name: ar_account_operation fk_pay_schdl_inst_item_id; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.ar_account_operation + ADD CONSTRAINT fk_pay_schdl_inst_item_id FOREIGN KEY (pay_schdl_inst_item_id) REFERENCES public.ar_payment_schedule_inst_item(id); + + +-- +-- Name: ar_payment_gateway fk_paygw_country; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.ar_payment_gateway + ADD CONSTRAINT fk_paygw_country FOREIGN KEY (country_id) REFERENCES public.adm_country(id); + + +-- +-- Name: ar_payment_gateway fk_paygw_script_instance; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.ar_payment_gateway + ADD CONSTRAINT fk_paygw_script_instance FOREIGN KEY (script_instance_id) REFERENCES public.meveo_script_instance(id); + + +-- +-- Name: ar_payment_gateway fk_paygw_trad_currency; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.ar_payment_gateway + ADD CONSTRAINT fk_paygw_trad_currency FOREIGN KEY (trading_currency_id) REFERENCES public.billing_trading_currency(id); + + +-- +-- Name: ar_payment_history fk_payhisto_ao_pay; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.ar_payment_history + ADD CONSTRAINT fk_payhisto_ao_pay FOREIGN KEY (payment_id) REFERENCES public.ar_account_operation(id); + + +-- +-- Name: ar_payment_history fk_payhisto_ao_refund; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.ar_payment_history + ADD CONSTRAINT fk_payhisto_ao_refund FOREIGN KEY (refund_id) REFERENCES public.ar_account_operation(id); + + +-- +-- Name: ar_payment_schedule_inst fk_payment_schedule_tmpl_id; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.ar_payment_schedule_inst + ADD CONSTRAINT fk_payment_schedule_tmpl_id FOREIGN KEY (payment_schedule_tmpl_id) REFERENCES public.ar_payment_schedule_tmpl(id); + + +-- +-- Name: billing_charge_instance fk_pgo533tdbe0f5aq3rqv6oaouv; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_charge_instance + ADD CONSTRAINT fk_pgo533tdbe0f5aq3rqv6oaouv FOREIGN KEY (trading_country) REFERENCES public.billing_trading_country(id); + + +-- +-- Name: cat_product_offer_seller fk_pos_product; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_product_offer_seller + ADD CONSTRAINT fk_pos_product FOREIGN KEY (product_id) REFERENCES public.cat_offer_template(id); + + +-- +-- Name: cat_product_offer_seller fk_pos_seller; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_product_offer_seller + ADD CONSTRAINT fk_pos_seller FOREIGN KEY (seller_id) REFERENCES public.crm_seller(id); + + +-- +-- Name: cat_price_plan_matrix fk_pp_script; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_price_plan_matrix + ADD CONSTRAINT fk_pp_script FOREIGN KEY (script_instance_id) REFERENCES public.meveo_script_instance(id); + + +-- +-- Name: cat_product_templ_charge_templ fk_prd_templ_ct_pct_id; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_product_templ_charge_templ + ADD CONSTRAINT fk_prd_templ_ct_pct_id FOREIGN KEY (product_charge_template_id) REFERENCES public.cat_charge_template(id); + + +-- +-- Name: cat_product_templ_charge_templ fk_prd_templ_ct_pt_id; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_product_templ_charge_templ + ADD CONSTRAINT fk_prd_templ_ct_pt_id FOREIGN KEY (product_template_id) REFERENCES public.cat_offer_template(id); + + +-- +-- Name: billing_product_instance fk_prod_instance_ua; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_product_instance + ADD CONSTRAINT fk_prod_instance_ua FOREIGN KEY (user_account_id) REFERENCES public.billing_user_account(id); + + +-- +-- Name: billing_product_instance fk_productci_off_tpl; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_product_instance + ADD CONSTRAINT fk_productci_off_tpl FOREIGN KEY (product_template_id) REFERENCES public.cat_offer_template(id); + + +-- +-- Name: billing_charge_instance fk_productci_prodins; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_charge_instance + ADD CONSTRAINT fk_productci_prodins FOREIGN KEY (product_instance_id) REFERENCES public.billing_product_instance(id); + + +-- +-- Name: crm_provider fk_provider_gdpr_config; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.crm_provider + ADD CONSTRAINT fk_provider_gdpr_config FOREIGN KEY (gdpr_config_id) REFERENCES public.adm_gdpr_configuration(id); + + +-- +-- Name: crm_provider fk_provider_invoice_config; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.crm_provider + ADD CONSTRAINT fk_provider_invoice_config FOREIGN KEY (invoice_config_id) REFERENCES public.billing_invoice_configuration(id); + + +-- +-- Name: ar_payment_schedule_tmpl fk_ps_calendar; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.ar_payment_schedule_tmpl + ADD CONSTRAINT fk_ps_calendar FOREIGN KEY (calendar_id) REFERENCES public.cat_calendar(id); + + +-- +-- Name: ar_payment_schedule_tmpl fk_ps_invoice_type; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.ar_payment_schedule_tmpl + ADD CONSTRAINT fk_ps_invoice_type FOREIGN KEY (adv_pay_inv_type_id) REFERENCES public.billing_invoice_type(id); + + +-- +-- Name: ar_payment_schedule_inst_item fk_ps_item_ps_innst; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.ar_payment_schedule_inst_item + ADD CONSTRAINT fk_ps_item_ps_innst FOREIGN KEY (payment_schedule_inst_id) REFERENCES public.ar_payment_schedule_inst(id); + + +-- +-- Name: ar_payment_schedule_tmpl fk_ps_script_instance; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.ar_payment_schedule_tmpl + ADD CONSTRAINT fk_ps_script_instance FOREIGN KEY (script_instance_id) REFERENCES public.meveo_script_instance(id); + + +-- +-- Name: ar_payment_schedule_tmpl fk_ps_service_template; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.ar_payment_schedule_tmpl + ADD CONSTRAINT fk_ps_service_template FOREIGN KEY (service_template_id) REFERENCES public.cat_service_template(id); + + +-- +-- Name: ar_payment_schedule_tmpl fk_ps_usage_charge; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.ar_payment_schedule_tmpl + ADD CONSTRAINT fk_ps_usage_charge FOREIGN KEY (adv_pay_sub_cat_id) REFERENCES public.billing_invoice_sub_cat(id); + + +-- +-- Name: billing_user_account fk_pvrmaqdyj4v7c2i5qa7cldvp6; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_user_account + ADD CONSTRAINT fk_pvrmaqdyj4v7c2i5qa7cldvp6 FOREIGN KEY (termin_reason_id) REFERENCES public.billing_subscrip_termin_reason(id); + + +-- +-- Name: billing_billing_run fk_pwbkc74fonnsw237agcx8q4yh; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_billing_run + ADD CONSTRAINT fk_pwbkc74fonnsw237agcx8q4yh FOREIGN KEY (pr_currency_id) REFERENCES public.adm_currency(id); + + +-- +-- Name: billing_user_account fk_q0dpia4wwv4l8x31b4ovxx7ce; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_user_account + ADD CONSTRAINT fk_q0dpia4wwv4l8x31b4ovxx7ce FOREIGN KEY (billing_account_id) REFERENCES public.billing_billing_account(id); + + +-- +-- Name: crm_provider fk_q2j1979epl7edcd9uogum5f7w; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.crm_provider + ADD CONSTRAINT fk_q2j1979epl7edcd9uogum5f7w FOREIGN KEY (country_id) REFERENCES public.adm_country(id); + + +-- +-- Name: report_emails fk_q4qvf0tlci0disibhrkhm1j3y; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.report_emails + ADD CONSTRAINT fk_q4qvf0tlci0disibhrkhm1j3y FOREIGN KEY (email_id) REFERENCES public.crm_email(id); + + +-- +-- Name: billing_subscription fk_q6d91d7b6bc2ypdbx4tjbr0ac; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_subscription + ADD CONSTRAINT fk_q6d91d7b6bc2ypdbx4tjbr0ac FOREIGN KEY (sub_termin_reason_id) REFERENCES public.billing_subscrip_termin_reason(id); + + +-- +-- Name: cat_price_plan_matrix fk_qfuhf684i6lsatohaxe9m2f61; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_price_plan_matrix + ADD CONSTRAINT fk_qfuhf684i6lsatohaxe9m2f61 FOREIGN KEY (offer_id) REFERENCES public.cat_offer_template(id); + + +-- +-- Name: adm_user_role fk_qm8p95secwfawo60ydmfexipj; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.adm_user_role + ADD CONSTRAINT fk_qm8p95secwfawo60ydmfexipj FOREIGN KEY (role_id) REFERENCES public.adm_role(id); + + +-- +-- Name: crm_provider fk_qnko98glwxl0fa47s3a2c13ib; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.crm_provider + ADD CONSTRAINT fk_qnko98glwxl0fa47s3a2c13ib FOREIGN KEY (customer_id) REFERENCES public.crm_customer(id); + + +-- +-- Name: com_contact_com_message fk_qt1luy1u282dcl8c3s8ct9erj; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.com_contact_com_message + ADD CONSTRAINT fk_qt1luy1u282dcl8c3s8ct9erj FOREIGN KEY (com_contact_id) REFERENCES public.com_contact(id); + + +-- +-- Name: billing_charge_instance fk_qy24ot93d7lan8ghf0gek7wfb; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_charge_instance + ADD CONSTRAINT fk_qy24ot93d7lan8ghf0gek7wfb FOREIGN KEY (trading_currency) REFERENCES public.billing_trading_currency(id); + + +-- +-- Name: dwh_measured_value fk_r84wig2o1808ybsy4jm0158aj; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.dwh_measured_value + ADD CONSTRAINT fk_r84wig2o1808ybsy4jm0158aj FOREIGN KEY (measurable_quantity) REFERENCES public.dwh_measurable_quant(id); + + +-- +-- Name: billing_cycle fk_r9kcmcn6nyrdvg5t81oowjf3q; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_cycle + ADD CONSTRAINT fk_r9kcmcn6nyrdvg5t81oowjf3q FOREIGN KEY (calendar) REFERENCES public.cat_calendar(id); + + +-- +-- Name: billing_rated_transaction fk_rating_billing_rated_transaction_cat_unit_of_measure; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE public.billing_rated_transaction + ADD CONSTRAINT fk_rating_billing_rated_transaction_cat_unit_of_measure FOREIGN KEY (rating_unitofmeasure) REFERENCES public.cat_unit_of_measure(id); + + +-- +-- Name: billing_wallet_operation fk_rating_billing_wallet_operation_cat_unit_of_measure; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE public.billing_wallet_operation + ADD CONSTRAINT fk_rating_billing_wallet_operation_cat_unit_of_measure FOREIGN KEY (rating_unitofmeasure) REFERENCES public.cat_unit_of_measure(id); + + +-- +-- Name: cat_charge_template fk_rating_cat_charge_template_cat_unit_of_measure; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_charge_template + ADD CONSTRAINT fk_rating_cat_charge_template_cat_unit_of_measure FOREIGN KEY (rating_unitofmeasure) REFERENCES public.cat_unit_of_measure(id); + + +-- +-- Name: com_msg_var_value fk_rebglohh2k5d8etwlemsy42ey; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.com_msg_var_value + ADD CONSTRAINT fk_rebglohh2k5d8etwlemsy42ey FOREIGN KEY (message) REFERENCES public.com_message(id); + + +-- +-- Name: dwh_report_extract fk_report_extract_script_instance; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.dwh_report_extract + ADD CONSTRAINT fk_report_extract_script_instance FOREIGN KEY (script_instance_id) REFERENCES public.meveo_script_instance(id); + + +-- +-- Name: bi_report_emails fk_rfbvc0x1132dpv5vumm8lp76f; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.bi_report_emails + ADD CONSTRAINT fk_rfbvc0x1132dpv5vumm8lp76f FOREIGN KEY (report_id) REFERENCES public.bi_report(id); + + +-- +-- Name: cat_serv_trm_charge_template fk_rfluuqo2xx0vxu0410qtcls6m; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_serv_trm_charge_template + ADD CONSTRAINT fk_rfluuqo2xx0vxu0410qtcls6m FOREIGN KEY (service_template_id) REFERENCES public.cat_service_template(id); + + +-- +-- Name: billing_rated_transaction fk_rjpm9k6xsumg297fxefffyryh; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE public.billing_rated_transaction + ADD CONSTRAINT fk_rjpm9k6xsumg297fxefffyryh FOREIGN KEY (aggregate_id_f) REFERENCES public.billing_invoice_agregate(id); + + +-- +-- Name: billing_chrginst_wallet fk_rmhpvs7y2f70xbo4v94cg0lmy; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_chrginst_wallet + ADD CONSTRAINT fk_rmhpvs7y2f70xbo4v94cg0lmy FOREIGN KEY (wallet_instance_id) REFERENCES public.billing_wallet(id); + + +-- +-- Name: adm_notif_history fk_ro7f48utjcqduq62a0h9veyse; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.adm_notif_history + ADD CONSTRAINT fk_ro7f48utjcqduq62a0h9veyse FOREIGN KEY (notification_id) REFERENCES public.adm_notification(id); + + +-- +-- Name: billing_wallet_operation fk_rt_charge; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE public.billing_wallet_operation + ADD CONSTRAINT fk_rt_charge FOREIGN KEY (charge_instance_id) REFERENCES public.billing_charge_instance(id); + + +-- +-- Name: billing_rated_transaction fk_rt_service_instance; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE public.billing_rated_transaction + ADD CONSTRAINT fk_rt_service_instance FOREIGN KEY (service_instance_id) REFERENCES public.billing_service_instance(id); + + +-- +-- Name: billing_rated_transaction fk_rt_tax; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE public.billing_rated_transaction + ADD CONSTRAINT fk_rt_tax FOREIGN KEY (tax_id) REFERENCES public.billing_tax(id); + + +-- +-- Name: billing_rated_transaction fk_rt_ua; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE public.billing_rated_transaction + ADD CONSTRAINT fk_rt_ua FOREIGN KEY (user_account_id) REFERENCES public.account_entity(id); + + +-- +-- Name: adm_country fk_rwj0gv80o7o8ufd4fgsweafcp; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.adm_country + ADD CONSTRAINT fk_rwj0gv80o7o8ufd4fgsweafcp FOREIGN KEY (language_id) REFERENCES public.adm_language(id); + + +-- +-- Name: cat_calendar_days fk_rwouj86saa1b0ox91xjgs05ea; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_calendar_days + ADD CONSTRAINT fk_rwouj86saa1b0ox91xjgs05ea FOREIGN KEY (calendar_id) REFERENCES public.cat_calendar(id); + + +-- +-- Name: crm_customer fk_rylbq2w5ij2o2lbubhv99m4ox; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.crm_customer + ADD CONSTRAINT fk_rylbq2w5ij2o2lbubhv99m4ox FOREIGN KEY (id) REFERENCES public.account_entity(id); + + +-- +-- Name: adm_role_permission fk_s1wxui3m4sv9x5mbyi8gp77hu; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.adm_role_permission + ADD CONSTRAINT fk_s1wxui3m4sv9x5mbyi8gp77hu FOREIGN KEY (role_id) REFERENCES public.adm_role(id); + + +-- +-- Name: adm_file_format_file_type fk_s1wxui3m4sv9x5mbyi8gpbari77hu; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.adm_file_format_file_type + ADD CONSTRAINT fk_s1wxui3m4sv9x5mbyi8gpbari77hu FOREIGN KEY (file_type_id) REFERENCES public.adm_file_type(id); + + +-- +-- Name: adm_script_exec_role fk_sc_exc_role_role; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.adm_script_exec_role + ADD CONSTRAINT fk_sc_exc_role_role FOREIGN KEY (role_id) REFERENCES public.adm_role(id); + + +-- +-- Name: adm_script_exec_role fk_sc_exc_role_sc; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.adm_script_exec_role + ADD CONSTRAINT fk_sc_exc_role_sc FOREIGN KEY (script_instance_id) REFERENCES public.meveo_script_instance(id); + + +-- +-- Name: adm_script_sourc_role fk_sc_src_role_role; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.adm_script_sourc_role + ADD CONSTRAINT fk_sc_src_role_role FOREIGN KEY (role_id) REFERENCES public.adm_role(id); + + +-- +-- Name: adm_script_sourc_role fk_sc_src_role_sc; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.adm_script_sourc_role + ADD CONSTRAINT fk_sc_src_role_sc FOREIGN KEY (script_instance_id) REFERENCES public.meveo_script_instance(id); + + +-- +-- Name: ar_account_operation fk_sell_id_ao; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.ar_account_operation + ADD CONSTRAINT fk_sell_id_ao FOREIGN KEY (seller_id) REFERENCES public.crm_seller(id); + + +-- +-- Name: ar_ddrequest_lot fk_sell_id_dd_lot; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.ar_ddrequest_lot + ADD CONSTRAINT fk_sell_id_dd_lot FOREIGN KEY (seller_id) REFERENCES public.crm_seller(id); + + +-- +-- Name: ar_payment_gateway fk_sell_id_pg; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.ar_payment_gateway + ADD CONSTRAINT fk_sell_id_pg FOREIGN KEY (seller_id) REFERENCES public.crm_seller(id); + + +-- +-- Name: cat_serv_rec_charge_template fk_serv_rec_charge_template_counter_template; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_serv_rec_charge_template + ADD CONSTRAINT fk_serv_rec_charge_template_counter_template FOREIGN KEY (counter_template_id) REFERENCES public.cat_counter_template(id); + + +-- +-- Name: cat_serv_sub_charge_template fk_serv_sub_charge_template_counter_template; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_serv_sub_charge_template + ADD CONSTRAINT fk_serv_sub_charge_template_counter_template FOREIGN KEY (counter_template_id) REFERENCES public.cat_counter_template(id); + + +-- +-- Name: cat_serv_trm_charge_template fk_serv_trm_charge_template_counter_template; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_serv_trm_charge_template + ADD CONSTRAINT fk_serv_trm_charge_template_counter_template FOREIGN KEY (counter_template_id) REFERENCES public.cat_counter_template(id); + + +-- +-- Name: ar_payment_schedule_inst fk_service_instance_id; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.ar_payment_schedule_inst + ADD CONSTRAINT fk_service_instance_id FOREIGN KEY (service_instance_id) REFERENCES public.billing_service_instance(id); + + +-- +-- Name: billing_service_instance fk_si_auto_tr_id; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_service_instance + ADD CONSTRAINT fk_si_auto_tr_id FOREIGN KEY (auto_termin_reason_id) REFERENCES public.billing_subscrip_termin_reason(id); + + +-- +-- Name: billing_service_instance fk_si_init_active; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_service_instance + ADD CONSTRAINT fk_si_init_active FOREIGN KEY (calendar_init_active_id) REFERENCES public.cat_calendar(id); + + +-- +-- Name: billing_service_instance fk_si_minimum_charge_template_id; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_service_instance + ADD CONSTRAINT fk_si_minimum_charge_template_id FOREIGN KEY (minimum_charge_template_id) REFERENCES public.cat_charge_template(id); + + +-- +-- Name: billing_service_instance fk_si_renew_for; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_service_instance + ADD CONSTRAINT fk_si_renew_for FOREIGN KEY (calendar_renew_for_id) REFERENCES public.cat_calendar(id); + + +-- +-- Name: ar_customer_account fk_sj9gf0r8v1hjihl7qosbtnfdp; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.ar_customer_account + ADD CONSTRAINT fk_sj9gf0r8v1hjihl7qosbtnfdp FOREIGN KEY (trading_currency_id) REFERENCES public.billing_trading_currency(id); + + +-- +-- Name: cat_service_template fk_st_auto_tr_id; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_service_template + ADD CONSTRAINT fk_st_auto_tr_id FOREIGN KEY (auto_termin_reason_id) REFERENCES public.billing_subscrip_termin_reason(id); + + +-- +-- Name: cat_service_template fk_st_init_active; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_service_template + ADD CONSTRAINT fk_st_init_active FOREIGN KEY (calendar_init_active_id) REFERENCES public.cat_calendar(id); + + +-- +-- Name: cat_service_template fk_st_minimum_charge_template_id; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_service_template + ADD CONSTRAINT fk_st_minimum_charge_template_id FOREIGN KEY (minimum_charge_template_id) REFERENCES public.cat_charge_template(id); + + +-- +-- Name: cat_service_template fk_st_renew_for; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_service_template + ADD CONSTRAINT fk_st_renew_for FOREIGN KEY (calendar_renew_for_id) REFERENCES public.cat_calendar(id); + + +-- +-- Name: wf_status fk_status_generic_wf; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.wf_status + ADD CONSTRAINT fk_status_generic_wf FOREIGN KEY (generic_wf_id) REFERENCES public.wf_generic_workflow(id) ON UPDATE CASCADE ON DELETE CASCADE; + + +-- +-- Name: billing_tax_language fk_stn0ce8rlgqun9j1acm9nx8tk; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_tax_language + ADD CONSTRAINT fk_stn0ce8rlgqun9j1acm9nx8tk FOREIGN KEY (tax_id) REFERENCES public.billing_tax(id); + + +-- +-- Name: billing_subscription fk_su_minimum_charge_template_id; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_subscription + ADD CONSTRAINT fk_su_minimum_charge_template_id FOREIGN KEY (minimum_charge_template_id) REFERENCES public.cat_charge_template(id); + + +-- +-- Name: billing_subscription fk_sub_auto_tr_id; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_subscription + ADD CONSTRAINT fk_sub_auto_tr_id FOREIGN KEY (auto_termin_reason_id) REFERENCES public.billing_subscrip_termin_reason(id); + + +-- +-- Name: billing_subscription fk_sub_email_template; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_subscription + ADD CONSTRAINT fk_sub_email_template FOREIGN KEY (email_template_id) REFERENCES public.com_message_template(id); + + +-- +-- Name: billing_discplan_inst fk_syr7kuj91e9nvtj725becu8sr; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_discplan_inst + ADD CONSTRAINT fk_syr7kuj91e9nvtj725becu8sr FOREIGN KEY (billing_account_id) REFERENCES public.billing_billing_account(id); + + +-- +-- Name: billing_wallet_operation fk_t98kqb1prnfw6scvudimx1u0q; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE public.billing_wallet_operation + ADD CONSTRAINT fk_t98kqb1prnfw6scvudimx1u0q FOREIGN KEY (currency_id) REFERENCES public.adm_currency(id); + + +-- +-- Name: billing_invoice_sub_cat fk_thcocka474paj6d2ql8nnsvu1; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_invoice_sub_cat + ADD CONSTRAINT fk_thcocka474paj6d2ql8nnsvu1 FOREIGN KEY (invoice_category_id) REFERENCES public.billing_invoice_cat(id); + + +-- +-- Name: cat_serv_usage_wallet_template fk_tiptj63pxitxaivwa5pc9m6gm; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_serv_usage_wallet_template + ADD CONSTRAINT fk_tiptj63pxitxaivwa5pc9m6gm FOREIGN KEY (service_usage_templt_id) REFERENCES public.cat_serv_usage_charge_template(id); + + +-- +-- Name: cat_calendar fk_tl28syslj879hbfvlau8n4gym; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.cat_calendar + ADD CONSTRAINT fk_tl28syslj879hbfvlau8n4gym FOREIGN KEY (join_cal_1_id) REFERENCES public.cat_calendar(id); + + +-- +-- Name: billing_trading_currency fk_tmo8nfjd2matrvhtdgw1fp7m2; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_trading_currency + ADD CONSTRAINT fk_tmo8nfjd2matrvhtdgw1fp7m2 FOREIGN KEY (currency_id) REFERENCES public.adm_currency(id); + + +-- +-- Name: wf_generic_transition fk_transition_generic_wf; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.wf_generic_transition + ADD CONSTRAINT fk_transition_generic_wf FOREIGN KEY (generic_wf_id) REFERENCES public.wf_generic_workflow(id) ON UPDATE CASCADE ON DELETE CASCADE; + + +-- +-- Name: wf_transition_decision_rule fk_transition_id_wf_transition; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.wf_transition_decision_rule + ADD CONSTRAINT fk_transition_id_wf_transition FOREIGN KEY (transition_id) REFERENCES public.wf_transition(id); + + +-- +-- Name: com_meveo_instance fk_userid; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.com_meveo_instance + ADD CONSTRAINT fk_userid FOREIGN KEY (user_id) REFERENCES public.adm_user(id); + + +-- +-- Name: billing_wallet_operation fk_wallet_operation_service_instance; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE public.billing_wallet_operation + ADD CONSTRAINT fk_wallet_operation_service_instance FOREIGN KEY (service_instance_id) REFERENCES public.billing_service_instance(id); + + +-- +-- Name: wf_generic_transition fk_wf_action_script; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.wf_generic_transition + ADD CONSTRAINT fk_wf_action_script FOREIGN KEY (action_script_id) REFERENCES public.meveo_script_instance(id); + + +-- +-- Name: ar_matching_amount fk_wnbeqoiv9cho17331pob3t8j; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.ar_matching_amount + ADD CONSTRAINT fk_wnbeqoiv9cho17331pob3t8j FOREIGN KEY (matching_code_id) REFERENCES public.ar_matching_code(id); + + +-- +-- Name: billing_wallet_operation fk_wo_tax; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE public.billing_wallet_operation + ADD CONSTRAINT fk_wo_tax FOREIGN KEY (tax_id) REFERENCES public.billing_tax(id); + + +-- +-- Name: wf_history_action fk_workflow_history_wf_history_action_wf_history; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.wf_history_action + ADD CONSTRAINT fk_workflow_history_wf_history_action_wf_history FOREIGN KEY (wf_history_id) REFERENCES public.wf_history(id); + + +-- +-- Name: wf_history fk_workflow_wf_history_wf_workflow; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.wf_history + ADD CONSTRAINT fk_workflow_wf_history_wf_workflow FOREIGN KEY (workflow_id) REFERENCES public.wf_workflow(id); + + +-- +-- Name: billing_invoice_agregate fkc92fa77a520f2e17; Type: FK CONSTRAINT; Schema: public; Owner: dev_postgres +-- + +ALTER TABLE ONLY public.billing_invoice_agregate + ADD CONSTRAINT fkc92fa77a520f2e17 FOREIGN KEY (sub_cat_invoice_agregate_id) REFERENCES public.billing_invoice_agregate(id); + + +-- +-- PostgreSQL database dump complete +-- + diff --git a/bk/init/init-slave.sh b/bk/init/init-slave.sh new file mode 100644 index 0000000..77c38cd --- /dev/null +++ b/bk/init/init-slave.sh @@ -0,0 +1,46 @@ +#!/bin/bash +set -e +export POSTGRES_USER="qa_postgres" +export POSTGRES_PASSWORD="xM9A4!exJbQNhqJ" +export POSTGRES_DB="qa_simfony_billing" +export MASTER_PASSWORD="pP5UUJM0mj5b7rZMU5C6" + +# Ensure the data directory exists +mkdir -p /var/lib/postgresql/data/pgdata + +# Ensure proper ownership +chown -R postgres:postgres /var/lib/postgresql/data +chmod 750 /var/lib/postgresql/data/pgdata + +# Wait for the master to be ready +until pg_isready --host=master --username=$POSTGRES_USER --dbname=$POSTGRES_DB; do + echo "waiting for master to be ready" + sleep 2 +done + +# Stop the PostgreSQL server if it is running +su postgres -c 'pg_ctl -D /var/lib/postgresql/data/pgdata -m fast -w stop || true' + +# Clean the data directory +su postgres -c 'rm -rf /var/lib/postgresql/data/pgdata/*' + +# Perform base backup +su postgres -c 'pg_basebackup -h master -D /var/lib/postgresql/data/pgdata -U $POSTGRES_USER -v -P --wal-method=stream' + +# Copy pg_hba.conf to pgdata +su postgres -c 'cp /var/lib/postgresql/data/pg_hba.conf /var/lib/postgresql/data/pgdata/pg_hba.conf' +su postgres -c 'cp /var/lib/postgresql/data/postgresql.conf /var/lib/postgresql/data/pgdata/postgresql.conf' +su postgres -c 'cp /var/lib/postgresql/data/server.crt /var/lib/postgresql/data/pgdata/server.crt' +su postgres -c 'cp /var/lib/postgresql/data/server.key /var/lib/postgresql/data/pgdata/server.key' + +# Create the standby.signal file +su postgres -c 'touch /var/lib/postgresql/data/pgdata/standby.signal' + +# Write primary_conninfo to postgresql.auto.conf +echo "primary_conninfo = 'host=master port=5432 user=$POSTGRES_USER password=${MASTER_PASSWORD}'" > /var/lib/postgresql/data/pgdata/postgresql.auto.conf + +# Ensure proper ownership again +chown -R postgres:postgres /var/lib/postgresql/data + +# Start PostgreSQL server +su postgres -c 'pg_ctl -D /var/lib/postgresql/data/pgdata -l /var/lib/postgresql/data/pgdata/logfile -o "-c listen_addresses='*'" -w start' diff --git a/bk/init/init.sh b/bk/init/init.sh new file mode 100644 index 0000000..53ec222 --- /dev/null +++ b/bk/init/init.sh @@ -0,0 +1,55 @@ +#!/bin/bash +set -e +export POSTGRES_USER="qa_postgres" +export POSTGRES_PASSWORD="xM9A4!exJbQNhqJ" +export POSTGRES_DB="qa_simfony_billing" +export MASTER_PASSWORD="pP5UUJM0mj5b7rZMU5C6" + + +echo "host replication qa_postgres 172.16.178.4/32 trust" >> /var/lib/postgresql/data/pgdata/pg_hba.conf +echo "host replication qa_postgres 172.16.178.3/32 trust" >> /var/lib/postgresql/data/pgdata/pg_hba.conf +echo "host replication qa_postgres 172.16.178.2/32 trust" >> /var/lib/postgresql/data/pgdata/pg_hba.conf + +# Create the postgres user if it doesn't exist +psql --username "$POSTGRES_USER" --dbname "$POSTGRES_DB" <<-EOSQL + DO + \$do\$ + BEGIN + IF NOT EXISTS (SELECT FROM pg_catalog.pg_roles WHERE rolname = '$POSTGRES_USER') THEN + CREATE ROLE $POSTGRES_USER LOGIN SUPERUSER PASSWORD '$POSTGRES_PASSWORD'; + END IF; + END + \$do\$; +EOSQL + + +# # Check if the database is initialized + +# if [ -s /var/lib/postgresql/data/pgdata/PG_VERSION ]; then +# echo 'Initializing database directory'; +# # su postgres -c 'initdb -D /var/lib/postgresql/data/pgdata --auth-local=md5 --auth-host=md5 -U postgres -W'; +# exec su postgres -c 'echo "$MASTER_PASSWORD" | initdb -D /var/lib/postgresql/data/pgdata --auth-local=md5 --auth-host=md5 -U postgres -W'; +# # Copy configuration files +# exec su postgres -c 'cp /var/lib/postgresql/data/postgresql.conf /var/lib/postgresql/data/pgdata/postgresql.conf'; +# exec su postgres -c 'cp /var/lib/postgresql/data/pg_hba.conf /var/lib/postgresql/data/pgdata/pg_hba.conf'; +# exec su postgres -c 'cp /var/lib/postgresql/data/server.crt /var/lib/postgresql/data/pgdata/server.crt'; +# exec su postgres -c 'cp /var/lib/postgresql/data/server.key /var/lib/postgresql/data/pgdata/server.key'; + +# # Start PostgreSQL server to apply configuration +# exec su postgres -c 'pg_ctl -D /var/lib/postgresql/data/pgdata -o "-c listen_addresses='*'" -w start' + +# # Create the database and set up roles +# su postgres -c "psql --username \"${POSTGRES_USER}\" <<-EOSQL +# CREATE DATABASE ${POSTGRES_DB}; +# ALTER USER ${POSTGRES_USER} WITH PASSWORD '${POSTGRES_PASSWORD}'; +# EOSQL" + +# exec su postgres -c 'pg_ctl -D /var/lib/postgresql/data/pgdata -m fast -w stop' +# fi; + +# # Set the ownership of the data directory to the postgres user +# chown -R postgres:postgres /var/lib/postgresql/data + +# # Start PostgreSQL +# exec su postgres -c 'pg_ctl -D /var/lib/postgresql/data/pgdata -l /var/lib/postgresql/data/pgdata/logfile start' +# # exec su postgres -c 'postgres -c config_file=/var/lib/postgresql/data/pgdata/postgresql.conf' \ No newline at end of file diff --git a/bk/slave_config/pg_hba.conf b/bk/slave_config/pg_hba.conf new file mode 100644 index 0000000..2b6f4ba --- /dev/null +++ b/bk/slave_config/pg_hba.conf @@ -0,0 +1,7 @@ +# TYPE DATABASE USER ADDRESS METHOD + +# Allow all connections from any IP address for normal operations +host all all 0.0.0.0/0 md5 +host replication qa_postgres 172.16.178.4/32 trust +host replication qa_postgres 172.16.178.3/32 trust +host replication qa_postgres 172.16.178.2/32 trust \ No newline at end of file diff --git a/bk/uat_postgres_dump.sql b/bk/uat_postgres_dump.sql new file mode 100644 index 0000000..71d2ba5 --- /dev/null +++ b/bk/uat_postgres_dump.sql @@ -0,0 +1,24791 @@ +-- +-- PostgreSQL database dump +-- + +-- Dumped from database version 16.3 +-- Dumped by pg_dump version 16.6 (Ubuntu 16.6-1.pgdg20.04+1) + +SET statement_timeout = 0; +SET lock_timeout = 0; +SET idle_in_transaction_session_timeout = 0; +SET client_encoding = 'UTF8'; +SET standard_conforming_strings = on; +SELECT pg_catalog.set_config('search_path', '', false); +SET check_function_bodies = false; +SET xmloption = content; +SET client_min_messages = warning; +SET row_security = off; + +-- +-- Name: public; Type: SCHEMA; Schema: -; Owner: pg_database_owner +-- + +CREATE SCHEMA public; + + +ALTER SCHEMA public OWNER TO pg_database_owner; + +-- +-- Name: SCHEMA public; Type: COMMENT; Schema: -; Owner: pg_database_owner +-- + +COMMENT ON SCHEMA public IS 'standard public schema'; + + +-- +-- Name: fn_unaccent(text); Type: FUNCTION; Schema: public; Owner: uat_postgres +-- + +CREATE FUNCTION public.fn_unaccent(str text) RETURNS text + LANGUAGE plpgsql + AS $_$ + BEGIN + RETURN translate($1, + 'çÇâàÂÀéèêÉÈÊîÎûÛôÔ', + 'cCaaAAeeeEEEiIuUoO'); + END; + $_$; + + +ALTER FUNCTION public.fn_unaccent(str text) OWNER TO uat_postgres; + +SET default_tablespace = ''; + +SET default_table_access_method = heap; + +-- +-- Name: account_entity; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.account_entity ( + id bigint NOT NULL, + version integer, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + code character varying(255) NOT NULL, + description character varying(255), + address_1 character varying(255), + address_2 character varying(255), + address_3 character varying(255), + address_city character varying(50), + address_country_id bigint, + address_state character varying(50), + address_zipcode character varying(10), + default_level integer DEFAULT 1, + external_ref_1 character varying(255), + external_ref_2 character varying(255), + firstname character varying(100), + lastname character varying(100), + provider_contact character varying(255), + creator character varying(100), + updater character varying(100), + title_id bigint, + primary_contact bigint, + account_type character varying(10) NOT NULL, + uuid character varying(60) NOT NULL, + bam_id bigint, + cf_values text, + cf_values_accum text, + job_title character varying(255), + email character varying(100), + fax character varying(50), + mobile character varying(100), + phone character varying(100), + vat_no character varying(100), + registration_no character varying(100), + minimum_amount_el character varying(2000), + minimum_label_el character varying(2000), + minimum_amount_el_sp character varying(2000), + minimum_label_el_sp character varying(2000), + minimum_charge_template_id bigint +); + + +ALTER TABLE public.account_entity OWNER TO uat_postgres; + +-- +-- Name: account_entity_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.account_entity_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.account_entity_seq OWNER TO uat_postgres; + +-- +-- Name: adm_country; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.adm_country ( + id bigint NOT NULL, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + version integer, + country_code character varying(10), + description character varying(100), + creator character varying(100), + updater character varying(100), + currency_id bigint, + language_id bigint, + description_i18n text +); + + +ALTER TABLE public.adm_country OWNER TO uat_postgres; + +-- +-- Name: adm_country_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.adm_country_seq + START WITH 238 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.adm_country_seq OWNER TO uat_postgres; + +-- +-- Name: adm_currency; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.adm_currency ( + id bigint NOT NULL, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + version integer, + currency_code character varying(3) NOT NULL, + description_en character varying(255) NOT NULL, + system_currency integer, + creator character varying(100), + updater character varying(100) +); + + +ALTER TABLE public.adm_currency OWNER TO uat_postgres; + +-- +-- Name: adm_currency_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.adm_currency_seq + START WITH 169 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.adm_currency_seq OWNER TO uat_postgres; + +-- +-- Name: adm_custom_generic_entity_code; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.adm_custom_generic_entity_code ( + id bigint NOT NULL, + entity_class character varying(255), + code_el character varying(255), + sequence_size integer, + sequence_current_value bigint DEFAULT 0, + version integer, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + creator character varying(100), + updater character varying(100) +); + + +ALTER TABLE public.adm_custom_generic_entity_code OWNER TO uat_postgres; + +-- +-- Name: adm_custom_generic_entity_code_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.adm_custom_generic_entity_code_seq + START WITH 3 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.adm_custom_generic_entity_code_seq OWNER TO uat_postgres; + +-- +-- Name: adm_file_format; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.adm_file_format ( + id bigint NOT NULL, + version integer, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + creator character varying(100), + updater character varying(100), + file_name_pattern character varying(255), + configuration_template text NOT NULL, + record_name character varying(255), + input_directory character varying(255) NOT NULL, + output_directory character varying(255), + reject_directory character varying(255), + archive_directory character varying(255), + code character varying(255), + description character varying(255), + job_code character varying(255) +); + + +ALTER TABLE public.adm_file_format OWNER TO uat_postgres; + +-- +-- Name: adm_file_format_file_type; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.adm_file_format_file_type ( + file_format_id bigint NOT NULL, + file_type_id bigint NOT NULL +); + + +ALTER TABLE public.adm_file_format_file_type OWNER TO uat_postgres; + +-- +-- Name: adm_file_format_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.adm_file_format_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.adm_file_format_seq OWNER TO uat_postgres; + +-- +-- Name: adm_file_type; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.adm_file_type ( + id bigint NOT NULL, + version integer, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + creator character varying(100), + updater character varying(100), + code character varying(255), + description character varying(255) +); + + +ALTER TABLE public.adm_file_type OWNER TO uat_postgres; + +-- +-- Name: adm_file_type_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.adm_file_type_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.adm_file_type_seq OWNER TO uat_postgres; + +-- +-- Name: adm_gdpr_configuration; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.adm_gdpr_configuration ( + id bigint NOT NULL, + version integer, + inactive_subscription_life integer DEFAULT 5, + inactive_order_life integer DEFAULT 10, + invoice_life integer DEFAULT 10, + accounting_life integer DEFAULT 10, + customer_profile_life integer DEFAULT 3, + mailing_life integer DEFAULT 3, + ao_check_unpaid_life integer DEFAULT 3, + delete_sub integer DEFAULT 0 NOT NULL, + delete_order integer DEFAULT 0 NOT NULL, + delete_invoice integer DEFAULT 0 NOT NULL, + delete_accounting integer DEFAULT 0 NOT NULL, + delete_cust_prospect integer DEFAULT 0 NOT NULL, + delete_mailing_life integer DEFAULT 0 NOT NULL, + delete_ao_check_unpaid integer DEFAULT 0 NOT NULL +); + + +ALTER TABLE public.adm_gdpr_configuration OWNER TO uat_postgres; + +-- +-- Name: adm_gdpr_configuration_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.adm_gdpr_configuration_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.adm_gdpr_configuration_seq OWNER TO uat_postgres; + +-- +-- Name: adm_inbound_req_cookies; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.adm_inbound_req_cookies ( + inboundrequest_id bigint NOT NULL, + coockies character varying(255), + coockies_key character varying(255) NOT NULL +); + + +ALTER TABLE public.adm_inbound_req_cookies OWNER TO uat_postgres; + +-- +-- Name: adm_inbound_req_headers; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.adm_inbound_req_headers ( + inboundrequest_id bigint NOT NULL, + headers text, + headers_key character varying(255) NOT NULL +); + + +ALTER TABLE public.adm_inbound_req_headers OWNER TO uat_postgres; + +-- +-- Name: adm_inbound_req_params; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.adm_inbound_req_params ( + inboundrequest_id bigint NOT NULL, + parameters character varying(255), + parameters_key character varying(255) NOT NULL +); + + +ALTER TABLE public.adm_inbound_req_params OWNER TO uat_postgres; + +-- +-- Name: adm_inbound_request; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.adm_inbound_request ( + id bigint NOT NULL, + version integer, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + code character varying(255) NOT NULL, + description character varying(255), + auth_type character varying(11), + content_length integer, + content_type character varying(255), + method character varying(10), + path_info character varying(255), + protocol character varying(20), + remote_adrr character varying(255), + remote_port integer, + request_uri character varying(255), + resp_content_type character varying(255), + resp_encoding character varying(50), + scheme character varying(20), + creator character varying(100), + updater character varying(100), + body text, + resp_status integer +); + + +ALTER TABLE public.adm_inbound_request OWNER TO uat_postgres; + +-- +-- Name: adm_inbound_request_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.adm_inbound_request_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.adm_inbound_request_seq OWNER TO uat_postgres; + +-- +-- Name: adm_inbound_resp_cookies; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.adm_inbound_resp_cookies ( + inboundrequest_id bigint NOT NULL, + responsecoockies character varying(255), + responsecoockies_key character varying(255) NOT NULL +); + + +ALTER TABLE public.adm_inbound_resp_cookies OWNER TO uat_postgres; + +-- +-- Name: adm_inbound_resp_headers; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.adm_inbound_resp_headers ( + inboundrequest_id bigint NOT NULL, + responseheaders character varying(255), + responseheaders_key character varying(255) NOT NULL +); + + +ALTER TABLE public.adm_inbound_resp_headers OWNER TO uat_postgres; + +-- +-- Name: adm_input_history; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.adm_input_history ( + input_type character varying(31) NOT NULL, + id bigint NOT NULL, + version integer, + end_date timestamp without time zone, + start_date timestamp without time zone, + ignored_tickets integer, + name character varying(255), + parsed_tickets integer, + rejected_tickets integer, + succeeded_tickets integer +); + + +ALTER TABLE public.adm_input_history OWNER TO uat_postgres; + +-- +-- Name: adm_input_history_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.adm_input_history_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.adm_input_history_seq OWNER TO uat_postgres; + +-- +-- Name: adm_language; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.adm_language ( + id bigint NOT NULL, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + version integer, + description_en character varying(100) NOT NULL, + language_code character varying(3) NOT NULL, + creator character varying(100), + updater character varying(100) +); + + +ALTER TABLE public.adm_language OWNER TO uat_postgres; + +-- +-- Name: adm_language_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.adm_language_seq + START WITH 34 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.adm_language_seq OWNER TO uat_postgres; + +-- +-- Name: adm_notif_email; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.adm_notif_email ( + email_from character varying(1000), + email_to_el character varying(2000), + id bigint NOT NULL, + email_template_id bigint +); + + +ALTER TABLE public.adm_notif_email OWNER TO uat_postgres; + +-- +-- Name: adm_notif_email_attach; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.adm_notif_email_attach ( + emailnotification_id bigint NOT NULL, + attachmentexpressions character varying(255) NOT NULL +); + + +ALTER TABLE public.adm_notif_email_attach OWNER TO uat_postgres; + +-- +-- Name: adm_notif_email_list; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.adm_notif_email_list ( + emailnotification_id bigint NOT NULL, + emails character varying(255) NOT NULL +); + + +ALTER TABLE public.adm_notif_email_list OWNER TO uat_postgres; + +-- +-- Name: adm_notif_email_user; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.adm_notif_email_user ( + emailnotification_id bigint NOT NULL, + users_id bigint NOT NULL +); + + +ALTER TABLE public.adm_notif_email_user OWNER TO uat_postgres; + +-- +-- Name: adm_notif_history; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.adm_notif_history ( + id bigint NOT NULL, + version integer, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + entity_classname character varying(255) NOT NULL, + entity_code character varying(35), + nb_retry integer, + result character varying(1000), + serialized_entity text, + status character varying(255), + creator character varying(100), + updater character varying(100), + inbound_request_id bigint, + notification_id bigint NOT NULL, + CONSTRAINT adm_notif_history_nb_retry_check CHECK ((nb_retry <= 10)) +); + + +ALTER TABLE public.adm_notif_history OWNER TO uat_postgres; + +-- +-- Name: adm_notif_history_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.adm_notif_history_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.adm_notif_history_seq OWNER TO uat_postgres; + +-- +-- Name: adm_notif_im; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.adm_notif_im ( + id_expression character varying(2000), + im_provider integer NOT NULL, + message character varying(2000) NOT NULL, + id bigint NOT NULL +); + + +ALTER TABLE public.adm_notif_im OWNER TO uat_postgres; + +-- +-- Name: adm_notif_im_list; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.adm_notif_im_list ( + instantmessagingnotification_id bigint NOT NULL, + ids character varying(255) NOT NULL +); + + +ALTER TABLE public.adm_notif_im_list OWNER TO uat_postgres; + +-- +-- Name: adm_notif_im_user; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.adm_notif_im_user ( + instantmessagingnotification_id bigint NOT NULL, + users_id bigint NOT NULL +); + + +ALTER TABLE public.adm_notif_im_user OWNER TO uat_postgres; + +-- +-- Name: adm_notif_job; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.adm_notif_job ( + job_instance_id bigint, + id bigint NOT NULL +); + + +ALTER TABLE public.adm_notif_job OWNER TO uat_postgres; + +-- +-- Name: adm_notif_job_params; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.adm_notif_job_params ( + jobtrigger_id bigint NOT NULL, + jobparams character varying(255), + jobparams_key character varying(255) NOT NULL +); + + +ALTER TABLE public.adm_notif_job_params OWNER TO uat_postgres; + +-- +-- Name: adm_notif_webhook_header; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.adm_notif_webhook_header ( + webhook_id bigint NOT NULL, + headers text, + headers_key character varying(255) NOT NULL +); + + +ALTER TABLE public.adm_notif_webhook_header OWNER TO uat_postgres; + +-- +-- Name: adm_notif_webhook_param; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.adm_notif_webhook_param ( + webhook_id bigint NOT NULL, + webhookparams character varying(255), + webhookparams_key character varying(255) NOT NULL +); + + +ALTER TABLE public.adm_notif_webhook_param OWNER TO uat_postgres; + +-- +-- Name: adm_notif_webhooks; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.adm_notif_webhooks ( + http_host character varying(255) NOT NULL, + http_method character varying(255) NOT NULL, + http_page character varying(255) NOT NULL, + http_protocol character varying(10) NOT NULL, + password character varying(255), + http_port integer, + username character varying(255), + id bigint NOT NULL, + body_el character varying(2000), + CONSTRAINT adm_notif_webhooks_http_port_check CHECK ((http_port <= 65535)) +); + + +ALTER TABLE public.adm_notif_webhooks OWNER TO uat_postgres; + +-- +-- Name: adm_notification; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.adm_notification ( + id bigint NOT NULL, + version integer, + disabled integer DEFAULT 0 NOT NULL, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + code character varying(255) NOT NULL, + description character varying(255), + class_name_filter character varying(255) NOT NULL, + event_expression_filter character varying(2000), + event_type_filter character varying(20) NOT NULL, + creator character varying(100), + updater character varying(100), + counter_instance_id bigint, + counter_template_id bigint, + script_instance_id bigint, + priority integer DEFAULT 1, + run_async integer DEFAULT 0, + cf_values_accum text, + cf_values text, + uuid character varying(60), + save_successful_notif integer DEFAULT 1 +); + + +ALTER TABLE public.adm_notification OWNER TO uat_postgres; + +-- +-- Name: adm_notification_params; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.adm_notification_params ( + notification_id bigint NOT NULL, + params character varying(255), + params_key character varying(255) NOT NULL +); + + +ALTER TABLE public.adm_notification_params OWNER TO uat_postgres; + +-- +-- Name: adm_notification_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.adm_notification_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.adm_notification_seq OWNER TO uat_postgres; + +-- +-- Name: adm_permission; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.adm_permission ( + id bigint NOT NULL, + name character varying(255) NOT NULL, + permission character varying(255) NOT NULL +); + + +ALTER TABLE public.adm_permission OWNER TO uat_postgres; + +-- +-- Name: adm_permission_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.adm_permission_seq + START WITH 18 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.adm_permission_seq OWNER TO uat_postgres; + +-- +-- Name: adm_role; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.adm_role ( + id bigint NOT NULL, + version integer, + role_description character varying(255) NOT NULL, + role_name character varying(255) NOT NULL +); + + +ALTER TABLE public.adm_role OWNER TO uat_postgres; + +-- +-- Name: adm_role_permission; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.adm_role_permission ( + role_id bigint NOT NULL, + permission_id bigint NOT NULL +); + + +ALTER TABLE public.adm_role_permission OWNER TO uat_postgres; + +-- +-- Name: adm_role_role; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.adm_role_role ( + role_id bigint NOT NULL, + child_role_id bigint NOT NULL +); + + +ALTER TABLE public.adm_role_role OWNER TO uat_postgres; + +-- +-- Name: adm_role_secured_entity; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.adm_role_secured_entity ( + role_id bigint NOT NULL, + code character varying(255) NOT NULL, + entity_class character varying(255) NOT NULL +); + + +ALTER TABLE public.adm_role_secured_entity OWNER TO uat_postgres; + +-- +-- Name: adm_role_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.adm_role_seq + START WITH 5 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.adm_role_seq OWNER TO uat_postgres; + +-- +-- Name: adm_script_exec_role; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.adm_script_exec_role ( + script_instance_id bigint NOT NULL, + role_id bigint NOT NULL +); + + +ALTER TABLE public.adm_script_exec_role OWNER TO uat_postgres; + +-- +-- Name: adm_script_notification; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.adm_script_notification ( + id bigint NOT NULL +); + + +ALTER TABLE public.adm_script_notification OWNER TO uat_postgres; + +-- +-- Name: adm_script_sourc_role; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.adm_script_sourc_role ( + script_instance_id bigint NOT NULL, + role_id bigint NOT NULL +); + + +ALTER TABLE public.adm_script_sourc_role OWNER TO uat_postgres; + +-- +-- Name: adm_secured_entity; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.adm_secured_entity ( + user_id bigint NOT NULL, + code character varying(255) NOT NULL, + entity_class character varying(255) NOT NULL +); + + +ALTER TABLE public.adm_secured_entity OWNER TO uat_postgres; + +-- +-- Name: adm_title; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.adm_title ( + id bigint NOT NULL, + version integer, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + code character varying(255) NOT NULL, + description character varying(255), + is_company integer DEFAULT 0, + creator character varying(100), + updater character varying(100), + description_i18n text +); + + +ALTER TABLE public.adm_title OWNER TO uat_postgres; + +-- +-- Name: adm_title_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.adm_title_seq + START WITH 38 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.adm_title_seq OWNER TO uat_postgres; + +-- +-- Name: adm_user; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.adm_user ( + id bigint NOT NULL, + version integer, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + email character varying(100), + firstname character varying(100), + lastname character varying(100), + username character varying(50), + creator character varying(100), + updater character varying(100), + title_id bigint, + hierarchy_level_id bigint, + uuid character varying(60) NOT NULL, + cf_values text, + cf_values_accum text, + last_login_date timestamp without time zone, + crm_address_book_id bigint +); + + +ALTER TABLE public.adm_user OWNER TO uat_postgres; + +-- +-- Name: adm_user_role; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.adm_user_role ( + user_id bigint NOT NULL, + role_id bigint NOT NULL +); + + +ALTER TABLE public.adm_user_role OWNER TO uat_postgres; + +-- +-- Name: adm_user_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.adm_user_seq + START WITH 3 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.adm_user_seq OWNER TO uat_postgres; + +-- +-- Name: ar_account_operation; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.ar_account_operation ( + transaction_type character varying(31) NOT NULL, + id bigint NOT NULL, + version integer, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + accounting_code_id bigint, + account_code_client_side character varying(255), + amount numeric(23,12), + due_date date, + matching_amount numeric(23,12), + matching_status character varying(255), + code character varying(255), + description character varying(255), + reference character varying(255), + transaction_category character varying(255), + transaction_date date, + un_matching_amount numeric(23,12), + bank_lot text, + bank_reference character varying(255), + rejected_code character varying(255), + rejected_date timestamp without time zone, + rejected_description character varying(255), + rejected_type character varying(255), + payment_method character varying(255), + amount_without_tax numeric(23,12), + billing_account_name character varying(255), + invoice_date date, + net_to_pay numeric(23,12), + payment_info character varying(255), + payment_info1 character varying(255), + payment_info2 character varying(255), + payment_info3 character varying(255), + payment_info4 character varying(255), + payment_info5 character varying(255), + payment_info6 character varying(255), + production_date timestamp without time zone, + tax_amount numeric(23,12), + operation_date timestamp without time zone, + bank_collection_date timestamp without time zone, + deposit_date timestamp without time zone, + creator character varying(100), + updater character varying(100), + customer_account_id bigint, + uuid character varying(60) NOT NULL, + order_num character varying(500), + payment_order character varying(70), + payment_fees numeric(23,12), + comment text, + cf_values text, + cf_values_accum text, + recorded_invoice_id bigint, + cat_inv_agregate_id bigint, + ddrequest_item_id bigint, + sub_cat_inv_agregate_id bigint, + pay_schdl_inst_item_id bigint, + rejected_payment_id bigint, + seller_id bigint, + subscription_id bigint, + dunning_document_id bigint, + invoice_id bigint +); + + +ALTER TABLE public.ar_account_operation OWNER TO uat_postgres; + +-- +-- Name: ar_account_operation_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.ar_account_operation_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.ar_account_operation_seq OWNER TO uat_postgres; + +-- +-- Name: ar_accounting_writing; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.ar_accounting_writing ( + id bigint NOT NULL, + version integer, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + creator character varying(100), + updater character varying(100), + origin_writing_id bigint, + tax_id bigint, + invoice_category_id bigint, + accounting_code_id bigint, + event_date date, + export_date date, + amount numeric(23,12), + event_type character varying(255), + extra_param_1 character varying(255), + extra_param_2 character varying(255), + extra_param_3 character varying(255) +); + + +ALTER TABLE public.ar_accounting_writing OWNER TO uat_postgres; + +-- +-- Name: ar_accounting_writing_acc_operations; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.ar_accounting_writing_acc_operations ( + accounting_writing_id bigint NOT NULL, + account_operation_id bigint NOT NULL +); + + +ALTER TABLE public.ar_accounting_writing_acc_operations OWNER TO uat_postgres; + +-- +-- Name: ar_accounting_writing_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.ar_accounting_writing_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.ar_accounting_writing_seq OWNER TO uat_postgres; + +-- +-- Name: ar_action_dunning; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.ar_action_dunning ( + id bigint NOT NULL, + version integer, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + amount_due numeric(19,2), + creaton_date date, + from_level character varying(255), + status character varying(255), + status_date date, + to_level character varying(255), + action_type character varying(255), + creator character varying(100), + updater character varying(100), + action_plan_item_id bigint, + customer_account_id bigint, + dunning_lot_id bigint, + recorded_invoice_id bigint +); + + +ALTER TABLE public.ar_action_dunning OWNER TO uat_postgres; + +-- +-- Name: ar_action_dunning_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.ar_action_dunning_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.ar_action_dunning_seq OWNER TO uat_postgres; + +-- +-- Name: ar_bank_operation; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.ar_bank_operation ( + id bigint NOT NULL, + version integer, + disabled integer DEFAULT 0 NOT NULL, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + code_op character varying(255), + credit numeric(19,2), + date_op timestamp without time zone, + date_val timestamp without time zone, + debit numeric(19,2), + error_cause character varying(255), + file_name character varying(255), + invoice_id character varying(255), + is_valid integer DEFAULT 0 NOT NULL, + label_1 character varying(255), + label_2 character varying(255), + label_3 character varying(255), + reference character varying(255), + creator character varying(100), + updater character varying(100) +); + + +ALTER TABLE public.ar_bank_operation OWNER TO uat_postgres; + +-- +-- Name: ar_bank_operation_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.ar_bank_operation_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.ar_bank_operation_seq OWNER TO uat_postgres; + +-- +-- Name: ar_credit_category; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.ar_credit_category ( + id bigint NOT NULL, + version integer, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + code character varying(255) NOT NULL, + description character varying(255), + creator character varying(100), + updater character varying(100) +); + + +ALTER TABLE public.ar_credit_category OWNER TO uat_postgres; + +-- +-- Name: ar_credit_category_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.ar_credit_category_seq + START WITH 6 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.ar_credit_category_seq OWNER TO uat_postgres; + +-- +-- Name: ar_customer_account; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.ar_customer_account ( + credit_category character varying(255), + date_dunning_level timestamp without time zone, + date_status timestamp without time zone, + dunning_level character varying(255), + password character varying(10), + status character varying(10), + id bigint NOT NULL, + customer_id bigint, + trading_currency_id bigint NOT NULL, + trading_language_id bigint NOT NULL, + credit_category_id bigint, + due_date_delay_el character varying(2000), + due_date_delay_el_sp character varying(2000), + excluded_from_payment integer DEFAULT 0, + crm_address_book_id bigint, + minimum_target_account_id bigint, + invoicing_threshold numeric(23,12), + check_threshold character varying(25) DEFAULT NULL::character varying +); + + +ALTER TABLE public.ar_customer_account OWNER TO uat_postgres; + +-- +-- Name: ar_ddrequest_builder; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.ar_ddrequest_builder ( + id bigint NOT NULL, + version integer, + disabled integer DEFAULT 0 NOT NULL, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + code character varying(255) NOT NULL, + description character varying(255), + type character varying(255) NOT NULL, + implementation_class_name character varying(255), + script_instance_id bigint, + nb_ops_file bigint, + max_size_file bigint, + uuid character varying(60) NOT NULL, + creator character varying(100), + updater character varying(100), + cf_values text, + cf_values_accum text, + payment_level character varying(100) +); + + +ALTER TABLE public.ar_ddrequest_builder OWNER TO uat_postgres; + +-- +-- Name: ar_ddrequest_builder_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.ar_ddrequest_builder_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.ar_ddrequest_builder_seq OWNER TO uat_postgres; + +-- +-- Name: ar_ddrequest_item; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.ar_ddrequest_item ( + id bigint NOT NULL, + version integer, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + amount numeric(19,2), + amount_invoices numeric(19,2), + billing_account_name character varying(255), + due_date date, + payment_info character varying(255), + payment_info1 character varying(255), + payment_info2 character varying(255), + payment_info3 character varying(255), + payment_info4 character varying(255), + payment_info5 character varying(255), + payment_info6 character varying(255), + reference character varying(255), + creator character varying(100), + updater character varying(100), + payment_id bigint, + ddrequest_lot_id bigint, + error_msg character varying(1000), + refund_id bigint, + rejected_file_name character varying(1000) +); + + +ALTER TABLE public.ar_ddrequest_item OWNER TO uat_postgres; + +-- +-- Name: ar_ddrequest_item_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.ar_ddrequest_item_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.ar_ddrequest_item_seq OWNER TO uat_postgres; + +-- +-- Name: ar_ddrequest_lot; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.ar_ddrequest_lot ( + id bigint NOT NULL, + version integer, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + file_name text, + invoice_amount numeric(23,12), + invoice_number integer, + is_payment_created integer DEFAULT 0 NOT NULL, + return_file_name character varying(255), + return_status_code character varying(255), + send_date timestamp without time zone, + creator character varying(100), + updater character varying(100), + rejected_cause character varying(255), + rejected_invoices integer, + ddrequest_builder_id bigint, + payment_or_refund character varying(30), + seller_id bigint +); + + +ALTER TABLE public.ar_ddrequest_lot OWNER TO uat_postgres; + +-- +-- Name: ar_ddrequest_lot_op; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.ar_ddrequest_lot_op ( + id bigint NOT NULL, + version integer, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + ddrequest_op character varying(255), + error_cause character varying(255), + from_due_date timestamp without time zone, + ddrequest_op_status character varying(255), + to_due_date timestamp without time zone, + creator character varying(100), + updater character varying(100), + ddrequest_lot_id bigint, + ddrequest_builder_id bigint, + filter_id bigint, + script_instance_id bigint, + recurrent integer DEFAULT 0, + payment_or_refund character varying(30), + seller_id bigint +); + + +ALTER TABLE public.ar_ddrequest_lot_op OWNER TO uat_postgres; + +-- +-- Name: ar_ddrequest_lot_op_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.ar_ddrequest_lot_op_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.ar_ddrequest_lot_op_seq OWNER TO uat_postgres; + +-- +-- Name: ar_ddrequest_lot_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.ar_ddrequest_lot_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.ar_ddrequest_lot_seq OWNER TO uat_postgres; + +-- +-- Name: ar_due_date; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.ar_due_date ( + id bigint NOT NULL, + version integer, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + due_date date, + invoice_amount numeric(23,12), + invoice_number integer, + payment_method character varying(255), + creator character varying(100), + updater character varying(100) +); + + +ALTER TABLE public.ar_due_date OWNER TO uat_postgres; + +-- +-- Name: ar_due_date_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.ar_due_date_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.ar_due_date_seq OWNER TO uat_postgres; + +-- +-- Name: ar_dunning_lot; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.ar_dunning_lot ( + id bigint NOT NULL, + version integer, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + action_type character varying(255), + file_name character varying(255), + creator character varying(100), + updater character varying(100), + dunning_history_id bigint +); + + +ALTER TABLE public.ar_dunning_lot OWNER TO uat_postgres; + +-- +-- Name: ar_dunning_lot_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.ar_dunning_lot_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.ar_dunning_lot_seq OWNER TO uat_postgres; + +-- +-- Name: ar_matching_amount; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.ar_matching_amount ( + id bigint NOT NULL, + version integer, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + matching_amount numeric(23,12), + creator character varying(100), + updater character varying(100), + account_operation_id bigint, + matching_code_id bigint +); + + +ALTER TABLE public.ar_matching_amount OWNER TO uat_postgres; + +-- +-- Name: ar_matching_amount_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.ar_matching_amount_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.ar_matching_amount_seq OWNER TO uat_postgres; + +-- +-- Name: ar_matching_code; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.ar_matching_code ( + id bigint NOT NULL, + version integer, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + code character varying(255), + matching_amount_credit numeric(23,12), + matching_amount_debit numeric(23,12), + matching_date date, + matching_type character varying(255), + creator character varying(100), + updater character varying(100) +); + + +ALTER TABLE public.ar_matching_code OWNER TO uat_postgres; + +-- +-- Name: ar_matching_code_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.ar_matching_code_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.ar_matching_code_seq OWNER TO uat_postgres; + +-- +-- Name: ar_occ_template; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.ar_occ_template ( + id bigint NOT NULL, + version integer, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + accounting_code_id bigint, + account_code_client_side character varying(255), + code character varying(255), + description character varying(255), + occ_category character varying(255), + creator character varying(100), + updater character varying(100) +); + + +ALTER TABLE public.ar_occ_template OWNER TO uat_postgres; + +-- +-- Name: ar_occ_template_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.ar_occ_template_seq + START WITH 26 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.ar_occ_template_seq OWNER TO uat_postgres; + +-- +-- Name: ar_other_transaction; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.ar_other_transaction ( + transaction_type character varying(31) NOT NULL, + id bigint NOT NULL, + version integer, + description character varying(255), + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + amount numeric(23,12), + due_date date, + matching_amount numeric(23,12), + matching_status character varying(255), + occ_code character varying(255), + occ_description character varying(255), + reference character varying(255), + transaction_category character varying(255), + transaction_date date, + un_matching_amount numeric(23,12), + bank_lot character varying(255), + bank_reference character varying(255), + payment_method character varying(255), + amount_without_tax numeric(23,12), + billing_account_name character varying(255), + invoice_date date, + payment_info character varying(255), + payment_info1 character varying(255), + payment_info2 character varying(255), + payment_info3 character varying(255), + payment_info4 character varying(255), + payment_info5 character varying(255), + payment_info6 character varying(255), + payment_info7 character varying(255), + tax_amount numeric(23,12), + operation_date timestamp without time zone, + bank_collection_date timestamp without time zone, + deposit_date timestamp without time zone, + creator character varying(100), + updater character varying(100), + uuid character varying(60) NOT NULL, + order_num character varying(500), + cf_values text, + cf_values_accum text, + general_ledger_id bigint, + accounting_code_id bigint +); + + +ALTER TABLE public.ar_other_transaction OWNER TO uat_postgres; + +-- +-- Name: ar_other_transaction_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.ar_other_transaction_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.ar_other_transaction_seq OWNER TO uat_postgres; + +-- +-- Name: ar_payment_gateway; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.ar_payment_gateway ( + id bigint NOT NULL, + version integer, + disabled integer DEFAULT 0 NOT NULL, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + code character varying(255) NOT NULL, + description character varying(255), + type character varying(255) NOT NULL, + payment_method character varying(255), + card_type character varying(255), + implementation_class_name character varying(255), + script_instance_id bigint, + trading_currency_id bigint, + application_el character varying(2000), + uuid character varying(60) NOT NULL, + creator character varying(100), + updater character varying(100), + cf_values text, + cf_values_accum text, + country_id bigint, + nb_tries integer, + replay_cause character varying(100), + errors_to_replay character varying(400), + marchand_id character varying(256), + secret_key character varying(256), + api_key character varying(256), + profile character varying(256), + webhooks_secret_key character varying(255), + webhooks_key_id character varying(255), + account_number character varying(11), + account_owner character varying(50), + bank_code character varying(5), + bank_id character varying(50), + bank_name character varying(50), + bic character varying(100), + branch_code character varying(5), + iban character varying(100), + ics character varying(35), + issuer_name character varying(50), + issuer_number character varying(50), + hash_key character varying(2), + seller_id bigint +); + + +ALTER TABLE public.ar_payment_gateway OWNER TO uat_postgres; + +-- +-- Name: ar_payment_gateway_rum_sequence; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.ar_payment_gateway_rum_sequence ( + id bigint NOT NULL, + version integer, + disabled integer DEFAULT 0 NOT NULL, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + creator character varying(100), + updater character varying(100), + code character varying(255) NOT NULL, + description character varying(255), + prefix character varying(255), + sequence_size bigint, + current_sequence_nb bigint, + payment_gateway_id bigint +); + + +ALTER TABLE public.ar_payment_gateway_rum_sequence OWNER TO uat_postgres; + +-- +-- Name: ar_payment_gateway_rum_sequence_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.ar_payment_gateway_rum_sequence_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.ar_payment_gateway_rum_sequence_seq OWNER TO uat_postgres; + +-- +-- Name: ar_payment_gateway_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.ar_payment_gateway_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.ar_payment_gateway_seq OWNER TO uat_postgres; + +-- +-- Name: ar_payment_history; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.ar_payment_history ( + id bigint NOT NULL, + version integer, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + customer_account_code character varying(255) NOT NULL, + customer_account_name character varying(255), + seller_code character varying(255), + operation_date timestamp without time zone NOT NULL, + last_update_date timestamp without time zone, + amount_cts bigint NOT NULL, + sync_status character varying(255) NOT NULL, + async_status character varying(255), + status character varying(50), + external_payment_id character varying(255), + error_code character varying(255), + error_message character varying(2000), + error_type character varying(255), + operation_category character varying(255) NOT NULL, + payment_gateway_code character varying(255), + payment_method_type character varying(255), + payment_method_name character varying(255), + payment_id bigint, + refund_id bigint, + creator character varying(100), + updater character varying(100), + customer_code character varying(256) +); + + +ALTER TABLE public.ar_payment_history OWNER TO uat_postgres; + +-- +-- Name: ar_payment_history_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.ar_payment_history_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.ar_payment_history_seq OWNER TO uat_postgres; + +-- +-- Name: ar_payment_schedule_inst; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.ar_payment_schedule_inst ( + id bigint NOT NULL, + version integer, + disabled integer DEFAULT 0 NOT NULL, + creator character varying(100), + updater character varying(100), + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + code character varying(255) NOT NULL, + description character varying(255), + start_date timestamp without time zone, + end_date timestamp without time zone, + status character varying(50) NOT NULL, + status_date timestamp without time zone NOT NULL, + amount numeric(23,12), + calendar_id bigint NOT NULL, + payment_schedule_tmpl_id bigint NOT NULL, + service_instance_id bigint NOT NULL, + payment_day_in_month integer NOT NULL, + cf_values text, + cf_values_accum text, + uuid character varying(60) NOT NULL +); + + +ALTER TABLE public.ar_payment_schedule_inst OWNER TO uat_postgres; + +-- +-- Name: ar_payment_schedule_inst_item; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.ar_payment_schedule_inst_item ( + id bigint NOT NULL, + version integer, + disabled integer DEFAULT 0 NOT NULL, + creator character varying(100), + updater character varying(100), + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + payment_schedule_inst_id bigint NOT NULL, + due_date timestamp without time zone NOT NULL, + request_pay_date timestamp without time zone NOT NULL, + ao_ps_id bigint, + invoice_id bigint, + is_last integer +); + + +ALTER TABLE public.ar_payment_schedule_inst_item OWNER TO uat_postgres; + +-- +-- Name: ar_payment_schedule_inst_item_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.ar_payment_schedule_inst_item_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.ar_payment_schedule_inst_item_seq OWNER TO uat_postgres; + +-- +-- Name: ar_payment_schedule_inst_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.ar_payment_schedule_inst_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.ar_payment_schedule_inst_seq OWNER TO uat_postgres; + +-- +-- Name: ar_payment_schedule_tmpl; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.ar_payment_schedule_tmpl ( + id bigint NOT NULL, + version integer, + disabled integer DEFAULT 0 NOT NULL, + creator character varying(100), + updater character varying(100), + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + code character varying(255) NOT NULL, + description character varying(255), + calendar_id bigint NOT NULL, + service_template_id bigint NOT NULL, + adv_pay_inv_type_id bigint NOT NULL, + adv_pay_sub_cat_id bigint NOT NULL, + is_generate_adv_pay_inv integer DEFAULT 1 NOT NULL, + is_do_payment integer DEFAULT 1 NOT NULL, + amount numeric(23,12), + payment_day_in_month integer NOT NULL, + apply_agreement integer DEFAULT 0 NOT NULL, + payment_label character varying(2000) NOT NULL, + uuid character varying(60) NOT NULL, + cf_values text, + cf_values_accum text, + script_instance_id bigint, + amount_el character varying(2000), + filter_el character varying(2000) +); + + +ALTER TABLE public.ar_payment_schedule_tmpl OWNER TO uat_postgres; + +-- +-- Name: ar_payment_schedule_tmpl_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.ar_payment_schedule_tmpl_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.ar_payment_schedule_tmpl_seq OWNER TO uat_postgres; + +-- +-- Name: ar_payment_token; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.ar_payment_token ( + token_type character varying(20), + id bigint NOT NULL, + version integer, + card_type character varying(60), + owner character varying(256), + month_expiration integer, + year_expiration integer, + token_id character varying(60), + alias character varying(256), + is_default integer DEFAULT 0, + card_number character varying(16), + customer_account_id bigint, + user_id character varying(256), + info_1 text, + info_2 text, + info_3 text, + info_4 text, + info_5 text, + bank_code character varying(5), + branch_code character varying(5), + account_number character varying(11), + hash_key character varying(2), + iban character varying(100), + bic character varying(100), + account_owner character varying(50), + bank_id character varying(50), + bank_name character varying(50), + issuer_name character varying(50), + issuer_number character varying(50), + ics character varying(35), + mandate_date date, + mandate_identification character varying(255), + creator character varying(100), + created timestamp without time zone DEFAULT '2015-09-18 00:04:00.631'::timestamp without time zone NOT NULL, + updater character varying(100), + updated timestamp without time zone, + disabled integer DEFAULT 0 NOT NULL +); + + +ALTER TABLE public.ar_payment_token OWNER TO uat_postgres; + +-- +-- Name: ar_payment_token_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.ar_payment_token_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.ar_payment_token_seq OWNER TO uat_postgres; + +-- +-- Name: ar_payment_ventilation; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.ar_payment_ventilation ( + id bigint NOT NULL, + version integer, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + code character varying(255), + ventilation_amount numeric(23,12), + ventilation_date date, + creator character varying(100), + updater character varying(100), + customer_account_id bigint, + original_ot_id bigint, + new_ot_id bigint, + account_operation_id bigint, + ventilation_action_status character varying(255) +); + + +ALTER TABLE public.ar_payment_ventilation OWNER TO uat_postgres; + +-- +-- Name: ar_payment_ventilation_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.ar_payment_ventilation_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.ar_payment_ventilation_seq OWNER TO uat_postgres; + +-- +-- Name: ar_revenue_recog_rule; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.ar_revenue_recog_rule ( + id bigint NOT NULL, + version integer, + disabled integer DEFAULT 0 NOT NULL, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + creator character varying(100), + updater character varying(100), + code character varying(255), + description character varying(255), + script_instance_id bigint NOT NULL, + start_delay integer, + start_unit character varying(20), + start_event character varying(20), + stop_delay integer, + stop_unit character varying(20), + stop_event character varying(20) +); + + +ALTER TABLE public.ar_revenue_recog_rule OWNER TO uat_postgres; + +-- +-- Name: ar_revenue_recog_rule_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.ar_revenue_recog_rule_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.ar_revenue_recog_rule_seq OWNER TO uat_postgres; + +-- +-- Name: ar_revenue_schedule; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.ar_revenue_schedule ( + id bigint NOT NULL, + version integer, + charge_instance_id bigint NOT NULL, + revenue_date timestamp without time zone, + recognized_revenue numeric(23,12), + invoiced_revenue numeric(23,12), + accrued_revenue numeric(23,12), + deffered_revenue numeric(23,12) +); + + +ALTER TABLE public.ar_revenue_schedule OWNER TO uat_postgres; + +-- +-- Name: ar_revenue_schedule_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.ar_revenue_schedule_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.ar_revenue_schedule_seq OWNER TO uat_postgres; + +-- +-- Name: audit_field_changes_history; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.audit_field_changes_history ( + id bigint NOT NULL, + version integer, + entity_class character varying(255) NOT NULL, + entity_id bigint NOT NULL, + field_name character varying(255), + change_type character varying(255), + change_origin character varying(255), + origin_name character varying(255), + previous_state character varying(255), + current_state character varying(255), + created timestamp without time zone NOT NULL, + actor character varying(255) NOT NULL +); + + +ALTER TABLE public.audit_field_changes_history OWNER TO uat_postgres; + +-- +-- Name: audit_field_changes_history_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.audit_field_changes_history_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.audit_field_changes_history_seq OWNER TO uat_postgres; + +-- +-- Name: audit_log; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.audit_log ( + id bigint NOT NULL, + version integer, + created timestamp without time zone NOT NULL, + actor character varying(200) NOT NULL, + entity character varying(200), + origin character varying(200), + action character varying(200) NOT NULL, + parameters text +); + + +ALTER TABLE public.audit_log OWNER TO uat_postgres; + +-- +-- Name: audit_log_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.audit_log_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.audit_log_seq OWNER TO uat_postgres; + +-- +-- Name: bi_job; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.bi_job ( + id bigint NOT NULL, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + version integer, + active integer DEFAULT 0 NOT NULL, + job_frequency integer, + job_repository_id integer, + last_execution_date timestamp without time zone, + name character varying(50), + next_execution_date timestamp without time zone, + creator character varying(100), + updater character varying(100) +); + + +ALTER TABLE public.bi_job OWNER TO uat_postgres; + +-- +-- Name: bi_job_history; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.bi_job_history ( + history_type character varying(31) NOT NULL, + id bigint NOT NULL, + version integer, + execution_date timestamp without time zone, + lines_inserted integer, + lines_read integer, + lines_rejected integer, + file_name character varying(255), + nb_subscriptions integer, + nb_subscriptions_created integer, + nb_subscriptions_error integer, + nb_subscriptions_ignored integer, + nb_subscriptions_terminated integer, + nb_billing_accounts integer, + nb_billing_accounts_created integer, + nb_billing_accounts_error integer, + nb_billing_accounts_ignored integer, + nb_billing_accounts_warning integer, + nb_user_accounts integer, + nb_user_accounts_created integer, + nb_user_accounts_error integer, + nb_user_acounts_ignored integer, + nb_user_acounts_warning integer, + nb_customer_accounts integer, + nb_customer_accounts_created integer, + nb_customer_accounts_error integer, + nb_customer_acounts_ignored integer, + nb_customer_acounts_warning integer, + nb_customers integer, + nb_customers_created integer, + nb_customers_error integer, + nb_customers_ignored integer, + nb_customers_warning integer, + nb_sellers integer, + nb_sellers_created integer, + nb_sellers_error integer, + nb_sellers_ignored integer, + nb_sellers_warning integer, + nb_invoices_ignored integer, + job_id bigint +); + + +ALTER TABLE public.bi_job_history OWNER TO uat_postgres; + +-- +-- Name: bi_job_history_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.bi_job_history_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.bi_job_history_seq OWNER TO uat_postgres; + +-- +-- Name: bi_job_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.bi_job_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.bi_job_seq OWNER TO uat_postgres; + +-- +-- Name: bi_report; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.bi_report ( + id bigint NOT NULL, + version integer, + action_name character varying(255), + description character varying(255), + end_date timestamp without time zone, + execution_day_of_month integer, + execution_day_of_week integer, + execution_hour integer, + execution_interval_minutes integer, + execution_interval_seconds integer, + execution_minutes integer, + report_file_name character varying(255), + report_frequency character varying(255) NOT NULL, + name character varying(50), + output_format character varying(255) NOT NULL, + producer_class_name character varying(255), + ds_record_path character varying(255), + schedule timestamp without time zone, + start_date timestamp without time zone +); + + +ALTER TABLE public.bi_report OWNER TO uat_postgres; + +-- +-- Name: bi_report_emails; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.bi_report_emails ( + report_id bigint NOT NULL, + email_id bigint NOT NULL +); + + +ALTER TABLE public.bi_report_emails OWNER TO uat_postgres; + +-- +-- Name: bi_report_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.bi_report_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.bi_report_seq OWNER TO uat_postgres; + +-- +-- Name: bill_seq_invoice_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.bill_seq_invoice_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.bill_seq_invoice_seq OWNER TO uat_postgres; + +-- +-- Name: bill_seq_it_sell_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.bill_seq_it_sell_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.bill_seq_it_sell_seq OWNER TO uat_postgres; + +-- +-- Name: billing_accounting_code; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.billing_accounting_code ( + id bigint NOT NULL, + version integer, + disabled integer DEFAULT 0 NOT NULL, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + code character varying(255) NOT NULL, + description character varying(255), + creator character varying(100), + updater character varying(100), + parent_accounting_code_id bigint, + chart_of_account_type character varying(25), + reporting_account character varying(50), + chart_of_account_view_type character varying(25), + notes character varying(2000), + migrated integer DEFAULT 0 NOT NULL +); + + +ALTER TABLE public.billing_accounting_code OWNER TO uat_postgres; + +-- +-- Name: billing_accounting_code_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.billing_accounting_code_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.billing_accounting_code_seq OWNER TO uat_postgres; + +-- +-- Name: billing_billing_account; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.billing_billing_account ( + br_amount_with_tax numeric(23,12), + br_amount_without_tax numeric(23,12), + discount_rate numeric(23,12), + electronic_billing integer DEFAULT 0, + invoice_prefix character varying(255), + next_invoice_date timestamp without time zone, + status character varying(10), + status_date timestamp without time zone, + subscription_date timestamp without time zone, + termination_date timestamp without time zone, + id bigint NOT NULL, + billing_cycle bigint, + billing_run bigint, + customer_account_id bigint, + termin_reason_id bigint, + trading_country_id bigint NOT NULL, + trading_language_id bigint NOT NULL, + invoicing_threshold numeric(23,12), + minimum_amount_el character varying(2000), + minimum_amount_el_sp character varying(2000), + minimum_label_el character varying(2000), + minimum_label_el_sp character varying(2000), + mailing_type character varying(255), + cced_emails character varying(2000), + email_template_id bigint, + minimum_invoice_sub_category_id bigint, + tax_category_id bigint, + check_threshold character varying(25) +); + + +ALTER TABLE public.billing_billing_account OWNER TO uat_postgres; + +-- +-- Name: billing_billing_run; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.billing_billing_run ( + id bigint NOT NULL, + version integer, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + nb_invoice integer, + nb_billable_billing_account integer, + nb_billing_account integer, + end_date timestamp without time zone, + pr_amount_tax numeric(23,12), + pr_amount_with_tax numeric(23,12), + pr_amount_without_tax numeric(23,12), + process_date timestamp without time zone, + process_type character varying(255), + producible_amount_tax numeric(23,12), + producible_amount_with_tax numeric(23,12), + producible_amount_without_tax numeric(23,12), + nb_producible_invoice integer, + rejection_reason character varying(255), + selected_billing_accounts text, + start_date timestamp without time zone, + status character varying(255), + status_date timestamp without time zone, + creator character varying(100), + updater character varying(100), + billing_cycle_id bigint, + pr_country_id bigint, + pr_currency_id bigint, + pr_language_id bigint, + invoice_date timestamp without time zone, + last_transaction_date timestamp without time zone, + uuid character varying(60) NOT NULL, + cf_values text, + cf_values_accum text, + reference_date character varying(255) +); + + +ALTER TABLE public.billing_billing_run OWNER TO uat_postgres; + +-- +-- Name: billing_billing_run_list; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.billing_billing_run_list ( + id bigint NOT NULL, + version integer, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + rated_amount2_without_tax numeric(23,12), + rated_amount_tax numeric(23,12), + rated_amount_with_tax numeric(23,12), + rated_amount_without_tax numeric(23,12), + invoice integer, + creator character varying(100), + updater character varying(100), + billing_account_id bigint, + billing_run_id bigint +); + + +ALTER TABLE public.billing_billing_run_list OWNER TO uat_postgres; + +-- +-- Name: billing_billing_run_list_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.billing_billing_run_list_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.billing_billing_run_list_seq OWNER TO uat_postgres; + +-- +-- Name: billing_billing_run_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.billing_billing_run_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.billing_billing_run_seq OWNER TO uat_postgres; + +-- +-- Name: billing_charge_instance; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.billing_charge_instance ( + id bigint NOT NULL, + version integer, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + code character varying(255) NOT NULL, + description character varying(255), + amount_with_tax numeric(23,12), + amount_without_tax numeric(23,12), + charge_date timestamp without time zone, + criteria_1 character varying(255), + criteria_2 character varying(255), + criteria_3 character varying(255), + is_prepaid integer DEFAULT 0, + status character varying(255), + status_date timestamp without time zone, + termination_date timestamp without time zone, + creator character varying(100), + updater character varying(100), + charge_template_id bigint, + trading_country bigint NOT NULL, + trading_currency bigint NOT NULL, + seller_id bigint NOT NULL, + subscription_id bigint, + invoicing_calendar_id bigint, + user_account_id bigint NOT NULL, + order_number character varying(100), + charge_type character varying(5), + quantity numeric(23,12), + product_instance_id bigint, + next_charge_date timestamp without time zone, + subscription_date timestamp without time zone, + service_instance_id bigint, + counter_id bigint, + rating_unit_description character varying(20), + priority integer DEFAULT 1, + cf_values_accum text, + cf_values text, + uuid character varying(60), + calendar_id bigint, + apply_in_advance integer +); + + +ALTER TABLE public.billing_charge_instance OWNER TO uat_postgres; + +-- +-- Name: billing_charge_instance_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.billing_charge_instance_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.billing_charge_instance_seq OWNER TO uat_postgres; + +-- +-- Name: billing_chrg_inst_counter; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.billing_chrg_inst_counter ( + chrg_instance_id bigint NOT NULL, + counter_instance_id bigint NOT NULL, + indx integer NOT NULL +); + + +ALTER TABLE public.billing_chrg_inst_counter OWNER TO uat_postgres; + +-- +-- Name: billing_chrginst_wallet; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.billing_chrginst_wallet ( + chrg_instance_id bigint NOT NULL, + wallet_instance_id bigint NOT NULL, + indx integer NOT NULL +); + + +ALTER TABLE public.billing_chrginst_wallet OWNER TO uat_postgres; + +-- +-- Name: billing_counter; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.billing_counter ( + id bigint NOT NULL, + version integer, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + code character varying(255) NOT NULL, + description character varying(255), + creator character varying(100), + updater character varying(100), + billing_account_id bigint, + counter_template_id bigint, + user_account_id bigint, + subscription_id bigint, + service_instance_id bigint, + customer_id bigint, + customer_account_id bigint +); + + +ALTER TABLE public.billing_counter OWNER TO uat_postgres; + +-- +-- Name: billing_counter_instance_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.billing_counter_instance_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.billing_counter_instance_seq OWNER TO uat_postgres; + +-- +-- Name: billing_counter_period; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.billing_counter_period ( + id bigint NOT NULL, + version integer, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + code character varying(255) NOT NULL, + description character varying(255), + counter_type character varying(255), + level_num numeric(35,12), + period_end_date timestamp without time zone, + period_start_date timestamp without time zone, + value numeric(35,12), + creator character varying(100), + updater character varying(100), + counter_instance_id bigint, + notification_levels character varying(100), + is_accumulator integer DEFAULT 0, + accumulator_type character varying(35) +); + + +ALTER TABLE public.billing_counter_period OWNER TO uat_postgres; + +-- +-- Name: billing_counter_period_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.billing_counter_period_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.billing_counter_period_seq OWNER TO uat_postgres; + +-- +-- Name: billing_counter_period_values; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.billing_counter_period_values ( + counter_key character varying(255) NOT NULL, + counter_value numeric(19,2) NOT NULL, + counterperiod_id bigint NOT NULL +); + + +ALTER TABLE public.billing_counter_period_values OWNER TO uat_postgres; + +-- +-- Name: billing_cycle; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.billing_cycle ( + id bigint NOT NULL, + version integer, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + code character varying(255) NOT NULL, + description character varying(255), + billing_template_name character varying(50), + due_date_delay integer, + invoice_date_delay integer, + creator character varying(100), + updater character varying(100), + calendar bigint, + transaction_date_delay integer, + invoice_date_production_delay integer, + invoicing_threshold numeric(23,12), + invoice_type_id bigint, + uuid character varying(60) NOT NULL, + due_date_delay_el character varying(2000), + due_date_delay_el_sp character varying(2000), + cf_values text, + cf_values_accum text, + billing_template_name_el character varying(2000), + invoice_type_el character varying(2000), + invoice_type_el_sp character varying(2000), + billing_cycle_type character varying(256) NOT NULL, + script_instance_id bigint, + reference_date character varying(255), + check_threshold character varying(25) +); + + +ALTER TABLE public.billing_cycle OWNER TO uat_postgres; + +-- +-- Name: billing_cycle_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.billing_cycle_seq + START WITH 3 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.billing_cycle_seq OWNER TO uat_postgres; + +-- +-- Name: billing_disc_inst_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.billing_disc_inst_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.billing_disc_inst_seq OWNER TO uat_postgres; + +-- +-- Name: billing_discount; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.billing_discount ( + id bigint NOT NULL, + version integer, + disabled integer DEFAULT 0 NOT NULL, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + discount_code character varying(20), + pourcent numeric(19,2), + pr_description character varying(255), + creator character varying(100), + updater character varying(100) +); + + +ALTER TABLE public.billing_discount OWNER TO uat_postgres; + +-- +-- Name: billing_discount_language; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.billing_discount_language ( + id bigint NOT NULL, + version integer, + disabled integer DEFAULT 0 NOT NULL, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + description character varying(255), + creator character varying(100), + updater character varying(100), + discount_id bigint, + trading_language_id bigint +); + + +ALTER TABLE public.billing_discount_language OWNER TO uat_postgres; + +-- +-- Name: billing_discount_language_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.billing_discount_language_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.billing_discount_language_seq OWNER TO uat_postgres; + +-- +-- Name: billing_discount_plan_instance; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.billing_discount_plan_instance ( + id bigint NOT NULL, + version integer, + discount_plan_id bigint NOT NULL, + billing_account_id bigint, + start_date date, + end_date date, + uuid character varying(60) NOT NULL, + cf_values text, + cf_values_accum text, + subscription_id bigint +); + + +ALTER TABLE public.billing_discount_plan_instance OWNER TO uat_postgres; + +-- +-- Name: billing_discount_plan_instance_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.billing_discount_plan_instance_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.billing_discount_plan_instance_seq OWNER TO uat_postgres; + +-- +-- Name: billing_discount_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.billing_discount_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.billing_discount_seq OWNER TO uat_postgres; + +-- +-- Name: billing_discplan_inst; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.billing_discplan_inst ( + id bigint NOT NULL, + version integer, + disabled integer DEFAULT 0 NOT NULL, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + charge_code character varying(255), + end_subscription_date timestamp without time zone, + nb_period integer, + pourcent numeric(19,2), + start_subscription_date timestamp without time zone, + usage_type integer, + creator character varying(100), + updater character varying(100), + billing_account_id bigint +); + + +ALTER TABLE public.billing_discplan_inst OWNER TO uat_postgres; + +-- +-- Name: billing_finance_segment; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.billing_finance_segment ( + id bigint NOT NULL, + code character varying(255) NOT NULL, + description character varying(255), + version integer, + disabled integer DEFAULT 0 NOT NULL, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + creator character varying(100), + updater character varying(100), + object_class character varying(100) NOT NULL, + field character varying(100) NOT NULL +); + + +ALTER TABLE public.billing_finance_segment OWNER TO uat_postgres; + +-- +-- Name: billing_finance_segment_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.billing_finance_segment_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.billing_finance_segment_seq OWNER TO uat_postgres; + +-- +-- Name: billing_general_ledger; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.billing_general_ledger ( + id bigint NOT NULL, + code character varying(255) NOT NULL, + description character varying(255), + version integer, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + creator character varying(100), + updater character varying(100) +); + + +ALTER TABLE public.billing_general_ledger OWNER TO uat_postgres; + +-- +-- Name: billing_general_ledger_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.billing_general_ledger_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.billing_general_ledger_seq OWNER TO uat_postgres; + +-- +-- Name: billing_inv_sub_cat_country_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.billing_inv_sub_cat_country_seq + START WITH 5 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.billing_inv_sub_cat_country_seq OWNER TO uat_postgres; + +-- +-- Name: billing_invoice; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.billing_invoice ( + id bigint NOT NULL, + version integer, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + alias character varying(255), + amount numeric(23,12), + amount_tax numeric(23,12), + amount_with_tax numeric(23,12), + amount_without_tax numeric(23,12), + comment character varying(1200), + discount numeric(23,12), + due_date timestamp without time zone, + iban character varying(255), + invoice_date timestamp without time zone, + invoice_number character varying(50), + net_to_pay numeric(23,12), + payment_method character varying(255), + product_date timestamp without time zone, + temporary_invoice_number character varying(60), + creator character varying(100), + updater character varying(100), + billing_account_id bigint, + billing_run_id bigint, + recorded_invoice_id bigint, + trading_country_id bigint, + trading_currency_id bigint, + trading_language_id bigint, + detailed_invoice integer DEFAULT 1 NOT NULL, + invoice_id bigint, + uuid character varying(60) NOT NULL, + invoice_type_id bigint, + quote_id bigint, + cf_values text, + cf_values_accum text, + pdf_filename character varying(255), + xml_filename character varying(255), + payment_method_id bigint, + due_balance numeric(23,12), + seller_id bigint NOT NULL, + subscription_id bigint, + order_id bigint, + already_sent integer DEFAULT 0 NOT NULL, + dont_send integer DEFAULT 0 NOT NULL, + prepaid integer DEFAULT 0 NOT NULL, + status character varying(50), + external_ref character varying(255) +); + + +ALTER TABLE public.billing_invoice OWNER TO uat_postgres; + +-- +-- Name: billing_invoice_agregate; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.billing_invoice_agregate ( + type character varying(31) NOT NULL, + id bigint NOT NULL, + version integer, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + accounting_code_id bigint, + amount numeric(23,12), + amount_tax numeric(23,12), + amount_with_tax numeric(23,12), + amount_without_tax numeric(23,12), + description character varying(255), + description_discount character varying(255), + discount numeric(23,12), + discount_aggregate integer DEFAULT 0 NOT NULL, + item_number integer, + pr_description character varying(255), + quantity numeric(19,2), + tax_percent numeric(23,12), + creator character varying(100), + updater character varying(100), + billing_account_id bigint, + billing_run_id bigint, + invoice_id bigint, + trading_country_id bigint, + trading_currency_id bigint, + trading_language_id bigint, + user_account_id bigint, + tax_id bigint, + category_invoice_agregate bigint, + invoicesubcategory bigint, + sub_category_tax bigint, + tax_invoice_agregate bigint, + wallet_id bigint, + invoicecategory bigint, + discount_percent numeric(23,12), + sub_cat_invoice_agregate_id bigint, + discount_plan_code character varying(50), + discount_plan_item_code character varying(50), + discount_plan_item_id bigint +); + + +ALTER TABLE public.billing_invoice_agregate OWNER TO uat_postgres; + +-- +-- Name: billing_invoice_agregate_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.billing_invoice_agregate_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.billing_invoice_agregate_seq OWNER TO uat_postgres; + +-- +-- Name: billing_invoice_agregate_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: uat_postgres +-- + +ALTER SEQUENCE public.billing_invoice_agregate_seq OWNED BY public.billing_invoice_agregate.id; + + +-- +-- Name: billing_invoice_cat; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.billing_invoice_cat ( + id bigint NOT NULL, + version integer, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + code character varying(255) NOT NULL, + description character varying(255), + sort_index integer, + creator character varying(100), + updater character varying(100), + uuid character varying(60) NOT NULL, + cf_values text, + cf_values_accum text, + description_i18n text, + occ_template_id bigint, + occ_templ_negative_id bigint +); + + +ALTER TABLE public.billing_invoice_cat OWNER TO uat_postgres; + +-- +-- Name: billing_invoice_cat_lang; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.billing_invoice_cat_lang ( + id bigint NOT NULL, + version integer, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + description character varying(255), + creator character varying(100), + updater character varying(100), + invoice_category_id bigint, + trading_language_id bigint +); + + +ALTER TABLE public.billing_invoice_cat_lang OWNER TO uat_postgres; + +-- +-- Name: billing_invoice_cat_lang_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.billing_invoice_cat_lang_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.billing_invoice_cat_lang_seq OWNER TO uat_postgres; + +-- +-- Name: billing_invoice_cat_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.billing_invoice_cat_seq + START WITH 3 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.billing_invoice_cat_seq OWNER TO uat_postgres; + +-- +-- Name: billing_invoice_configuration; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.billing_invoice_configuration ( + id bigint NOT NULL, + version integer, + display_subscriptions integer DEFAULT 0, + display_services integer DEFAULT 0, + display_offers integer DEFAULT 0, + display_edrs integer DEFAULT 0, + display_provider integer DEFAULT 0, + display_detail integer DEFAULT 1, + display_priceplans integer DEFAULT 0, + display_cf_as_xml integer DEFAULT 0, + display_billing_cycle integer DEFAULT 0, + display_orders integer DEFAULT 0, + current_invoice_nb bigint, + display_wallet_operations integer DEFAULT 0 +); + + +ALTER TABLE public.billing_invoice_configuration OWNER TO uat_postgres; + +-- +-- Name: billing_invoice_configuration_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.billing_invoice_configuration_seq + START WITH 2 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.billing_invoice_configuration_seq OWNER TO uat_postgres; + +-- +-- Name: billing_invoice_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.billing_invoice_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.billing_invoice_seq OWNER TO uat_postgres; + +-- +-- Name: billing_invoice_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: uat_postgres +-- + +ALTER SEQUENCE public.billing_invoice_seq OWNED BY public.billing_invoice.id; + + +-- +-- Name: billing_invoice_sub_cat; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.billing_invoice_sub_cat ( + id bigint NOT NULL, + version integer, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + code character varying(255) NOT NULL, + description character varying(255), + accounting_code_id bigint, + discount numeric(19,2), + creator character varying(100), + updater character varying(100), + invoice_category_id bigint, + uuid character varying(60) NOT NULL, + cf_values text, + cf_values_accum text, + description_i18n text, + tax_script_instance_id bigint, + occ_template_id bigint, + occ_templ_negative_id bigint, + sort_index integer +); + + +ALTER TABLE public.billing_invoice_sub_cat OWNER TO uat_postgres; + +-- +-- Name: billing_invoice_sub_cat_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.billing_invoice_sub_cat_seq + START WITH 3 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.billing_invoice_sub_cat_seq OWNER TO uat_postgres; + +-- +-- Name: billing_invoice_template; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.billing_invoice_template ( + id bigint NOT NULL, + version integer, + code character varying(255) NOT NULL, + file_name character varying(255) NOT NULL, + template_version character varying(255) NOT NULL, + validity_end_date timestamp without time zone NOT NULL, + validity_start_date timestamp without time zone NOT NULL +); + + +ALTER TABLE public.billing_invoice_template OWNER TO uat_postgres; + +-- +-- Name: billing_invoice_template_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.billing_invoice_template_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.billing_invoice_template_seq OWNER TO uat_postgres; + +-- +-- Name: billing_invoice_type; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.billing_invoice_type ( + id bigint NOT NULL, + version integer, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + creator character varying(100), + updater character varying(100), + code character varying(255) NOT NULL, + description character varying(255), + prefix_el character varying(2000), + matching_auto integer DEFAULT 0, + occ_template_id bigint, + occ_templ_negative_id bigint, + billing_template_name character varying(50), + pdf_filename_el character varying(2000), + xml_filename_el character varying(2000), + billing_template_name_el character varying(2000), + use_self_sequence integer DEFAULT 0, + occ_template_code_el character varying(2000), + occ_template_negative_code_el character varying(2000), + script_instance_id bigint, + invoice_sequence_id bigint, + tax_script_instance_id bigint, + uuid character varying(60) NOT NULL, + cf_values text, + cf_values_accum text, + mailing_type character varying(255), + email_template_id bigint, + invoice_accountable integer DEFAULT 1 NOT NULL +); + + +ALTER TABLE public.billing_invoice_type OWNER TO uat_postgres; + +-- +-- Name: billing_invoice_type_applies_to; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.billing_invoice_type_applies_to ( + invoice_type_id bigint NOT NULL, + applies_to_id bigint NOT NULL +); + + +ALTER TABLE public.billing_invoice_type_applies_to OWNER TO uat_postgres; + +-- +-- Name: billing_invoice_type_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.billing_invoice_type_seq + START WITH 3 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.billing_invoice_type_seq OWNER TO uat_postgres; + +-- +-- Name: billing_invoices_orders; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.billing_invoices_orders ( + invoice_id bigint NOT NULL, + order_id bigint NOT NULL +); + + +ALTER TABLE public.billing_invoices_orders OWNER TO uat_postgres; + +-- +-- Name: billing_linked_invoices; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.billing_linked_invoices ( + id bigint NOT NULL, + linked_invoice_id bigint NOT NULL +); + + +ALTER TABLE public.billing_linked_invoices OWNER TO uat_postgres; + +-- +-- Name: billing_priceplan_inst; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.billing_priceplan_inst ( + id bigint NOT NULL, + version integer, + disabled integer DEFAULT 0 NOT NULL, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + amount_without_tax numeric(19,2), + charge_code character varying(255), + end_event_date timestamp without time zone, + end_subscription_date timestamp without time zone, + pr_amount_without_tax numeric(19,2), + start_event_date timestamp without time zone, + start_subscription_date timestamp without time zone, + stringcriteria1 character varying(255), + stringcriteria2 character varying(255), + stringcriteria3 character varying(255), + subscription_age_max_in_month timestamp without time zone, + subscription_age_min_in_month timestamp without time zone, + usage_type integer, + creator character varying(100), + updater character varying(100), + billing_account_id bigint, + trading_currency_id bigint +); + + +ALTER TABLE public.billing_priceplan_inst OWNER TO uat_postgres; + +-- +-- Name: billing_product_chrg_inst_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.billing_product_chrg_inst_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.billing_product_chrg_inst_seq OWNER TO uat_postgres; + +-- +-- Name: billing_product_instance; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.billing_product_instance ( + id bigint NOT NULL, + version integer, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + creator character varying(100), + updater character varying(100), + uuid character varying(60) NOT NULL, + code character varying(255) NOT NULL, + description character varying(255), + product_template_id bigint, + quantity numeric(23,12), + user_account_id bigint, + application_date timestamp without time zone, + subscription_id bigint, + order_number character varying(100), + cf_values text, + cf_values_accum text, + seller_id bigint NOT NULL +); + + +ALTER TABLE public.billing_product_instance OWNER TO uat_postgres; + +-- +-- Name: billing_product_instance_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.billing_product_instance_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.billing_product_instance_seq OWNER TO uat_postgres; + +-- +-- Name: billing_rated_transaction; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.billing_rated_transaction ( + id bigint NOT NULL, + version integer, + amount_tax numeric(23,12), + amount_with_tax numeric(23,12), + amount_without_tax numeric(23,12), + code character varying(255), + description text, + do_not_trigger_invoicing integer DEFAULT 0 NOT NULL, + parameter_1 character varying(255), + parameter_2 character varying(255), + parameter_3 character varying(255), + quantity numeric(23,12), + status character varying(255) NOT NULL, + unit_amount_tax numeric(23,12), + unit_amount_with_tax numeric(23,12), + unit_amount_without_tax numeric(23,12), + unity_description character varying(20), + usage_date timestamp without time zone, + billing_account__id bigint, + billing_run_id bigint, + invoice_id bigint, + aggregate_id_f bigint, + invoice_sub_category_id bigint, + priceplan_id bigint, + wallet_id bigint, + edr_id bigint, + adjusted_rated_tx bigint, + order_number character varying(100), + rating_unit_description character varying(20), + parameter_extra text, + start_date timestamp without time zone, + end_date timestamp without time zone, + subscription_id bigint, + seller_id bigint NOT NULL, + charge_instance_id bigint, + tax_id bigint NOT NULL, + tax_percent numeric(23,12) NOT NULL, + user_account_id bigint, + offer_id bigint, + service_instance_id bigint, + updated timestamp without time zone, + tax_class_id bigint, + input_quantity numeric(23,12), + raw_amount_without_tax numeric(23,12), + raw_amount_with_tax numeric(23,12), + input_unitofmeasure bigint, + rating_unitofmeasure bigint, + sort_index integer +) +PARTITION BY LIST (status); + + +ALTER TABLE public.billing_rated_transaction OWNER TO uat_postgres; + +-- +-- Name: billing_rated_transaction_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.billing_rated_transaction_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.billing_rated_transaction_seq OWNER TO uat_postgres; + +-- +-- Name: billing_rated_transaction_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: uat_postgres +-- + +ALTER SEQUENCE public.billing_rated_transaction_seq OWNED BY public.billing_rated_transaction.id; + + +-- +-- Name: billing_rated_transaction_open; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.billing_rated_transaction_open ( + id bigint DEFAULT nextval('public.billing_rated_transaction_seq'::regclass) NOT NULL, + version integer, + amount_tax numeric(23,12), + amount_with_tax numeric(23,12), + amount_without_tax numeric(23,12), + code character varying(255), + description text, + do_not_trigger_invoicing integer DEFAULT 0 NOT NULL, + parameter_1 character varying(255), + parameter_2 character varying(255), + parameter_3 character varying(255), + quantity numeric(23,12), + status character varying(255) NOT NULL, + unit_amount_tax numeric(23,12), + unit_amount_with_tax numeric(23,12), + unit_amount_without_tax numeric(23,12), + unity_description character varying(20), + usage_date timestamp without time zone, + billing_account__id bigint, + billing_run_id bigint, + invoice_id bigint, + aggregate_id_f bigint, + invoice_sub_category_id bigint, + priceplan_id bigint, + wallet_id bigint, + edr_id bigint, + adjusted_rated_tx bigint, + order_number character varying(100), + rating_unit_description character varying(20), + parameter_extra text, + start_date timestamp without time zone, + end_date timestamp without time zone, + subscription_id bigint, + seller_id bigint NOT NULL, + charge_instance_id bigint, + tax_id bigint NOT NULL, + tax_percent numeric(23,12) NOT NULL, + user_account_id bigint, + offer_id bigint, + service_instance_id bigint, + updated timestamp without time zone, + tax_class_id bigint, + input_quantity numeric(23,12), + raw_amount_without_tax numeric(23,12), + raw_amount_with_tax numeric(23,12), + input_unitofmeasure bigint, + rating_unitofmeasure bigint, + sort_index integer +); + + +ALTER TABLE public.billing_rated_transaction_open OWNER TO uat_postgres; + +-- +-- Name: billing_rated_transaction_other; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.billing_rated_transaction_other ( + id bigint DEFAULT nextval('public.billing_rated_transaction_seq'::regclass) NOT NULL, + version integer, + amount_tax numeric(23,12), + amount_with_tax numeric(23,12), + amount_without_tax numeric(23,12), + code character varying(255), + description text, + do_not_trigger_invoicing integer DEFAULT 0 NOT NULL, + parameter_1 character varying(255), + parameter_2 character varying(255), + parameter_3 character varying(255), + quantity numeric(23,12), + status character varying(255) NOT NULL, + unit_amount_tax numeric(23,12), + unit_amount_with_tax numeric(23,12), + unit_amount_without_tax numeric(23,12), + unity_description character varying(20), + usage_date timestamp without time zone, + billing_account__id bigint, + billing_run_id bigint, + invoice_id bigint, + aggregate_id_f bigint, + invoice_sub_category_id bigint, + priceplan_id bigint, + wallet_id bigint, + edr_id bigint, + adjusted_rated_tx bigint, + order_number character varying(100), + rating_unit_description character varying(20), + parameter_extra text, + start_date timestamp without time zone, + end_date timestamp without time zone, + subscription_id bigint, + seller_id bigint NOT NULL, + charge_instance_id bigint, + tax_id bigint NOT NULL, + tax_percent numeric(23,12) NOT NULL, + user_account_id bigint, + offer_id bigint, + service_instance_id bigint, + updated timestamp without time zone, + tax_class_id bigint, + input_quantity numeric(23,12), + raw_amount_without_tax numeric(23,12), + raw_amount_with_tax numeric(23,12), + input_unitofmeasure bigint, + rating_unitofmeasure bigint, + sort_index integer +); + + +ALTER TABLE public.billing_rated_transaction_other OWNER TO uat_postgres; + +-- +-- Name: billing_rejected_ba_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.billing_rejected_ba_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.billing_rejected_ba_seq OWNER TO uat_postgres; + +-- +-- Name: billing_rejected_billing_accounts; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.billing_rejected_billing_accounts ( + id bigint NOT NULL, + version integer, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + reject_cause character varying(3000), + creator character varying(100), + updater character varying(100), + billing_account bigint, + billing_run bigint +); + + +ALTER TABLE public.billing_rejected_billing_accounts OWNER TO uat_postgres; + +-- +-- Name: billing_reservation; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.billing_reservation ( + id bigint NOT NULL, + version integer, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + amount_with_tax numeric(23,12), + amount_without_tax numeric(23,12), + expiry_date date, + input_message character varying(255), + origin_edr_id bigint, + quantity numeric(23,12), + reservation_date date, + status character varying(255), + creator character varying(100), + updater character varying(100), + subscription_id bigint, + user_account_id bigint, + wallet_id bigint +); + + +ALTER TABLE public.billing_reservation OWNER TO uat_postgres; + +-- +-- Name: billing_reservation_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.billing_reservation_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.billing_reservation_seq OWNER TO uat_postgres; + +-- +-- Name: billing_resrv_countid; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.billing_resrv_countid ( + reservation_id bigint NOT NULL, + counterperiodvalues numeric(19,2), + counterperiodvalues_key bigint NOT NULL +); + + +ALTER TABLE public.billing_resrv_countid OWNER TO uat_postgres; + +-- +-- Name: billing_seq_invoice; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.billing_seq_invoice ( + id bigint NOT NULL, + sequence_size integer, + current_invoice_nb bigint, + version integer DEFAULT 0, + creator character varying(100), + updater character varying(100), + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + code character varying(255) NOT NULL, + description character varying(255) +); + + +ALTER TABLE public.billing_seq_invoice OWNER TO uat_postgres; + +-- +-- Name: billing_seq_invtyp_sell; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.billing_seq_invtyp_sell ( + id bigint NOT NULL, + invoicetype_id bigint NOT NULL, + seller_id bigint NOT NULL, + prefix_el character varying(2000), + invoice_sequence_id bigint +); + + +ALTER TABLE public.billing_seq_invtyp_sell OWNER TO uat_postgres; + +-- +-- Name: billing_service_instance; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.billing_service_instance ( + id bigint NOT NULL, + version integer, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + code character varying(255) NOT NULL, + description character varying(255), + end_agrement_date timestamp without time zone, + quantity numeric(23,12), + status character varying(255), + status_date timestamp without time zone, + subscription_date timestamp without time zone, + termination_date timestamp without time zone, + creator character varying(100), + updater character varying(100), + service_template_id bigint, + subscription_id bigint, + sub_termin_reason_id bigint, + invoicing_calendar_id bigint, + uuid character varying(60) NOT NULL, + order_number character varying(100), + cf_values text, + cf_values_accum text, + rate_until_date timestamp without time zone, + minimum_amount_el character varying(2000), + minimum_amount_el_sp character varying(2000), + minimum_label_el character varying(2000), + minimum_label_el_sp character varying(2000), + auto_renew integer DEFAULT 0 NOT NULL, + days_notify_renew integer, + end_of_term_action character varying(10), + auto_termin_reason_id bigint, + init_active_unit character varying(5), + init_active integer, + match_end_aggr_date integer DEFAULT 0 NOT NULL, + renew_for_unit character varying(5), + renew_for integer, + subscribed_till_date timestamp without time zone, + renewed integer DEFAULT 0 NOT NULL, + notify_of_renewal_date timestamp without time zone, + renewal_notified_date timestamp without time zone, + initial_term_type character varying(20) DEFAULT 'RECURRING'::character varying, + auto_end_of_engagement integer, + amount_ps numeric(23,12), + calendar_ps_id bigint, + payment_day_in_month_ps integer, + auto_renew_date timestamp without time zone, + initial_renewal text, + calendar_init_active_id bigint, + calendar_renew_for_id bigint, + renewal_term_type character varying(20), + minimum_invoice_sub_category_id bigint, + minimum_charge_template_id bigint +); + + +ALTER TABLE public.billing_service_instance OWNER TO uat_postgres; + +-- +-- Name: billing_service_instance_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.billing_service_instance_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.billing_service_instance_seq OWNER TO uat_postgres; + +-- +-- Name: billing_sub_term_reason_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.billing_sub_term_reason_seq + START WITH 4 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.billing_sub_term_reason_seq OWNER TO uat_postgres; + +-- +-- Name: billing_subscrip_termin_reason; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.billing_subscrip_termin_reason ( + id bigint NOT NULL, + version integer, + apply_agreement integer DEFAULT 0 NOT NULL, + apply_reimbursment integer DEFAULT 0 NOT NULL, + apply_termination_charges integer DEFAULT 0 NOT NULL, + code character varying(255), + description character varying(255), + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + creator character varying(100), + updater character varying(100), + override_prorata character varying(255), + reimburse_oneshots integer DEFAULT 0 NOT NULL +); + + +ALTER TABLE public.billing_subscrip_termin_reason OWNER TO uat_postgres; + +-- +-- Name: billing_subscription; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.billing_subscription ( + id bigint NOT NULL, + version integer, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + code character varying(255) NOT NULL, + description character varying(255), + default_level integer DEFAULT 1, + end_agrement_date timestamp without time zone, + status character varying(255), + status_date timestamp without time zone, + subscription_date timestamp without time zone, + termination_date timestamp without time zone, + creator character varying(100), + updater character varying(100), + offer_id bigint, + sub_termin_reason_id bigint, + user_account_id bigint NOT NULL, + uuid character varying(60) NOT NULL, + subscribed_till_date timestamp without time zone, + auto_renew integer DEFAULT 0 NOT NULL, + days_notify_renew integer, + end_of_term_action character varying(10), + auto_termin_reason_id bigint, + init_active_unit character varying(5), + init_active integer, + match_end_aggr_date integer DEFAULT 0 NOT NULL, + renew_for_unit character varying(5), + renew_for integer, + renewed integer DEFAULT 0 NOT NULL, + notify_of_renewal_date timestamp without time zone, + renewal_notified_date timestamp without time zone, + cf_values text, + cf_values_accum text, + minimum_amount_el character varying(2000), + minimum_amount_el_sp character varying(2000), + minimum_label_el character varying(2000), + minimum_label_el_sp character varying(2000), + initial_term_type character varying(20) DEFAULT 'RECURRING'::character varying, + billing_cycle bigint, + billing_run bigint, + auto_end_of_engagement integer, + seller_id bigint NOT NULL, + rating_group character varying(50), + auto_renew_date timestamp without time zone, + mailing_type character varying(255), + cced_emails character varying(2000), + email character varying(255), + electronic_billing integer DEFAULT 0 NOT NULL, + email_template_id bigint, + initial_renewal text, + calendar_init_active_id bigint, + calendar_renew_for_id bigint, + renewal_term_type character varying(20), + minimum_invoice_sub_category_id bigint, + minimum_charge_template_id bigint +); + + +ALTER TABLE public.billing_subscription OWNER TO uat_postgres; + +-- +-- Name: billing_subscription_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.billing_subscription_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.billing_subscription_seq OWNER TO uat_postgres; + +-- +-- Name: billing_tax; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.billing_tax ( + id bigint NOT NULL, + version integer, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + code character varying(255) NOT NULL, + description character varying(255), + accounting_code_id bigint, + tax_percentage numeric(23,12) NOT NULL, + creator character varying(100), + updater character varying(100), + uuid character varying(60) NOT NULL, + cf_values text, + cf_values_accum text, + description_i18n text +); + + +ALTER TABLE public.billing_tax OWNER TO uat_postgres; + +-- +-- Name: billing_tax_category; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.billing_tax_category ( + id bigint NOT NULL, + version integer, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + creator character varying(100), + updater character varying(100), + code character varying(255) NOT NULL, + description character varying(255), + description_i18n text, + uuid character varying(60) NOT NULL, + cf_values text, + cf_values_accum text +); + + +ALTER TABLE public.billing_tax_category OWNER TO uat_postgres; + +-- +-- Name: billing_tax_category_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.billing_tax_category_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.billing_tax_category_seq OWNER TO uat_postgres; + +-- +-- Name: billing_tax_class; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.billing_tax_class ( + id bigint NOT NULL, + version integer, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + creator character varying(100), + updater character varying(100), + code character varying(255) NOT NULL, + description character varying(255), + description_i18n text, + uuid character varying(60) NOT NULL, + cf_values text, + cf_values_accum text +); + + +ALTER TABLE public.billing_tax_class OWNER TO uat_postgres; + +-- +-- Name: billing_tax_class_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.billing_tax_class_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.billing_tax_class_seq OWNER TO uat_postgres; + +-- +-- Name: billing_tax_language; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.billing_tax_language ( + id bigint NOT NULL, + version integer, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + description character varying(255), + creator character varying(100), + updater character varying(100), + tax_id bigint, + trading_language_id bigint +); + + +ALTER TABLE public.billing_tax_language OWNER TO uat_postgres; + +-- +-- Name: billing_tax_language_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.billing_tax_language_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.billing_tax_language_seq OWNER TO uat_postgres; + +-- +-- Name: billing_tax_mapping; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.billing_tax_mapping ( + id bigint NOT NULL, + version integer, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + creator character varying(100), + updater character varying(100), + tax_category_id bigint NOT NULL, + tax_class_id bigint, + valid_from timestamp without time zone, + valid_to timestamp without time zone, + seller_country_id bigint, + buyer_country_id bigint, + filter_el character varying(2000), + filter_el_sp character varying(2000), + tax_id bigint, + tax_el character varying(2000), + tax_el_sp character varying(2000), + tax_script_id bigint, + priority integer DEFAULT 0, + source character varying(2000), + origin_id bigint +); + + +ALTER TABLE public.billing_tax_mapping OWNER TO uat_postgres; + +-- +-- Name: billing_tax_mapping_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.billing_tax_mapping_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.billing_tax_mapping_seq OWNER TO uat_postgres; + +-- +-- Name: billing_tax_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.billing_tax_seq + START WITH 4 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.billing_tax_seq OWNER TO uat_postgres; + +-- +-- Name: billing_trading_country; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.billing_trading_country ( + id bigint NOT NULL, + version integer, + disabled integer DEFAULT 0 NOT NULL, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + creator character varying(100), + updater character varying(100), + country_id bigint, + code character varying(255), + description character varying(255), + cf_values_accum text, + cf_values text, + uuid character varying(60) DEFAULT 'Trading_Country_US'::character varying NOT NULL +); + + +ALTER TABLE public.billing_trading_country OWNER TO uat_postgres; + +-- +-- Name: billing_trading_country_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.billing_trading_country_seq + START WITH 3 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.billing_trading_country_seq OWNER TO uat_postgres; + +-- +-- Name: billing_trading_currency; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.billing_trading_currency ( + id bigint NOT NULL, + version integer, + disabled integer DEFAULT 0 NOT NULL, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + pr_currency_to_this numeric(23,12), + pr_description character varying(255), + creator character varying(100), + updater character varying(100), + currency_id bigint +); + + +ALTER TABLE public.billing_trading_currency OWNER TO uat_postgres; + +-- +-- Name: billing_trading_currency_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.billing_trading_currency_seq + START WITH 3 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.billing_trading_currency_seq OWNER TO uat_postgres; + +-- +-- Name: billing_trading_language; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.billing_trading_language ( + id bigint NOT NULL, + version integer, + disabled integer DEFAULT 0 NOT NULL, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + pr_description character varying(255), + creator character varying(100), + updater character varying(100), + language_id bigint +); + + +ALTER TABLE public.billing_trading_language OWNER TO uat_postgres; + +-- +-- Name: billing_trading_language_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.billing_trading_language_seq + START WITH 3 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.billing_trading_language_seq OWNER TO uat_postgres; + +-- +-- Name: billing_user_account; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.billing_user_account ( + status character varying(10), + status_date timestamp without time zone, + subscription_date timestamp without time zone, + termination_date timestamp without time zone, + id bigint NOT NULL, + billing_account_id bigint, + termin_reason_id bigint, + wallet_id bigint +); + + +ALTER TABLE public.billing_user_account OWNER TO uat_postgres; + +-- +-- Name: billing_wallet; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.billing_wallet ( + id bigint NOT NULL, + version integer, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + code character varying(255) NOT NULL, + description character varying(255), + expiry_date timestamp without time zone, + next_matching_date timestamp without time zone, + creator character varying(100), + updater character varying(100), + user_account_id bigint, + cat_wallet_template_id bigint, + low_balance_level numeric(23,12), + reject_level numeric(23,12) +); + + +ALTER TABLE public.billing_wallet OWNER TO uat_postgres; + +-- +-- Name: billing_wallet_operation; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.billing_wallet_operation ( + id bigint NOT NULL, + operation_type character varying(31) NOT NULL, + version integer, + created timestamp without time zone, + updated timestamp without time zone, + code character varying(255) NOT NULL, + description character varying(255), + amount_tax numeric(23,12), + amount_with_tax numeric(23,12), + amount_without_tax numeric(23,12), + end_date timestamp without time zone, + offer_code character varying(255), + operation_date timestamp without time zone, + parameter_1 character varying(255), + parameter_2 character varying(255), + parameter_3 character varying(255), + quantity numeric(23,12), + start_date timestamp without time zone, + status character varying(255) NOT NULL, + subscription_date timestamp without time zone, + tax_percent numeric(23,12) NOT NULL, + credit_debit_flag character varying(255), + unit_amount_tax numeric(23,12), + unit_amount_with_tax numeric(23,12), + unit_amount_without_tax numeric(23,12), + charge_instance_id bigint NOT NULL, + counter_id bigint, + currency_id bigint, + priceplan_id bigint, + reratedwalletoperation_id bigint, + seller_id bigint NOT NULL, + wallet_id bigint, + reservation_id bigint, + invoicing_date timestamp without time zone, + input_quantity numeric(23,12), + input_unit_description character varying(20), + rating_unit_description character varying(20), + edr_id bigint, + order_number character varying(100), + parameter_extra text, + raw_amount_without_tax numeric(23,12), + raw_amount_with_tax numeric(23,12), + invoice_sub_category_id bigint, + subscription_id bigint, + tax_id bigint NOT NULL, + rated_transaction_id bigint, + service_instance_id bigint, + offer_id bigint, + input_unitofmeasure bigint, + rating_unitofmeasure bigint, + tax_class_id bigint, + uuid character varying(60) NOT NULL, + cf_values text, + cf_values_accum text, + sort_index integer +) +PARTITION BY LIST (status); + + +ALTER TABLE public.billing_wallet_operation OWNER TO uat_postgres; + +-- +-- Name: billing_wallet_operation_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.billing_wallet_operation_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.billing_wallet_operation_seq OWNER TO uat_postgres; + +-- +-- Name: billing_wallet_operation_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: uat_postgres +-- + +ALTER SEQUENCE public.billing_wallet_operation_seq OWNED BY public.billing_wallet_operation.id; + + +-- +-- Name: billing_wallet_operation_open; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.billing_wallet_operation_open ( + id bigint DEFAULT nextval('public.billing_wallet_operation_seq'::regclass) NOT NULL, + operation_type character varying(31) NOT NULL, + version integer, + created timestamp without time zone, + updated timestamp without time zone, + code character varying(255) NOT NULL, + description character varying(255), + amount_tax numeric(23,12), + amount_with_tax numeric(23,12), + amount_without_tax numeric(23,12), + end_date timestamp without time zone, + offer_code character varying(255), + operation_date timestamp without time zone, + parameter_1 character varying(255), + parameter_2 character varying(255), + parameter_3 character varying(255), + quantity numeric(23,12), + start_date timestamp without time zone, + status character varying(255) NOT NULL, + subscription_date timestamp without time zone, + tax_percent numeric(23,12) NOT NULL, + credit_debit_flag character varying(255), + unit_amount_tax numeric(23,12), + unit_amount_with_tax numeric(23,12), + unit_amount_without_tax numeric(23,12), + charge_instance_id bigint NOT NULL, + counter_id bigint, + currency_id bigint, + priceplan_id bigint, + reratedwalletoperation_id bigint, + seller_id bigint NOT NULL, + wallet_id bigint, + reservation_id bigint, + invoicing_date timestamp without time zone, + input_quantity numeric(23,12), + input_unit_description character varying(20), + rating_unit_description character varying(20), + edr_id bigint, + order_number character varying(100), + parameter_extra text, + raw_amount_without_tax numeric(23,12), + raw_amount_with_tax numeric(23,12), + invoice_sub_category_id bigint, + subscription_id bigint, + tax_id bigint NOT NULL, + rated_transaction_id bigint, + service_instance_id bigint, + offer_id bigint, + input_unitofmeasure bigint, + rating_unitofmeasure bigint, + tax_class_id bigint, + uuid character varying(60) NOT NULL, + cf_values text, + cf_values_accum text, + sort_index integer +); + + +ALTER TABLE public.billing_wallet_operation_open OWNER TO uat_postgres; + +-- +-- Name: billing_wallet_operation_other; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.billing_wallet_operation_other ( + id bigint DEFAULT nextval('public.billing_wallet_operation_seq'::regclass) NOT NULL, + operation_type character varying(31) NOT NULL, + version integer, + created timestamp without time zone, + updated timestamp without time zone, + code character varying(255) NOT NULL, + description character varying(255), + amount_tax numeric(23,12), + amount_with_tax numeric(23,12), + amount_without_tax numeric(23,12), + end_date timestamp without time zone, + offer_code character varying(255), + operation_date timestamp without time zone, + parameter_1 character varying(255), + parameter_2 character varying(255), + parameter_3 character varying(255), + quantity numeric(23,12), + start_date timestamp without time zone, + status character varying(255) NOT NULL, + subscription_date timestamp without time zone, + tax_percent numeric(23,12) NOT NULL, + credit_debit_flag character varying(255), + unit_amount_tax numeric(23,12), + unit_amount_with_tax numeric(23,12), + unit_amount_without_tax numeric(23,12), + charge_instance_id bigint NOT NULL, + counter_id bigint, + currency_id bigint, + priceplan_id bigint, + reratedwalletoperation_id bigint, + seller_id bigint NOT NULL, + wallet_id bigint, + reservation_id bigint, + invoicing_date timestamp without time zone, + input_quantity numeric(23,12), + input_unit_description character varying(20), + rating_unit_description character varying(20), + edr_id bigint, + order_number character varying(100), + parameter_extra text, + raw_amount_without_tax numeric(23,12), + raw_amount_with_tax numeric(23,12), + invoice_sub_category_id bigint, + subscription_id bigint, + tax_id bigint NOT NULL, + rated_transaction_id bigint, + service_instance_id bigint, + offer_id bigint, + input_unitofmeasure bigint, + rating_unitofmeasure bigint, + tax_class_id bigint, + uuid character varying(60) NOT NULL, + cf_values text, + cf_values_accum text, + sort_index integer +); + + +ALTER TABLE public.billing_wallet_operation_other OWNER TO uat_postgres; + +-- +-- Name: billing_wallet_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.billing_wallet_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.billing_wallet_seq OWNER TO uat_postgres; + +-- +-- Name: cat_bundle_product_template; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.cat_bundle_product_template ( + id bigint NOT NULL, + product_template_id bigint, + bundle_template_id bigint, + quantity integer +); + + +ALTER TABLE public.cat_bundle_product_template OWNER TO uat_postgres; + +-- +-- Name: cat_bundle_product_template_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.cat_bundle_product_template_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.cat_bundle_product_template_seq OWNER TO uat_postgres; + +-- +-- Name: cat_business_offer_model; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.cat_business_offer_model ( + id bigint NOT NULL, + offer_template_id bigint +); + + +ALTER TABLE public.cat_business_offer_model OWNER TO uat_postgres; + +-- +-- Name: cat_business_product_model; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.cat_business_product_model ( + id bigint NOT NULL, + product_template_id bigint +); + + +ALTER TABLE public.cat_business_product_model OWNER TO uat_postgres; + +-- +-- Name: cat_business_serv_model; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.cat_business_serv_model ( + id bigint NOT NULL, + service_template_id bigint, + duplicate_service integer DEFAULT 0 NOT NULL, + duplicate_price_plan integer DEFAULT 0 NOT NULL +); + + +ALTER TABLE public.cat_business_serv_model OWNER TO uat_postgres; + +-- +-- Name: cat_calendar; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.cat_calendar ( + cal_type character varying(31) NOT NULL, + id bigint NOT NULL, + version integer, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + code character varying(255) NOT NULL, + description character varying(255), + nb_periods integer, + period_length integer, + period_unit integer, + calendar timestamp without time zone, + join_type character varying(255), + interval_type character varying(255), + creator character varying(100), + updater character varying(100), + join_cal_1_id bigint, + join_cal_2_id bigint, + start_date date, + end_date date, + weekend_begin integer, + weekend_end integer +); + + +ALTER TABLE public.cat_calendar OWNER TO uat_postgres; + +-- +-- Name: cat_calendar_days; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.cat_calendar_days ( + calendar_id bigint NOT NULL, + day_id bigint NOT NULL +); + + +ALTER TABLE public.cat_calendar_days OWNER TO uat_postgres; + +-- +-- Name: cat_calendar_holiday; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.cat_calendar_holiday ( + id bigint NOT NULL, + version integer, + holiday_begin integer NOT NULL, + holiday_end integer NOT NULL, + calendar_id bigint NOT NULL +); + + +ALTER TABLE public.cat_calendar_holiday OWNER TO uat_postgres; + +-- +-- Name: cat_calendar_holiday_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.cat_calendar_holiday_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.cat_calendar_holiday_seq OWNER TO uat_postgres; + +-- +-- Name: cat_calendar_hours; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.cat_calendar_hours ( + calendar_id bigint NOT NULL, + hour_id bigint NOT NULL +); + + +ALTER TABLE public.cat_calendar_hours OWNER TO uat_postgres; + +-- +-- Name: cat_calendar_interval; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.cat_calendar_interval ( + id bigint NOT NULL, + version integer, + interval_begin integer NOT NULL, + interval_end integer NOT NULL, + calendar_id bigint NOT NULL +); + + +ALTER TABLE public.cat_calendar_interval OWNER TO uat_postgres; + +-- +-- Name: cat_calendar_interval_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.cat_calendar_interval_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.cat_calendar_interval_seq OWNER TO uat_postgres; + +-- +-- Name: cat_calendar_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.cat_calendar_seq + START WITH 4 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.cat_calendar_seq OWNER TO uat_postgres; + +-- +-- Name: cat_channel; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.cat_channel ( + id bigint NOT NULL, + version integer, + disabled integer DEFAULT 0 NOT NULL, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + code character varying(255) NOT NULL, + description character varying(255), + creator character varying(100), + updater character varying(100) +); + + +ALTER TABLE public.cat_channel OWNER TO uat_postgres; + +-- +-- Name: cat_channel_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.cat_channel_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.cat_channel_seq OWNER TO uat_postgres; + +-- +-- Name: cat_charge_template; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.cat_charge_template ( + id bigint NOT NULL, + version integer, + disabled integer DEFAULT 0 NOT NULL, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + code character varying(255) NOT NULL, + description character varying(255), + amount_editable integer, + credit_debit_flag integer, + creator character varying(100), + updater character varying(100), + invoice_sub_category bigint NOT NULL, + input_unit_description character varying(20), + rating_unit_description character varying(20), + unit_multiplicator numeric(23,12), + unit_nb_decimal integer, + uuid character varying(60) NOT NULL, + rounding_mode character varying(255) DEFAULT 'NEAREST'::character varying, + revenue_recog_rule_id bigint, + cf_values text, + cf_values_accum text, + description_i18n text, + charge_type character varying(5), + filter_expression character varying(2000), + filter_param_1 character varying(255), + filter_param_2 character varying(255), + filter_param_3 character varying(255), + filter_param_4 character varying(255), + filter_el_sp character varying(2000), + priority integer DEFAULT 1, + trigger_next_charge integer DEFAULT 0, + trigger_next_charge_el character varying(2000), + apply_in_advance integer, + duration_term_in_month integer, + recurrence_type character varying(255), + share_level character varying(20), + subscription_prorata integer, + termination_prorata integer, + calendar_id bigint, + subscription_prorata_el character varying(2000), + termination_prorata_el character varying(2000), + apply_in_advance_el character varying(2000), + duration_term_in_month_el character varying(2000), + calendar_code_el character varying(2000), + immediate_invoicing integer DEFAULT 0, + type character varying(255), + prorata_on_price_change integer DEFAULT 0, + input_unitofmeasure bigint, + rating_unitofmeasure bigint, + input_unit_el character varying(2000), + output_unit_el character varying(2000), + tax_class_id bigint NOT NULL, + tax_class_el character varying(2000), + tax_class_el_sp character varying(2000), + drop_zero_wo integer DEFAULT 0, + rating_script_id bigint, + sort_index_el character varying(2000) +); + + +ALTER TABLE public.cat_charge_template OWNER TO uat_postgres; + +-- +-- Name: cat_charge_template_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.cat_charge_template_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.cat_charge_template_seq OWNER TO uat_postgres; + +-- +-- Name: cat_chrg_edr; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.cat_chrg_edr ( + charge_tmpl_id bigint NOT NULL, + trigg_edr_id bigint NOT NULL +); + + +ALTER TABLE public.cat_chrg_edr OWNER TO uat_postgres; + +-- +-- Name: cat_counter_template; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.cat_counter_template ( + id bigint NOT NULL, + version integer, + disabled integer DEFAULT 0 NOT NULL, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + code character varying(255) NOT NULL, + description character varying(255), + counter_level character varying(255) DEFAULT 'UA'::character varying NOT NULL, + counter_type character varying(255) DEFAULT 'USAGE'::character varying NOT NULL, + level_num numeric(35,12), + unity_description character varying(20), + creator character varying(100), + updater character varying(100), + calendar_id bigint, + ceiling_expression_el character varying(2000), + notification_levels character varying(70), + is_accumulator integer DEFAULT 0, + calendar_code_el character varying(2000), + accumulator_type character varying(35), + filter_el character varying(2000), + key_el character varying(2000), + value_el character varying(2000) +); + + +ALTER TABLE public.cat_counter_template OWNER TO uat_postgres; + +-- +-- Name: cat_counter_template_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.cat_counter_template_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.cat_counter_template_seq OWNER TO uat_postgres; + +-- +-- Name: cat_day_in_year; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.cat_day_in_year ( + id bigint NOT NULL, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + version integer, + day integer, + month character varying(20), + creator character varying(100), + updater character varying(100) +); + + +ALTER TABLE public.cat_day_in_year OWNER TO uat_postgres; + +-- +-- Name: cat_day_in_year_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.cat_day_in_year_seq + START WITH 367 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.cat_day_in_year_seq OWNER TO uat_postgres; + +-- +-- Name: cat_digital_resource; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.cat_digital_resource ( + id bigint NOT NULL, + version integer, + disabled integer DEFAULT 0 NOT NULL, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + code character varying(255) NOT NULL, + description character varying(255), + creator character varying(100), + updater character varying(100), + uri character varying(255), + mime_type character varying(50) +); + + +ALTER TABLE public.cat_digital_resource OWNER TO uat_postgres; + +-- +-- Name: cat_digital_resource_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.cat_digital_resource_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.cat_digital_resource_seq OWNER TO uat_postgres; + +-- +-- Name: cat_discount_plan; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.cat_discount_plan ( + id bigint NOT NULL, + version integer, + disabled integer DEFAULT 0 NOT NULL, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + code character varying(255) NOT NULL, + description character varying(255), + max_duration integer, + min_duration integer, + creator character varying(100), + updater character varying(100), + uuid character varying(60) NOT NULL, + cf_values text, + cf_values_accum text, + start_date date, + end_date date, + default_duration integer, + duration_unit character varying(50) +); + + +ALTER TABLE public.cat_discount_plan OWNER TO uat_postgres; + +-- +-- Name: cat_discount_plan_item; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.cat_discount_plan_item ( + id bigint NOT NULL, + version integer, + disabled integer DEFAULT 0 NOT NULL, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + accounting_code character varying(255), + code character varying(255) NOT NULL, + discount_value numeric(23,12), + creator character varying(100), + updater character varying(100), + discount_plan_id bigint NOT NULL, + invoice_category_id bigint, + invoice_sub_category_id bigint, + expression_el character varying(2000), + expression_el_sp character varying(2000), + discount_value_el character varying(2000), + discount_value_el_sp character varying(2000), + discount_plan_item_type character varying(25), + uuid character varying(60) NOT NULL, + cf_values text, + cf_values_accum text +); + + +ALTER TABLE public.cat_discount_plan_item OWNER TO uat_postgres; + +-- +-- Name: cat_discount_plan_item_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.cat_discount_plan_item_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.cat_discount_plan_item_seq OWNER TO uat_postgres; + +-- +-- Name: cat_discount_plan_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.cat_discount_plan_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.cat_discount_plan_seq OWNER TO uat_postgres; + +-- +-- Name: cat_hour_in_day; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.cat_hour_in_day ( + id bigint NOT NULL, + version integer, + hour integer, + min integer +); + + +ALTER TABLE public.cat_hour_in_day OWNER TO uat_postgres; + +-- +-- Name: cat_hour_in_day_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.cat_hour_in_day_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.cat_hour_in_day_seq OWNER TO uat_postgres; + +-- +-- Name: cat_offer_product_template; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.cat_offer_product_template ( + id bigint NOT NULL, + offer_template_id bigint, + product_template_id bigint, + mandatory integer DEFAULT 0 NOT NULL +); + + +ALTER TABLE public.cat_offer_product_template OWNER TO uat_postgres; + +-- +-- Name: cat_offer_product_template_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.cat_offer_product_template_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.cat_offer_product_template_seq OWNER TO uat_postgres; + +-- +-- Name: cat_offer_serv_incomp; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.cat_offer_serv_incomp ( + offer_service_template_id bigint NOT NULL, + service_template_id bigint NOT NULL +); + + +ALTER TABLE public.cat_offer_serv_incomp OWNER TO uat_postgres; + +-- +-- Name: cat_offer_serv_templates; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.cat_offer_serv_templates ( + offer_template_id bigint NOT NULL, + service_template_id bigint NOT NULL, + id bigint NOT NULL, + mandatory integer DEFAULT 0 NOT NULL, + valid_from timestamp without time zone, + valid_to timestamp without time zone +); + + +ALTER TABLE public.cat_offer_serv_templates OWNER TO uat_postgres; + +-- +-- Name: cat_offer_serv_templt_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.cat_offer_serv_templt_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.cat_offer_serv_templt_seq OWNER TO uat_postgres; + +-- +-- Name: cat_offer_template; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.cat_offer_template ( + id bigint NOT NULL, + version integer, + disabled integer DEFAULT 0 NOT NULL, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + code character varying(255) NOT NULL, + description character varying(255), + creator character varying(100), + updater character varying(100), + uuid character varying(60) NOT NULL, + bom_code character varying(60), + termination_script_instance_id bigint, + subscription_script_instance_id bigint, + name character varying(100), + entity_version integer, + status character varying(50), + business_offer_model_id bigint, + valid_from timestamp without time zone, + valid_to timestamp without time zone, + long_description text, + life_cycle_status character varying(60), + type character varying(20) DEFAULT 'OFFER'::character varying NOT NULL, + product_charge_tmpl_id bigint, + business_product_model_id bigint, + invoicing_calendar_id bigint, + image_path character varying(100), + cf_values text, + cf_values_accum text, + auto_renew integer DEFAULT 0 NOT NULL, + days_notify_renew integer, + end_of_term_action character varying(10), + auto_termin_reason_id bigint, + init_active_unit character varying(5), + init_active integer, + match_end_aggr_date integer DEFAULT 0 NOT NULL, + renew_for_unit character varying(5), + renew_for integer, + description_i18n text, + long_description_i18n text, + script_instance_id bigint, + minimum_amount_el character varying(2000), + minimum_amount_el_sp character varying(2000), + minimum_label_el character varying(2000), + minimum_label_el_sp character varying(2000), + initial_term_type character varying(20) DEFAULT 'RECURRING'::character varying, + auto_end_of_engagement integer, + auto_renew_date timestamp without time zone, + calendar_init_active_id bigint, + calendar_renew_for_id bigint, + renewal_term_type character varying(20), + minimum_invoice_sub_category_id bigint, + minimum_charge_template_id bigint +); + + +ALTER TABLE public.cat_offer_template OWNER TO uat_postgres; + +-- +-- Name: cat_offer_template_category; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.cat_offer_template_category ( + id bigint NOT NULL, + version integer, + disabled integer DEFAULT 0 NOT NULL, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + creator character varying(100), + updater character varying(100), + code character varying(255) NOT NULL, + description character varying(255), + uuid character varying(60) NOT NULL, + name character varying(100) NOT NULL, + offer_template_category_id bigint, + level integer, + image_path character varying(100), + cf_values text, + cf_values_accum text +); + + +ALTER TABLE public.cat_offer_template_category OWNER TO uat_postgres; + +-- +-- Name: cat_offer_template_category_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.cat_offer_template_category_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.cat_offer_template_category_seq OWNER TO uat_postgres; + +-- +-- Name: cat_offer_template_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.cat_offer_template_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.cat_offer_template_seq OWNER TO uat_postgres; + +-- +-- Name: cat_offer_tmpl_discount_plan; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.cat_offer_tmpl_discount_plan ( + offer_tmpl_id bigint NOT NULL, + discount_plan_id bigint NOT NULL +); + + +ALTER TABLE public.cat_offer_tmpl_discount_plan OWNER TO uat_postgres; + +-- +-- Name: cat_price_plan_matrix; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.cat_price_plan_matrix ( + id bigint NOT NULL, + version integer, + disabled integer DEFAULT 0 NOT NULL, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + code character varying(255) NOT NULL, + description character varying(255), + amount_with_tax numeric(35,12), + amount_without_tax numeric(35,12), + criteria_1 character varying(255), + criteria_2 character varying(255), + criteria_3 character varying(255), + criteria_el character varying(2000), + criteria_el_sp character varying(2000), + end_rating_date timestamp without time zone, + end_subscription_date timestamp without time zone, + event_code character varying(255) NOT NULL, + max_quantity numeric(35,12), + max_subscr_age bigint, + min_quantity numeric(35,12), + min_subscr_age bigint, + priority integer DEFAULT 1, + start_rating_date timestamp without time zone, + start_subscription_date timestamp without time zone, + creator character varying(100), + updater character varying(100), + offer_id bigint, + seller_id bigint, + trading_country_id bigint, + trading_currency_id bigint, + valid_cal_id bigint, + amount_without_tax_el text, + amount_without_tax_el_sp text, + amount_with_tax_el text, + amount_with_tax_el_sp text, + sequence bigint, + uuid character varying(60) NOT NULL, + script_instance_id bigint, + cf_values text, + cf_values_accum text, + description_i18n text, + wo_description_el text, + wo_description_el_sp text, + invoice_subcategory_el text, + total_amount_el text, + minimum_amount_el text, + total_amount_el_sp text, + minimum_amount_el_sp text, + validity_from timestamp without time zone, + validity_date timestamp without time zone, + parameter1_el character varying(2000), + parameter2_el character varying(2000), + parameter3_el character varying(2000) +); + + +ALTER TABLE public.cat_price_plan_matrix OWNER TO uat_postgres; + +-- +-- Name: cat_price_plan_matrix_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.cat_price_plan_matrix_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.cat_price_plan_matrix_seq OWNER TO uat_postgres; + +-- +-- Name: cat_product_offer_bam; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.cat_product_offer_bam ( + product_id bigint NOT NULL, + bam_id bigint NOT NULL, + indx integer NOT NULL +); + + +ALTER TABLE public.cat_product_offer_bam OWNER TO uat_postgres; + +-- +-- Name: cat_product_offer_channels; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.cat_product_offer_channels ( + product_id bigint NOT NULL, + channel_id bigint NOT NULL, + indx integer NOT NULL +); + + +ALTER TABLE public.cat_product_offer_channels OWNER TO uat_postgres; + +-- +-- Name: cat_product_offer_customer_category; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.cat_product_offer_customer_category ( + product_id bigint NOT NULL, + customer_category_id bigint NOT NULL, + indx integer NOT NULL +); + + +ALTER TABLE public.cat_product_offer_customer_category OWNER TO uat_postgres; + +-- +-- Name: cat_product_offer_digital_res; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.cat_product_offer_digital_res ( + product_id bigint NOT NULL, + digital_resource_id bigint NOT NULL, + indx integer NOT NULL +); + + +ALTER TABLE public.cat_product_offer_digital_res OWNER TO uat_postgres; + +-- +-- Name: cat_product_offer_seller; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.cat_product_offer_seller ( + product_id bigint NOT NULL, + seller_id bigint NOT NULL +); + + +ALTER TABLE public.cat_product_offer_seller OWNER TO uat_postgres; + +-- +-- Name: cat_product_offer_tmpl_cat; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.cat_product_offer_tmpl_cat ( + product_id bigint NOT NULL, + offer_template_cat_id bigint NOT NULL, + indx integer NOT NULL +); + + +ALTER TABLE public.cat_product_offer_tmpl_cat OWNER TO uat_postgres; + +-- +-- Name: cat_product_templ_charge_templ; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.cat_product_templ_charge_templ ( + product_charge_template_id bigint NOT NULL, + product_template_id bigint NOT NULL +); + + +ALTER TABLE public.cat_product_templ_charge_templ OWNER TO uat_postgres; + +-- +-- Name: cat_product_wallet_template; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.cat_product_wallet_template ( + product_template_id bigint NOT NULL, + wallet_template_id bigint NOT NULL, + indx integer NOT NULL +); + + +ALTER TABLE public.cat_product_wallet_template OWNER TO uat_postgres; + +-- +-- Name: cat_serv_rec_charge_template; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.cat_serv_rec_charge_template ( + id bigint NOT NULL, + version integer, + charge_template_id bigint, + service_template_id bigint, + counter_template_id bigint +); + + +ALTER TABLE public.cat_serv_rec_charge_template OWNER TO uat_postgres; + +-- +-- Name: cat_serv_rec_counter_template; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.cat_serv_rec_counter_template ( + service_rec_templt_id bigint NOT NULL, + counter_template_id bigint NOT NULL, + indx integer NOT NULL +); + + +ALTER TABLE public.cat_serv_rec_counter_template OWNER TO uat_postgres; + +-- +-- Name: cat_serv_rec_wallet_template; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.cat_serv_rec_wallet_template ( + service_rec_templt_id bigint NOT NULL, + wallet_template_id bigint NOT NULL, + indx integer NOT NULL +); + + +ALTER TABLE public.cat_serv_rec_wallet_template OWNER TO uat_postgres; + +-- +-- Name: cat_serv_recchrg_templt_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.cat_serv_recchrg_templt_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.cat_serv_recchrg_templt_seq OWNER TO uat_postgres; + +-- +-- Name: cat_serv_sub_charge_template; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.cat_serv_sub_charge_template ( + id bigint NOT NULL, + version integer, + charge_template_id bigint, + service_template_id bigint, + counter_template_id bigint +); + + +ALTER TABLE public.cat_serv_sub_charge_template OWNER TO uat_postgres; + +-- +-- Name: cat_serv_sub_counter_template; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.cat_serv_sub_counter_template ( + service_sub_templt_id bigint NOT NULL, + counter_template_id bigint NOT NULL, + indx integer NOT NULL +); + + +ALTER TABLE public.cat_serv_sub_counter_template OWNER TO uat_postgres; + +-- +-- Name: cat_serv_sub_wallet_template; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.cat_serv_sub_wallet_template ( + service_sub_templt_id bigint NOT NULL, + wallet_template_id bigint NOT NULL, + indx integer NOT NULL +); + + +ALTER TABLE public.cat_serv_sub_wallet_template OWNER TO uat_postgres; + +-- +-- Name: cat_serv_subchrg_templt_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.cat_serv_subchrg_templt_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.cat_serv_subchrg_templt_seq OWNER TO uat_postgres; + +-- +-- Name: cat_serv_trm_charge_template; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.cat_serv_trm_charge_template ( + id bigint NOT NULL, + version integer, + charge_template_id bigint, + service_template_id bigint, + counter_template_id bigint +); + + +ALTER TABLE public.cat_serv_trm_charge_template OWNER TO uat_postgres; + +-- +-- Name: cat_serv_trm_counter_template; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.cat_serv_trm_counter_template ( + service_trm_templt_id bigint NOT NULL, + counter_template_id bigint NOT NULL, + indx integer NOT NULL +); + + +ALTER TABLE public.cat_serv_trm_counter_template OWNER TO uat_postgres; + +-- +-- Name: cat_serv_trm_wallet_template; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.cat_serv_trm_wallet_template ( + service_trm_templt_id bigint NOT NULL, + wallet_template_id bigint NOT NULL, + indx integer NOT NULL +); + + +ALTER TABLE public.cat_serv_trm_wallet_template OWNER TO uat_postgres; + +-- +-- Name: cat_serv_trmchrg_templt_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.cat_serv_trmchrg_templt_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.cat_serv_trmchrg_templt_seq OWNER TO uat_postgres; + +-- +-- Name: cat_serv_usage_charge_template; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.cat_serv_usage_charge_template ( + id bigint NOT NULL, + version integer, + charge_template_id bigint, + service_template_id bigint, + counter_template_id bigint +); + + +ALTER TABLE public.cat_serv_usage_charge_template OWNER TO uat_postgres; + +-- +-- Name: cat_serv_usage_counter_template; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.cat_serv_usage_counter_template ( + service_usage_templt_id bigint NOT NULL, + counter_template_id bigint NOT NULL, + indx integer NOT NULL +); + + +ALTER TABLE public.cat_serv_usage_counter_template OWNER TO uat_postgres; + +-- +-- Name: cat_serv_usage_wallet_template; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.cat_serv_usage_wallet_template ( + service_usage_templt_id bigint NOT NULL, + wallet_template_id bigint NOT NULL, + indx integer NOT NULL +); + + +ALTER TABLE public.cat_serv_usage_wallet_template OWNER TO uat_postgres; + +-- +-- Name: cat_serv_usagechrg_templt_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.cat_serv_usagechrg_templt_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.cat_serv_usagechrg_templt_seq OWNER TO uat_postgres; + +-- +-- Name: cat_service_template; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.cat_service_template ( + id bigint NOT NULL, + version integer, + disabled integer DEFAULT 0 NOT NULL, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + code character varying(255) NOT NULL, + description character varying(255), + creator character varying(100), + updater character varying(100), + invoicing_calendar_id bigint, + uuid character varying(60) NOT NULL, + termination_script_instance_id bigint, + activation_script_instance_id bigint, + business_service_model_id bigint, + long_description text, + image_path character varying(100), + cf_values text, + cf_values_accum text, + minimum_amount_el character varying(2000), + minimum_amount_el_sp character varying(2000), + minimum_label_el character varying(2000), + minimum_label_el_sp character varying(2000), + auto_renew integer DEFAULT 0 NOT NULL, + days_notify_renew integer, + end_of_term_action character varying(10), + auto_termin_reason_id bigint, + init_active_unit character varying(5), + init_active integer, + match_end_aggr_date integer DEFAULT 0 NOT NULL, + renew_for_unit character varying(5), + renew_for integer, + initial_term_type character varying(20) DEFAULT 'RECURRING'::character varying, + auto_end_of_engagement integer, + auto_renew_date timestamp without time zone, + calendar_init_active_id bigint, + calendar_renew_for_id bigint, + renewal_term_type character varying(20), + minimum_invoice_sub_category_id bigint, + minimum_charge_template_id bigint +); + + +ALTER TABLE public.cat_service_template OWNER TO uat_postgres; + +-- +-- Name: cat_service_template_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.cat_service_template_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.cat_service_template_seq OWNER TO uat_postgres; + +-- +-- Name: cat_triggered_edr; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.cat_triggered_edr ( + id bigint NOT NULL, + version integer, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + code character varying(255) NOT NULL, + description character varying(255), + condition_el character varying(2000), + param_1_el text, + param_1_el_sp text, + param_2_el text, + param_2_el_sp text, + param_3_el text, + param_3_el_sp text, + param_4_el text, + param_4_el_sp text, + quantity_el text, + quantity_el_sp text, + subscription_el text, + subscription_el_sp text, + creator character varying(100), + updater character varying(100), + meveo_instance_id bigint, + condition_el_sp text, + triggered_edr_script_instance_id bigint, + opencell_instance_el text +); + + +ALTER TABLE public.cat_triggered_edr OWNER TO uat_postgres; + +-- +-- Name: cat_triggered_edr_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.cat_triggered_edr_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.cat_triggered_edr_seq OWNER TO uat_postgres; + +-- +-- Name: cat_unit_of_measure; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.cat_unit_of_measure ( + id bigint NOT NULL, + version integer, + creator character varying(100), + updater character varying(100), + code character varying(255), + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + symbol character varying(100) NOT NULL, + description character varying(100), + description_i18n text, + multiplicator bigint DEFAULT 1 NOT NULL, + parent_id bigint +); + + +ALTER TABLE public.cat_unit_of_measure OWNER TO uat_postgres; + +-- +-- Name: cat_unit_of_measure_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.cat_unit_of_measure_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.cat_unit_of_measure_seq OWNER TO uat_postgres; + +-- +-- Name: cat_wallet_template; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.cat_wallet_template ( + id bigint NOT NULL, + version integer, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + code character varying(255) NOT NULL, + description character varying(255), + consumption_alert_set integer DEFAULT 0 NOT NULL, + fast_rating_level integer, + wallet_type character varying(255), + creator character varying(100), + updater character varying(100), + low_balance_level numeric(23,12), + reject_level numeric(23,12) +); + + +ALTER TABLE public.cat_wallet_template OWNER TO uat_postgres; + +-- +-- Name: cat_wallet_template_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.cat_wallet_template_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.cat_wallet_template_seq OWNER TO uat_postgres; + +-- +-- Name: com_campaign; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.com_campaign ( + id bigint NOT NULL, + version integer, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + code character varying(255) NOT NULL, + description character varying(255), + end_date timestamp without time zone, + media character varying(255), + priority integer, + thread_id integer, + schedule_date timestamp without time zone, + start_date timestamp without time zone, + status character varying(255), + sub_media character varying(255), + use_any_media integer, + creator character varying(100), + updater character varying(100) +); + + +ALTER TABLE public.com_campaign OWNER TO uat_postgres; + +-- +-- Name: com_campaign_crm_contact_tag; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.com_campaign_crm_contact_tag ( + campaign_id bigint NOT NULL, + tag character varying(100) NOT NULL +); + + +ALTER TABLE public.com_campaign_crm_contact_tag OWNER TO uat_postgres; + +-- +-- Name: com_campaign_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.com_campaign_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.com_campaign_seq OWNER TO uat_postgres; + +-- +-- Name: com_communication_entity; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.com_communication_entity ( + id bigint NOT NULL, + version integer, + name character varying(50), + description character varying(255), + type character varying(50) +); + + +ALTER TABLE public.com_communication_entity OWNER TO uat_postgres; + +-- +-- Name: com_communication_entity_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.com_communication_entity_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.com_communication_entity_seq OWNER TO uat_postgres; + +-- +-- Name: com_contact; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.com_contact ( + id bigint NOT NULL, + version integer, + nb_max_day bigint, + nb_max_month bigint, + nb_max_week bigint, + delay_min bigint, + email character varying(255) NOT NULL, + assistant_name character varying(50), + assistant_phone character varying(15), + "position" character varying(200), + company character varying(200), + phone character varying(50), + mobile character varying(50), + imported_from character varying(50), + imported_by character varying(50), + social_identifier character varying(2000), + is_vip integer DEFAULT 0, + is_prospect integer DEFAULT 1, + website_url character varying(255), + agreed_ua integer DEFAULT 0, + address_book_id bigint +); + + +ALTER TABLE public.com_contact OWNER TO uat_postgres; + +-- +-- Name: com_contact_com_message; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.com_contact_com_message ( + com_contact_id bigint NOT NULL, + messages_id bigint NOT NULL +); + + +ALTER TABLE public.com_contact_com_message OWNER TO uat_postgres; + +-- +-- Name: com_contact_coords; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.com_contact_coords ( + media character varying(31) NOT NULL, + id bigint NOT NULL, + version integer, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + code character varying(255) NOT NULL, + description character varying(255), + email character varying(255), + creator character varying(100), + updater character varying(100) +); + + +ALTER TABLE public.com_contact_coords OWNER TO uat_postgres; + +-- +-- Name: com_contact_coords_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.com_contact_coords_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.com_contact_coords_seq OWNER TO uat_postgres; + +-- +-- Name: com_contact_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.com_contact_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.com_contact_seq OWNER TO uat_postgres; + +-- +-- Name: com_contact_tag; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.com_contact_tag ( + contact_id bigint NOT NULL, + tag character varying(100) NOT NULL +); + + +ALTER TABLE public.com_contact_tag OWNER TO uat_postgres; + +-- +-- Name: com_message; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.com_message ( + id bigint NOT NULL, + version integer, + media character varying(255), + priority character varying(255), + rejection_reason character varying(255), + status character varying(255), + sub_media character varying(255), + templatecode character varying(255), + campaign_id bigint, + contact_id bigint +); + + +ALTER TABLE public.com_message OWNER TO uat_postgres; + +-- +-- Name: com_message_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.com_message_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.com_message_seq OWNER TO uat_postgres; + +-- +-- Name: com_message_template; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.com_message_template ( + media character varying(31) NOT NULL, + id bigint NOT NULL, + version integer, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + code character varying(255) NOT NULL, + description character varying(255), + end_date timestamp without time zone, + start_date timestamp without time zone, + tag_end character varying(255), + tag_start character varying(255), + type character varying(255), + htmlcontent text, + subject character varying(255), + textcontent text, + jasper_filename character varying(255), + creator character varying(100), + updater character varying(100) +); + + +ALTER TABLE public.com_message_template OWNER TO uat_postgres; + +-- +-- Name: com_meveo_instance; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.com_meveo_instance ( + id bigint NOT NULL, + version integer, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + code character varying(255) NOT NULL, + description character varying(255), + as_vendor character varying(255), + as_version character varying(255), + creation_date timestamp without time zone, + hd_size character varying(255), + installation_mode character varying(255), + java_vendor character varying(255), + java_version character varying(255), + java_vm_name character varying(255), + java_vm_version character varying(255), + key_entreprise character varying(255), + mac_address character varying(255), + machine_vendor character varying(255), + md5 character varying(255), + memory character varying(255), + nb_cores character varying(255), + os_arch character varying(255), + os_name character varying(255), + ps_version character varying(255), + owner character varying(255), + product_name character varying(255), + product_version character varying(255), + status character varying(255), + update_date timestamp without time zone, + creator character varying(100), + updater character varying(100), + user_id bigint, + customer_id bigint, + url character varying(255) DEFAULT 'http://'::character varying NOT NULL, + auth_username character varying(60), + auth_password character varying(60) +); + + +ALTER TABLE public.com_meveo_instance OWNER TO uat_postgres; + +-- +-- Name: com_meveo_instance_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.com_meveo_instance_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.com_meveo_instance_seq OWNER TO uat_postgres; + +-- +-- Name: com_msg_tmpl_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.com_msg_tmpl_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.com_msg_tmpl_seq OWNER TO uat_postgres; + +-- +-- Name: com_msg_tmpl_var_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.com_msg_tmpl_var_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.com_msg_tmpl_var_seq OWNER TO uat_postgres; + +-- +-- Name: com_msg_tmpl_variable; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.com_msg_tmpl_variable ( + id bigint NOT NULL, + version integer, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + code character varying(255) NOT NULL, + description character varying(255), + mandatory integer DEFAULT 0 NOT NULL, + creator character varying(100), + updater character varying(100), + template_id bigint +); + + +ALTER TABLE public.com_msg_tmpl_variable OWNER TO uat_postgres; + +-- +-- Name: com_msg_var_val_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.com_msg_var_val_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.com_msg_var_val_seq OWNER TO uat_postgres; + +-- +-- Name: com_msg_var_value; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.com_msg_var_value ( + id bigint NOT NULL, + version integer, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + code character varying(255) NOT NULL, + description character varying(255), + value character varying(255), + creator character varying(100), + updater character varying(100), + message bigint +); + + +ALTER TABLE public.com_msg_var_value OWNER TO uat_postgres; + +-- +-- Name: com_prov_pol_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.com_prov_pol_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.com_prov_pol_seq OWNER TO uat_postgres; + +-- +-- Name: com_provider_policy; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.com_provider_policy ( + id bigint NOT NULL, + version integer, + nb_max_day bigint, + nb_max_month bigint, + nb_max_week bigint, + delay_min bigint +); + + +ALTER TABLE public.com_provider_policy OWNER TO uat_postgres; + +-- +-- Name: com_sender_config; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.com_sender_config ( + media character varying(31) NOT NULL, + id bigint NOT NULL, + version integer, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + code character varying(255) NOT NULL, + description character varying(255), + non_distrib_email character varying(255), + ack_email character varying(255), + priority character varying(255), + manage_non_distrib integer, + nb_max_day bigint, + nb_max_month bigint, + nb_max_week bigint, + delay_min bigint, + use_ack integer, + stamptype character varying(255), + addaddressfrontpage integer DEFAULT 0 NOT NULL, + envelopformat character varying(255), + printrectoverso integer DEFAULT 0 NOT NULL, + address_1 character varying(255), + address_2 character varying(255), + address_3 character varying(255), + address_city character varying(50), + address_country_id bigint, + address_state character varying(50), + address_zipcode character varying(10), + usecolor integer DEFAULT 0 NOT NULL, + windowtype character varying(255), + smtp_host character varying(255), + smtp_port integer, + default_from_email character varying(255), + default_reply_email character varying(255), + login character varying(50), + password character varying(50), + use_ssl integer, + creator character varying(100), + updater character varying(100) +); + + +ALTER TABLE public.com_sender_config OWNER TO uat_postgres; + +-- +-- Name: com_sndr_conf_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.com_sndr_conf_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.com_sndr_conf_seq OWNER TO uat_postgres; + +-- +-- Name: crm_additional_details; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.crm_additional_details ( + id bigint NOT NULL, + version integer, + company_name character varying(200), + "position" character varying(200), + instant_messengers character varying(2000) +); + + +ALTER TABLE public.crm_additional_details OWNER TO uat_postgres; + +-- +-- Name: crm_additional_details_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.crm_additional_details_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.crm_additional_details_seq OWNER TO uat_postgres; + +-- +-- Name: crm_address_book; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.crm_address_book ( + id bigint NOT NULL, + code character varying(255) NOT NULL, + description character varying(255), + version integer, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + creator character varying(100), + updater character varying(100) +); + + +ALTER TABLE public.crm_address_book OWNER TO uat_postgres; + +-- +-- Name: crm_address_book_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.crm_address_book_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.crm_address_book_seq OWNER TO uat_postgres; + +-- +-- Name: crm_business_account_model; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.crm_business_account_model ( + id bigint NOT NULL, + hierarchy_type character varying(20) NOT NULL +); + + +ALTER TABLE public.crm_business_account_model OWNER TO uat_postgres; + +-- +-- Name: crm_custom_action; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.crm_custom_action ( + id bigint NOT NULL, + version integer, + disabled integer DEFAULT 0 NOT NULL, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + creator character varying(100), + updater character varying(100), + code character varying(255) NOT NULL, + description character varying(255), + applies_to character varying(100) NOT NULL, + applicable_on_el character varying(2000), + label character varying(50), + script_instance_id bigint NOT NULL, + gui_position character varying(2000), + label_i18n text +); + + +ALTER TABLE public.crm_custom_action OWNER TO uat_postgres; + +-- +-- Name: crm_custom_action_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.crm_custom_action_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.crm_custom_action_seq OWNER TO uat_postgres; + +-- +-- Name: crm_custom_field_tmpl; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.crm_custom_field_tmpl ( + id bigint NOT NULL, + version integer, + disabled integer DEFAULT 0 NOT NULL, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + code character varying(255) NOT NULL, + description character varying(255), + field_type character varying(255) NOT NULL, + value_required integer DEFAULT 0 NOT NULL, + creator character varying(100), + updater character varying(100), + versionable integer DEFAULT 0 NOT NULL, + calendar_id bigint, + default_value character varying(250), + entity_clazz character varying(255), + storage_type character varying(255) NOT NULL, + trigger_end_period_event integer DEFAULT 0 NOT NULL, + applies_to character varying(100) NOT NULL, + gui_position character varying(2000), + allow_edit integer DEFAULT 1 NOT NULL, + hide_on_new integer DEFAULT 0 NOT NULL, + max_value bigint, + min_value bigint, + reg_exp character varying(80), + mapkey_type character varying(20), + applicable_on_el character varying(2000), + che_fields character varying(500), + index_type character varying(17), + inh_as_def_value integer DEFAULT 0 NOT NULL, + tags character varying(2000), + description_i18n text, + cf_protectable integer DEFAULT 0, + display_format character varying(80), + nb_decimal integer, + rounding_mode character varying(50), + unique_constraint integer DEFAULT 0, + custom_table_code_el character varying(2000), + data_filter_el character varying(2000), + fields_el character varying(2000), + anonymize_gdpr integer DEFAULT 0 NOT NULL +); + + +ALTER TABLE public.crm_custom_field_tmpl OWNER TO uat_postgres; + +-- +-- Name: crm_custom_field_tmpl_mcols; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.crm_custom_field_tmpl_mcols ( + cft_id bigint NOT NULL, + "position" integer NOT NULL, + code character varying(20) NOT NULL, + label character varying(50) NOT NULL, + key_type integer NOT NULL, + column_use integer DEFAULT 0 NOT NULL +); + + +ALTER TABLE public.crm_custom_field_tmpl_mcols OWNER TO uat_postgres; + +-- +-- Name: crm_custom_field_tmpl_val; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.crm_custom_field_tmpl_val ( + customfieldtemplate_id bigint NOT NULL, + listvalues character varying(255), + listvalues_key character varying(255) NOT NULL +); + + +ALTER TABLE public.crm_custom_field_tmpl_val OWNER TO uat_postgres; + +-- +-- Name: crm_custom_fld_tmp_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.crm_custom_fld_tmp_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.crm_custom_fld_tmp_seq OWNER TO uat_postgres; + +-- +-- Name: crm_customer; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.crm_customer ( + id bigint NOT NULL, + customer_brand_id bigint, + customer_category_id bigint, + seller_id bigint, + additional_details_id bigint, + address_book_id bigint, + minimum_target_account_id bigint, + invoicing_threshold numeric(23,12), + check_threshold character varying(25) +); + + +ALTER TABLE public.crm_customer OWNER TO uat_postgres; + +-- +-- Name: crm_customer_brand; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.crm_customer_brand ( + id bigint NOT NULL, + version integer, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + code character varying(255) NOT NULL, + description character varying(255), + creator character varying(100), + updater character varying(100) +); + + +ALTER TABLE public.crm_customer_brand OWNER TO uat_postgres; + +-- +-- Name: crm_customer_brand_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.crm_customer_brand_seq + START WITH 2 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.crm_customer_brand_seq OWNER TO uat_postgres; + +-- +-- Name: crm_customer_category; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.crm_customer_category ( + id bigint NOT NULL, + version integer, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + code character varying(255) NOT NULL, + description character varying(255), + exonerated_from_taxes integer DEFAULT 0 NOT NULL, + creator character varying(100), + updater character varying(100), + exoneration_tax_el character varying(2000), + exoneration_tax_el_sp character varying(2000), + exoneration_reason character varying(255), + cf_values_accum text, + cf_values text, + uuid character varying(60) NOT NULL, + accounting_code_id bigint, + tax_category_id bigint, + tax_category_el character varying(2000), + tax_category_el_sp character varying(2000) +); + + +ALTER TABLE public.crm_customer_category OWNER TO uat_postgres; + +-- +-- Name: crm_customer_category_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.crm_customer_category_seq + START WITH 3 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.crm_customer_category_seq OWNER TO uat_postgres; + +-- +-- Name: crm_customer_sequence; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.crm_customer_sequence ( + id bigint NOT NULL, + version integer, + disabled integer DEFAULT 0 NOT NULL, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + creator character varying(100), + updater character varying(100), + code character varying(255) NOT NULL, + description character varying(255), + prefix character varying(255), + sequence_size bigint, + current_sequence_nb bigint, + seller_id bigint +); + + +ALTER TABLE public.crm_customer_sequence OWNER TO uat_postgres; + +-- +-- Name: crm_customer_sequence_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.crm_customer_sequence_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.crm_customer_sequence_seq OWNER TO uat_postgres; + +-- +-- Name: crm_email; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.crm_email ( + id bigint NOT NULL, + version integer, + email character varying(255) +); + + +ALTER TABLE public.crm_email OWNER TO uat_postgres; + +-- +-- Name: crm_email_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.crm_email_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.crm_email_seq OWNER TO uat_postgres; + +-- +-- Name: crm_provider; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.crm_provider ( + id bigint NOT NULL, + version integer, + disabled integer DEFAULT 0 NOT NULL, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + code character varying(255) NOT NULL, + description character varying(255), + amount_validation integer DEFAULT 0 NOT NULL, + automatic_invoicing integer DEFAULT 0 NOT NULL, + account_number character varying(11), + account_owner character varying(50), + bank_code character varying(5), + bank_id character varying(50), + bank_name character varying(50), + bic character varying(100), + branch_code character varying(5), + iban character varying(100), + ics character varying(35), + issuer_name character varying(50), + issuer_number character varying(50), + hash_key character varying(2), + discount_accounting_code character varying(255), + display_free_tx_in_invoice integer DEFAULT 0 NOT NULL, + email character varying(100), + entreprise integer DEFAULT 0 NOT NULL, + address_1 character varying(255), + address_2 character varying(255), + address_3 character varying(255), + address_city character varying(50), + address_country_id bigint, + address_state character varying(50), + address_zipcode character varying(10), + center_code character varying(255), + creditor_code character varying(255), + financial_institution_code character varying(255), + nne character varying(255), + level_duplication integer DEFAULT 0 NOT NULL, + multicountry_flag integer DEFAULT 0 NOT NULL, + multicurrency_flag integer DEFAULT 0 NOT NULL, + multilanguage_flag integer DEFAULT 0 NOT NULL, + prepaid_resrv_delay_ms bigint, + creator character varying(100), + updater character varying(100), + billing_account_id bigint, + country_id bigint, + currency_id bigint, + customer_id bigint, + customer_account_id bigint, + language_id bigint, + user_account_id bigint, + credit_note_prefix character varying(255), + current_credit_note_nb bigint, + credit_note_sequence_size integer, + uuid character varying(60) NOT NULL, + recognize_revenue integer DEFAULT 0 NOT NULL, + cf_values text, + cf_values_accum text, + rating_rounding integer DEFAULT 2 NOT NULL, + rounding_mode character varying(50) DEFAULT 'NEAREST'::character varying NOT NULL, + invoice_rounding integer DEFAULT 2 NOT NULL, + invoice_rounding_mode character varying(50) DEFAULT 'NEAREST'::character varying NOT NULL, + rum_prefix character varying(255), + rum_sequence_size bigint, + rum_current_sequence_nb bigint, + cust_no_prefix character varying(255), + cust_no_sequence_size bigint, + cust_no_current_sequence_nb bigint, + invoice_config_id bigint, + gdpr_config_id bigint +); + + +ALTER TABLE public.crm_provider OWNER TO uat_postgres; + +-- +-- Name: crm_provider_contact; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.crm_provider_contact ( + id bigint NOT NULL, + version integer, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + code character varying(255) NOT NULL, + description character varying(255), + address_1 character varying(255), + address_2 character varying(255), + address_3 character varying(255), + address_city character varying(50), + address_country_id bigint, + address_state character varying(50), + address_zipcode character varying(10), + email character varying(100), + fax character varying(50), + firstname character varying(50), + generic_mail character varying(100), + lastname character varying(50), + mobile character varying(50), + phone character varying(50), + creator character varying(100), + updater character varying(100) +); + + +ALTER TABLE public.crm_provider_contact OWNER TO uat_postgres; + +-- +-- Name: crm_provider_contact_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.crm_provider_contact_seq + START WITH 2 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.crm_provider_contact_seq OWNER TO uat_postgres; + +-- +-- Name: crm_provider_pay_methods; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.crm_provider_pay_methods ( + provider_id bigint, + payment_method character varying(255) +); + + +ALTER TABLE public.crm_provider_pay_methods OWNER TO uat_postgres; + +-- +-- Name: crm_provider_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.crm_provider_seq + START WITH 2 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.crm_provider_seq OWNER TO uat_postgres; + +-- +-- Name: crm_seller; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.crm_seller ( + id bigint NOT NULL, + parent_seller_id bigint, + trading_country_id bigint, + trading_currency_id bigint, + trading_language_id bigint, + credit_note_prefix character varying(255), + current_credit_note_nb bigint, + credit_note_sequence_size integer, + registration_no character varying(100), + legal_text text, + legal_type character varying(255), + general_ledger_id bigint +); + + +ALTER TABLE public.crm_seller OWNER TO uat_postgres; + +-- +-- Name: crm_seller_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.crm_seller_seq + START WITH 4 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.crm_seller_seq OWNER TO uat_postgres; + +-- +-- Name: cust_cei; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.cust_cei ( + id bigint NOT NULL, + version integer, + disabled integer DEFAULT 0 NOT NULL, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + description character varying(255), + code character varying(255), + creator character varying(100), + updater character varying(100), + cet_code character varying(255) NOT NULL, + uuid character varying(60) NOT NULL, + parent_uuid character varying(60), + cf_values text, + cf_values_accum text +); + + +ALTER TABLE public.cust_cei OWNER TO uat_postgres; + +-- +-- Name: cust_cei_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.cust_cei_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.cust_cei_seq OWNER TO uat_postgres; + +-- +-- Name: cust_cet; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.cust_cet ( + id bigint NOT NULL, + version integer, + disabled integer DEFAULT 0 NOT NULL, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + description character varying(255), + code character varying(255), + creator character varying(100), + updater character varying(100), + name character varying(100) NOT NULL, + store_as_table integer DEFAULT 0, + unique_constraint_name character varying(120) DEFAULT '0'::character varying +); + + +ALTER TABLE public.cust_cet OWNER TO uat_postgres; + +-- +-- Name: cust_cet_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.cust_cet_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.cust_cet_seq OWNER TO uat_postgres; + +-- +-- Name: databasechangelog; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.databasechangelog ( + id character varying(255) NOT NULL, + author character varying(255) NOT NULL, + filename character varying(255) NOT NULL, + dateexecuted timestamp without time zone NOT NULL, + orderexecuted integer NOT NULL, + exectype character varying(10) NOT NULL, + md5sum character varying(35), + description character varying(255), + comments character varying(255), + tag character varying(255), + liquibase character varying(20), + contexts character varying(255), + labels character varying(255), + deployment_id character varying(10) +); + + +ALTER TABLE public.databasechangelog OWNER TO uat_postgres; + +-- +-- Name: databasechangeloglock; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.databasechangeloglock ( + id integer NOT NULL, + locked boolean NOT NULL, + lockgranted timestamp without time zone, + lockedby character varying(255) +); + + +ALTER TABLE public.databasechangeloglock OWNER TO uat_postgres; + +-- +-- Name: dunning_document; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.dunning_document ( + id bigint NOT NULL, + code character varying(255), + description character varying(255), + version integer, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + creator character varying(100), + updater character varying(100), + customer_account_id bigint, + billing_subscription_id bigint +); + + +ALTER TABLE public.dunning_document OWNER TO uat_postgres; + +-- +-- Name: dunning_document_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.dunning_document_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.dunning_document_seq OWNER TO uat_postgres; + +-- +-- Name: dwh_account_operation; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.dwh_account_operation ( + id bigint NOT NULL, + account_code character varying(50), + account_description character varying(255), + accounting_code_id bigint, + accounting_code_client_side character varying(255), + amount numeric(19,2), + category integer DEFAULT 0, + due_date date, + due_month integer, + occ_code character varying(10), + occ_description character varying(255), + provider_code character varying(20), + reference character varying(50), + status integer DEFAULT 0, + transaction_date date, + type integer DEFAULT 0, + version integer +); + + +ALTER TABLE public.dwh_account_operation OWNER TO uat_postgres; + +-- +-- Name: dwh_account_operation_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.dwh_account_operation_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.dwh_account_operation_seq OWNER TO uat_postgres; + +-- +-- Name: dwh_chart; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.dwh_chart ( + id bigint NOT NULL, + version integer, + disabled integer DEFAULT 0 NOT NULL, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + code character varying(255) NOT NULL, + description character varying(255), + extender character varying(255), + css_style character varying(1000), + css_style_class character varying(255), + creator character varying(100), + updater character varying(100), + msr_qty_id bigint, + role_id bigint, + width character varying(10), + height character varying(10), + visible integer DEFAULT 0 +); + + +ALTER TABLE public.dwh_chart OWNER TO uat_postgres; + +-- +-- Name: dwh_chart_bar; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.dwh_chart_bar ( + animate integer DEFAULT 0 NOT NULL, + barmargin integer NOT NULL, + barpadding integer NOT NULL, + break_on_null integer DEFAULT 0 NOT NULL, + data_tip_format character varying(255), + legend_cols integer, + legend_position character varying(255), + legend_rows integer, + max double precision, + min double precision, + orientation integer, + show_data_tip integer DEFAULT 0 NOT NULL, + stacked integer DEFAULT 0 NOT NULL, + x_axis_angle integer, + x_axis_label character varying(255), + y_axis_angle integer, + y_axis_label character varying(255), + zoom integer DEFAULT 0 NOT NULL, + id bigint NOT NULL +); + + +ALTER TABLE public.dwh_chart_bar OWNER TO uat_postgres; + +-- +-- Name: dwh_chart_line; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.dwh_chart_line ( + animate integer DEFAULT 0 NOT NULL, + break_on_null integer DEFAULT 0 NOT NULL, + data_tip_format character varying(255), + filled integer DEFAULT 0 NOT NULL, + legend_cols integer, + legend_position character varying(255), + legend_rows integer, + max_x integer, + max_y integer, + min_x integer, + min_y integer, + series_colors character varying(1000), + shadow integer DEFAULT 1 NOT NULL, + show_data_tip integer DEFAULT 0 NOT NULL, + stacked integer DEFAULT 0 NOT NULL, + x_axis_angle integer, + x_axis_label character varying(255), + y_axis_angle integer, + y_axis_label character varying(255), + zoom integer DEFAULT 0 NOT NULL, + id bigint NOT NULL +); + + +ALTER TABLE public.dwh_chart_line OWNER TO uat_postgres; + +-- +-- Name: dwh_chart_pie; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.dwh_chart_pie ( + diameter integer, + filled integer DEFAULT 0 NOT NULL, + legend_cols integer, + legend_position character varying(255), + legend_rows integer, + series_colors character varying(1000), + shadow integer DEFAULT 1 NOT NULL, + show_data_labels integer DEFAULT 0 NOT NULL, + slice_margin integer, + id bigint NOT NULL +); + + +ALTER TABLE public.dwh_chart_pie OWNER TO uat_postgres; + +-- +-- Name: dwh_chart_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.dwh_chart_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.dwh_chart_seq OWNER TO uat_postgres; + +-- +-- Name: dwh_journal_entries; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.dwh_journal_entries ( + id bigint NOT NULL, + accounting_code_id bigint, + amount_tax numeric(23,12), + amount_with_tax numeric(23,12), + amount_without_tax numeric(23,12), + customer_account_code character varying(20), + invoice_date date, + invoice_number character varying(20), + origin_id bigint, + provider_code character varying(20), + sub_cat_desc character varying(50), + tax_code character varying(10), + tax_description character varying(20), + tax_percent numeric(19,2), + type character varying(255), + version integer +); + + +ALTER TABLE public.dwh_journal_entries OWNER TO uat_postgres; + +-- +-- Name: dwh_journal_entries_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.dwh_journal_entries_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.dwh_journal_entries_seq OWNER TO uat_postgres; + +-- +-- Name: dwh_measurable_quant; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.dwh_measurable_quant ( + id bigint NOT NULL, + version integer, + disabled integer DEFAULT 0 NOT NULL, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + code character varying(255) NOT NULL, + description character varying(255), + dimension_1 character varying(255), + dimension_2 character varying(255), + dimension_3 character varying(255), + dimension_4 character varying(255), + editable integer DEFAULT 0 NOT NULL, + last_measure_date timestamp without time zone, + measurement_period character varying(255), + sql_query text, + theme character varying(255), + creator character varying(100), + updater character varying(100), + additive integer DEFAULT 0 NOT NULL, + description_i18n text +); + + +ALTER TABLE public.dwh_measurable_quant OWNER TO uat_postgres; + +-- +-- Name: dwh_measurable_quant_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.dwh_measurable_quant_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.dwh_measurable_quant_seq OWNER TO uat_postgres; + +-- +-- Name: dwh_measured_value; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.dwh_measured_value ( + id bigint NOT NULL, + version integer, + date timestamp without time zone, + measurement_period character varying(255), + value numeric(23,12), + measurable_quantity bigint, + dimension_1 character varying(255), + dimension_2 character varying(255), + dimension_3 character varying(255), + dimension_4 character varying(255), + code character varying(255) NOT NULL +); + + +ALTER TABLE public.dwh_measured_value OWNER TO uat_postgres; + +-- +-- Name: dwh_measured_value_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.dwh_measured_value_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.dwh_measured_value_seq OWNER TO uat_postgres; + +-- +-- Name: dwh_report_extract; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.dwh_report_extract ( + id bigint NOT NULL, + version integer, + disabled integer DEFAULT 0 NOT NULL, + creator character varying(100), + updater character varying(100), + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + code character varying(255) NOT NULL, + description character varying(255), + category character varying(50), + script_type character varying(10) NOT NULL, + filename_format character varying(100) NOT NULL, + sql_query text, + script_instance_id bigint, + result_type character varying(10), + style text, + image_path character varying(100), + uuid character varying(60) NOT NULL, + cf_values text, + cf_values_accum text, + output_dir character varying(255) +); + + +ALTER TABLE public.dwh_report_extract OWNER TO uat_postgres; + +-- +-- Name: dwh_report_extract_execution; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.dwh_report_extract_execution ( + id bigint NOT NULL, + version integer, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + creator character varying(100), + updater character varying(100), + report_extract_id bigint NOT NULL, + start_date timestamp without time zone, + end_date timestamp without time zone, + file_path character varying(100), + line_count integer, + origin character varying(20), + error_message text, + status boolean +); + + +ALTER TABLE public.dwh_report_extract_execution OWNER TO uat_postgres; + +-- +-- Name: dwh_report_extract_execution_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.dwh_report_extract_execution_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.dwh_report_extract_execution_seq OWNER TO uat_postgres; + +-- +-- Name: dwh_report_extract_params; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.dwh_report_extract_params ( + reportextract_id bigint NOT NULL, + params character varying(255), + params_key character varying(255) NOT NULL +); + + +ALTER TABLE public.dwh_report_extract_params OWNER TO uat_postgres; + +-- +-- Name: dwh_report_extract_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.dwh_report_extract_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.dwh_report_extract_seq OWNER TO uat_postgres; + +-- +-- Name: flat_file; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.flat_file ( + id bigint NOT NULL, + version integer, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + creator character varying(100), + updater character varying(100), + code character varying(255), + description character varying(255), + status character varying(255), + file_format_id bigint, + processed integer DEFAULT 0, + error_message text, + lines_in_success integer, + lines_in_warning integer, + lines_in_error integer, + processing_attempts integer, + flat_file_job_code character varying(255), + file_original_name character varying(255), + file_current_name character varying(255), + current_directory character varying(255) +); + + +ALTER TABLE public.flat_file OWNER TO uat_postgres; + +-- +-- Name: flat_file_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.flat_file_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.flat_file_seq OWNER TO uat_postgres; + +-- +-- Name: ftp_transferred_file; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.ftp_transferred_file ( + id bigint NOT NULL, + version integer, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + creator character varying(100), + updater character varying(100), + code character varying(255) NOT NULL, + description character varying(255), + uri character varying(2000) NOT NULL, + size bigint, + transfer_date timestamp without time zone, + last_modification timestamp without time zone, + operation character varying(100) DEFAULT 'IMPORT'::character varying +); + + +ALTER TABLE public.ftp_transferred_file OWNER TO uat_postgres; + +-- +-- Name: ftp_transferred_file_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.ftp_transferred_file_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.ftp_transferred_file_seq OWNER TO uat_postgres; + +-- +-- Name: hierarchy_entity; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.hierarchy_entity ( + id bigint NOT NULL, + version integer, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + code character varying(255) NOT NULL, + description character varying(255), + hierarchy_type character varying(10), + parent_id bigint, + order_level bigint, + creator character varying(100), + updater character varying(100) +); + + +ALTER TABLE public.hierarchy_entity OWNER TO uat_postgres; + +-- +-- Name: hierarchy_entity_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.hierarchy_entity_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.hierarchy_entity_seq OWNER TO uat_postgres; + +-- +-- Name: job_execution; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.job_execution ( + id bigint NOT NULL, + version integer, + job_done integer DEFAULT 1 NOT NULL, + end_date timestamp without time zone, + nb_success bigint, + nb_error bigint, + nb_warning bigint, + nb_to_process bigint, + report text, + start_date timestamp without time zone, + job_launcher character varying(255), + job_instance_id bigint NOT NULL +); + + +ALTER TABLE public.job_execution OWNER TO uat_postgres; + +-- +-- Name: job_execution_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.job_execution_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.job_execution_seq OWNER TO uat_postgres; + +-- +-- Name: job_execution_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: uat_postgres +-- + +ALTER SEQUENCE public.job_execution_seq OWNED BY public.job_execution.id; + + +-- +-- Name: medina_access; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.medina_access ( + id bigint NOT NULL, + version integer, + disabled integer DEFAULT 0 NOT NULL, + acces_user_id character varying(255), + end_date timestamp without time zone, + start_date timestamp without time zone, + subscription_id bigint, + uuid character varying(60) NOT NULL, + creator character varying(100), + updater character varying(100), + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + cf_values text, + cf_values_accum text +); + + +ALTER TABLE public.medina_access OWNER TO uat_postgres; + +-- +-- Name: medina_access_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.medina_access_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.medina_access_seq OWNER TO uat_postgres; + +-- +-- Name: meveo_and_composite_filter_condition; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.meveo_and_composite_filter_condition ( + id bigint NOT NULL, + version integer +); + + +ALTER TABLE public.meveo_and_composite_filter_condition OWNER TO uat_postgres; + +-- +-- Name: meveo_filter; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.meveo_filter ( + id bigint NOT NULL, + version integer, + disabled integer DEFAULT 0 NOT NULL, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + code character varying(255) NOT NULL, + description character varying(255), + creator character varying(100), + updater character varying(100), + filter_condition_id bigint, + order_condition_id bigint, + primary_selector_id bigint, + input_xml text, + shared integer DEFAULT 0, + uuid character varying(60) NOT NULL, + cf_values text, + cf_values_accum text +); + + +ALTER TABLE public.meveo_filter OWNER TO uat_postgres; + +-- +-- Name: meveo_filter_condition; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.meveo_filter_condition ( + id bigint NOT NULL, + version integer, + composite_and_filter_condition_id bigint, + composite_or_filter_condition_id bigint, + filter_condition_type character varying(50) NOT NULL +); + + +ALTER TABLE public.meveo_filter_condition OWNER TO uat_postgres; + +-- +-- Name: meveo_filter_condition_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.meveo_filter_condition_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.meveo_filter_condition_seq OWNER TO uat_postgres; + +-- +-- Name: meveo_filter_oc_field_names; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.meveo_filter_oc_field_names ( + field_name character varying(100) NOT NULL, + order_condition_id bigint NOT NULL +); + + +ALTER TABLE public.meveo_filter_oc_field_names OWNER TO uat_postgres; + +-- +-- Name: meveo_filter_order_condition; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.meveo_filter_order_condition ( + id bigint NOT NULL, + version integer, + ascending integer DEFAULT 0 NOT NULL +); + + +ALTER TABLE public.meveo_filter_order_condition OWNER TO uat_postgres; + +-- +-- Name: meveo_filter_order_condition_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.meveo_filter_order_condition_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.meveo_filter_order_condition_seq OWNER TO uat_postgres; + +-- +-- Name: meveo_filter_selector; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.meveo_filter_selector ( + id bigint NOT NULL, + version integer, + target_entity character varying(100) NOT NULL, + alias character varying(50), + filter_id bigint +); + + +ALTER TABLE public.meveo_filter_selector OWNER TO uat_postgres; + +-- +-- Name: meveo_filter_selector_display_fields; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.meveo_filter_selector_display_fields ( + filter_selector_id bigint NOT NULL, + display_field character varying(100) NOT NULL +); + + +ALTER TABLE public.meveo_filter_selector_display_fields OWNER TO uat_postgres; + +-- +-- Name: meveo_filter_selector_export_fields; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.meveo_filter_selector_export_fields ( + filter_selector_id bigint NOT NULL, + export_field character varying(100) NOT NULL +); + + +ALTER TABLE public.meveo_filter_selector_export_fields OWNER TO uat_postgres; + +-- +-- Name: meveo_filter_selector_ignore_fields; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.meveo_filter_selector_ignore_fields ( + filter_selector_id bigint NOT NULL, + ignored_field character varying(100) NOT NULL +); + + +ALTER TABLE public.meveo_filter_selector_ignore_fields OWNER TO uat_postgres; + +-- +-- Name: meveo_filter_selector_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.meveo_filter_selector_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.meveo_filter_selector_seq OWNER TO uat_postgres; + +-- +-- Name: meveo_filter_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.meveo_filter_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.meveo_filter_seq OWNER TO uat_postgres; + +-- +-- Name: meveo_job_instance; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.meveo_job_instance ( + id bigint NOT NULL, + version integer, + disabled integer DEFAULT 0 NOT NULL, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + code character varying(255) NOT NULL, + description character varying(255), + job_category character varying(255), + job_template character varying(255) NOT NULL, + parametres character varying(255), + creator character varying(100), + updater character varying(100), + timerentity_id bigint, + following_job_id bigint, + uuid character varying(60) NOT NULL, + run_on_nodes character varying(100), + single_node integer DEFAULT 1, + cf_values text, + cf_values_accum text, + exclude_inv_without_amount integer DEFAULT 0, + verbose_report integer DEFAULT 1 +); + + +ALTER TABLE public.meveo_job_instance OWNER TO uat_postgres; + +-- +-- Name: meveo_job_instance_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.meveo_job_instance_seq + START WITH 12 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.meveo_job_instance_seq OWNER TO uat_postgres; + +-- +-- Name: meveo_metrics_config; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.meveo_metrics_config ( + id bigint NOT NULL, + code character varying(100) NOT NULL, + description text, + full_path text, + method text, + metrics_type text, + metrics_unit text, + version integer, + updated timestamp without time zone, + created timestamp without time zone NOT NULL, + creator character varying(100), + updater character varying(100) +); + + +ALTER TABLE public.meveo_metrics_config OWNER TO uat_postgres; + +-- +-- Name: meveo_metrics_config_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.meveo_metrics_config_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.meveo_metrics_config_seq OWNER TO uat_postgres; + +-- +-- Name: meveo_module; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.meveo_module ( + id bigint NOT NULL, + version integer, + disabled integer DEFAULT 0 NOT NULL, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + creator character varying(100), + updater character varying(100), + code character varying(255) NOT NULL, + description character varying(255), + module_license character varying(20) NOT NULL, + logo_picture character varying(255), + script_instance_id bigint, + installed integer DEFAULT 0 NOT NULL, + module_source text +); + + +ALTER TABLE public.meveo_module OWNER TO uat_postgres; + +-- +-- Name: meveo_module_item; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.meveo_module_item ( + id bigint NOT NULL, + version integer, + module_id bigint, + applies_to character varying(100), + item_type character varying(100) NOT NULL, + item_code character varying(255) NOT NULL, + valid_from timestamp without time zone, + valid_to timestamp without time zone +); + + +ALTER TABLE public.meveo_module_item OWNER TO uat_postgres; + +-- +-- Name: meveo_module_item_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.meveo_module_item_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.meveo_module_item_seq OWNER TO uat_postgres; + +-- +-- Name: meveo_module_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.meveo_module_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.meveo_module_seq OWNER TO uat_postgres; + +-- +-- Name: meveo_native_filter_condition; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.meveo_native_filter_condition ( + id bigint NOT NULL, + version integer, + el character varying(2000), + jpql character varying(2000) +); + + +ALTER TABLE public.meveo_native_filter_condition OWNER TO uat_postgres; + +-- +-- Name: meveo_native_filter_condition_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.meveo_native_filter_condition_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.meveo_native_filter_condition_seq OWNER TO uat_postgres; + +-- +-- Name: meveo_or_composite_filter_condition; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.meveo_or_composite_filter_condition ( + id bigint NOT NULL, + version integer +); + + +ALTER TABLE public.meveo_or_composite_filter_condition OWNER TO uat_postgres; + +-- +-- Name: meveo_primitive_filter_condition; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.meveo_primitive_filter_condition ( + id bigint NOT NULL, + version integer, + field_name character varying(60), + operator character varying(60), + operand character varying(255) +); + + +ALTER TABLE public.meveo_primitive_filter_condition OWNER TO uat_postgres; + +-- +-- Name: meveo_primitive_filter_condition_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.meveo_primitive_filter_condition_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.meveo_primitive_filter_condition_seq OWNER TO uat_postgres; + +-- +-- Name: meveo_script_instance; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.meveo_script_instance ( + id bigint NOT NULL, + version integer, + disabled integer DEFAULT 0 NOT NULL, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + code character varying(255) NOT NULL, + description character varying(255), + script text, + script_instance_cat_id bigint, + creator character varying(100), + updater character varying(100), + src_type character varying(100), + is_error integer DEFAULT 0, + reuse integer DEFAULT 0 +); + + +ALTER TABLE public.meveo_script_instance OWNER TO uat_postgres; + +-- +-- Name: meveo_script_instance_cat; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.meveo_script_instance_cat ( + id bigint NOT NULL, + version integer, + disabled integer DEFAULT 0 NOT NULL, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + code character varying(255) NOT NULL, + description character varying(255), + creator character varying(100), + updater character varying(100) +); + + +ALTER TABLE public.meveo_script_instance_cat OWNER TO uat_postgres; + +-- +-- Name: meveo_script_instance_cat_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.meveo_script_instance_cat_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.meveo_script_instance_cat_seq OWNER TO uat_postgres; + +-- +-- Name: meveo_script_instance_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.meveo_script_instance_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.meveo_script_instance_seq OWNER TO uat_postgres; + +-- +-- Name: meveo_timer; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.meveo_timer ( + id bigint NOT NULL, + version integer, + sc_d_o_month character varying(255) NOT NULL, + sc_d_o_week character varying(255) NOT NULL, + sc_end timestamp without time zone, + sc_hour character varying(255) NOT NULL, + sc_min character varying(255) NOT NULL, + sc_month character varying(255) NOT NULL, + sc_sec character varying(255) NOT NULL, + sc_start timestamp without time zone, + sc_year character varying(255) NOT NULL, + code character varying(255) NOT NULL, + description character varying(255), + created timestamp without time zone NOT NULL, + creator character varying(100), + updated timestamp without time zone, + updater character varying(100), + disabled integer DEFAULT 0 NOT NULL +); + + +ALTER TABLE public.meveo_timer OWNER TO uat_postgres; + +-- +-- Name: meveo_timer_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.meveo_timer_seq + START WITH 2 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.meveo_timer_seq OWNER TO uat_postgres; + +-- +-- Name: ord_item_offerings; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.ord_item_offerings ( + order_item_id bigint NOT NULL, + prd_offering_id bigint NOT NULL, + id bigint NOT NULL, + item_order integer NOT NULL +); + + +ALTER TABLE public.ord_item_offerings OWNER TO uat_postgres; + +-- +-- Name: ord_item_offerings_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.ord_item_offerings_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.ord_item_offerings_seq OWNER TO uat_postgres; + +-- +-- Name: ord_item_prd_instance; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.ord_item_prd_instance ( + order_item_id bigint NOT NULL, + prd_instance_id bigint NOT NULL +); + + +ALTER TABLE public.ord_item_prd_instance OWNER TO uat_postgres; + +-- +-- Name: ord_order; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.ord_order ( + id bigint NOT NULL, + version integer, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + creator character varying(100), + updater character varying(100), + code character varying(255) NOT NULL, + description character varying(255), + external_id character varying(100), + delivery_instructions text, + order_date timestamp without time zone NOT NULL, + req_start_date timestamp without time zone, + req_completion_date timestamp without time zone, + exp_completion_date timestamp without time zone, + completion_date timestamp without time zone, + priority integer DEFAULT 2, + category character varying(200), + status character varying(20) NOT NULL, + status_message character varying(2000), + routed_to_user_group_id bigint, + received_from character varying(50), + start_date timestamp without time zone, + uuid character varying(60) NOT NULL, + due_date_delay_el character varying(2000), + due_date_delay_el_sp character varying(2000), + payment_method_id bigint, + cf_values text, + cf_values_accum text, + quote_id bigint, + billing_cycle bigint, + billing_run bigint, + order_number character varying(255), + mailing_type character varying(255), + cced_emails character varying(2000), + email character varying(255), + electronic_billing integer DEFAULT 0 NOT NULL, + email_template_id bigint +); + + +ALTER TABLE public.ord_order OWNER TO uat_postgres; + +-- +-- Name: ord_order_history; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.ord_order_history ( + id bigint NOT NULL, + version integer, + order_item_id bigint, + service_instance_id bigint, + action character varying(25) NOT NULL, + event_date timestamp without time zone NOT NULL, + order_number character varying(100) +); + + +ALTER TABLE public.ord_order_history OWNER TO uat_postgres; + +-- +-- Name: ord_order_history_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.ord_order_history_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.ord_order_history_seq OWNER TO uat_postgres; + +-- +-- Name: ord_order_item; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.ord_order_item ( + id bigint NOT NULL, + version integer, + order_id bigint NOT NULL, + item_id character varying(10) NOT NULL, + action character varying(10) NOT NULL, + user_account_id bigint, + source text NOT NULL, + status character varying(20) NOT NULL, + subscription_id bigint, + description character varying(255), + address_1 character varying(255), + address_2 character varying(255), + address_3 character varying(255), + address_city character varying(50), + address_country_id bigint, + address_state character varying(50), + address_zipcode character varying(10), + code character varying(255) NOT NULL, + created timestamp without time zone, + updated timestamp without time zone, + creator character varying(100), + updater character varying(100), + uuid character varying(60) NOT NULL, + cf_values text, + cf_values_accum text +); + + +ALTER TABLE public.ord_order_item OWNER TO uat_postgres; + +-- +-- Name: ord_order_item_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.ord_order_item_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.ord_order_item_seq OWNER TO uat_postgres; + +-- +-- Name: ord_order_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.ord_order_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.ord_order_seq OWNER TO uat_postgres; + +-- +-- Name: ord_quot_item_offerings; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.ord_quot_item_offerings ( + quote_item_id bigint NOT NULL, + prd_offering_id bigint NOT NULL, + id bigint NOT NULL, + item_order integer NOT NULL +); + + +ALTER TABLE public.ord_quot_item_offerings OWNER TO uat_postgres; + +-- +-- Name: ord_quot_item_offerings_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.ord_quot_item_offerings_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.ord_quot_item_offerings_seq OWNER TO uat_postgres; + +-- +-- Name: ord_quote; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.ord_quote ( + id bigint NOT NULL, + version integer, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + creator character varying(100), + updater character varying(100), + code character varying(255) NOT NULL, + description character varying(255), + external_id character varying(100), + quote_version character varying(10), + contact character varying(100), + quote_date timestamp without time zone NOT NULL, + valid_from timestamp without time zone, + valid_to timestamp without time zone, + req_completion_date timestamp without time zone, + order_start_date timestamp without time zone, + completion_date timestamp without time zone, + category character varying(200), + status character varying(20) NOT NULL, + status_message character varying(2000), + routed_to_user_group_id bigint, + received_from character varying(50), + uuid character varying(60) NOT NULL, + user_account_id bigint, + cf_values text, + cf_values_accum text +); + + +ALTER TABLE public.ord_quote OWNER TO uat_postgres; + +-- +-- Name: ord_quote_item; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.ord_quote_item ( + id bigint NOT NULL, + version integer, + quote_id bigint NOT NULL, + item_id character varying(10) NOT NULL, + source text NOT NULL, + status character varying(20) NOT NULL, + user_account_id bigint NOT NULL +); + + +ALTER TABLE public.ord_quote_item OWNER TO uat_postgres; + +-- +-- Name: ord_quote_item_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.ord_quote_item_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.ord_quote_item_seq OWNER TO uat_postgres; + +-- +-- Name: ord_quote_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.ord_quote_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.ord_quote_seq OWNER TO uat_postgres; + +-- +-- Name: rating_cdr; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.rating_cdr ( + id bigint NOT NULL, + version integer, + created timestamp without time zone, + event_date timestamp without time zone, + last_updated timestamp without time zone, + origin_batch character varying(255), + origin_record character varying(255), + quantity numeric, + reject_reason text, + status character varying(255), + status_date timestamp without time zone, + parameter_1 character varying(255), + parameter_2 character varying(255), + parameter_3 character varying(255), + parameter_4 character varying(255), + parameter_5 character varying(255), + parameter_6 character varying(255), + parameter_7 character varying(255), + parameter_8 character varying(255), + parameter_9 character varying(255), + date_parameter_1 timestamp without time zone, + date_parameter_2 timestamp without time zone, + date_parameter_3 timestamp without time zone, + date_parameter_4 timestamp without time zone, + date_parameter_5 timestamp without time zone, + decimal_parameter_1 numeric, + decimal_parameter_2 numeric, + decimal_parameter_3 numeric, + decimal_parameter_4 numeric, + decimal_parameter_5 numeric, + access_code character varying(255), + header_edr_id bigint, + extra_parameter text +); + + +ALTER TABLE public.rating_cdr OWNER TO uat_postgres; + +-- +-- Name: rating_cdr_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.rating_cdr_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.rating_cdr_seq OWNER TO uat_postgres; + +-- +-- Name: rating_edr; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.rating_edr ( + id bigint NOT NULL, + version integer, + created timestamp without time zone, + event_date timestamp without time zone, + last_updated timestamp without time zone, + origin_batch character varying(255), + origin_record character varying(255), + parameter_1 character varying(255), + parameter_2 character varying(255), + parameter_3 character varying(255), + parameter_4 character varying(255), + quantity numeric(23,12), + reject_reason text, + status character varying(255) NOT NULL, + subscription_id bigint NOT NULL, + parameter_5 character varying(255), + parameter_6 character varying(255), + parameter_7 character varying(255), + parameter_8 character varying(255), + parameter_9 character varying(255), + date_parameter_1 timestamp without time zone, + date_parameter_2 timestamp without time zone, + date_parameter_3 timestamp without time zone, + date_parameter_4 timestamp without time zone, + date_parameter_5 timestamp without time zone, + decimal_parameter_1 numeric(23,12), + decimal_parameter_2 numeric(23,12), + decimal_parameter_3 numeric(23,12), + decimal_parameter_4 numeric(23,12), + decimal_parameter_5 numeric(23,12), + access_code character varying(255), + header_edr_id bigint, + extra_parameter text +) +PARTITION BY LIST (status); + + +ALTER TABLE public.rating_edr OWNER TO uat_postgres; + +-- +-- Name: rating_edr_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.rating_edr_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.rating_edr_seq OWNER TO uat_postgres; + +-- +-- Name: rating_edr_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: uat_postgres +-- + +ALTER SEQUENCE public.rating_edr_seq OWNED BY public.rating_edr.id; + + +-- +-- Name: rating_edr_open; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.rating_edr_open ( + id bigint DEFAULT nextval('public.rating_edr_seq'::regclass) NOT NULL, + version integer, + created timestamp without time zone, + event_date timestamp without time zone, + last_updated timestamp without time zone, + origin_batch character varying(255), + origin_record character varying(255), + parameter_1 character varying(255), + parameter_2 character varying(255), + parameter_3 character varying(255), + parameter_4 character varying(255), + quantity numeric(23,12), + reject_reason text, + status character varying(255) NOT NULL, + subscription_id bigint NOT NULL, + parameter_5 character varying(255), + parameter_6 character varying(255), + parameter_7 character varying(255), + parameter_8 character varying(255), + parameter_9 character varying(255), + date_parameter_1 timestamp without time zone, + date_parameter_2 timestamp without time zone, + date_parameter_3 timestamp without time zone, + date_parameter_4 timestamp without time zone, + date_parameter_5 timestamp without time zone, + decimal_parameter_1 numeric(23,12), + decimal_parameter_2 numeric(23,12), + decimal_parameter_3 numeric(23,12), + decimal_parameter_4 numeric(23,12), + decimal_parameter_5 numeric(23,12), + access_code character varying(255), + header_edr_id bigint, + extra_parameter text +); + + +ALTER TABLE public.rating_edr_open OWNER TO uat_postgres; + +-- +-- Name: rating_edr_other; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.rating_edr_other ( + id bigint DEFAULT nextval('public.rating_edr_seq'::regclass) NOT NULL, + version integer, + created timestamp without time zone, + event_date timestamp without time zone, + last_updated timestamp without time zone, + origin_batch character varying(255), + origin_record character varying(255), + parameter_1 character varying(255), + parameter_2 character varying(255), + parameter_3 character varying(255), + parameter_4 character varying(255), + quantity numeric(23,12), + reject_reason text, + status character varying(255) NOT NULL, + subscription_id bigint NOT NULL, + parameter_5 character varying(255), + parameter_6 character varying(255), + parameter_7 character varying(255), + parameter_8 character varying(255), + parameter_9 character varying(255), + date_parameter_1 timestamp without time zone, + date_parameter_2 timestamp without time zone, + date_parameter_3 timestamp without time zone, + date_parameter_4 timestamp without time zone, + date_parameter_5 timestamp without time zone, + decimal_parameter_1 numeric(23,12), + decimal_parameter_2 numeric(23,12), + decimal_parameter_3 numeric(23,12), + decimal_parameter_4 numeric(23,12), + decimal_parameter_5 numeric(23,12), + access_code character varying(255), + header_edr_id bigint, + extra_parameter text +); + + +ALTER TABLE public.rating_edr_other OWNER TO uat_postgres; + +-- +-- Name: report_emails; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.report_emails ( + email_id bigint NOT NULL, + report_id bigint NOT NULL +); + + +ALTER TABLE public.report_emails OWNER TO uat_postgres; + +-- +-- Name: rm_service_param_template; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.rm_service_param_template ( + id bigint NOT NULL, + version integer, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + code character varying(255) NOT NULL, + description character varying(255), + cumulative_periods integer, + default_value character varying(255), + name character varying(255), + value character varying(255), + creator character varying(100), + updater character varying(100) +); + + +ALTER TABLE public.rm_service_param_template OWNER TO uat_postgres; + +-- +-- Name: rm_service_param_template_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.rm_service_param_template_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.rm_service_param_template_seq OWNER TO uat_postgres; + +-- +-- Name: wf_action; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.wf_action ( + id bigint NOT NULL, + version integer, + action_el character varying(2000), + condition_el character varying(2000), + priority integer, + wf_transition_id bigint, + uuid character varying(60) NOT NULL +); + + +ALTER TABLE public.wf_action OWNER TO uat_postgres; + +-- +-- Name: wf_action_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.wf_action_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.wf_action_seq OWNER TO uat_postgres; + +-- +-- Name: wf_decision_rule; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.wf_decision_rule ( + id bigint NOT NULL, + version integer, + condition_el character varying(2000), + name character varying(255), + value character varying(255), + type character varying(255), + model integer DEFAULT 0 NOT NULL +); + + +ALTER TABLE public.wf_decision_rule OWNER TO uat_postgres; + +-- +-- Name: wf_decision_rule_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.wf_decision_rule_seq + START WITH 10 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.wf_decision_rule_seq OWNER TO uat_postgres; + +-- +-- Name: wf_generic_transition; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.wf_generic_transition ( + id bigint NOT NULL, + uuid character varying(60) NOT NULL, + version integer, + from_status character varying(255), + to_status character varying(255), + priority integer, + description character varying(255), + generic_wf_id bigint, + action_script_id bigint, + condition_el character varying(2000) +); + + +ALTER TABLE public.wf_generic_transition OWNER TO uat_postgres; + +-- +-- Name: wf_generic_transition_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.wf_generic_transition_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.wf_generic_transition_seq OWNER TO uat_postgres; + +-- +-- Name: wf_generic_workflow; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.wf_generic_workflow ( + id bigint NOT NULL, + version integer, + disabled integer DEFAULT 0 NOT NULL, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + creator character varying(100), + updater character varying(100), + code character varying(255) NOT NULL, + description character varying(255), + target_entity_class character varying(255) NOT NULL, + enable_history integer DEFAULT 0 NOT NULL, + init_status character varying(255), + target_cet_code character varying(255), + filter_id bigint, + cf_values_accum text, + cf_values text, + uuid character varying(60) +); + + +ALTER TABLE public.wf_generic_workflow OWNER TO uat_postgres; + +-- +-- Name: wf_generic_workflow_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.wf_generic_workflow_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.wf_generic_workflow_seq OWNER TO uat_postgres; + +-- +-- Name: wf_history; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.wf_history ( + id bigint NOT NULL, + version integer, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + creator character varying(100), + updater character varying(100), + entity_instance_code character varying(255) NOT NULL, + from_status character varying(255) NOT NULL, + to_status character varying(255) NOT NULL, + transition_name character varying(255), + action_date timestamp without time zone, + workflow_id bigint +); + + +ALTER TABLE public.wf_history OWNER TO uat_postgres; + +-- +-- Name: wf_history_action; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.wf_history_action ( + id bigint NOT NULL, + version integer, + action character varying(2000), + result character varying(2000), + wf_history_id bigint +); + + +ALTER TABLE public.wf_history_action OWNER TO uat_postgres; + +-- +-- Name: wf_history_action_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.wf_history_action_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.wf_history_action_seq OWNER TO uat_postgres; + +-- +-- Name: wf_history_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.wf_history_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.wf_history_seq OWNER TO uat_postgres; + +-- +-- Name: wf_instance; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.wf_instance ( + id bigint NOT NULL, + version integer, + target_entity_class character varying(255) NOT NULL, + generic_wf_id bigint, + current_wf_status_id bigint, + entity_instance_code character varying(255) NOT NULL, + target_cet_code character varying(255), + entity_instance_id bigint NOT NULL +); + + +ALTER TABLE public.wf_instance OWNER TO uat_postgres; + +-- +-- Name: wf_instance_history; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.wf_instance_history ( + id bigint NOT NULL, + version integer, + action_date timestamp without time zone, + from_status character varying(255), + to_status character varying(255), + transition_name character varying(255), + wf_instance_id bigint +); + + +ALTER TABLE public.wf_instance_history OWNER TO uat_postgres; + +-- +-- Name: wf_instance_history_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.wf_instance_history_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.wf_instance_history_seq OWNER TO uat_postgres; + +-- +-- Name: wf_instance_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.wf_instance_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.wf_instance_seq OWNER TO uat_postgres; + +-- +-- Name: wf_status; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.wf_status ( + id bigint NOT NULL, + version integer, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + creator character varying(100), + updater character varying(100), + code character varying(255), + description character varying(255), + uuid character varying(60) NOT NULL, + generic_wf_id bigint +); + + +ALTER TABLE public.wf_status OWNER TO uat_postgres; + +-- +-- Name: wf_status_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.wf_status_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.wf_status_seq OWNER TO uat_postgres; + +-- +-- Name: wf_transition; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.wf_transition ( + id bigint NOT NULL, + version integer, + condition_el character varying(2000), + from_status character varying(255), + to_status character varying(255), + workflow_id bigint, + priority integer, + description character varying(255), + uuid character varying(60) NOT NULL +); + + +ALTER TABLE public.wf_transition OWNER TO uat_postgres; + +-- +-- Name: wf_transition_decision_rule; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.wf_transition_decision_rule ( + transition_id bigint NOT NULL, + decision_rule_id bigint NOT NULL +); + + +ALTER TABLE public.wf_transition_decision_rule OWNER TO uat_postgres; + +-- +-- Name: wf_transition_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.wf_transition_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.wf_transition_seq OWNER TO uat_postgres; + +-- +-- Name: wf_workflow; Type: TABLE; Schema: public; Owner: uat_postgres +-- + +CREATE TABLE public.wf_workflow ( + id bigint NOT NULL, + version integer, + disabled integer DEFAULT 0 NOT NULL, + created timestamp without time zone NOT NULL, + updated timestamp without time zone, + code character varying(255) NOT NULL, + description character varying(255), + enable_history integer DEFAULT 0 NOT NULL, + wf_type character varying(255), + creator character varying(100), + updater character varying(100) +); + + +ALTER TABLE public.wf_workflow OWNER TO uat_postgres; + +-- +-- Name: wf_workflow_seq; Type: SEQUENCE; Schema: public; Owner: uat_postgres +-- + +CREATE SEQUENCE public.wf_workflow_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER SEQUENCE public.wf_workflow_seq OWNER TO uat_postgres; + +-- +-- Name: billing_rated_transaction_open; Type: TABLE ATTACH; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_rated_transaction ATTACH PARTITION public.billing_rated_transaction_open FOR VALUES IN ('OPEN'); + + +-- +-- Name: billing_rated_transaction_other; Type: TABLE ATTACH; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_rated_transaction ATTACH PARTITION public.billing_rated_transaction_other DEFAULT; + + +-- +-- Name: billing_wallet_operation_open; Type: TABLE ATTACH; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_wallet_operation ATTACH PARTITION public.billing_wallet_operation_open FOR VALUES IN ('OPEN'); + + +-- +-- Name: billing_wallet_operation_other; Type: TABLE ATTACH; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_wallet_operation ATTACH PARTITION public.billing_wallet_operation_other DEFAULT; + + +-- +-- Name: rating_edr_open; Type: TABLE ATTACH; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.rating_edr ATTACH PARTITION public.rating_edr_open FOR VALUES IN ('OPEN'); + + +-- +-- Name: rating_edr_other; Type: TABLE ATTACH; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.rating_edr ATTACH PARTITION public.rating_edr_other DEFAULT; + + +-- +-- Name: billing_invoice id; Type: DEFAULT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_invoice ALTER COLUMN id SET DEFAULT nextval('public.billing_invoice_seq'::regclass); + + +-- +-- Name: billing_invoice_agregate id; Type: DEFAULT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_invoice_agregate ALTER COLUMN id SET DEFAULT nextval('public.billing_invoice_agregate_seq'::regclass); + + +-- +-- Name: billing_rated_transaction id; Type: DEFAULT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_rated_transaction ALTER COLUMN id SET DEFAULT nextval('public.billing_rated_transaction_seq'::regclass); + + +-- +-- Name: billing_wallet_operation id; Type: DEFAULT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_wallet_operation ALTER COLUMN id SET DEFAULT nextval('public.billing_wallet_operation_seq'::regclass); + + +-- +-- Name: job_execution id; Type: DEFAULT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.job_execution ALTER COLUMN id SET DEFAULT nextval('public.job_execution_seq'::regclass); + + +-- +-- Name: rating_edr id; Type: DEFAULT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.rating_edr ALTER COLUMN id SET DEFAULT nextval('public.rating_edr_seq'::regclass); + + +-- +-- Data for Name: account_entity; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.account_entity (id, version, created, updated, code, description, address_1, address_2, address_3, address_city, address_country_id, address_state, address_zipcode, default_level, external_ref_1, external_ref_2, firstname, lastname, provider_contact, creator, updater, title_id, primary_contact, account_type, uuid, bam_id, cf_values, cf_values_accum, job_title, email, fax, mobile, phone, vat_no, registration_no, minimum_amount_el, minimum_label_el, minimum_amount_el_sp, minimum_label_el_sp, minimum_charge_template_id) FROM stdin; +1 0 2024-01-31 09:06:24.733 \N MAIN_SELLER \N \N \N \N \N \N \N \N 1 \N \N \N \N \N public.superadmin \N \N \N ACCT_S 5ac2d000-8d36-4d60-8b62-3fc267646252 \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N +2 0 2024-01-31 11:17:01.459 \N 30fe15a0-6d6c-4728-a5e8-a75e12bd17eb IBASISINNOVATIONCENTER Tudor Arghezi 25 Bucharest \N Bucharest 061461 1 \N \N IBASISINNOVATIONCENTER IBASISINNOVATIONCENTER \N public.superadmin \N \N \N ACCT_CUST 3d319814-e6f1-43a7-b0f4-a44c0c333916 \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N +3 0 2024-01-31 11:17:01.66 \N 30fe15a0-6d6c-4728-a5e8-a75e12bd17eb IBASISINNOVATIONCENTER \N \N \N \N \N \N \N 1 \N \N IBASISINNOVATIONCENTER IBASISINNOVATIONCENTER \N public.superadmin \N \N \N ACCT_CA 661c08b9-5b2e-479b-9d40-0bb0e86c5acd \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N +4 0 2024-01-31 11:17:01.898 \N 4b160c32-9f83-4368-b550-66ef97a98073 IBASISINNOVATIONCENTER_1_DEFAULT \N \N \N \N \N \N \N 1 \N \N iBasis Innovation Center iBasis Innovation Center \N public.superadmin \N \N \N ACCT_BA d3aa4d88-1cee-4d67-b755-05366021e4f4 \N \N \N \N \N \N \N \N 0123456789 \N \N \N \N \N \N +5 0 2024-11-27 08:53:15.17 \N b59c27b5-80fc-41a0-9530-9837c3fc87e0 IBASISSUPPORT Sergent Constantin Apostol No.12 Et.3 Ap.13 Bucharest \N Bucharest 061461 1 \N \N IBASISSUPPORT IBASISSUPPORT \N development@simfony.com \N \N \N ACCT_CUST 679bdede-8776-4328-ba61-9220dda8082b \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N +6 0 2024-11-27 08:53:16.705 \N b59c27b5-80fc-41a0-9530-9837c3fc87e0 IBASISSUPPORT \N \N \N \N \N \N \N 1 \N \N IBASISSUPPORT IBASISSUPPORT \N development@simfony.com \N \N \N ACCT_CA df3ebd6a-adbe-475b-b011-b4f089c88276 \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N +7 0 2024-11-27 08:53:17.681 \N 9a59fffb-3ecb-4a77-9cb1-910a196bfd19 IBASISSUPPORT_1_DEFAULT \N \N \N \N \N \N \N 1 \N \N IBasis Support IBasis Support \N development@simfony.com \N \N \N ACCT_BA 47233f9c-fbc4-4610-ae23-65cc4ee6d492 \N \N \N \N \N \N \N \N 0011223344 \N \N \N \N \N \N +8 1 2024-11-27 09:12:35.791 \N 97918cf7-45c4-4560-b81d-4068dace248a SIM_CARD_43fb04dc-6987-4787-987f-78321dfb06e7_268069223012541 \N \N \N \N \N \N \N 1 \N \N firstName lastName \N development@simfony.com \N 38 \N ACCT_UA 5a643036-3682-46a0-b597-437df2ca1e4e \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N +\. + + +-- +-- Data for Name: adm_country; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.adm_country (id, created, updated, version, country_code, description, creator, updater, currency_id, language_id, description_i18n) FROM stdin; +1 2015-03-19 00:04:03.579 \N 1 AD Andorra \N \N 5 8 {"FRA":"Andorre","ENG":"Andorra"} +2 2015-03-19 00:04:03.6 \N 1 AE United Arab Emirates \N \N 54 3 {"FRA":"Emirats Arabes Unis","ENG":"United Arab Emirates"} +3 2015-03-19 00:04:03.621 \N 1 AF Afghanistan \N \N 1 2 {"FRA":"Afghanistan","ENG":"Afghanistan"} +4 2015-03-19 00:04:03.641 \N 1 AG Antigua and Barbuda \N \N 7 2 {"FRA":"Antigua-et-Barbuda","ENG":"Antigua and Barbuda"} +5 2015-03-19 00:04:03.663 \N 1 AI Anguilla \N \N 7 2 {"FRA":"Anguilla","ENG":"Anguilla"} +6 2015-03-19 00:04:03.684 \N 1 AL Albania \N \N 3 2 {"FRA":"Albanie","ENG":"Albania"} +7 2015-03-19 00:04:03.706 \N 1 AM Armenia \N \N 11 2 {"FRA":"Arménie","ENG":"Armenia"} +8 2015-03-19 00:04:03.727 \N 1 AN Netherlands Antilles \N \N 8 21 {"FRA":"Antilles néerlandaises","ENG":"Netherlands Antilles"} +9 2015-03-19 00:04:03.748 \N 1 AO Angola \N \N 6 2 {"FRA":"Angola","ENG":"Angola"} +10 2015-03-19 00:04:03.768 \N 1 AR Argentina \N \N 10 8 {"FRA":"Argentine","ENG":"Argentina"} +11 2015-03-19 00:04:03.796 \N 1 AS American Samoa \N \N 49 1 {"FRA":"Samoa orientales","ENG":"American Samoa"} +12 2015-03-19 00:04:03.816 \N 1 AT Austria \N \N 5 1 {"FRA":"Autriche","ENG":"Austria"} +13 2015-03-19 00:04:03.839 \N 1 AU Australia \N \N 13 2 {"FRA":"Australie","ENG":"Australia"} +14 2015-03-19 00:04:03.86 \N 1 AW Aruba \N \N 12 2 {"FRA":"Aruba","ENG":"Aruba"} +15 2015-03-19 00:04:03.882 \N 1 AZ Azerbaijan \N \N 6 2 {"FRA":"Azerbaïdjan","ENG":"Azerbaijan"} +16 2015-03-19 00:04:03.903 \N 1 BA Bosnia and Herzegovina \N \N 25 2 {"FRA":"Bosnie-Herzégovine","ENG":"Bosnia and Herzegovina"} +17 2015-03-19 00:04:03.924 \N 1 BB Barbados \N \N 18 2 {"FRA":"Barbade","ENG":"Barbados"} +18 2015-03-19 00:04:03.951 \N 1 BD Bangladesh \N \N 17 2 {"FRA":"Bangladesh","ENG":"Bangladesh"} +19 2015-03-19 00:04:03.973 \N 1 BE Belgium \N \N 5 12 {"FRA":"Belgique","ENG":"Belgium"} +20 2015-03-19 00:04:03.994 \N 1 BF Burkina Faso \N \N 20 2 {"FRA":"Burkina Faso","ENG":"Burkina Faso"} +21 2015-03-19 00:04:04.016 \N 1 BG Bulgaria \N \N 5 2 {"FRA":"Bulgarie","ENG":"Bulgaria"} +22 2015-03-19 00:04:04.037 \N 1 BH Bahrain \N \N 16 2 {"FRA":"Bahreïn","ENG":"Bahrain"} +23 2015-03-19 00:04:04.057 \N 1 BI Burundi \N \N 30 2 {"FRA":"Burundi","ENG":"Burundi"} +24 2015-03-19 00:04:04.079 \N 1 BJ Benin \N \N 20 2 {"FRA":"Bénin","ENG":"Benin"} +25 2015-03-19 00:04:04.1 \N 1 BM Bermuda \N \N 21 2 {"FRA":"Bermudes","ENG":"Bermuda"} +26 2015-03-19 00:04:04.12 \N 1 BN Brunei Darussalam \N \N 28 2 {"FRA":"Bruneï","ENG":"Brunei Darussalam"} +27 2015-03-19 00:04:04.142 \N 1 BO Bolivia \N \N 24 2 {"FRA":"Bolivie","ENG":"Bolivia"} +28 2015-03-19 00:04:04.163 \N 1 BR Brazil \N \N 27 2 {"FRA":"Brésil","ENG":"Brazil"} +29 2015-03-19 00:04:04.185 \N 1 BS The Bahamas \N \N 15 2 {"FRA":"Bahamas","ENG":"The Bahamas"} +30 2015-03-19 00:04:04.206 \N 1 BT Bhutan \N \N 16 2 {"FRA":"Bhoutan","ENG":"Bhutan"} +31 2015-03-19 00:04:04.234 \N 1 BV Bouvet Island \N \N 31 2 {"FRA":"Bouvet (Île)","ENG":"Bouvet Island"} +32 2015-03-19 00:04:04.255 \N 1 BW Botswana \N \N 26 2 {"FRA":"Botswana","ENG":"Botswana"} +33 2015-03-19 00:04:04.276 \N 1 BY Belarus \N \N 23 2 {"FRA":"Biélorussie","ENG":"Belarus"} +34 2015-03-19 00:04:04.297 \N 1 BZ Belize \N \N 19 2 {"FRA":"Bélize","ENG":"Belize"} +35 2015-03-19 00:04:04.318 \N 1 CA Canada \N \N 35 2 {"FRA":"Canada","ENG":"Canada"} +36 2015-03-19 00:04:04.34 \N 1 CC Cocos (Keeling) Islands \N \N 13 2 {"FRA":"Cocos / Keeling (Îles)","ENG":"Cocos (Keeling) Islands"} +37 2015-03-19 00:04:04.361 \N 1 CD Congo, Democratic Republic of the \N \N 43 12 {"FRA":"République Démocratique du Congo","ENG":"Congo , Democratic Republic of the"} +38 2015-03-19 00:04:04.382 \N 1 CF Central African Republic \N \N 34 12 {"FRA":"République Centrafricaine","ENG":"Central African Republic"} +39 2015-03-19 00:04:04.404 \N 1 CG Congo, Republic of the \N \N 34 12 {"FRA":"Congo","ENG":"Congo, Republic of the"} +40 2015-03-19 00:04:04.425 \N 1 CH Switzerland \N \N 92 2 {"FRA":"Suisse","ENG":"Switzerland"} +41 2015-03-19 00:04:04.452 \N 1 CI Cote Ivoire \N \N 20 12 {"FRA":"Côte DIvoire","ENG":"Cote Ivoire"} +42 2015-03-19 00:04:04.474 \N 1 CK Cook Islands \N \N 72 2 {"FRA":"Cook (Îles)","ENG":"Cook Islands"} +43 2015-03-19 00:04:04.494 \N 1 CL Chile \N \N 38 2 {"FRA":"Chili","ENG":"Chile"} +44 2015-03-19 00:04:04.516 \N 1 CM Cameroon \N \N 34 12 {"FRA":"Cameroun","ENG":"Cameroon"} +45 2015-03-19 00:04:04.536 \N 1 CN China \N \N 39 6 {"FRA":"Chine","ENG":"China"} +46 2015-03-19 00:04:04.559 \N 1 CO Colombia \N \N 41 8 {"FRA":"Colombie","ENG":"Colombia"} +47 2015-03-19 00:04:04.58 \N 1 CR Costa Rica \N \N 46 8 {"FRA":"Costa Rica","ENG":"Costa Rica"} +48 2015-03-19 00:04:04.601 \N 1 CU Cuba \N \N 48 8 {"FRA":"Cuba","ENG":"Cuba"} +49 2015-03-19 00:04:04.622 \N 1 CV Cape Verde \N \N 36 8 {"FRA":"Cap Vert","ENG":"Cape Verde"} +50 2015-03-19 00:04:04.644 \N 1 CX Christmas Island \N \N 13 2 {"FRA":"Christmas (Île)","ENG":"Christmas Island"} +51 2015-03-19 00:04:04.665 \N 1 CY Cyprus \N \N 40 2 {"FRA":"Chypre","ENG":"Cyprus"} +52 2015-03-19 00:04:04.687 \N 1 CZ Czech Republic \N \N 152 2 {"FRA":"République Tchèque","ENG":"Czech Republic"} +53 2015-03-19 00:04:04.708 \N 1 DE Germany \N \N 5 1 {"FRA":"Allemagne","ENG":"Germany"} +54 2015-03-19 00:04:04.729 \N 1 DJ Djibouti \N \N 51 12 {"FRA":"Djibouti","ENG":"Djibouti"} +55 2015-03-19 00:04:04.75 \N 1 DK Denmark \N \N 50 2 {"FRA":"Danemark","ENG":"Denmark"} +56 2015-03-19 00:04:04.772 \N 1 DM Dominica \N \N 7 2 {"FRA":"Dominique","ENG":"Dominica"} +57 2015-03-19 00:04:04.795 \N 1 DO Dominican Republic \N \N 52 2 {"FRA":"République Dominicaine","ENG":"Dominican Republic"} +58 2015-03-19 00:04:04.816 \N 1 DZ Algeria \N \N 4 8 {"FRA":"Algérie","ENG":"Algeria"} +59 2015-03-19 00:04:04.837 \N 1 EC Ecuador \N \N 49 2 {"FRA":"Equateur","ENG":"Ecuador"} +60 2015-03-19 00:04:04.857 \N 1 EE Estonia \N \N 56 2 {"FRA":"Estonie","ENG":"Estonia"} +61 2015-03-19 00:04:04.879 \N 1 EG Egypt \N \N 53 8 {"FRA":"Egypte","ENG":"Egypt"} +62 2015-03-19 00:04:05.043 \N 1 ER Eritrea \N \N 55 2 {"FRA":"Erythrée","ENG":"Eritrea"} +63 2015-03-19 00:04:05.064 \N 1 ES Spain \N \N 5 8 {"FRA":"Espagne","ENG":"Spain"} +64 2015-03-19 00:04:05.086 \N 1 ET Ethiopia \N \N 57 2 {"FRA":"Ethiopie","ENG":"Ethiopia"} +65 2015-03-19 00:04:05.109 \N 1 FI Finland \N \N 5 2 {"FRA":"Finlande","ENG":"Finland"} +66 2015-03-19 00:04:05.129 \N 1 FJ Fiji \N \N 59 2 {"FRA":"Fiji","ENG":"Fiji"} +67 2015-03-19 00:04:05.151 \N 1 FK Falkland Islands (Islas Malvinas) \N \N 58 2 {"FRA":"Falkland / Malouines (Îles)","ENG":"Falkland Islands (Islas Malvinas)"} +68 2015-03-19 00:04:05.172 \N 1 FM Micronesia, Federated States of \N \N 49 2 {"FRA":"Micronésie (Etats fédérés de)","ENG":"Micronesia, Federated States of"} +69 2015-03-19 00:04:05.192 \N 1 FO Faroe Islands \N \N 50 2 {"FRA":"Féroé (Îles)","ENG":"Faroe Islands"} +70 2015-03-19 00:04:05.214 \N 1 FR France \N \N 5 12 {"FRA":"France","ENG":"France"} +71 2015-03-19 00:04:05.236 \N 1 GA Gabon \N \N 34 12 {"FRA":"Gabon","ENG":"Gabon"} +72 2015-03-19 00:04:05.257 \N 1 GD Grenada \N \N 7 2 {"FRA":"Grenade","ENG":"Grenada"} +73 2015-03-19 00:04:05.277 \N 1 GE Georgia \N \N 61 2 {"FRA":"Géorgie","ENG":"Georgia"} +74 2015-03-19 00:04:05.298 \N 1 GF French Guiana \N \N 5 2 {"FRA":"Guyane française","ENG":"French Guiana"} +75 2015-03-19 00:04:05.324 \N 1 GH Ghana \N \N 62 2 {"FRA":"Ghana","ENG":"Ghana"} +76 2015-03-19 00:04:05.345 \N 1 GI Gibraltar \N \N 63 2 {"FRA":"Gibraltar","ENG":"Gibraltar"} +77 2015-03-19 00:04:05.366 \N 1 GL Greenland \N \N 50 2 {"FRA":"Groënland","ENG":"Greenland"} +78 2015-03-19 00:04:05.391 \N 1 GM The Gambia \N \N 60 2 {"FRA":"Gambie","ENG":"The Gambia"} +79 2015-03-19 00:04:05.411 \N 1 GN Guinea \N \N 66 2 {"FRA":"Guinée","ENG":"Guinea"} +80 2015-03-19 00:04:05.432 \N 1 GP Guadeloupe \N \N 5 12 {"FRA":"Guadeloupe","ENG":"Guadeloupe"} +81 2015-03-19 00:04:05.454 \N 1 GQ Equatorial Guinea \N \N 34 2 {"FRA":"Guinée Equatoriale","ENG":"Equatorial Guinea"} +82 2015-03-19 00:04:05.476 \N 1 GR Greece \N \N 5 2 {"FRA":"Grèce","ENG":"Greece"} +83 2015-03-19 00:04:05.496 \N 1 GS South Georgia and the South Sand \N \N 65 2 {"FRA":"Géorgie du Sud et îles Sandwich du Sud","ENG":"South Georgia and the South Sand"} +84 2015-03-19 00:04:05.518 \N 1 GT Guatemala \N \N 64 2 {"FRA":"Guatemala","ENG":"Guatemala"} +85 2015-03-19 00:04:05.546 \N 1 GU Guam \N \N 49 2 {"FRA":"Guam","ENG":"Guam"} +86 2015-03-19 00:04:05.567 \N 1 GW Guinea-Bissau \N \N 20 2 {"FRA":"Guinée-Bissau","ENG":"Guinea-Bissau"} +87 2015-03-19 00:04:05.589 \N 1 GY Guyana \N \N 67 2 {"FRA":"Guyana","ENG":"Guyana"} +88 2015-03-19 00:04:05.611 \N 1 HK Hong Kong (SAR) \N \N 70 2 {"FRA":"Hong Kong","ENG":"Hong Kong (SAR)"} +89 2015-03-19 00:04:05.631 \N 1 HM Heard Island and McDonald Island \N \N 13 2 {"FRA":"Territoire des Îles Heard et McDonald","ENG":"Heard Island and McDonald Island"} +90 2015-03-19 00:04:05.653 \N 1 HN Honduras \N \N 69 2 {"FRA":"Honduras","ENG":"Honduras"} +91 2015-03-19 00:04:05.676 \N 1 HR Croatia \N \N 47 2 {"FRA":"Croatie","ENG":"Croatia"} +92 2015-03-19 00:04:05.7 \N 1 HT Haiti \N \N 68 2 {"FRA":"Haïti","ENG":"Haiti"} +93 2015-03-19 00:04:05.722 \N 1 HU Hungary \N \N 71 2 {"FRA":"Hongrie","ENG":"Hungary"} +94 2015-03-19 00:04:05.743 \N 1 ID Indonesia \N \N 74 2 {"FRA":"Indonésie","ENG":"Indonesia"} +95 2015-03-19 00:04:05.765 \N 1 IE Ireland \N \N 5 2 {"FRA":"Irlande","ENG":"Ireland"} +96 2015-03-19 00:04:05.786 \N 1 IL Israel \N \N 78 2 {"FRA":"Israël","ENG":"Israel"} +97 2015-03-19 00:04:05.808 \N 1 IN India \N \N 73 2 {"FRA":"Indie","ENG":"India"} +98 2015-03-19 00:04:05.829 \N 1 IO British Indian Ocean Territory \N \N 49 2 {"FRA":"Territoire britannique de l Océan Indien","ENG":"British Indian Ocean Territory"} +99 2015-03-19 00:04:05.85 \N 1 IQ Iraq \N \N 76 8 {"FRA":"Irak","ENG":"Iraq"} +100 2015-03-19 00:04:05.871 \N 1 IR Iran \N \N 75 2 {"FRA":"Iran (République islamique d)","ENG":"Iran"} +101 2015-03-19 00:04:05.892 \N 1 IS Iceland \N \N 77 2 {"FRA":"Islande","ENG":"Iceland"} +102 2015-03-19 00:04:05.913 \N 1 IT Italy \N \N 5 2 {"FRA":"Italie","ENG":"Italy"} +103 2015-03-19 00:04:05.933 \N 1 JM Jamaica \N \N 79 2 {"FRA":"Jamaïque","ENG":"Jamaica"} +104 2015-03-19 00:04:05.955 \N 1 JO Jordan \N \N 81 2 {"FRA":"Jordanie","ENG":"Jordan"} +105 2015-03-19 00:04:05.977 \N 1 JP Japan \N \N 80 2 {"FRA":"Japon","ENG":"Japan"} +106 2015-03-19 00:04:05.998 \N 1 KE Kenya \N \N 83 2 {"FRA":"Kenya","ENG":"Kenya"} +107 2015-03-19 00:04:06.019 \N 1 KG Kyrgyzstan \N \N 84 2 {"FRA":"Kyrgyzstan","ENG":"Kyrgyzstan"} +108 2015-03-19 00:04:06.045 \N 1 KH Cambodia \N \N 33 2 {"FRA":"Cambodge","ENG":"Cambodia"} +109 2015-03-19 00:04:06.066 \N 1 KI Kiribati \N \N 13 2 {"FRA":"Kiribati","ENG":"Kiribati"} +110 2015-03-19 00:04:06.087 \N 1 KM Comoros \N \N 42 2 {"FRA":"Comores","ENG":"Comoros"} +111 2015-03-19 00:04:06.11 \N 1 KN Saint Kitts and Nevis \N \N 7 2 {"FRA":"Saint Kitts et Nevis","ENG":"Saint Kitts and Nevis"} +112 2015-03-19 00:04:06.132 \N 1 KP Korea, North \N \N 45 2 {"FRA":"Corée (République populaire démocratique du)","ENG":"Korea, North"} +113 2015-03-19 00:04:06.153 \N 1 KR Korea, South \N \N 44 2 {"FRA":"Corée (République démocratique du)","ENG":"Korea, South"} +114 2015-03-19 00:04:06.174 \N 1 KW Kuwait \N \N 85 2 {"FRA":"Koweït","ENG":"Kuwait"} +115 2015-03-19 00:04:06.195 \N 1 KY Cayman Islands \N \N 32 2 {"FRA":"Caïmans (Îles)","ENG":"Cayman Islands"} +116 2015-03-19 00:04:06.215 \N 1 KZ Kazakhstan \N \N 82 2 {"FRA":"Kazakstan","ENG":"Kazakhstan"} +117 2015-03-19 00:04:06.237 \N 1 LA Laos \N \N 86 2 {"FRA":"Laos (République populaire démocratique du)","ENG":"Laos"} +118 2015-03-19 00:04:06.258 \N 1 LB Lebanon \N \N 89 2 {"FRA":"Liban","ENG":"Lebanon"} +119 2015-03-19 00:04:06.279 \N 1 LC Saint Lucia \N \N 7 2 {"FRA":"Sainte Lucie","ENG":"Saint Lucia"} +120 2015-03-19 00:04:06.3 \N 1 LI Liechtenstein \N \N 92 2 {"FRA":"Liechtenstein","ENG":"Liechtenstein"} +121 2015-03-19 00:04:06.326 \N 1 LK Sri Lanka \N \N 143 2 {"FRA":"Sri Lanka","ENG":"Sri Lanka"} +122 2015-03-19 00:04:06.346 \N 1 LR Liberia \N \N 90 2 {"FRA":"Libéria","ENG":"Liberia"} +123 2015-03-19 00:04:06.368 \N 1 LS Lesotho \N \N 87 2 {"FRA":"Lesotho","ENG":"Lesotho"} +124 2015-03-19 00:04:06.389 \N 1 LT Lithuania \N \N 93 2 {"FRA":"Lithuanie","ENG":"Lithuania"} +125 2015-03-19 00:04:06.411 \N 1 LU Luxembourg \N \N 5 12 {"FRA":"Luxembourg","ENG":"Luxembourg"} +126 2015-03-19 00:04:06.432 \N 1 LV Latvia \N \N 88 2 {"FRA":"Lettonie","ENG":"Latvia"} +127 2015-03-19 00:04:06.452 \N 1 LY Libya \N \N 91 2 {"FRA":"Libye (Jamahiriya Arabe Libyenne)","ENG":"Libya"} +128 2015-03-19 00:04:06.475 \N 1 MA Morocco \N \N 102 3 {"FRA":"Maroc","ENG":"Morocco"} +129 2015-03-19 00:04:06.495 \N 1 MC Monaco \N \N 5 2 {"FRA":"Monaco","ENG":"Monaco"} +130 2015-03-19 00:04:06.516 \N 1 MD Moldova \N \N 106 2 {"FRA":"Moldavie","ENG":"Moldova"} +131 2015-03-19 00:04:06.537 \N 1 MG Madagascar \N \N 97 2 {"FRA":"Madagascar","ENG":"Madagascar"} +132 2015-03-19 00:04:06.558 \N 1 MH Marshall Islands \N \N 49 2 {"FRA":"Marshall (Îles)","ENG":"Marshall Islands"} +133 2015-03-19 00:04:06.581 \N 1 MK Macedonia, The Former Yugoslav R \N \N 95 2 {"FRA":"Macédoine (ancienne République yougoslave de)","ENG":"Macedonia, The Former Yugoslav R"} +134 2015-03-19 00:04:06.608 \N 1 ML Mali \N \N 20 12 {"FRA":"Mali","ENG":"Mali"} +135 2015-03-19 00:04:06.631 \N 1 MM Burma \N \N 109 2 {"FRA":"Myanmar","ENG":"Burma"} +136 2015-03-19 00:04:06.652 \N 1 MN Mongolia \N \N 107 2 {"FRA":"Mongolie","ENG":"Mongolia"} +137 2015-03-19 00:04:06.673 \N 1 MO Macao \N \N 94 2 {"FRA":"Macau","ENG":"Macao"} +138 2015-03-19 00:04:06.695 \N 1 MP Northern Mariana Islands \N \N 49 2 {"FRA":"Mariannes (Îles)","ENG":"Northern Mariana Islands"} +139 2015-03-19 00:04:06.715 \N 1 MQ Martinique \N \N 5 2 {"FRA":"Martinique","ENG":"Martinique"} +140 2015-03-19 00:04:06.738 \N 1 MR Mauritania \N \N 104 2 {"FRA":"Mauritanie","ENG":"Mauritania"} +141 2015-03-19 00:04:06.764 \N 1 MS Montserrat \N \N 7 2 {"FRA":"Montserrat","ENG":"Montserrat"} +142 2015-03-19 00:04:06.784 \N 1 MT Malta \N \N 101 2 {"FRA":"Malte","ENG":"Malta"} +143 2015-03-19 00:04:06.805 \N 1 MU Mauritius \N \N 103 2 {"FRA":"Maurice","ENG":"Mauritius"} +144 2015-03-19 00:04:06.827 \N 1 MV Maldives \N \N 100 2 {"FRA":"Maldives","ENG":"Maldives"} +145 2015-03-19 00:04:06.849 \N 1 MW Malawi \N \N 99 2 {"FRA":"Malawi","ENG":"Malawi"} +146 2015-03-19 00:04:06.869 \N 1 MX Mexico \N \N 105 2 {"FRA":"Mexique","ENG":"Mexico"} +147 2015-03-19 00:04:06.891 \N 1 MY Malaysia \N \N 98 2 {"FRA":"Malaysie","ENG":"Malaysia"} +148 2015-03-19 00:04:06.911 \N 1 MZ Mozambique \N \N 108 2 {"FRA":"Mozambique","ENG":"Mozambique"} +149 2015-03-19 00:04:06.931 \N 1 NA Namibia \N \N 110 2 {"FRA":"Namibie","ENG":"Namibia"} +150 2015-03-19 00:04:06.952 \N 1 NC New Caledonia \N \N 114 2 {"FRA":"Nouvelle-Calédonie","ENG":"New Caledonia"} +151 2015-03-19 00:04:06.974 \N 1 NE Niger \N \N 20 12 {"FRA":"Niger","ENG":"Niger"} +152 2015-03-19 00:04:06.994 \N 1 NF Norfolk Island \N \N 13 2 {"FRA":"Norfolk (Île)","ENG":"Norfolk Island"} +153 2015-03-19 00:04:07.016 \N 1 NG Nigeria \N \N 113 2 {"FRA":"Nigéria","ENG":"Nigeria"} +154 2015-03-19 00:04:07.038 \N 1 NI Nicaragua \N \N 112 8 {"FRA":"Nicaragua","ENG":"Nicaragua"} +155 2015-03-19 00:04:07.059 \N 1 NL Netherlands \N \N 5 2 {"FRA":"Pays-Bas","ENG":"Netherlands"} +156 2015-03-19 00:04:07.081 \N 1 NO Norway \N \N 31 2 {"FRA":"Norvège","ENG":"Norway"} +157 2015-03-19 00:04:07.108 \N 1 NP Nepal \N \N 111 2 {"FRA":"Népal","ENG":"Nepal"} +158 2015-03-19 00:04:07.128 \N 1 NR Nauru \N \N 13 2 {"FRA":"Nauru","ENG":"Nauru"} +159 2015-03-19 00:04:07.15 \N 1 NU Niue \N \N 72 2 {"FRA":"Niue","ENG":"Niue"} +160 2015-03-19 00:04:07.171 \N 1 NZ New Zealand \N \N 72 2 {"FRA":"Nouvelle-Zélande","ENG":"New Zealand"} +161 2015-03-19 00:04:07.191 \N 1 OM Oman \N \N 115 2 {"FRA":"Oman","ENG":"Oman"} +162 2015-03-19 00:04:07.214 \N 1 PA Panama \N \N 120 8 {"FRA":"Panama","ENG":"Panama"} +163 2015-03-19 00:04:07.254 \N 1 PE Peru \N \N 123 8 {"FRA":"Pérou","ENG":"Peru"} +164 2015-03-19 00:04:07.297 \N 1 PF French Polynesia \N \N 114 12 {"FRA":"Polynésie française","ENG":"French Polynesia"} +165 2015-03-19 00:04:07.318 \N 1 PG Papua New Guinea \N \N 121 12 {"FRA":"Papouasie Nouvelle-Guinée","ENG":"Papua New Guinea"} +166 2015-03-19 00:04:07.34 \N 1 PH Philippines \N \N 124 2 {"FRA":"Philippines","ENG":"Philippines"} +167 2015-03-19 00:04:07.361 \N 1 PK Pakistan \N \N 119 2 {"FRA":"Pakistan","ENG":"Pakistan"} +168 2015-03-19 00:04:07.382 \N 1 PL Poland \N \N 125 2 {"FRA":"Pologne","ENG":"Poland"} +169 2015-03-19 00:04:07.404 \N 1 PM Saint Pierre and Miquelon \N \N 5 2 {"FRA":"St. Pierre et Miquelon","ENG":"Saint Pierre and Miquelon"} +170 2015-03-19 00:04:07.425 \N 1 PN Pitcairn Islands \N \N 72 2 {"FRA":"Pitcaïrn","ENG":"Pitcairn Islands"} +171 2015-03-19 00:04:07.452 \N 1 PR Puerto Rico \N \N 49 8 {"FRA":"Porto Rico","ENG":"Puerto Rico"} +172 2015-03-19 00:04:07.472 \N 1 PS Palestinian Territory, Occupied \N \N 5 2 {"FRA":"Territoire Palestinien Occupé","ENG":"Palestinian Territory, Occupied"} +173 2015-03-19 00:04:07.494 \N 1 PT Portugal \N \N 5 2 {"FRA":"Portugal","ENG":"Portugal"} +174 2015-03-19 00:04:07.515 \N 1 PW Palau \N \N 49 2 {"FRA":"Palau","ENG":"Palau"} +175 2015-03-19 00:04:07.538 \N 1 PY Paraguay \N \N 122 2 {"FRA":"Paraguay","ENG":"Paraguay"} +176 2015-03-19 00:04:07.559 \N 1 QA Qatar \N \N 126 2 {"FRA":"Quatar","ENG":"Qatar"} +177 2015-03-19 00:04:07.579 \N 1 RE Réunion \N \N 5 2 {"FRA":"Réunion","ENG":"Réunion"} +178 2015-03-19 00:04:07.607 \N 1 RO Romania \N \N 128 2 {"FRA":"Romania","ENG":"Romania"} +179 2015-03-19 00:04:07.629 \N 1 RU Russia \N \N 129 2 {"FRA":"Russie (Fédération de)","ENG":"Russia"} +180 2015-03-19 00:04:07.651 \N 1 RW Rwanda \N \N 130 2 {"FRA":"Rwanda","ENG":"Rwanda"} +181 2015-03-19 00:04:07.672 \N 1 SA Saudi Arabia \N \N 9 2 {"FRA":"Arabie Séoudite","ENG":"Saudi Arabia"} +182 2015-03-19 00:04:07.692 \N 1 SB Solomon Islands \N \N 131 2 {"FRA":"Salomon (Îles)","ENG":"Solomon Islands"} +183 2015-03-19 00:04:07.714 \N 1 SC Seychelles \N \N 136 2 {"FRA":"Seychelles","ENG":"Seychelles"} +184 2015-03-19 00:04:07.736 \N 1 SD Sudan \N \N 21 2 {"FRA":"Soudan","ENG":"Sudan"} +185 2015-03-19 00:04:07.757 \N 1 SE Sweden \N \N 145 2 {"FRA":"Suède","ENG":"Sweden"} +186 2015-03-19 00:04:07.779 \N 1 SG Singapore \N \N 138 2 {"FRA":"Singapour","ENG":"Singapore"} +187 2015-03-19 00:04:07.8 \N 1 SH Saint Helena \N \N 144 2 {"FRA":"Ste Hélène","ENG":"Saint Helena"} +188 2015-03-19 00:04:07.821 \N 1 SI Slovenia \N \N 140 2 {"FRA":"Slovénie","ENG":"Slovenia"} +189 2015-03-19 00:04:07.842 \N 1 SJ Svalbard \N \N 31 2 {"FRA":"Svalbard et Jan Mayen (Îles)","ENG":"Svalbard"} +190 2015-03-19 00:04:07.863 \N 1 SK Slovakia \N \N 139 2 {"FRA":"Slovaquie","ENG":"Slovakia"} +191 2015-03-19 00:04:07.891 \N 1 SL Sierra Leone \N \N 137 2 {"FRA":"Sierra Léone","ENG":"Sierra Leone"} +192 2015-03-19 00:04:07.911 \N 1 SM San Marino \N \N 5 2 {"FRA":"San Marin","ENG":"San Marino"} +193 2015-03-19 00:04:07.933 \N 1 SN Senegal \N \N 20 2 {"FRA":"Sénégal","ENG":"Senegal"} +194 2015-03-19 00:04:07.955 \N 1 SO Somalia \N \N 141 2 {"FRA":"Somalie","ENG":"Sénégal"} +195 2015-03-19 00:04:07.982 \N 1 SR Suriname \N \N 5 2 {"FRA":"Surinam","ENG":"Suriname"} +196 2015-03-19 00:04:08.004 \N 1 ST Santo Tomas and Principe \N \N 134 2 {"FRA":"Sao Tomé et Principe","ENG":"Santo Tomas and Principe"} +197 2015-03-19 00:04:08.025 \N 1 SV El Salvador \N \N 132 2 {"FRA":"Salvador","ENG":"El Salvador"} +198 2015-03-19 00:04:08.047 \N 1 SY Syria \N \N 148 2 {"FRA":"Syrie (République arabe syrienne)","ENG":"Syria"} +199 2015-03-19 00:04:08.068 \N 1 SZ Swaziland \N \N 147 2 {"FRA":"Swaziland","ENG":"Swaziland"} +200 2015-03-19 00:04:08.089 \N 1 TC Turks and Caicos Islands \N \N 49 2 {"FRA":"Turks et Caicos (Îles)","ENG":"Turks and Caicos Islands"} +201 2015-03-19 00:04:08.111 \N 1 TD Chad \N \N 34 2 {"FRA":"Tchad","ENG":"Chad"} +202 2015-03-19 00:04:08.132 \N 1 TF French Southern and Antarctic Land \N \N 5 2 {"FRA":"Territoires Antarctiques français","ENG":"French Southern and Antarctic Land"} +203 2015-03-19 00:04:08.154 \N 1 TG Togo \N \N 20 2 {"FRA":"Togo","ENG":"Togo"} +204 2015-03-19 00:04:08.174 \N 1 TH Thailand \N \N 153 2 {"FRA":"Thaïlande","ENG":"Thailand"} +205 2015-03-19 00:04:08.202 \N 1 TJ Tajikistan \N \N 149 2 {"FRA":"Tadjikistan","ENG":"Tajikistan"} +206 2015-03-19 00:04:08.224 \N 1 TK Tokelau \N \N 72 2 {"FRA":"Tokelau","ENG":"Tokelau"} +207 2015-03-19 00:04:08.245 \N 1 TM Turkmenistan \N \N 157 2 {"FRA":"Turkménistan","ENG":"Turkmenistan"} +208 2015-03-19 00:04:08.266 \N 1 TN Tunisia \N \N 156 2 {"FRA":"Tunisie","ENG":"Tunisia"} +209 2015-03-19 00:04:08.287 \N 1 TO Tonga \N \N 154 2 {"FRA":"Tonga","ENG":"Tonga"} +210 2015-03-19 00:04:08.307 \N 1 TL East timor \N \N 5 2 {"FRA":"Timor oriental","ENG":"East timor"} +211 2015-03-19 00:04:08.33 \N 1 TR Turkey \N \N 159 2 {"FRA":"Turquie","ENG":"Turkey"} +212 2015-03-19 00:04:08.351 \N 1 TT Trinidad and Tobago \N \N 155 2 {"FRA":"Trinidad et Tobago","ENG":"Trinidad and Tobago"} +213 2015-03-19 00:04:08.372 \N 1 TV Tuvalu \N \N 13 2 {"FRA":"Tuvalu","ENG":"Tuvalu"} +214 2015-03-19 00:04:08.393 \N 1 TW Taiwan \N \N 150 2 {"FRA":"Taiwan","ENG":"Taiwan"} +215 2015-03-19 00:04:08.421 \N 1 TZ Tanzania \N \N 151 2 {"FRA":"Tanzanie","ENG":"Tanzania"} +216 2015-03-19 00:04:08.441 \N 1 UA Ukraine \N \N 160 2 {"FRA":"Ukraine","ENG":"Ukraine"} +217 2015-03-19 00:04:08.463 \N 1 UG Uganda \N \N 117 2 {"FRA":"Ouganda","ENG":"Uganda"} +218 2015-03-19 00:04:08.485 \N 1 GB United Kingdom \N \N 65 2 {"FRA":"Royaume-Uni","ENG":"United Kingdom"} +219 2015-03-19 00:04:08.505 \N 1 UM United States Minor Outlying Island \N \N 49 2 {"FRA":"Territoires non incorporés des États-Unis","ENG":"United States Minor Outlying Island"} +220 2015-03-19 00:04:08.528 \N 1 US United States \N \N 49 2 {"FRA":"Etats-Unis d Amérique","ENG":"United States"} +221 2015-03-19 00:04:08.55 \N 1 UY Uruguay \N \N 161 2 {"FRA":"Uruguay","ENG":"Uruguay"} +222 2015-03-19 00:04:08.577 \N 1 UZ Uzbekistan \N \N 118 2 {"FRA":"Ouzbékistan","ENG":"Uzbekistan"} +223 2015-03-19 00:04:08.599 \N 1 VA Holy See Vatican City \N \N 5 2 {"FRA":"Vatican","ENG":"Holy See Vatican City"} +224 2015-03-19 00:04:08.621 \N 1 VC Saint Vincent and the Grenadines \N \N 7 2 {"FRA":"Saint Vincent et Grenadines","ENG":"Saint Vincent and the Grenadines"} +225 2015-03-19 00:04:08.641 \N 1 VE Venezuela \N \N 5 2 {"FRA":"Vénézuela","ENG":"Venezuela"} +226 2015-03-19 00:04:08.662 \N 1 VG British Virgin Islands \N \N 49 2 {"FRA":"Vierges (Îles) - RU","ENG":"British Virgin Islands"} +227 2015-03-19 00:04:08.683 \N 1 VI Virgin Islands \N \N 49 2 {"FRA":"Vierges (Îles) - EU","ENG":"Virgin Islands"} +228 2015-03-19 00:04:08.705 \N 1 VN Vietnam \N \N 164 2 {"FRA":"Vietnam","ENG":"Vietnam"} +229 2015-03-19 00:04:08.726 \N 1 VU Vanuatu \N \N 162 2 {"FRA":"Vanuatu","ENG":"Vanuatu"} +230 2015-03-19 00:04:08.748 \N 1 WF Wallis and Futuna \N \N 114 2 {"FRA":"Wallis et Futuna (Îles)","ENG":"Wallis and Futuna"} +231 2015-03-19 00:04:08.769 \N 1 WS Samoa \N \N 133 2 {"FRA":"Samoa","ENG":"Samoa"} +232 2015-03-19 00:04:08.79 \N 1 YE Yemen \N \N 165 2 {"FRA":"Yemen","ENG":"Yemen"} +233 2015-03-19 00:04:08.811 \N 1 YT Mayotte \N \N 5 2 {"FRA":"Mayotte","ENG":"Mayotte"} +234 2015-03-19 00:04:08.833 \N 1 YU Yugoslavia \N \N 5 2 {"FRA":"Yougoslavie","ENG":"Yugoslavia"} +235 2015-03-19 00:04:08.854 \N 1 ZA South Africa \N \N 2 2 {"FRA":"Afrique du Sud","ENG":"South Africa"} +236 2015-03-19 00:04:08.875 \N 1 ZM Zambia \N \N 166 2 {"FRA":"Zambie","ENG":"Zambia"} +237 2015-03-19 00:04:08.896 \N 1 ZW Zimbabwe \N \N 167 2 {"FRA":"Zimbabwe","ENG":"Zimbabwe"} +\. + + +-- +-- Data for Name: adm_currency; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.adm_currency (id, created, updated, version, currency_code, description_en, system_currency, creator, updater) FROM stdin; +1 2015-03-19 00:03:59.913 \N 1 AFA Afghani 1 \N \N +2 2015-03-19 00:03:59.935 \N 1 ZAR Rand 1 \N \N +3 2015-03-19 00:03:59.956 \N 1 ALL Lek 1 \N \N +4 2015-03-19 00:03:59.983 \N 1 DZD Dinar algérien 1 \N \N +5 2015-03-19 00:04:00.004 \N 1 EUR Euro 1 \N \N +6 2015-03-19 00:04:00.024 \N 1 AOA Kwanza 1 \N \N +7 2015-03-19 00:04:00.047 \N 1 XCD Dollar des Cara bes de lEst 1 \N \N +8 2015-03-19 00:04:00.069 \N 1 ANG Florin des Antilles 1 \N \N +9 2015-03-19 00:04:00.089 \N 1 SAR Riyal saoudien 1 \N \N +10 2015-03-19 00:04:00.111 \N 1 ARS Peso 1 \N \N +11 2015-03-19 00:04:00.131 \N 1 AMD Dram 1 \N \N +12 2015-03-19 00:04:00.152 \N 1 AWG Florin d Aruba 1 \N \N +13 2015-03-19 00:04:00.173 \N 1 AUD Dollar australien 1 \N \N +14 2015-03-19 00:04:00.194 \N 1 AZM Manat azerbaïdjanais 1 \N \N +15 2015-03-19 00:04:00.215 \N 1 BSD Dollar des Bahamas 1 \N \N +16 2015-03-19 00:04:00.237 \N 1 BHD Dinar de Bahreïn 1 \N \N +17 2015-03-19 00:04:00.258 \N 1 BDT Taka 1 \N \N +18 2015-03-19 00:04:00.28 \N 1 BBD Dollar de Barbade 1 \N \N +19 2015-03-19 00:04:00.3 \N 1 BZD Dollar de Belize 1 \N \N +20 2015-03-19 00:04:00.327 \N 1 XOF Franc CFA - BCEAO 1 \N \N +21 2015-03-19 00:04:00.347 \N 1 BMD Dollar des Bermudes 1 \N \N +22 2015-03-19 00:04:00.369 \N 1 BTN Ngultrum 1 \N \N +23 2015-03-19 00:04:00.391 \N 1 BYR Rouble biãlorussie 1 \N \N +24 2015-03-19 00:04:00.411 \N 1 BOB Boliviano 1 \N \N +25 2015-03-19 00:04:00.433 \N 1 BAM Mark bosniaque convertible 1 \N \N +26 2015-03-19 00:04:00.455 \N 1 BWP Pula 1 \N \N +27 2015-03-19 00:04:00.481 \N 1 BRL Real 1 \N \N +28 2015-03-19 00:04:00.502 \N 1 BND Dollar de Brunéi 1 \N \N +29 2015-03-19 00:04:00.523 \N 1 BGN Lev 1 \N \N +30 2015-03-19 00:04:00.545 \N 1 BIF Franc du Burundi 1 \N \N +31 2015-03-19 00:04:00.567 \N 1 NOK Couronne norvégienne 1 \N \N +32 2015-03-19 00:04:00.587 \N 1 KYD Dollar des îles Caïmanes 1 \N \N +33 2015-03-19 00:04:00.609 \N 1 KHR Riel 1 \N \N +34 2015-03-19 00:04:00.631 \N 1 XAF Franc CFA - BEAC 1 \N \N +35 2015-03-19 00:04:00.652 \N 1 CAD Dollar canadien 1 \N \N +36 2015-03-19 00:04:00.673 \N 1 CVE Escudo du Cap-Vert 1 \N \N +37 2015-03-19 00:04:00.694 \N 1 CFA FRANC CFA-BEAC 1 \N \N +38 2015-03-19 00:04:00.716 \N 1 CLP Peso chilien 1 \N \N +39 2015-03-19 00:04:00.737 \N 1 CNY Yuan Ren-Min-Bi 1 \N \N +40 2015-03-19 00:04:00.763 \N 1 CYP Livre chypriote 1 \N \N +41 2015-03-19 00:04:00.784 \N 1 COP Peso colombien 1 \N \N +42 2015-03-19 00:04:00.804 \N 1 KMF Franc des Comores 1 \N \N +43 2015-03-19 00:04:00.827 \N 1 CDF FRANC DU CONGO DEMOCRATIQUE 1 \N \N +44 2015-03-19 00:04:00.847 \N 1 KRW Won 1 \N \N +45 2015-03-19 00:04:00.869 \N 1 KPW Won de la Corée du Nord 1 \N \N +46 2015-03-19 00:04:00.891 \N 1 CRC Colon de Costa Rica 1 \N \N +47 2015-03-19 00:04:00.912 \N 1 HRK Kuna 1 \N \N +48 2015-03-19 00:04:00.934 \N 1 CUP Peso cubain 1 \N \N +49 2015-03-19 00:04:00.955 \N 1 USD Dollar des Etats-unis 1 \N \N +50 2015-03-19 00:04:00.983 \N 1 DKK Couronne danoise 1 \N \N +51 2015-03-19 00:04:01.004 \N 1 DJF Franc de Djibouti 1 \N \N +52 2015-03-19 00:04:01.025 \N 1 DOP Peso dominicain 1 \N \N +53 2015-03-19 00:04:01.047 \N 1 EGP Livre égyptienne 1 \N \N +54 2015-03-19 00:04:01.068 \N 1 AED Dirham des émirats arabes unis 1 \N \N +55 2015-03-19 00:04:01.089 \N 1 ERN Nafka 1 \N \N +56 2015-03-19 00:04:01.111 \N 1 EEK Couronne d Estonie 1 \N \N +57 2015-03-19 00:04:01.132 \N 1 ETB Birr éthiopien 1 \N \N +58 2015-03-19 00:04:01.152 \N 1 FKP Livre de Falkland 1 \N \N +59 2015-03-19 00:04:01.174 \N 1 FJD Dollar des Fidji 1 \N \N +60 2015-03-19 00:04:01.198 \N 1 GMD Dalasie 1 \N \N +61 2015-03-19 00:04:01.218 \N 1 GEL Lari 1 \N \N +62 2015-03-19 00:04:01.24 \N 1 GHC Cedi ghanéen 1 \N \N +63 2015-03-19 00:04:01.266 \N 1 GIP Livre de Gibraltar 1 \N \N +64 2015-03-19 00:04:01.287 \N 1 GTQ Quetzal 1 \N \N +65 2015-03-19 00:04:01.309 \N 1 GBP Livre sterling 1 \N \N +66 2015-03-19 00:04:01.33 \N 1 GNF Franc guinéen 1 \N \N +67 2015-03-19 00:04:01.357 \N 1 GYD Dollar de Guyane 1 \N \N +68 2015-03-19 00:04:01.379 \N 1 HTG Gourde 1 \N \N +69 2015-03-19 00:04:01.4 \N 1 HNL Lempira 1 \N \N +70 2015-03-19 00:04:01.421 \N 1 HKD Dollar de Hong-Kong 1 \N \N +71 2015-03-19 00:04:01.443 \N 1 HUF Forint 1 \N \N +72 2015-03-19 00:04:01.464 \N 1 NZD Dollar néo-zélandais 1 \N \N +73 2015-03-19 00:04:01.484 \N 1 INR Roupie indienne 1 \N \N +74 2015-03-19 00:04:01.507 \N 1 IDR Rupiah 1 \N \N +75 2015-03-19 00:04:01.528 \N 1 IRR Rial iranien 1 \N \N +76 2015-03-19 00:04:01.549 \N 1 IQD Dinar iraquien 1 \N \N +77 2015-03-19 00:04:01.577 \N 1 ISK Couronne islandaise 1 \N \N +78 2015-03-19 00:04:01.598 \N 1 ILS Sheqel 1 \N \N +79 2015-03-19 00:04:01.619 \N 1 JMD Dollar jamaïcain 1 \N \N +80 2015-03-19 00:04:01.641 \N 1 JPY Yen 1 \N \N +81 2015-03-19 00:04:01.663 \N 1 JOD Dinar jordanien 1 \N \N +82 2015-03-19 00:04:01.683 \N 1 KZT Tenge 1 \N \N +83 2015-03-19 00:04:01.705 \N 1 KES Shilling du Kenya 1 \N \N +84 2015-03-19 00:04:01.733 \N 1 KGS Som 1 \N \N +85 2015-03-19 00:04:01.754 \N 1 KWD Dinar koweïtien 1 \N \N +86 2015-03-19 00:04:01.775 \N 1 LAK Kip 1 \N \N +87 2015-03-19 00:04:01.797 \N 1 LSL Loti 1 \N \N +88 2015-03-19 00:04:01.817 \N 1 LVL Lats letton 1 \N \N +89 2015-03-19 00:04:01.839 \N 1 LBP Livre libanaise 1 \N \N +90 2015-03-19 00:04:01.861 \N 1 LRD Dollar libérien 1 \N \N +91 2015-03-19 00:04:01.882 \N 1 LYD Dinar libyen 1 \N \N +92 2015-03-19 00:04:01.903 \N 1 CHF Franc suisse 1 \N \N +93 2015-03-19 00:04:01.924 \N 1 LTL Litas lituanien 1 \N \N +94 2015-03-19 00:04:01.95 \N 1 MOP Pataca 1 \N \N +95 2015-03-19 00:04:01.973 \N 1 MKD Denar 1 \N \N +96 2015-03-19 00:04:01.994 \N 1 MGA Ariary malgache 1 \N \N +97 2015-03-19 00:04:02.014 \N 1 MGF Franc malgache 1 \N \N +98 2015-03-19 00:04:02.036 \N 1 MYR Ringgit de Malaisie 1 \N \N +99 2015-03-19 00:04:02.058 \N 1 MWK Kwacha 1 \N \N +100 2015-03-19 00:04:02.08 \N 1 MVR Rufiyaa 1 \N \N +101 2015-03-19 00:04:02.1 \N 1 MTL Livre maltaise 1 \N \N +102 2015-03-19 00:04:02.122 \N 1 MAD Dirham marocain 1 \N \N +103 2015-03-19 00:04:02.143 \N 1 MUR Roupie mauricienne 1 \N \N +104 2015-03-19 00:04:02.17 \N 1 MRO Ouguija 1 \N \N +105 2015-03-19 00:04:02.191 \N 1 MXN Peso mexicain 1 \N \N +106 2015-03-19 00:04:02.212 \N 1 MDL Leu de Moldave 1 \N \N +107 2015-03-19 00:04:02.235 \N 1 MNT Tugrik 1 \N \N +108 2015-03-19 00:04:02.257 \N 1 MZM Metical 1 \N \N +109 2015-03-19 00:04:02.278 \N 1 MMK Kyat 1 \N \N +110 2015-03-19 00:04:02.299 \N 1 NAD Dollar namibien 1 \N \N +111 2015-03-19 00:04:02.32 \N 1 NPR Roupie Népalaise 1 \N \N +112 2015-03-19 00:04:02.342 \N 1 NIO Cordoba oro 1 \N \N +113 2015-03-19 00:04:02.362 \N 1 NGN Naira 1 \N \N +114 2015-03-19 00:04:02.387 \N 1 XPF Franc CFP 1 \N \N +115 2015-03-19 00:04:02.407 \N 1 OMR Rial Omani 1 \N \N +116 2015-03-19 00:04:02.428 \N 1 XAU Opérations sur or 1 \N \N +117 2015-03-19 00:04:02.449 \N 1 UGX Shilling ougandais 1 \N \N +118 2015-03-19 00:04:02.471 \N 1 UZS Soum ouzbek 1 \N \N +119 2015-03-19 00:04:02.492 \N 1 PKR Roupie pakistanaise 1 \N \N +120 2015-03-19 00:04:02.515 \N 1 PAB Balboa 1 \N \N +121 2015-03-19 00:04:02.535 \N 1 PGK Kina 1 \N \N +122 2015-03-19 00:04:02.558 \N 1 PYG Guarani 1 \N \N +123 2015-03-19 00:04:02.578 \N 1 PEN Nouveau sol 1 \N \N +124 2015-03-19 00:04:02.601 \N 1 PHP Peso philippin 1 \N \N +125 2015-03-19 00:04:02.622 \N 1 PLN Zloty 1 \N \N +126 2015-03-19 00:04:02.643 \N 1 QAR Riyal du Qatar 1 \N \N +127 2015-03-19 00:04:02.664 \N 1 RON LEI (Nouveau Leu) 1 \N \N +128 2015-03-19 00:04:02.686 \N 1 ROL Leu 1 \N \N +129 2015-03-19 00:04:02.707 \N 1 RUB Rouble russe (nouveau) 1 \N \N +130 2015-03-19 00:04:02.731 \N 1 RWF Franc du Rwanda 1 \N \N +131 2015-03-19 00:04:02.752 \N 1 SBD Dollar des îles Salomon 1 \N \N +132 2015-03-19 00:04:02.774 \N 1 SVC Colon salvadorien 1 \N \N +133 2015-03-19 00:04:02.796 \N 1 WST Tala 1 \N \N +134 2015-03-19 00:04:02.816 \N 1 STD Dobra 1 \N \N +135 2015-03-19 00:04:02.837 \N 1 CSD Dinar Serbe 1 \N \N +136 2015-03-19 00:04:02.86 \N 1 SCR Roupie des Seychelles 1 \N \N +137 2015-03-19 00:04:02.881 \N 1 SLL Leone 1 \N \N +138 2015-03-19 00:04:02.902 \N 1 SGD Dollar de Singapour 1 \N \N +139 2015-03-19 00:04:02.922 \N 1 SKK Couronne slovaque 1 \N \N +140 2015-03-19 00:04:02.944 \N 1 SIT Tolar 1 \N \N +141 2015-03-19 00:04:02.965 \N 1 SOS Shilling Somalien 1 \N \N +142 2015-03-19 00:04:02.987 \N 1 SDG Livre soudanaise 1 \N \N +143 2015-03-19 00:04:03.014 \N 1 LKR Roupie de Sri Lanka 1 \N \N +144 2015-03-19 00:04:03.035 \N 1 SHP Livre de Sainte-Hélène 1 \N \N +145 2015-03-19 00:04:03.055 \N 1 SEK Couronne suédoise 1 \N \N +146 2015-03-19 00:04:03.077 \N 1 SRD Florin du suriname 1 \N \N +147 2015-03-19 00:04:03.099 \N 1 SZL Lilangeni 1 \N \N +148 2015-03-19 00:04:03.119 \N 1 SYP Livre syrienne 1 \N \N +149 2015-03-19 00:04:03.141 \N 1 TJS Somoni 1 \N \N +150 2015-03-19 00:04:03.163 \N 1 TWD Nouveau dollar de Taïwan 1 \N \N +151 2015-03-19 00:04:03.184 \N 1 TZS Shilling tanzanien 1 \N \N +152 2015-03-19 00:04:03.206 \N 1 CZK Couronne tchèque 1 \N \N +153 2015-03-19 00:04:03.233 \N 1 THB Baht 1 \N \N +154 2015-03-19 00:04:03.254 \N 1 TOP Pa anga 1 \N \N +155 2015-03-19 00:04:03.274 \N 1 TTD Dollar de Trinité et de Tobago 1 \N \N +156 2015-03-19 00:04:03.296 \N 1 TND Dinar tunisien 1 \N \N +157 2015-03-19 00:04:03.318 \N 1 TMM Manat turkmène 1 \N \N +158 2015-03-19 00:04:03.339 \N 1 TRY Nouvelle Livre turque 1 \N \N +159 2015-03-19 00:04:03.36 \N 1 TRL Livre turque 1 \N \N +160 2015-03-19 00:04:03.38 \N 1 UAH HRYVNIA 1 \N \N +161 2015-03-19 00:04:03.403 \N 1 UYU Nouveau Peso uruguayen 1 \N \N +162 2015-03-19 00:04:03.423 \N 1 VUV Vatu 1 \N \N +163 2015-03-19 00:04:03.445 \N 1 VEF Bolivar Fuerte 1 \N \N +164 2015-03-19 00:04:03.466 \N 1 VND Dong 1 \N \N +165 2015-03-19 00:04:03.487 \N 1 YER Riyal yéménite 1 \N \N +166 2015-03-19 00:04:03.507 \N 1 ZMK Kwacha de Zambie 1 \N \N +167 2015-03-19 00:04:03.53 \N 1 ZWD Dollar du Zimbabwe 1 \N \N +\. + + +-- +-- Data for Name: adm_custom_generic_entity_code; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.adm_custom_generic_entity_code (id, entity_class, code_el, sequence_size, sequence_current_value, version, created, updated, creator, updater) FROM stdin; +1 Customer CUST_#{entity.customerCategory.code}_#{sequenceNextValue} 5 0 1 2018-10-02 12:09:00.913 \N OPENCELL.ADMIN \N +2 Subscription SU_#{entity.userAccount.code}_#{sequenceNextValue} 9 0 1 2018-10-02 12:12:09.935 \N OPENCELL.ADMIN \N +\. + + +-- +-- Data for Name: adm_file_format; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.adm_file_format (id, version, created, updated, creator, updater, file_name_pattern, configuration_template, record_name, input_directory, output_directory, reject_directory, archive_directory, code, description, job_code) FROM stdin; +\. + + +-- +-- Data for Name: adm_file_format_file_type; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.adm_file_format_file_type (file_format_id, file_type_id) FROM stdin; +\. + + +-- +-- Data for Name: adm_file_type; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.adm_file_type (id, version, created, updated, creator, updater, code, description) FROM stdin; +\. + + +-- +-- Data for Name: adm_gdpr_configuration; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.adm_gdpr_configuration (id, version, inactive_subscription_life, inactive_order_life, invoice_life, accounting_life, customer_profile_life, mailing_life, ao_check_unpaid_life, delete_sub, delete_order, delete_invoice, delete_accounting, delete_cust_prospect, delete_mailing_life, delete_ao_check_unpaid) FROM stdin; +1 0 5 10 10 10 3 3 3 0 0 0 0 0 0 0 +\. + + +-- +-- Data for Name: adm_inbound_req_cookies; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.adm_inbound_req_cookies (inboundrequest_id, coockies, coockies_key) FROM stdin; +\. + + +-- +-- Data for Name: adm_inbound_req_headers; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.adm_inbound_req_headers (inboundrequest_id, headers, headers_key) FROM stdin; +\. + + +-- +-- Data for Name: adm_inbound_req_params; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.adm_inbound_req_params (inboundrequest_id, parameters, parameters_key) FROM stdin; +\. + + +-- +-- Data for Name: adm_inbound_request; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.adm_inbound_request (id, version, created, updated, code, description, auth_type, content_length, content_type, method, path_info, protocol, remote_adrr, remote_port, request_uri, resp_content_type, resp_encoding, scheme, creator, updater, body, resp_status) FROM stdin; +\. + + +-- +-- Data for Name: adm_inbound_resp_cookies; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.adm_inbound_resp_cookies (inboundrequest_id, responsecoockies, responsecoockies_key) FROM stdin; +\. + + +-- +-- Data for Name: adm_inbound_resp_headers; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.adm_inbound_resp_headers (inboundrequest_id, responseheaders, responseheaders_key) FROM stdin; +\. + + +-- +-- Data for Name: adm_input_history; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.adm_input_history (input_type, id, version, end_date, start_date, ignored_tickets, name, parsed_tickets, rejected_tickets, succeeded_tickets) FROM stdin; +\. + + +-- +-- Data for Name: adm_language; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.adm_language (id, created, updated, version, description_en, language_code, creator, updater) FROM stdin; +1 2015-03-19 00:03:59.123 \N 1 Deutsch DEU \N \N +2 2015-03-19 00:03:59.205 \N 1 English ENG \N \N +3 2015-03-19 00:03:59.23 \N 1 Arabic ARA \N \N +4 2015-03-19 00:03:59.251 \N 1 Bulgarian BUL \N \N +5 2015-03-19 00:03:59.272 \N 1 Catalan CAT \N \N +6 2015-03-19 00:03:59.293 \N 1 Chinese ZHO \N \N +7 2015-03-19 00:03:59.315 \N 1 Danish DAN \N \N +8 2015-03-19 00:03:59.335 \N 1 Spanish SPA \N \N +9 2015-03-19 00:03:59.355 \N 1 Estonian EST \N \N +10 2015-03-19 00:03:59.376 \N 1 Faroese FAO \N \N +11 2015-03-19 00:03:59.399 \N 1 Finnish FIN \N \N +12 2015-03-19 00:03:59.441 \N 1 French FRA \N \N +13 2015-03-19 00:03:59.463 \N 1 Greek ELL \N \N +14 2015-03-19 00:03:59.484 \N 1 Hindi HIN \N \N +15 2015-03-19 00:03:59.505 \N 1 Hungarian HUN \N \N +16 2015-03-19 00:03:59.527 \N 1 Icelandic ISL \N \N +17 2015-03-19 00:03:59.548 \N 1 Italian ITA \N \N +18 2015-03-19 00:03:59.569 \N 1 Japanese JPN \N \N +19 2015-03-19 00:03:59.59 \N 1 Latvian LAV \N \N +20 2015-03-19 00:03:59.612 \N 1 Lithuanian LIT \N \N +21 2015-03-19 00:03:59.634 \N 1 Dutch NLD \N \N +22 2015-03-19 00:03:59.655 \N 1 Norwegian NOR \N \N +23 2015-03-19 00:03:59.677 \N 1 Polish POL \N \N +24 2015-03-19 00:03:59.702 \N 1 Portuguese POR \N \N +25 2015-03-19 00:03:59.724 \N 1 Romanian RON \N \N +26 2015-03-19 00:03:59.744 \N 1 Russian RUS \N \N +27 2015-03-19 00:03:59.766 \N 1 Serbian SRP \N \N +28 2015-03-19 00:03:59.787 \N 1 Slovak SLK \N \N +29 2015-03-19 00:03:59.808 \N 1 Slovene SLV \N \N +30 2015-03-19 00:03:59.83 \N 1 Swedish SWE \N \N +31 2015-03-19 00:03:59.851 \N 1 Czech CES \N \N +32 2015-03-19 00:03:59.872 \N 1 Turkish TUR \N \N +33 2015-03-19 00:03:59.872 \N 1 Croatian HRV \N \N +\. + + +-- +-- Data for Name: adm_notif_email; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.adm_notif_email (email_from, email_to_el, id, email_template_id) FROM stdin; +\. + + +-- +-- Data for Name: adm_notif_email_attach; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.adm_notif_email_attach (emailnotification_id, attachmentexpressions) FROM stdin; +\. + + +-- +-- Data for Name: adm_notif_email_list; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.adm_notif_email_list (emailnotification_id, emails) FROM stdin; +\. + + +-- +-- Data for Name: adm_notif_email_user; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.adm_notif_email_user (emailnotification_id, users_id) FROM stdin; +\. + + +-- +-- Data for Name: adm_notif_history; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.adm_notif_history (id, version, created, updated, entity_classname, entity_code, nb_retry, result, serialized_entity, status, creator, updater, inbound_request_id, notification_id) FROM stdin; +1 0 2024-11-27 14:45:28.755 \N org.meveo.model.billing.WalletInstance$HibernateProxy$ag8GFAIu \N 0 Connection timed out (Connection timed out) 2 TO_RETRY development@simfony.com \N \N 1 +\. + + +-- +-- Data for Name: adm_notif_im; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.adm_notif_im (id_expression, im_provider, message, id) FROM stdin; +\. + + +-- +-- Data for Name: adm_notif_im_list; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.adm_notif_im_list (instantmessagingnotification_id, ids) FROM stdin; +\. + + +-- +-- Data for Name: adm_notif_im_user; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.adm_notif_im_user (instantmessagingnotification_id, users_id) FROM stdin; +\. + + +-- +-- Data for Name: adm_notif_job; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.adm_notif_job (job_instance_id, id) FROM stdin; +\. + + +-- +-- Data for Name: adm_notif_job_params; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.adm_notif_job_params (jobtrigger_id, jobparams, jobparams_key) FROM stdin; +\. + + +-- +-- Data for Name: adm_notif_webhook_header; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.adm_notif_webhook_header (webhook_id, headers, headers_key) FROM stdin; +1 */* Accept +1 application/json Content-Type +2 public X-TenantID +2 application/json Content-Type +\. + + +-- +-- Data for Name: adm_notif_webhook_param; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.adm_notif_webhook_param (webhook_id, webhookparams, webhookparams_key) FROM stdin; +\. + + +-- +-- Data for Name: adm_notif_webhooks; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.adm_notif_webhooks (http_host, http_method, http_page, http_protocol, password, http_port, username, id, body_el) FROM stdin; +10.12.174.52:9090 HTTP_POST /api/low-balance-webhook HTTP \N \N \N 1 {\r\n"billingAccountCode":"#{event.userAccount.code}",\r\n"walletTemplateCode":"#{event.code}",\r\n"tenant":"public"\r\n} +10.12.174.52:9090 HTTP_POST /api/order/integration/billing HTTP \N \N \N 2 {\r\n"event":"#{event.code}",\r\n"user":"#{context.currentUser.userName}"\r\n} +\. + + +-- +-- Data for Name: adm_notification; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.adm_notification (id, version, disabled, created, updated, code, description, class_name_filter, event_expression_filter, event_type_filter, creator, updater, counter_instance_id, counter_template_id, script_instance_id, priority, run_async, cf_values_accum, cf_values, uuid, save_successful_notif) FROM stdin; +-10 0 0 2024-01-26 14:02:20.021235 \N PaymentCallBack \N org.meveo.model.notification.InboundRequest #{event.pathInfo.startsWith("/DEMO/custom_payment-callback?")} INBOUND_REQ opencell.admin \N \N \N -11 0 0 \N \N -10 1 +1 0 0 2024-01-31 10:26:16.893 \N LOW_BALANCE \N org.meveo.model.billing.WalletInstance \N LOW_BALANCE public.superadmin \N \N \N \N 1 0 \N \N 9db48a83-641d-41d6-8df3-d0112249ec01 1 +2 0 0 2024-01-31 10:34:53.529 \N WALLET_RESET \N org.meveo.model.jobs.JobExecutionResultImpl \N CREATED public.superadmin \N \N \N \N 1 0 \N \N 7284f749-a173-4d02-9f43-7c269c9b2a53 1 +\. + + +-- +-- Data for Name: adm_notification_params; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.adm_notification_params (notification_id, params, params_key) FROM stdin; +-10 #{event.getParameters()} params +\. + + +-- +-- Data for Name: adm_permission; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.adm_permission (id, name, permission) FROM stdin; +1 Administration visualization administrationVisualization +2 Administration management administrationManagement +3 Catalog visualization catalogVisualization +4 Catalog management catalogManagement +5 Account visualization accountVisualization +6 Account management accountManagement +7 Reporting visualization reportingVisualization +8 Reporting management reportingManagement +9 Customer summary visualization customerSummaryVisualization +10 Billing visualization billingVisualization +11 Billing management billingManagement +12 SuperAdmin management superAdminManagement +13 Remote import remoteImport +14 API User apiAccess +15 FTP Read ftpread +16 FTP Write ftpwrite +-17 Marketing Catalog marketingCatalogManager +-18 Orders visualization orderVisualization +-19 Order management orderManagement +-20 Finance visualization financeVisualization +-21 Finance management financeManagement +-22 Marketing Catalog visualization marketingCatalogVisualization +-23 Quote visualization quoteVisualization +-24 Quote management quoteManagement +-25 User Management userManagement +-26 User Self Management userSelfManagement +-27 Create invoice createInvoice +-28 User visualization userVisualization +-31 cc-module-customers-payment-view cc-module-customers-payment-view +-32 cc-module-customers-ba-view cc-module-customers-ba-view +-33 cc-module-customers-edit-ba-ua-suspend cc-module-customers-edit-ba-ua-suspend +-34 cc-module-customers-ba-inv-exceptional. cc-module-customers-ba-inv-exceptional +-35 cc-module-customers-edit-c-delete cc-module-customers-edit-c-delete +-36 cc-module-customers-edit-c-update cc-module-customers-edit-c-update +-37 cc-module-customers-edit-inv-pmt-view cc-module-customers-edit-inv-pmt-view +-38 cc-module-customers-ba-inv-unbilled cc-module-customers-ba-inv-unbilled +-39 cc-module-customers-edit-ba-ua-reactivate cc-module-customers-edit-ba-ua-reactivate +-40 cc-module-customers-edit-ca-pm-add cc-module-customers-edit-ca-pm-add +-41 cc-module-customers-edit-inv-view cc-module-customers-edit-inv-view +-42 cc-module-customers-edit-ba-ua-view cc-module-customers-edit-ba-ua-view +-43 cc-module-customers-edit-ba-ua-add cc-module-customers-edit-ba-ua-add +-44 cc-module-customers-ba-add cc-module-customers-ba-add +-45 cc-module-customers-edit-ca-pm-update cc-module-customers-edit-ca-pm-update +-46 cc-module-customers-edit-inv-sub-new cc-module-customers-edit-inv-sub-new +-47 cc-module-customers-edit-ca-pm-wiretransfer cc-module-customers-edit-ca-pm-wiretransfer +-48 cc-module-customers-edit-ca-read cc-module-customers-edit-ca-read +-49 cc-module-customers-ba-proforma cc-module-customers-ba-proforma +-50 cc-module-customers-edit-ao-manage cc-module-customers-edit-ao-manage +-51 cc-module-customers-edit-ca-pm-check cc-module-customers-edit-ca-pm-check +-52 cc-module-customers-edit-ca-update cc-module-customers-edit-ca-update +-53 cc-module-customers-menu cc-module-customers-menu +-54 cc-module-customers-edit-ca-resiliate cc-module-customers-edit-ca-resiliate +-55 cc-module-customers-edit-inv-ba-new cc-module-customers-edit-inv-ba-new +-56 cc-module-customers-edit-c-read cc-module-customers-edit-c-read +-57 cc-module-customers-edit-ao-view cc-module-customers-edit-ao-view +-58 cc-module-customers-edit-ca-pm-directdebit cc-module-customers-edit-ca-pm-directdebit +-59 cc-module-customers-edit-ba-ua-update cc-module-customers-edit-ba-ua-update +-60 cc-module-customers-edit-ca-pm-tip cc-module-customers-edit-ca-pm-tip +-61 cc-module-customers-edit-ca-pm-creditcard cc-module-customers-edit-ca-pm-creditcard +-62 cc-module-customers-edit-ca-pm-slimpay cc-module-customers-edit-ca-pm-slimpay +-63 cc-module-customers-ba-sub-new cc-module-customers-ba-sub-new +-64 cc-module-customers-edit-payment-add cc-module-customers-edit-payment-add +-65 cc-module-customers-edit-ca-reactivate cc-module-customers-edit-ca-reactivate +-66 cc-module-customers-edit-ba-ua-read cc-module-customers-edit-ba-ua-read +-67 cc-module-customers-ba-update cc-module-customers-ba-update +-68 cc-module-customers-edit-c-selfcare cc-module-customers-edit-c-selfcare +-69 cc-module-customers-edit-ba-ua-resiliate cc-module-customers-edit-ba-ua-resiliate +-70 pc-module-customers-menu pc-module-customers-menu +-71 cc-module-customers-new cc-module-customers-new +-72 cc-module-customers-edit-ca-suspend cc-module-customers-edit-ca-suspend +-73 cc-module-customers-ba-inv-view cc-module-customers-ba-inv-view +-74 cc-module-customers-edit-ca-add cc-module-customers-edit-ca-add +-75 cc-module-settings-files-createdir cc-module-settings-files-createdir +-76 cc-module-settings-users-add cc-module-settings-users-add +-77 cc-module-settings-files-menu cc-module-settings-files-menu +-78 cc-module-settings-menu cc-module-settings-menu +-79 cc-module-settings-users-update cc-module-settings-users-update +-80 cc-module-settings-users-view cc-module-settings-users-view +-81 cc-module-settings-files-download cc-module-settings-files-download +-82 cc-module-settings-users-submenu cc-module-settings-users-submenu +-83 cc-module-settings-files-upload cc-module-settings-files-upload +-84 cc-module-subscriptions-proforma cc-module-subscriptions-proforma +-85 cc-module-subscriptions-menu cc-module-subscriptions-menu +-86 cc-module-subscriptions-validate cc-module-subscriptions-validate +-87 cc-module-subscriptions-service-resiliate cc-module-subscriptions-service-resiliate +-88 cc-module-subscriptions-service-reactivate cc-module-subscriptions-service-reactivate +-89 cc-module-subscriptions-view cc-module-subscriptions-view +-90 cc-module-subscriptions-view-suspend cc-module-subscriptions-view-suspend +-91 cc-module-subscriptions-service-suspend cc-module-subscriptions-service-suspend +-92 cc-module-subscriptions-view-reactivate cc-module-subscriptions-view-reactivate +-93 cc-module-subscriptions-view-resiliate cc-module-subscriptions-view-resiliate +-94 cc-module-subscriptions-view-new cc-module-subscriptions-view-new +-95 pc-module-seller-new pc-module-seller-new +-96 pc-module-seller-menu pc-module-seller-menu +-97 cc-module-users-menu cc-module-users-menu +-98 pc-module-myaccount-menu pc-module-myaccount-menu +-99 cc-module-accounting-menu cc-module-accounting-menu +-100 cc-module-payment-menu cc-module-payment-menu +-101 cc-module-read cc-module-read +-102 cc-module-tickets-menu cc-module-tickets-menu +-103 cc-module-mediation-menu cc-module-mediation-menu +-104 sc-module-home-menu sc-module-home-menu +-105 sc-module-myaccount-menu sc-module-myaccount-menu +-106 sc-module-mysubs-menu sc-module-mysubs-menu +-107 sc-module-myusers-menu sc-module-myusers-menu +-108 Country Management countryManagement +-109 Country Visualization countryVisualization +-110 Language Management languageManagement +-111 Language Visualization languageVisualization +-112 Currency Management currencyManagement +-113 Currency Visualization currencyVisualization +-114 Job execution useJob +-115 Job management createJob +-116 cc-gui-access cc-gui-access +-117 API User apiAccess +-118 Administration visualization administrationVisualization +\. + + +-- +-- Data for Name: adm_role; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.adm_role (id, version, role_description, role_name) FROM stdin; +-1 0 Administrateur administrateur +-2 0 Super Administrateur superAdministrateur +-3 0 Modify all custom entities ModifyAllCE +-4 0 Read all custom entities ReadAllCE +-5 0 Marketing marketingManager +-6 0 Customer care user CUSTOMER_CARE_USER +-7 0 CC_ADMIN CC_ADMIN +-8 0 CC_LEVEL_1 CC_LEVEL_1 +-9 0 CC_LEVEL_2 CC_LEVEL_2 +-10 0 PC_ADMIN PC_ADMIN +-11 0 PC_LEVEL_1 PC_LEVEL_1 +-12 0 PC_LEVEL_2 PC_LEVEL_2 +-13 0 SC_LEVEL_1 SC_LEVEL_1 +-14 0 SUPER_ADMIN SUPER_ADMIN +-15 0 Hide Menu Header and Footer hideMenuHeaderFooter +-108 0 reportExtractManagement reportExtractManagement +-109 0 filesManagement filesManagement +-110 0 creditNoteVisualization creditNoteVisualization +-111 0 creditNoteManagement creditNoteManagement +-112 0 selfcareDefault selfcareDefault +\. + + +-- +-- Data for Name: adm_role_permission; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.adm_role_permission (role_id, permission_id) FROM stdin; +-1 1 +-1 2 +-1 3 +-1 4 +-1 5 +-1 6 +-1 7 +-1 8 +-1 9 +-1 10 +-1 11 +-2 1 +-2 12 +-2 13 +-1 14 +-1 13 +-1 15 +-1 16 +-2 14 +-5 -17 +-5 13 +-1 -18 +-1 -19 +-1 -23 +-1 -24 +-1 -25 +-1 -26 +-1 -27 +-1 -28 +-6 14 +-6 1 +-1 -20 +-1 -21 +-7 -104 +-7 -105 +-7 -106 +-7 -107 +-7 -45 +-7 -101 +-7 -39 +-7 -86 +-7 -50 +-7 -59 +-7 -94 +-7 -99 +-7 -75 +-7 -43 +-7 -100 +-7 -78 +-7 -83 +-7 -82 +-7 -84 +-7 -61 +-7 -91 +-7 -46 +-7 -48 +-7 -97 +-7 -64 +-7 -42 +-7 -56 +-7 -31 +-7 -80 +-7 -55 +-7 -79 +-7 -66 +-7 -72 +-7 -63 +-7 -89 +-7 -76 +-7 -52 +-7 -92 +-7 -41 +-7 -62 +-7 -53 +-7 -74 +-7 -44 +-7 -87 +-7 -73 +-7 -85 +-7 -68 +-7 -93 +-7 -71 +-7 -32 +-7 -33 +-7 -34 +-7 -49 +-7 -54 +-7 -67 +-7 -81 +-7 -38 +-7 -90 +-7 -58 +-7 -69 +-7 -37 +-7 -35 +-7 -25 +-7 -57 +-7 -88 +-7 -36 +-7 -40 +-7 -65 +-7 -51 +-7 -77 +-7 -60 +-7 -47 +-8 -101 +-8 -91 +-8 -40 +-8 -49 +-8 -73 +-8 -88 +-8 -65 +-8 -37 +-8 -84 +-8 -90 +-8 -85 +-8 -68 +-8 -92 +-8 -51 +-8 -64 +-8 -60 +-8 -61 +-8 -48 +-8 -46 +-8 -38 +-8 -45 +-8 -66 +-8 -55 +-8 -89 +-8 -35 +-8 -72 +-8 -39 +-8 -58 +-8 -54 +-8 -94 +-8 -53 +-8 -83 +-8 -56 +-8 -69 +-8 -47 +-8 -78 +-8 -41 +-8 -63 +-8 -43 +-8 -81 +-8 -33 +-8 -93 +-8 -71 +-8 -57 +-8 -77 +-8 -59 +-8 -36 +-8 -31 +-8 -42 +-8 -87 +-9 -89 +-9 -91 +-9 -84 +-9 -93 +-9 -94 +-9 -88 +-9 -90 +-9 -92 +-9 -85 +-9 -87 +-9 -86 +-9 -75 +-9 -83 +-9 -77 +-9 -81 +-9 -78 +-9 -101 +-9 -31 +-9 -71 +-9 -53 +-9 -39 +-9 -66 +-9 -36 +-9 -69 +-9 -64 +-9 -33 +-9 -47 +-9 -65 +-9 -41 +-9 -37 +-9 -42 +-9 -54 +-9 -55 +-9 -43 +-9 -57 +-9 -68 +-9 -59 +-9 -40 +-9 -35 +-9 -74 +-9 -48 +-9 -51 +-9 -61 +-9 -72 +-9 -58 +-9 -46 +-9 -60 +-9 -50 +-9 -45 +-9 -52 +-9 -62 +-9 -56 +-9 -73 +-9 -63 +-9 -32 +-9 -34 +-9 -38 +-9 -49 +-10 -101 +-10 -100 +-10 -99 +-10 -97 +-10 -96 +-10 -95 +-10 -94 +-10 -93 +-10 -92 +-10 -91 +-10 -90 +-10 -89 +-10 -88 +-10 -87 +-10 -86 +-10 -85 +-10 -84 +-10 -83 +-10 -82 +-10 -81 +-10 -80 +-10 -79 +-10 -78 +-10 -77 +-10 -76 +-10 -75 +-10 -74 +-10 -73 +-10 -72 +-10 -71 +-10 -70 +-10 -69 +-10 -68 +-10 -67 +-10 -66 +-10 -65 +-10 -64 +-10 -63 +-10 -62 +-10 -61 +-10 -60 +-10 -59 +-10 -58 +-10 -57 +-10 -56 +-10 -55 +-10 -54 +-10 -53 +-10 -52 +-10 -51 +-10 -50 +-10 -49 +-10 -48 +-10 -47 +-10 -46 +-10 -45 +-10 -44 +-10 -43 +-10 -42 +-10 -41 +-10 -40 +-10 -39 +-10 -38 +-10 -37 +-10 -36 +-10 -35 +-10 -34 +-10 -33 +-10 -32 +-10 -31 +-11 -51 +-11 -45 +-11 -50 +-11 -33 +-11 -67 +-11 -81 +-11 -32 +-11 -68 +-11 -38 +-11 -55 +-11 -90 +-11 -82 +-11 -85 +-11 -98 +-11 -60 +-11 -100 +-11 -73 +-11 -79 +-11 -65 +-11 -42 +-11 -75 +-11 -54 +-11 -64 +-11 -99 +-11 -66 +-11 -46 +-11 -83 +-11 -93 +-11 -43 +-11 -74 +-11 -71 +-11 -101 +-11 -48 +-11 -37 +-11 -61 +-11 -58 +-11 -62 +-11 -96 +-11 -84 +-11 -31 +-11 -87 +-11 -53 +-11 -39 +-11 -47 +-11 -92 +-11 -35 +-11 -56 +-11 -88 +-11 -52 +-11 -40 +-11 -59 +-11 -78 +-11 -44 +-11 -94 +-11 -57 +-11 -77 +-11 -91 +-11 -49 +-11 -63 +-11 -34 +-11 -69 +-11 -76 +-11 -89 +-11 -36 +-11 -41 +-11 -72 +-12 -101 +-12 -98 +-12 -94 +-12 -93 +-12 -92 +-12 -91 +-12 -90 +-12 -89 +-12 -88 +-12 -87 +-12 -86 +-12 -85 +-12 -84 +-12 -83 +-12 -81 +-12 -78 +-12 -77 +-12 -75 +-12 -74 +-12 -73 +-12 -72 +-12 -71 +-12 -70 +-12 -69 +-12 -68 +-12 -66 +-12 -65 +-12 -64 +-12 -63 +-12 -61 +-12 -60 +-12 -59 +-12 -58 +-12 -57 +-12 -56 +-12 -55 +-12 -54 +-12 -53 +-12 -52 +-12 -51 +-12 -50 +-12 -49 +-12 -48 +-12 -47 +-12 -46 +-12 -45 +-12 -43 +-12 -42 +-12 -41 +-12 -40 +-12 -39 +-12 -38 +-12 -37 +-12 -36 +-12 -34 +-12 -33 +-12 -31 +-14 -86 +-14 -102 +-14 -103 +-14 -42 +-14 -52 +-14 -78 +-14 -41 +-14 -49 +-14 -81 +-14 -97 +-14 -58 +-14 -65 +-14 -62 +-14 -55 +-14 -76 +-14 -50 +-14 -47 +-14 -85 +-14 -32 +-14 -61 +-14 -94 +-14 -63 +-14 -99 +-14 -46 +-14 -91 +-14 -34 +-14 -79 +-14 -96 +-14 -83 +-14 -37 +-14 -64 +-14 -84 +-14 -60 +-14 -69 +-14 -38 +-14 -100 +-14 -57 +-14 -75 +-14 -93 +-14 -56 +-14 -92 +-14 -67 +-14 -77 +-14 -80 +-14 -35 +-14 -48 +-14 -43 +-14 -68 +-14 -31 +-14 -88 +-14 -66 +-14 -39 +-14 -95 +-14 -33 +-14 -45 +-14 -73 +-14 -71 +-14 -40 +-14 -44 +-14 -70 +-14 -87 +-14 -101 +-14 -36 +-14 -59 +-14 -74 +-14 -51 +-14 -82 +-14 -89 +-14 -90 +-14 -53 +-14 -54 +-14 -72 +-2 -108 +-1 -109 +-2 -110 +-1 -111 +-2 -112 +-1 -113 +-1 -114 +-1 -115 +-14 -116 +-7 -116 +-8 -116 +-9 -116 +-10 -116 +-112 -117 +-112 -118 +\. + + +-- +-- Data for Name: adm_role_role; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.adm_role_role (role_id, child_role_id) FROM stdin; +-2 -1 +-1 -3 +-3 -4 +-6 -3 +\. + + +-- +-- Data for Name: adm_role_secured_entity; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.adm_role_secured_entity (role_id, code, entity_class) FROM stdin; +\. + + +-- +-- Data for Name: adm_script_exec_role; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.adm_script_exec_role (script_instance_id, role_id) FROM stdin; +\. + + +-- +-- Data for Name: adm_script_notification; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.adm_script_notification (id) FROM stdin; +\. + + +-- +-- Data for Name: adm_script_sourc_role; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.adm_script_sourc_role (script_instance_id, role_id) FROM stdin; +\. + + +-- +-- Data for Name: adm_secured_entity; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.adm_secured_entity (user_id, code, entity_class) FROM stdin; +\. + + +-- +-- Data for Name: adm_title; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.adm_title (id, version, created, updated, code, description, is_company, creator, updater, description_i18n) FROM stdin; +-1 0 2016-11-03 00:00:00 \N ASSOC Assoc. 1 OPENCELL.ADMIN \N {"FRA":"Assoc.","ENG":"Assoc."} +-2 0 2016-11-03 00:00:00 \N CIE Cie. 1 OPENCELL.ADMIN \N {"FRA":"Sté","ENG":"Cie."} +-3 0 2016-11-03 00:00:00 \N MR Mr. 0 OPENCELL.ADMIN \N {"FRA":"M.","ENG":"Mr."} +-4 0 2016-11-03 00:00:00 \N MRS Mrs. 0 OPENCELL.ADMIN \N {"FRA":"Mme.","ENG":"Mrs."} +-5 0 2016-11-03 00:00:00 \N MS Ms. 0 OPENCELL.ADMIN \N {"FRA":"Mlle","ENG":"Ms."} +-6 0 2016-11-03 00:00:00 \N DR Dr. 0 OPENCELL.ADMIN \N {"FRA":"Dr","ENG":"Dr."} +-7 0 2016-11-03 00:00:00 \N PROF Prof. 0 OPENCELL.ADMIN \N {"FRA":"Pr","ENG":"Prof."} +38 0 2020-10-29 00:00:00 \N DEV Sim Card. 1 OPENCELL.ADMIN \N {"FRA":"SimCard","ENG":"SimCard"} +\. + + +-- +-- Data for Name: adm_user; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.adm_user (id, version, created, updated, email, firstname, lastname, username, creator, updater, title_id, hierarchy_level_id, uuid, cf_values, cf_values_accum, last_login_date, crm_address_book_id) FROM stdin; +-1 0 2015-03-19 00:04:09.745 \N \N \N \N OPENCELL.ADMIN \N \N \N \N OPENCELL.ADMIN \N \N \N \N +-2 0 2015-03-19 00:04:09.787 \N \N \N \N OPENCELL.SUPERADMIN \N \N \N \N OPENCELL.SUPERADMIN \N \N \N \N +-3 0 2015-03-19 00:04:09.787 \N \N \N \N OPENCELL.MARKETINGMANAGER \N \N \N \N OPENCELL.MARKETINGMANAGER \N \N \N \N +-4 0 2018-12-18 00:00:00 \N opencell.customercare@opencellsoft.com Jeanette Doe opencell.customercare \N \N \N \N opencell.customercare \N \N \N \N +-5 0 2024-01-26 14:03:24.239422 \N DEMO.selfcare.api@opencellsoft.com selfcare.api DEMO DEMO.selfcare.api \N \N \N \N DEMO.selfcare.api \N \N \N \N +3 0 2024-01-31 04:25:10.748 \N \N \N \N APPLICATIONINITIALIZER applicationInitializer \N \N \N 622d41c2-99e1-4cca-a382-2b4b9278471b \N \N 2024-01-31 04:25:10.748 \N +4 3 2024-01-31 04:26:08.718 \N \N public superadmin V2_FIDENTY.SUPERADMIN public.superadmin \N \N \N 4da4027f-dd78-49bc-b09b-002234ceac13 \N \N 2024-01-31 09:01:57.875 \N +5 0 2024-11-21 07:00:00.03 \N \N \N \N PUBLIC.SUPERADMIN public.superadmin \N \N \N 646fdedc-4c8e-4a0d-98b1-f6489ff2ab09 \N \N 2024-11-21 07:00:00.03 \N +6 6 2024-11-22 15:10:05.529 \N \N \N \N DEVELOPMENT@SIMFONY.COM development@simfony.com \N \N \N 8b81b27b-c04d-4df5-9693-3a54ab202c79 \N \N 2025-01-23 10:01:29.42 \N +\. + + +-- +-- Data for Name: adm_user_role; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.adm_user_role (user_id, role_id) FROM stdin; +-1 -1 +-2 -2 +-3 -5 +-1 -6 +-3 -6 +-4 -6 +-4 -14 +-5 -112 +\. + + +-- +-- Data for Name: ar_account_operation; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.ar_account_operation (transaction_type, id, version, created, updated, accounting_code_id, account_code_client_side, amount, due_date, matching_amount, matching_status, code, description, reference, transaction_category, transaction_date, un_matching_amount, bank_lot, bank_reference, rejected_code, rejected_date, rejected_description, rejected_type, payment_method, amount_without_tax, billing_account_name, invoice_date, net_to_pay, payment_info, payment_info1, payment_info2, payment_info3, payment_info4, payment_info5, payment_info6, production_date, tax_amount, operation_date, bank_collection_date, deposit_date, creator, updater, customer_account_id, uuid, order_num, payment_order, payment_fees, comment, cf_values, cf_values_accum, recorded_invoice_id, cat_inv_agregate_id, ddrequest_item_id, sub_cat_inv_agregate_id, pay_schdl_inst_item_id, rejected_payment_id, seller_id, subscription_id, dunning_document_id, invoice_id) FROM stdin; +\. + + +-- +-- Data for Name: ar_accounting_writing; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.ar_accounting_writing (id, version, created, updated, creator, updater, origin_writing_id, tax_id, invoice_category_id, accounting_code_id, event_date, export_date, amount, event_type, extra_param_1, extra_param_2, extra_param_3) FROM stdin; +\. + + +-- +-- Data for Name: ar_accounting_writing_acc_operations; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.ar_accounting_writing_acc_operations (accounting_writing_id, account_operation_id) FROM stdin; +\. + + +-- +-- Data for Name: ar_action_dunning; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.ar_action_dunning (id, version, created, updated, amount_due, creaton_date, from_level, status, status_date, to_level, action_type, creator, updater, action_plan_item_id, customer_account_id, dunning_lot_id, recorded_invoice_id) FROM stdin; +\. + + +-- +-- Data for Name: ar_bank_operation; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.ar_bank_operation (id, version, disabled, created, updated, code_op, credit, date_op, date_val, debit, error_cause, file_name, invoice_id, is_valid, label_1, label_2, label_3, reference, creator, updater) FROM stdin; +\. + + +-- +-- Data for Name: ar_credit_category; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.ar_credit_category (id, version, created, updated, code, description, creator, updater) FROM stdin; +-1 0 2015-03-19 00:04:19.913 \N PART_C Part C \N \N +-2 0 2015-03-19 00:04:19.913 \N PART_M Part M \N \N +-3 0 2015-03-19 00:04:19.913 \N PRO PRO \N \N +-4 0 2015-03-19 00:04:19.913 \N VIP VIP \N \N +-5 0 2015-03-19 00:04:19.913 \N NEWCUSTOMER New Customer \N \N +\. + + +-- +-- Data for Name: ar_customer_account; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.ar_customer_account (credit_category, date_dunning_level, date_status, dunning_level, password, status, id, customer_id, trading_currency_id, trading_language_id, credit_category_id, due_date_delay_el, due_date_delay_el_sp, excluded_from_payment, crm_address_book_id, minimum_target_account_id, invoicing_threshold, check_threshold) FROM stdin; +\N 2024-01-31 11:17:01.657 2024-01-31 11:17:01.657 R0 \N ACTIVE 3 2 -2 -1 \N \N \N 0 2 \N \N \N +\N 2024-11-27 08:53:16.699 2024-11-27 08:53:16.699 R0 \N ACTIVE 6 5 -2 -1 \N \N \N 0 4 \N \N \N +\. + + +-- +-- Data for Name: ar_ddrequest_builder; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.ar_ddrequest_builder (id, version, disabled, created, updated, code, description, type, implementation_class_name, script_instance_id, nb_ops_file, max_size_file, uuid, creator, updater, cf_values, cf_values_accum, payment_level) FROM stdin; +-1 0 0 2018-08-12 14:04:19.955 \N Sepa_STD Sepa : urn:iso:std:iso:20022:tech:xsd:pain.008.001.02 and Sepa reject file Pain002 NATIF org.meveo.admin.sepa.SepaFile \N -1 -1 44bb7507-11cc-4a98-aa50-1777ddae3e6c opencell.admin \N \N \N AO +-2 0 0 2018-08-12 14:05:32.622 \N Sepa_Paynum Sepa Paynum NATIF org.meveo.admin.sepa.PaynumFile \N -1 -1 a6873856-1d25-4df8-8801-09314528aa17 opencell.admin \N \N \N AO +\. + + +-- +-- Data for Name: ar_ddrequest_item; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.ar_ddrequest_item (id, version, created, updated, amount, amount_invoices, billing_account_name, due_date, payment_info, payment_info1, payment_info2, payment_info3, payment_info4, payment_info5, payment_info6, reference, creator, updater, payment_id, ddrequest_lot_id, error_msg, refund_id, rejected_file_name) FROM stdin; +\. + + +-- +-- Data for Name: ar_ddrequest_lot; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.ar_ddrequest_lot (id, version, created, updated, file_name, invoice_amount, invoice_number, is_payment_created, return_file_name, return_status_code, send_date, creator, updater, rejected_cause, rejected_invoices, ddrequest_builder_id, payment_or_refund, seller_id) FROM stdin; +\. + + +-- +-- Data for Name: ar_ddrequest_lot_op; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.ar_ddrequest_lot_op (id, version, created, updated, ddrequest_op, error_cause, from_due_date, ddrequest_op_status, to_due_date, creator, updater, ddrequest_lot_id, ddrequest_builder_id, filter_id, script_instance_id, recurrent, payment_or_refund, seller_id) FROM stdin; +\. + + +-- +-- Data for Name: ar_due_date; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.ar_due_date (id, version, created, updated, due_date, invoice_amount, invoice_number, payment_method, creator, updater) FROM stdin; +\. + + +-- +-- Data for Name: ar_dunning_lot; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.ar_dunning_lot (id, version, created, updated, action_type, file_name, creator, updater, dunning_history_id) FROM stdin; +\. + + +-- +-- Data for Name: ar_matching_amount; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.ar_matching_amount (id, version, created, updated, matching_amount, creator, updater, account_operation_id, matching_code_id) FROM stdin; +\. + + +-- +-- Data for Name: ar_matching_code; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.ar_matching_code (id, version, created, updated, code, matching_amount_credit, matching_amount_debit, matching_date, matching_type, creator, updater) FROM stdin; +\. + + +-- +-- Data for Name: ar_occ_template; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.ar_occ_template (id, version, created, updated, accounting_code_id, account_code_client_side, code, description, occ_category, creator, updater) FROM stdin; +-1 0 2015-03-19 00:04:20.046 \N -3 411000000 PAY_CHK Payment - check CREDIT \N \N +-2 0 2015-03-19 00:04:20.067 \N -3 411000000 PAY_TIP Payment - TIP CREDIT \N \N +-3 0 2015-03-19 00:04:20.088 \N -3 411000000 PAY_DDT Payment - direct debit CREDIT \N \N +-5 0 2015-03-19 00:04:20.13 \N -3 411000000 REJ_CHK Rejected payment - check DEBIT \N \N +-6 0 2015-03-19 00:04:20.171 \N -3 411000000 REJ_DDT Rejected payment - direct debit DEBIT \N \N +-7 0 2015-03-19 00:04:20.192 \N -3 411000000 REJ_TIP Rejected payment - TIP DEBIT \N \N +-8 0 2015-03-19 00:04:20.215 \N -3 419120000 PAY_NID Other - unidentified payment CREDIT \N \N +-9 0 2015-03-19 00:04:20.236 \N -3 419120000 PAY_REC Other - unidentified payment CREDIT \N \N +-10 0 2015-03-19 00:04:20.257 \N -3 411000000 REF_CHK Refund - check DEBIT \N \N +-11 0 2015-03-19 00:04:20.278 \N -3 411000000 REF_DDT Refund - direct debit DEBIT \N \N +-18 0 2015-03-19 00:04:20.435 \N -4 411000000 RND_EXP Expense - payment rounding DEBIT \N \N +-19 0 2015-03-19 00:04:20.456 \N -5 411000000 RND_INC Income - payment rounding CREDIT \N \N +-20 0 2015-03-19 00:04:20.485 \N -3 419110000 PAY_DEP Other - deposit CREDIT \N \N +-24 0 2015-03-19 00:04:20.578 \N -6 763100000 INV_FEE Fee - late payment DEBIT \N \N +-25 0 2015-03-19 00:04:20.599 \N -6 445510000 INV_STD Standard invoice sub-item DEBIT \N \N +-30 0 2024-01-26 14:02:09.459604 \N -3 411000000 REF_CRD Refund - card DEBIT \N \N +-31 0 2024-01-26 14:02:09.459604 \N -6 445510000 TAX_VAT_00 Tax - VAT DEBIT \N \N +-32 0 2024-01-26 14:02:09.459604 \N -6 445510000 TAX_VAT_05 Tax - VAT DEBIT \N \N +-33 0 2024-01-26 14:02:09.459604 \N -6 445510000 TAX_VAT_20 Tax - VAT DEBIT \N \N +-34 0 2024-01-26 14:02:09.459604 \N -6 445510000 TAX_VAT_10 Tax - VAT DEBIT \N \N +-35 0 2024-01-26 14:02:09.459604 \N -3 411000000 REJ_CRD Rejected payment - card DEBIT \N \N +-36 0 2024-01-26 14:02:09.459604 \N -3 411000000 REJ_RCR Rejected refund - card CREDIT \N \N +-37 0 2024-01-26 14:02:09.459604 \N -3 411000000 REJ_RDD Rejected refund - direct debit CREDIT \N \N +-38 0 2024-01-26 14:02:09.459604 \N -6 709000000 INV_REB Invoice - rebate sub-item CREDIT \N \N +-39 0 2024-01-26 14:02:09.459604 \N -6 709000000 INV_DIS Invoice - discount sub-item CREDIT \N \N +-40 0 2024-01-26 14:02:09.459604 \N -6 701000000 INV_CRN Invoice - credit note sub-item CREDIT \N \N +-41 0 2024-01-26 14:02:09.459604 \N -3 411000000 REF_TIP Refund - TIP DEBIT \N \N +-42 0 2024-01-26 14:02:09.459604 \N -7 411000000 EXP_WRT Expense - bad debt write-off DEBIT \N \N +-43 0 2024-01-26 14:02:09.459604 \N -3 411000000 PAY_CRD Payment - card CREDIT \N \N +-44 0 2024-01-26 14:03:27.785341 \N -3 411000000 DBT_TRS Debit for credit transfer DEBIT \N \N +-45 0 2024-01-26 14:03:27.785341 \N -3 411000000 CRD_TRS Credit for debit transfer CREDIT \N \N +-46 0 2024-01-26 14:03:30.793229 \N -3 411000000 PAY_PAL Payment Paypal CREDIT \N \N +-47 0 2024-01-26 14:03:30.793229 \N -3 411000000 PAY_STP Payment Stripe CREDIT \N \N +\. + + +-- +-- Data for Name: ar_other_transaction; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.ar_other_transaction (transaction_type, id, version, description, created, updated, amount, due_date, matching_amount, matching_status, occ_code, occ_description, reference, transaction_category, transaction_date, un_matching_amount, bank_lot, bank_reference, payment_method, amount_without_tax, billing_account_name, invoice_date, payment_info, payment_info1, payment_info2, payment_info3, payment_info4, payment_info5, payment_info6, payment_info7, tax_amount, operation_date, bank_collection_date, deposit_date, creator, updater, uuid, order_num, cf_values, cf_values_accum, general_ledger_id, accounting_code_id) FROM stdin; +\. + + +-- +-- Data for Name: ar_payment_gateway; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.ar_payment_gateway (id, version, disabled, created, updated, code, description, type, payment_method, card_type, implementation_class_name, script_instance_id, trading_currency_id, application_el, uuid, creator, updater, cf_values, cf_values_accum, country_id, nb_tries, replay_cause, errors_to_replay, marchand_id, secret_key, api_key, profile, webhooks_secret_key, webhooks_key_id, account_number, account_owner, bank_code, bank_id, bank_name, bic, branch_code, iban, ics, issuer_name, issuer_number, hash_key, seller_id) FROM stdin; +-10 0 0 2024-01-26 14:02:20.021235 \N customGatewayDemo A customGateway for Demo CUSTOM CARD \N \N -10 \N \N 3bb099a3-e72d-49ea-9d96-908e74569e02 opencell.admin \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N +-1 0 1 2024-01-26 14:02:19.533321 \N INGENICO_OGONE_SEPA Ingenico API Connect OGONE for Sepa payments NATIF DIRECTDEBIT \N org.meveo.service.payments.impl.IngenicoGatewayPayment \N \N #{"is already setup" eq "OK"} gateway_INGENICO_ONGONE \N \N \N \N 70 \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N +-2 0 0 2024-01-26 14:02:19.533321 \N SLIMPAY_SEPA Slimpay for Sepa payments NATIF DIRECTDEBIT \N org.meveo.service.payments.impl.SlimpayGatewayPayment \N \N #{"is already setup" eq "OK"} gateway_SLIMPAY \N \N \N \N 102 \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N +-3 0 0 2024-01-26 14:02:19.533321 \N INGENICO_OGONE_CARD Ingenico API Connect OGONE for Card payments NATIF CARD \N org.meveo.service.payments.impl.SlimpayGatewayPayment \N -2 #{"is already setup" eq "OK"} gateway_SLIMPAY \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N +\. + + +-- +-- Data for Name: ar_payment_gateway_rum_sequence; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.ar_payment_gateway_rum_sequence (id, version, disabled, created, updated, creator, updater, code, description, prefix, sequence_size, current_sequence_nb, payment_gateway_id) FROM stdin; +\. + + +-- +-- Data for Name: ar_payment_history; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.ar_payment_history (id, version, created, updated, customer_account_code, customer_account_name, seller_code, operation_date, last_update_date, amount_cts, sync_status, async_status, status, external_payment_id, error_code, error_message, error_type, operation_category, payment_gateway_code, payment_method_type, payment_method_name, payment_id, refund_id, creator, updater, customer_code) FROM stdin; +\. + + +-- +-- Data for Name: ar_payment_schedule_inst; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.ar_payment_schedule_inst (id, version, disabled, creator, updater, created, updated, code, description, start_date, end_date, status, status_date, amount, calendar_id, payment_schedule_tmpl_id, service_instance_id, payment_day_in_month, cf_values, cf_values_accum, uuid) FROM stdin; +\. + + +-- +-- Data for Name: ar_payment_schedule_inst_item; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.ar_payment_schedule_inst_item (id, version, disabled, creator, updater, created, updated, payment_schedule_inst_id, due_date, request_pay_date, ao_ps_id, invoice_id, is_last) FROM stdin; +\. + + +-- +-- Data for Name: ar_payment_schedule_tmpl; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.ar_payment_schedule_tmpl (id, version, disabled, creator, updater, created, updated, code, description, calendar_id, service_template_id, adv_pay_inv_type_id, adv_pay_sub_cat_id, is_generate_adv_pay_inv, is_do_payment, amount, payment_day_in_month, apply_agreement, payment_label, uuid, cf_values, cf_values_accum, script_instance_id, amount_el, filter_el) FROM stdin; +\. + + +-- +-- Data for Name: ar_payment_token; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.ar_payment_token (token_type, id, version, card_type, owner, month_expiration, year_expiration, token_id, alias, is_default, card_number, customer_account_id, user_id, info_1, info_2, info_3, info_4, info_5, bank_code, branch_code, account_number, hash_key, iban, bic, account_owner, bank_id, bank_name, issuer_name, issuer_number, ics, mandate_date, mandate_identification, creator, created, updater, updated, disabled) FROM stdin; +CHECK 1 0 \N \N \N \N \N \N 1 \N 3 \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N public.superadmin 2024-01-31 11:17:01.658 public.superadmin 2024-01-31 11:17:01.66 0 +CHECK 2 0 \N \N \N \N \N \N 1 \N 6 \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N development@simfony.com 2024-11-27 08:53:16.7 development@simfony.com 2024-11-27 08:53:16.705 0 +\. + + +-- +-- Data for Name: ar_payment_ventilation; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.ar_payment_ventilation (id, version, created, updated, code, ventilation_amount, ventilation_date, creator, updater, customer_account_id, original_ot_id, new_ot_id, account_operation_id, ventilation_action_status) FROM stdin; +\. + + +-- +-- Data for Name: ar_revenue_recog_rule; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.ar_revenue_recog_rule (id, version, disabled, created, updated, creator, updater, code, description, script_instance_id, start_delay, start_unit, start_event, stop_delay, stop_unit, stop_event) FROM stdin; +\. + + +-- +-- Data for Name: ar_revenue_schedule; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.ar_revenue_schedule (id, version, charge_instance_id, revenue_date, recognized_revenue, invoiced_revenue, accrued_revenue, deffered_revenue) FROM stdin; +\. + + +-- +-- Data for Name: audit_field_changes_history; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.audit_field_changes_history (id, version, entity_class, entity_id, field_name, change_type, change_origin, origin_name, previous_state, current_state, created, actor) FROM stdin; +1 0 org.meveo.model.billing.Subscription 1 status STATUS API /billing/subscription/createOrUpdate CREATED 2024-11-27 09:12:37.492 development@simfony.com +2 0 org.meveo.model.billing.ServiceInstance 1 status STATUS API /billing/subscription/instantiateServices INACTIVE 2024-11-27 09:12:38.318 development@simfony.com +3 0 org.meveo.model.billing.ServiceInstance 1 status STATUS API /billing/subscription/activateServices INACTIVE ACTIVE 2024-11-27 09:13:24.074 development@simfony.com +4 0 org.meveo.model.billing.Subscription 1 status STATUS API /billing/subscription/activateServices CREATED ACTIVE 2024-11-27 09:13:24.078 development@simfony.com +\. + + +-- +-- Data for Name: audit_log; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.audit_log (id, version, created, actor, entity, origin, action, parameters) FROM stdin; +\. + + +-- +-- Data for Name: bi_job; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.bi_job (id, created, updated, version, active, job_frequency, job_repository_id, last_execution_date, name, next_execution_date, creator, updater) FROM stdin; +\. + + +-- +-- Data for Name: bi_job_history; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.bi_job_history (history_type, id, version, execution_date, lines_inserted, lines_read, lines_rejected, file_name, nb_subscriptions, nb_subscriptions_created, nb_subscriptions_error, nb_subscriptions_ignored, nb_subscriptions_terminated, nb_billing_accounts, nb_billing_accounts_created, nb_billing_accounts_error, nb_billing_accounts_ignored, nb_billing_accounts_warning, nb_user_accounts, nb_user_accounts_created, nb_user_accounts_error, nb_user_acounts_ignored, nb_user_acounts_warning, nb_customer_accounts, nb_customer_accounts_created, nb_customer_accounts_error, nb_customer_acounts_ignored, nb_customer_acounts_warning, nb_customers, nb_customers_created, nb_customers_error, nb_customers_ignored, nb_customers_warning, nb_sellers, nb_sellers_created, nb_sellers_error, nb_sellers_ignored, nb_sellers_warning, nb_invoices_ignored, job_id) FROM stdin; +\. + + +-- +-- Data for Name: bi_report; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.bi_report (id, version, action_name, description, end_date, execution_day_of_month, execution_day_of_week, execution_hour, execution_interval_minutes, execution_interval_seconds, execution_minutes, report_file_name, report_frequency, name, output_format, producer_class_name, ds_record_path, schedule, start_date) FROM stdin; +\. + + +-- +-- Data for Name: bi_report_emails; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.bi_report_emails (report_id, email_id) FROM stdin; +\. + + +-- +-- Data for Name: billing_accounting_code; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.billing_accounting_code (id, version, disabled, created, updated, code, description, creator, updater, parent_accounting_code_id, chart_of_account_type, reporting_account, chart_of_account_view_type, notes, migrated) FROM stdin; +-1 0 0 2015-03-19 00:04:19.68 \N 120.121.21.2 \N \N \N \N ASSETS \N REGULAR \N 0 +-2 0 0 2015-03-19 00:04:19.68 \N 120.121.21.4 \N \N \N \N ASSETS \N REGULAR \N 0 +-3 0 0 2015-03-19 00:04:19.68 \N 512010000 Cash Deposit - BNP #123456 \N \N \N ASSETS \N REGULAR \N 0 +-4 0 0 2015-03-19 00:04:19.68 \N 658100000 Payment loss \N \N \N EXPENSE \N REGULAR \N 0 +-5 0 0 2015-03-19 00:04:19.68 \N 758100000 Payment profit \N \N \N REVENUE \N REGULAR \N 0 +-6 0 0 2015-03-19 00:04:19.68 \N 411000000 Gross receivables \N \N \N ASSETS \N REGULAR \N 0 +-7 0 0 2015-03-19 00:04:19.68 \N 654100000 Bad debt write-off \N \N \N EXPENSE \N REGULAR \N 0 +-8 0 0 2024-01-26 14:02:07.52586 \N 400000000 Accounts payable OPENCELL.ADMIN \N \N LIABILITIES \N VIEW \N 0 +-9 0 0 2024-01-26 14:02:07.52586 \N 401000000 General AP OPENCELL.ADMIN \N \N LIABILITIES \N REGULAR \N 0 +-10 0 0 2024-01-26 14:02:07.52586 \N 408000000 Accrued payables OPENCELL.ADMIN \N \N LIABILITIES \N REGULAR \N 0 +-11 0 0 2024-01-26 14:02:07.52586 \N 410000000 Accounts receivable OPENCELL.ADMIN \N \N ASSETS \N VIEW \N 0 +-13 0 0 2024-01-26 14:02:07.52586 \N 416000000 Doubtful receivables OPENCELL.ADMIN \N \N ASSETS \N REGULAR \N 0 +-14 0 0 2024-01-26 14:02:07.52586 \N 418100000 Accrued receivables OPENCELL.ADMIN \N \N ASSETS \N REGULAR \N 0 +-15 0 0 2024-01-26 14:02:07.52586 \N 445510000 VAT due OPENCELL.ADMIN \N \N LIABILITIES \N REGULAR \N 0 +-16 0 0 2024-01-26 14:02:07.52586 \N 445660000 VAT deductible OPENCELL.ADMIN \N \N ASSETS \N REGULAR \N 0 +-17 0 0 2024-01-26 14:02:07.52586 \N 445670000 VAT credit OPENCELL.ADMIN \N \N ASSETS \N REGULAR \N 0 +-18 0 0 2024-01-26 14:02:07.52586 \N 445710000 VAT collected OPENCELL.ADMIN \N \N LIABILITIES \N REGULAR \N 0 +-19 0 0 2024-01-26 14:02:07.52586 \N 487000000 Deferred revenue OPENCELL.ADMIN \N \N LIABILITIES \N REGULAR \N 0 +-20 0 0 2024-01-26 14:02:07.52586 \N 512000000 Cash OPENCELL.ADMIN \N \N ASSETS \N VIEW \N 0 +-22 0 0 2024-01-26 14:02:07.52586 \N 512020000 Cash Payment - BNP #345678 OPENCELL.ADMIN \N \N ASSETS \N REGULAR \N 0 +-23 0 0 2024-01-26 14:02:07.52586 \N 622000000 Reseller commission OPENCELL.ADMIN \N \N EXPENSE \N REGULAR \N 0 +-24 0 0 2024-01-26 14:02:07.52586 \N 651100000 Bad debt OPENCELL.ADMIN \N \N EXPENSE \N REGULAR \N 0 +-27 0 0 2024-01-26 14:02:07.52586 \N 701000000 Revenue OPENCELL.ADMIN \N \N REVENUE \N VIEW \N 0 +-28 0 0 2024-01-26 14:02:07.52586 \N 701010000 Gross Revenue OPENCELL.ADMIN \N \N REVENUE \N REGULAR \N 0 +-29 0 0 2024-01-26 14:02:07.52586 \N 701020000 Discounts OPENCELL.ADMIN \N \N REVENUE \N REGULAR \N 0 +\. + + +-- +-- Data for Name: billing_billing_account; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.billing_billing_account (br_amount_with_tax, br_amount_without_tax, discount_rate, electronic_billing, invoice_prefix, next_invoice_date, status, status_date, subscription_date, termination_date, id, billing_cycle, billing_run, customer_account_id, termin_reason_id, trading_country_id, trading_language_id, invoicing_threshold, minimum_amount_el, minimum_amount_el_sp, minimum_label_el, minimum_label_el_sp, mailing_type, cced_emails, email_template_id, minimum_invoice_sub_category_id, tax_category_id, check_threshold) FROM stdin; +\N \N \N 0 \N 2024-01-31 11:17:01.898 ACTIVE 2024-01-31 11:17:01.898 2024-01-31 11:17:01.898 \N 4 -1 \N 3 \N -1 -1 \N \N \N \N \N \N \N \N \N 3 \N +\N \N \N 0 \N 2024-11-27 08:53:17.681 ACTIVE 2024-11-27 08:53:17.681 2024-11-27 08:53:17.681 \N 7 -1 \N 6 \N -1 -1 \N \N \N \N \N \N \N \N \N 3 \N +\. + + +-- +-- Data for Name: billing_billing_run; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.billing_billing_run (id, version, created, updated, nb_invoice, nb_billable_billing_account, nb_billing_account, end_date, pr_amount_tax, pr_amount_with_tax, pr_amount_without_tax, process_date, process_type, producible_amount_tax, producible_amount_with_tax, producible_amount_without_tax, nb_producible_invoice, rejection_reason, selected_billing_accounts, start_date, status, status_date, creator, updater, billing_cycle_id, pr_country_id, pr_currency_id, pr_language_id, invoice_date, last_transaction_date, uuid, cf_values, cf_values_accum, reference_date) FROM stdin; +\. + + +-- +-- Data for Name: billing_billing_run_list; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.billing_billing_run_list (id, version, created, updated, rated_amount2_without_tax, rated_amount_tax, rated_amount_with_tax, rated_amount_without_tax, invoice, creator, updater, billing_account_id, billing_run_id) FROM stdin; +\. + + +-- +-- Data for Name: billing_charge_instance; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.billing_charge_instance (id, version, created, updated, code, description, amount_with_tax, amount_without_tax, charge_date, criteria_1, criteria_2, criteria_3, is_prepaid, status, status_date, termination_date, creator, updater, charge_template_id, trading_country, trading_currency, seller_id, subscription_id, invoicing_calendar_id, user_account_id, order_number, charge_type, quantity, product_instance_id, next_charge_date, subscription_date, service_instance_id, counter_id, rating_unit_description, priority, cf_values_accum, cf_values, uuid, calendar_id, apply_in_advance) FROM stdin; +1 1 2024-11-27 09:12:38.348 2024-11-27 09:13:22.472 REC_SUB_2.000000000000_yiWyKn Monthly Fee \N \N 2024-11-27 09:11:10.608 \N \N \N 0 ACTIVE 2024-11-27 09:13:22.471 \N development@simfony.com development@simfony.com 11 -1 -2 1 1 4 8 \N R 1.000000000000 \N 2024-12-01 00:00:00 2024-11-27 09:11:10.608 1 \N \N 1 \N \N 4a930b73-88f4-4764-bfb9-872d5bcd8a42 -1 0 +2 1 2024-11-27 09:12:38.856 2024-11-27 09:13:22.999 REC_MODATA_ALLOW_TOP_UP_TEST_ROMANIA_200.000000000000_MB_53qp9S Data Allowance \N \N 2024-11-27 09:11:10.608 \N \N \N 1 ACTIVE 2024-11-27 09:13:22.999 \N development@simfony.com development@simfony.com 13 -1 -2 1 1 4 8 \N R 1.000000000000 \N 2024-12-01 00:00:00 2024-11-27 09:11:10.608 1 \N \N 1 \N {"IS_ALLOWANCE":[{"boolean":true}],"IS_LIMIT":[{"boolean":false}]} 8eb49b19-45ef-4fc2-87e6-cff05224ba5e -1 1 +3 1 2024-11-27 09:12:38.87 2024-11-27 09:13:23.091 USG_MODATA_ALLOW_TOP_UP_TEST_ROMANIA_200.000000000000_MB_e3Eoq0 Data Usage Allowance \N \N 2024-11-27 09:11:10.608 \N \N \N 1 ACTIVE 2024-11-27 09:13:23.091 \N development@simfony.com development@simfony.com 12 -1 -2 1 1 4 8 \N U \N \N \N \N 1 \N Mebibyte 15 \N {"IS_ALLOWANCE":[{"boolean":true}],"IS_LIMIT":[{"boolean":false}]} fbeeb147-b4dd-48b1-ba80-46119cce3d30 \N \N +\. + + +-- +-- Data for Name: billing_chrg_inst_counter; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.billing_chrg_inst_counter (chrg_instance_id, counter_instance_id, indx) FROM stdin; +\. + + +-- +-- Data for Name: billing_chrginst_wallet; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.billing_chrginst_wallet (chrg_instance_id, wallet_instance_id, indx) FROM stdin; +1 1 0 +2 2 0 +3 2 0 +\. + + +-- +-- Data for Name: billing_counter; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.billing_counter (id, version, created, updated, code, description, creator, updater, billing_account_id, counter_template_id, user_account_id, subscription_id, service_instance_id, customer_id, customer_account_id) FROM stdin; +\. + + +-- +-- Data for Name: billing_counter_period; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.billing_counter_period (id, version, created, updated, code, description, counter_type, level_num, period_end_date, period_start_date, value, creator, updater, counter_instance_id, notification_levels, is_accumulator, accumulator_type) FROM stdin; +\. + + +-- +-- Data for Name: billing_counter_period_values; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.billing_counter_period_values (counter_key, counter_value, counterperiod_id) FROM stdin; +\. + + +-- +-- Data for Name: billing_cycle; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.billing_cycle (id, version, created, updated, code, description, billing_template_name, due_date_delay, invoice_date_delay, creator, updater, calendar, transaction_date_delay, invoice_date_production_delay, invoicing_threshold, invoice_type_id, uuid, due_date_delay_el, due_date_delay_el_sp, cf_values, cf_values_accum, billing_template_name_el, invoice_type_el, invoice_type_el_sp, billing_cycle_type, script_instance_id, reference_date, check_threshold) FROM stdin; +-1 0 2015-03-19 00:04:19.85 \N CYC_INV_MT_1 Monthly Invoice Cycle 1 \N 2 4 \N \N -1 \N \N \N \N BillingCycle-1 \N \N \N \N \N \N \N BILLINGACCOUNT \N \N \N +-2 0 2015-03-19 00:04:19.871 \N CYC_INV_MT_2 Monthly Invoice Cycle 2 \N 2 4 \N \N -1 \N \N \N \N BillingCycle-2 \N \N \N \N \N \N \N BILLINGACCOUNT \N \N \N +\. + + +-- +-- Data for Name: billing_discount; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.billing_discount (id, version, disabled, created, updated, discount_code, pourcent, pr_description, creator, updater) FROM stdin; +\. + + +-- +-- Data for Name: billing_discount_language; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.billing_discount_language (id, version, disabled, created, updated, description, creator, updater, discount_id, trading_language_id) FROM stdin; +\. + + +-- +-- Data for Name: billing_discount_plan_instance; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.billing_discount_plan_instance (id, version, discount_plan_id, billing_account_id, start_date, end_date, uuid, cf_values, cf_values_accum, subscription_id) FROM stdin; +\. + + +-- +-- Data for Name: billing_discplan_inst; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.billing_discplan_inst (id, version, disabled, created, updated, charge_code, end_subscription_date, nb_period, pourcent, start_subscription_date, usage_type, creator, updater, billing_account_id) FROM stdin; +\. + + +-- +-- Data for Name: billing_finance_segment; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.billing_finance_segment (id, code, description, version, disabled, created, updated, creator, updater, object_class, field) FROM stdin; +\. + + +-- +-- Data for Name: billing_general_ledger; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.billing_general_ledger (id, code, description, version, created, updated, creator, updater) FROM stdin; +\. + + +-- +-- Data for Name: billing_invoice; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.billing_invoice (id, version, created, updated, alias, amount, amount_tax, amount_with_tax, amount_without_tax, comment, discount, due_date, iban, invoice_date, invoice_number, net_to_pay, payment_method, product_date, temporary_invoice_number, creator, updater, billing_account_id, billing_run_id, recorded_invoice_id, trading_country_id, trading_currency_id, trading_language_id, detailed_invoice, invoice_id, uuid, invoice_type_id, quote_id, cf_values, cf_values_accum, pdf_filename, xml_filename, payment_method_id, due_balance, seller_id, subscription_id, order_id, already_sent, dont_send, prepaid, status, external_ref) FROM stdin; +\. + + +-- +-- Data for Name: billing_invoice_agregate; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.billing_invoice_agregate (type, id, version, created, updated, accounting_code_id, amount, amount_tax, amount_with_tax, amount_without_tax, description, description_discount, discount, discount_aggregate, item_number, pr_description, quantity, tax_percent, creator, updater, billing_account_id, billing_run_id, invoice_id, trading_country_id, trading_currency_id, trading_language_id, user_account_id, tax_id, category_invoice_agregate, invoicesubcategory, sub_category_tax, tax_invoice_agregate, wallet_id, invoicecategory, discount_percent, sub_cat_invoice_agregate_id, discount_plan_code, discount_plan_item_code, discount_plan_item_id) FROM stdin; +\. + + +-- +-- Data for Name: billing_invoice_cat; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.billing_invoice_cat (id, version, created, updated, code, description, sort_index, creator, updater, uuid, cf_values, cf_values_accum, description_i18n, occ_template_id, occ_templ_negative_id) FROM stdin; +-1 0 2015-03-19 00:04:19.68 \N CONSUMPTION Consumption 1 \N \N CONSUMPTION \N \N \N \N \N +-2 0 2015-03-19 00:04:19.702 \N SUBSCRIPTION Subscription 2 \N \N SUBSCRIPTION \N \N \N \N \N +3 0 2024-01-31 09:34:05.185 \N ADJUSTMENT \N \N public.superadmin \N 32c45b89-ca0b-428c-80d8-3312beab871e \N \N {} \N \N +4 0 2024-01-31 09:34:11.7 \N ALLOWANCE \N \N public.superadmin \N 6380183f-69d5-4bd4-9f4a-072d41d1c8f3 \N \N {} \N \N +5 0 2024-01-31 09:34:21.144 \N EVT_CONSUMPTION \N \N public.superadmin \N adaea4ed-e3fc-4c15-9927-68b2ce18a91e \N \N {} \N \N +6 0 2024-01-31 09:34:27.013 \N LIMIT \N \N public.superadmin \N 80fca059-24d7-428d-b911-74e4b55ee61a \N \N {} \N \N +7 0 2024-01-31 09:34:34.548 \N POST_CONSUMPTION \N \N public.superadmin \N db5fca7b-21e0-4a1c-af88-b6e2172b209b \N \N {} \N \N +8 0 2024-01-31 09:34:40.973 \N PREP_CONSUMPTION \N \N public.superadmin \N 6ae6d76d-2623-4a68-a933-73347e468a4b \N \N {} \N \N +\. + + +-- +-- Data for Name: billing_invoice_cat_lang; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.billing_invoice_cat_lang (id, version, created, updated, description, creator, updater, invoice_category_id, trading_language_id) FROM stdin; +\. + + +-- +-- Data for Name: billing_invoice_configuration; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.billing_invoice_configuration (id, version, display_subscriptions, display_services, display_offers, display_edrs, display_provider, display_detail, display_priceplans, display_cf_as_xml, display_billing_cycle, display_orders, current_invoice_nb, display_wallet_operations) FROM stdin; +-1 0 1 1 1 0 0 1 0 0 0 0 \N 0 +\. + + +-- +-- Data for Name: billing_invoice_sub_cat; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.billing_invoice_sub_cat (id, version, created, updated, code, description, accounting_code_id, discount, creator, updater, invoice_category_id, uuid, cf_values, cf_values_accum, description_i18n, tax_script_instance_id, occ_template_id, occ_templ_negative_id, sort_index) FROM stdin; +-1 0 2015-03-19 00:04:19.724 \N CMP_DATA Consumption Data -1 0.00 \N \N -1 CMP_DATA \N \N \N \N \N \N \N +-2 0 2015-03-19 00:04:19.744 \N SUB_DATA Subscription Data -2 0.00 \N \N -2 SUB_DATA \N \N \N \N \N \N \N +3 0 2024-01-31 09:36:29.813 \N DATA_ALLOWANCE_PREPAID \N \N \N public.superadmin \N 4 c285c67b-85a4-464d-bacb-db5a53b6e6ed \N \N {} \N \N \N \N +4 0 2024-01-31 09:36:39.178 \N DATA_ALLOWANCE_POSTPAID \N \N \N public.superadmin \N 4 fb0edabb-d8e6-4f66-b1b4-d94311301dd0 \N \N {} \N \N \N \N +5 0 2024-01-31 09:37:01.508 \N SMSMO_LIMIT_PREPAID \N \N \N public.superadmin \N 6 ebce3896-cbcc-46f5-adca-d2332b77dd2c \N \N {} \N \N \N \N +6 0 2024-01-31 09:37:17.011 \N SMSMO_LIMIT_POSTPAID \N \N \N public.superadmin \N 6 42369cde-7d11-4674-9f76-249b7a26a1a1 \N \N {} \N \N \N \N +7 0 2024-01-31 09:37:31.911 \N DATA_LIMIT_POSTPAID \N \N \N public.superadmin \N 6 568bade3-2f64-40ac-8dfc-af8d515b0f52 \N \N {} \N \N \N \N +8 0 2024-01-31 09:37:40.524 \N DATA_LIMIT_PREPAID \N \N \N public.superadmin \N 6 fc9ee955-d9a0-4b43-af38-a1f5c415f57f \N \N {} \N \N \N \N +9 0 2024-01-31 09:37:52.926 \N DATA_TEST_POSTPAID \N \N \N public.superadmin \N 6 7b859e31-3757-496b-8bab-e3618aef354d \N \N {} \N \N \N \N +10 0 2024-01-31 09:38:03.286 \N EVT_CONSUMPTION_DATA \N \N \N public.superadmin \N 5 892060f6-d185-4a9e-9d29-04ef1baf1aea \N \N {} \N \N \N \N +11 0 2024-01-31 09:38:19.619 \N OTHER_CHARGE_ONE_TIME \N \N \N public.superadmin \N 3 3680e191-2403-4126-ba32-84357ab711e6 \N \N {} \N \N \N \N +12 0 2024-01-31 09:38:46.575 \N POST_CONSUMPTION_DATA \N \N \N public.superadmin \N 7 d88031d0-5d94-46e5-bd40-2c3f41a72d2e \N \N {} \N \N \N \N +13 0 2024-01-31 09:38:59.675 \N POST_CONSUMPTION_MOSMS \N \N \N public.superadmin \N 7 10c9d873-cbd6-4834-8d29-d6e5acc0e035 \N \N {} \N \N \N \N +15 0 2024-01-31 09:40:10.374 \N PREP_CONSUMPTION_DATA \N \N \N public.superadmin \N 8 f99abf5e-442c-45de-8f00-4a677fac0272 \N \N {} \N \N \N \N +16 0 2024-01-31 09:40:27.557 \N PREP_CONSUMPTION_MOSMS \N \N \N public.superadmin \N 8 dd33f3fb-494f-4fd2-86f1-1269132ad7ca \N \N {} \N \N \N \N +17 0 2024-01-31 09:40:46.463 \N SMSMO_ALLOWANCE_POSTPAID \N \N \N public.superadmin \N 4 f3833ae5-ecc7-44b7-8bc1-3de36f8740b0 \N \N {} \N \N \N \N +18 0 2024-01-31 09:40:55.452 \N SMS_ALLOWANCE_PREPAID \N \N \N public.superadmin \N 4 409fa044-24e5-4fe5-94a5-1da9732ae027 \N \N {} \N \N \N \N +19 0 2024-01-31 09:41:42.004 \N SMS_ALLOWANCE_POSTPAID \N \N \N public.superadmin \N 4 7466ad9f-45f2-488c-9823-ba8d8ca4e650 \N \N {} \N \N \N \N +20 0 2024-01-31 09:42:31.542 \N SUBSCRIPTION_PREPAID \N \N \N public.superadmin \N -2 58359603-aec9-47b3-a550-5aae61b2ec65 \N \N {} \N \N \N \N +21 0 2024-01-31 09:42:41.108 \N SUBSCRIPTION_POSTPAID \N \N \N public.superadmin \N -2 129b9b23-3593-46b9-9c07-7854296cb02a \N \N {} \N \N \N \N +\. + + +-- +-- Data for Name: billing_invoice_template; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.billing_invoice_template (id, version, code, file_name, template_version, validity_end_date, validity_start_date) FROM stdin; +\. + + +-- +-- Data for Name: billing_invoice_type; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.billing_invoice_type (id, version, created, updated, creator, updater, code, description, prefix_el, matching_auto, occ_template_id, occ_templ_negative_id, billing_template_name, pdf_filename_el, xml_filename_el, billing_template_name_el, use_self_sequence, occ_template_code_el, occ_template_negative_code_el, script_instance_id, invoice_sequence_id, tax_script_instance_id, uuid, cf_values, cf_values_accum, mailing_type, email_template_id, invoice_accountable) FROM stdin; +-1 0 2016-09-14 00:00:00 \N OPENCELL.ADMIN \N COM Commercial invoice \N 0 -25 -40 \N \N \N \N 0 \N \N \N -2 \N InvoiceType-COM \N \N \N \N 1 +-2 0 2016-09-14 00:00:00 \N OPENCELL.ADMIN \N ADJ Adjustement \N 0 -40 \N \N \N \N \N 0 \N \N \N -3 \N InvoiceType-ADJ \N \N \N \N 1 +-3 0 2016-09-14 00:00:00 \N OPENCELL.ADMIN \N QUOTE Invoice for quote \N 0 \N \N \N \N \N \N 0 \N \N \N -4 \N InvoiceType-QUOTE \N \N \N \N 0 +-4 0 2016-09-14 00:00:00 \N OPENCELL.ADMIN \N DRAFT Draft invoice DRAFT_ 0 -25 \N \N \N \N \N 0 \N \N \N -1 \N INVOICE_TYPE-4 \N \N \N \N 0 +3 1 2024-01-31 09:47:11.659 2024-01-31 09:47:52.161 public.superadmin public.superadmin PREPAID \N 0 -25 \N \N \N \N \N 1 \N \N \N 1 \N ade8fe37-f2a4-4991-a6af-47870ca2f528 \N \N \N \N 1 +\. + + +-- +-- Data for Name: billing_invoice_type_applies_to; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.billing_invoice_type_applies_to (invoice_type_id, applies_to_id) FROM stdin; +-1 -2 +-2 -1 +3 3 +\. + + +-- +-- Data for Name: billing_invoices_orders; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.billing_invoices_orders (invoice_id, order_id) FROM stdin; +\. + + +-- +-- Data for Name: billing_linked_invoices; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.billing_linked_invoices (id, linked_invoice_id) FROM stdin; +\. + + +-- +-- Data for Name: billing_priceplan_inst; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.billing_priceplan_inst (id, version, disabled, created, updated, amount_without_tax, charge_code, end_event_date, end_subscription_date, pr_amount_without_tax, start_event_date, start_subscription_date, stringcriteria1, stringcriteria2, stringcriteria3, subscription_age_max_in_month, subscription_age_min_in_month, usage_type, creator, updater, billing_account_id, trading_currency_id) FROM stdin; +\. + + +-- +-- Data for Name: billing_product_instance; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.billing_product_instance (id, version, created, updated, creator, updater, uuid, code, description, product_template_id, quantity, user_account_id, application_date, subscription_id, order_number, cf_values, cf_values_accum, seller_id) FROM stdin; +\. + + +-- +-- Data for Name: billing_rated_transaction_open; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.billing_rated_transaction_open (id, version, amount_tax, amount_with_tax, amount_without_tax, code, description, do_not_trigger_invoicing, parameter_1, parameter_2, parameter_3, quantity, status, unit_amount_tax, unit_amount_with_tax, unit_amount_without_tax, unity_description, usage_date, billing_account__id, billing_run_id, invoice_id, aggregate_id_f, invoice_sub_category_id, priceplan_id, wallet_id, edr_id, adjusted_rated_tx, order_number, rating_unit_description, parameter_extra, start_date, end_date, subscription_id, seller_id, charge_instance_id, tax_id, tax_percent, user_account_id, offer_id, service_instance_id, updated, tax_class_id, input_quantity, raw_amount_without_tax, raw_amount_with_tax, input_unitofmeasure, rating_unitofmeasure, sort_index) FROM stdin; +\. + + +-- +-- Data for Name: billing_rated_transaction_other; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.billing_rated_transaction_other (id, version, amount_tax, amount_with_tax, amount_without_tax, code, description, do_not_trigger_invoicing, parameter_1, parameter_2, parameter_3, quantity, status, unit_amount_tax, unit_amount_with_tax, unit_amount_without_tax, unity_description, usage_date, billing_account__id, billing_run_id, invoice_id, aggregate_id_f, invoice_sub_category_id, priceplan_id, wallet_id, edr_id, adjusted_rated_tx, order_number, rating_unit_description, parameter_extra, start_date, end_date, subscription_id, seller_id, charge_instance_id, tax_id, tax_percent, user_account_id, offer_id, service_instance_id, updated, tax_class_id, input_quantity, raw_amount_without_tax, raw_amount_with_tax, input_unitofmeasure, rating_unitofmeasure, sort_index) FROM stdin; +\. + + +-- +-- Data for Name: billing_rejected_billing_accounts; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.billing_rejected_billing_accounts (id, version, created, updated, reject_cause, creator, updater, billing_account, billing_run) FROM stdin; +\. + + +-- +-- Data for Name: billing_reservation; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.billing_reservation (id, version, created, updated, amount_with_tax, amount_without_tax, expiry_date, input_message, origin_edr_id, quantity, reservation_date, status, creator, updater, subscription_id, user_account_id, wallet_id) FROM stdin; +\. + + +-- +-- Data for Name: billing_resrv_countid; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.billing_resrv_countid (reservation_id, counterperiodvalues, counterperiodvalues_key) FROM stdin; +\. + + +-- +-- Data for Name: billing_seq_invoice; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.billing_seq_invoice (id, sequence_size, current_invoice_nb, version, creator, updater, created, updated, code, description) FROM stdin; +-1 5 \N 0 OPENCELL.ADMIN \N 2016-09-14 00:00:00 \N DRAFT \N +-2 9 \N 0 OPENCELL.ADMIN \N 2016-09-14 00:00:00 \N COM \N +-3 9 \N 0 OPENCELL.ADMIN \N 2016-09-14 00:00:00 \N ADJ \N +-4 9 \N 0 OPENCELL.ADMIN \N 2016-09-14 00:00:00 \N QUOTE \N +1 9 0 0 public.superadmin \N 2024-01-31 09:44:54.456 \N PREPAID \N +\. + + +-- +-- Data for Name: billing_seq_invtyp_sell; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.billing_seq_invtyp_sell (id, invoicetype_id, seller_id, prefix_el, invoice_sequence_id) FROM stdin; +\. + + +-- +-- Data for Name: billing_service_instance; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.billing_service_instance (id, version, created, updated, code, description, end_agrement_date, quantity, status, status_date, subscription_date, termination_date, creator, updater, service_template_id, subscription_id, sub_termin_reason_id, invoicing_calendar_id, uuid, order_number, cf_values, cf_values_accum, rate_until_date, minimum_amount_el, minimum_amount_el_sp, minimum_label_el, minimum_label_el_sp, auto_renew, days_notify_renew, end_of_term_action, auto_termin_reason_id, init_active_unit, init_active, match_end_aggr_date, renew_for_unit, renew_for, subscribed_till_date, renewed, notify_of_renewal_date, renewal_notified_date, initial_term_type, auto_end_of_engagement, amount_ps, calendar_ps_id, payment_day_in_month_ps, auto_renew_date, initial_renewal, calendar_init_active_id, calendar_renew_for_id, renewal_term_type, minimum_invoice_sub_category_id, minimum_charge_template_id) FROM stdin; +1 1 2024-11-27 09:12:37.843 2024-11-27 09:13:23.581 TEST_PLAN2_v.1 SUBSCRIPTION \N 1.000000000000 ACTIVE 2024-11-27 09:13:23.581 2024-11-27 09:11:10.608 \N development@simfony.com development@simfony.com 2 1 \N 4 0161297a-9d32-48ee-803b-790ba4c72245 \N \N \N \N \N \N \N \N 0 \N \N \N \N \N 0 \N \N \N 0 \N \N RECURRING 0 \N \N \N \N \N \N \N RECURRING \N \N +\. + + +-- +-- Data for Name: billing_subscrip_termin_reason; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.billing_subscrip_termin_reason (id, version, apply_agreement, apply_reimbursment, apply_termination_charges, code, description, created, updated, creator, updater, override_prorata, reimburse_oneshots) FROM stdin; +-1 0 1 1 1 TERM_REASON_1 Agreement Reimbursement Charge 2015-03-19 00:04:19.829 \N \N \N \N 0 +-2 0 1 0 0 TERM_REASON_2 Agreement 2015-03-19 00:04:19.829 \N \N \N \N 0 +-3 0 0 1 0 TERM_REASON_3 Charge 2015-03-19 00:04:19.829 \N \N \N \N 0 +\. + + +-- +-- Data for Name: billing_subscription; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.billing_subscription (id, version, created, updated, code, description, default_level, end_agrement_date, status, status_date, subscription_date, termination_date, creator, updater, offer_id, sub_termin_reason_id, user_account_id, uuid, subscribed_till_date, auto_renew, days_notify_renew, end_of_term_action, auto_termin_reason_id, init_active_unit, init_active, match_end_aggr_date, renew_for_unit, renew_for, renewed, notify_of_renewal_date, renewal_notified_date, cf_values, cf_values_accum, minimum_amount_el, minimum_amount_el_sp, minimum_label_el, minimum_label_el_sp, initial_term_type, billing_cycle, billing_run, auto_end_of_engagement, seller_id, rating_group, auto_renew_date, mailing_type, cced_emails, email, electronic_billing, email_template_id, initial_renewal, calendar_init_active_id, calendar_renew_for_id, renewal_term_type, minimum_invoice_sub_category_id, minimum_charge_template_id) FROM stdin; +1 1 2024-11-27 09:12:36.959 \N 43fb04dc-6987-4787-987f-78321dfb06e7 43fb04dc-6987-4787-987f-78321dfb06e7 1 \N ACTIVE 2024-11-27 09:13:22.469 2024-11-27 09:11:10.608 \N development@simfony.com \N 1 \N 8 1cb64c49-350f-40ae-9633-4d193dc9c430 \N 0 \N \N \N \N \N 0 \N \N 0 \N \N \N \N \N \N \N \N RECURRING -1 \N 0 1 \N 2024-11-27 09:12:36.959 \N \N \N 0 \N \N \N \N RECURRING \N \N +\. + + +-- +-- Data for Name: billing_tax; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.billing_tax (id, version, created, updated, code, description, accounting_code_id, tax_percentage, creator, updater, uuid, cf_values, cf_values_accum, description_i18n) FROM stdin; +-1 0 2015-03-19 00:04:19.611 \N TAX_00 0 Percent Tax \N 0.000000000000 \N \N tax-1 \N \N \N +-2 0 2015-03-19 00:04:19.637 \N TAX_05 5 Percent Tax \N 5.000000000000 \N \N tax-2 \N \N \N +-3 0 2015-03-19 00:04:19.659 \N TAX_18 18 Percent Tax \N 18.000000000000 \N \N tax-3 \N \N \N +\. + + +-- +-- Data for Name: billing_tax_category; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.billing_tax_category (id, version, created, updated, creator, updater, code, description, description_i18n, uuid, cf_values, cf_values_accum) FROM stdin; +-1 0 2020-02-08 00:03:59.983 \N \N \N Tax category \N \N tax_category_1 \N \N +1 0 2024-01-31 09:10:22.987 \N public.superadmin \N EXPORT \N {} d8c4d554-75d5-4260-a9d5-c0f6eef7f0b0 \N \N +2 0 2024-01-31 09:10:29.845 \N public.superadmin \N DEFAULT \N {} 0a22fe58-994c-4dbd-9581-844b8e4da53d \N \N +3 0 2024-01-31 09:10:35.717 \N public.superadmin \N COMMUNITY_VAT \N {} 6dd10d35-a067-4190-92c6-f443e6fcf38e \N \N +\. + + +-- +-- Data for Name: billing_tax_class; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.billing_tax_class (id, version, created, updated, creator, updater, code, description, description_i18n, uuid, cf_values, cf_values_accum) FROM stdin; +-1 0 2015-03-19 00:04:19.724 \N \N \N CMP_DATA Consumption Data \N tax_class_-1 \N \N +1 0 2024-01-31 09:20:11.153 \N public.superadmin \N CMP \N {} 3b9fe2ea-5b30-4884-a26c-ec9fda0e4be7 \N \N +2 0 2024-01-31 09:20:17.469 \N public.superadmin \N ONE_CHARGE_TAX_CLASS \N {} 79cdf99b-265c-44c8-a286-f05211286d0d \N \N +-2 1 2015-03-19 00:04:19.744 \N \N \N SUB_DATA Subscription Data {} tax_class_-2 \N \N +\. + + +-- +-- Data for Name: billing_tax_language; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.billing_tax_language (id, version, created, updated, description, creator, updater, tax_id, trading_language_id) FROM stdin; +\. + + +-- +-- Data for Name: billing_tax_mapping; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.billing_tax_mapping (id, version, created, updated, creator, updater, tax_category_id, tax_class_id, valid_from, valid_to, seller_country_id, buyer_country_id, filter_el, filter_el_sp, tax_id, tax_el, tax_el_sp, tax_script_id, priority, source, origin_id) FROM stdin; +5 0 2024-01-31 09:20:48.469 \N public.superadmin \N 3 1 2021-12-01 00:00:00 2122-08-31 00:00:00 \N \N \N \N -1 \N \N \N 1 \N \N +6 0 2024-01-31 09:21:08.874 \N public.superadmin \N 3 -1 2021-12-01 00:00:00 2122-08-31 00:00:00 \N \N \N \N -1 \N \N \N 1 \N \N +7 0 2024-01-31 09:27:47.156 \N public.superadmin \N 3 -2 2021-12-01 00:00:00 2122-08-31 00:00:00 \N \N \N \N -1 \N \N \N 1 \N \N +8 0 2024-01-31 09:28:05.807 \N public.superadmin \N 2 1 2021-12-01 00:00:00 2122-08-31 00:00:00 \N \N \N \N -1 \N \N \N 1 \N \N +9 0 2024-01-31 09:28:17.483 \N public.superadmin \N 2 -1 2021-12-01 00:00:00 2122-08-31 00:00:00 \N \N \N \N -1 \N \N \N 1 \N \N +11 0 2024-01-31 09:28:39.925 \N public.superadmin \N 1 1 2021-12-01 00:00:00 2122-08-31 00:00:00 \N \N \N \N -1 \N \N \N 1 \N \N +10 1 2024-01-31 09:28:27.976 2024-01-31 09:28:56.237 public.superadmin public.superadmin 2 -2 2021-12-01 00:00:00 2122-08-31 00:00:00 \N \N \N \N -1 \N \N \N 2 \N \N +12 0 2024-01-31 09:30:46.72 \N public.superadmin \N 1 -1 2021-12-01 00:00:00 2122-08-31 00:00:00 \N \N \N \N -1 \N \N \N 1 \N \N +13 0 2024-01-31 09:31:00.357 \N public.superadmin \N 1 -2 2021-12-01 00:00:00 2122-08-31 00:00:00 \N \N \N \N -1 \N \N \N 1 \N \N +14 0 2024-01-31 09:31:12.878 \N public.superadmin \N -1 1 2021-12-01 00:00:00 2122-08-31 00:00:00 \N \N \N \N -1 \N \N \N 1 \N \N +15 0 2024-01-31 09:31:23.563 \N public.superadmin \N -1 -1 2021-12-01 00:00:00 2122-08-31 00:00:00 \N \N \N \N -1 \N \N \N 1 \N \N +16 0 2024-01-31 09:31:34.359 \N public.superadmin \N -1 -2 2021-12-01 00:00:00 2122-08-31 00:00:00 \N \N \N \N -1 \N \N \N 1 \N \N +\. + + +-- +-- Data for Name: billing_trading_country; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.billing_trading_country (id, version, disabled, created, updated, creator, updater, country_id, code, description, cf_values_accum, cf_values, uuid) FROM stdin; +-1 0 0 2015-03-19 00:04:19.237 \N \N \N 220 US United States \N \N Trading_Country_US +-2 0 0 2015-03-19 00:04:19.264 \N \N \N 70 FR France \N \N Trading_Country_FR +\. + + +-- +-- Data for Name: billing_trading_currency; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.billing_trading_currency (id, version, disabled, created, updated, pr_currency_to_this, pr_description, creator, updater, currency_id) FROM stdin; +-1 0 0 2015-03-19 00:04:19.195 \N \N US Dollar \N \N 49 +-2 0 0 2015-03-19 00:04:19.216 \N \N Euro \N \N 5 +\. + + +-- +-- Data for Name: billing_trading_language; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.billing_trading_language (id, version, disabled, created, updated, pr_description, creator, updater, language_id) FROM stdin; +-1 0 0 2015-03-19 00:04:19.152 \N English \N \N 2 +-2 0 0 2015-03-19 00:04:19.174 \N French \N \N 12 +\. + + +-- +-- Data for Name: billing_user_account; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.billing_user_account (status, status_date, subscription_date, termination_date, id, billing_account_id, termin_reason_id, wallet_id) FROM stdin; +ACTIVE 2024-11-27 09:12:35.745 2024-11-27 09:11:10.608 \N 8 7 \N 1 +\. + + +-- +-- Data for Name: billing_wallet; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.billing_wallet (id, version, created, updated, code, description, expiry_date, next_matching_date, creator, updater, user_account_id, cat_wallet_template_id, low_balance_level, reject_level) FROM stdin; +1 0 2024-11-27 09:12:36.265 \N PRINCIPAL \N \N \N development@simfony.com \N 8 \N \N \N +2 0 2024-11-27 09:12:38.847 \N ALLOWANCE_MODATA_TEST_ROMANIA_xuqzJ5 \N \N \N development@simfony.com \N 8 2 -180.000000000000 0.000000000000 +\. + + +-- +-- Data for Name: billing_wallet_operation_open; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.billing_wallet_operation_open (id, operation_type, version, created, updated, code, description, amount_tax, amount_with_tax, amount_without_tax, end_date, offer_code, operation_date, parameter_1, parameter_2, parameter_3, quantity, start_date, status, subscription_date, tax_percent, credit_debit_flag, unit_amount_tax, unit_amount_with_tax, unit_amount_without_tax, charge_instance_id, counter_id, currency_id, priceplan_id, reratedwalletoperation_id, seller_id, wallet_id, reservation_id, invoicing_date, input_quantity, input_unit_description, rating_unit_description, edr_id, order_number, parameter_extra, raw_amount_without_tax, raw_amount_with_tax, invoice_sub_category_id, subscription_id, tax_id, rated_transaction_id, service_instance_id, offer_id, input_unitofmeasure, rating_unitofmeasure, tax_class_id, uuid, cf_values, cf_values_accum, sort_index) FROM stdin; +1 W 0 2024-11-27 09:13:23.023 2024-11-27 09:13:23.023 REC_MODATA_ALLOW_TOP_UP_TEST_ROMANIA_200.000000000000_MB_53qp9S Data Allowance 0.000000000000 -200.000000000000 -200.000000000000 2024-12-01 00:00:00 ad162e61-ede5-4d20-a770-32e36ff7a17a 2024-11-27 09:11:10.608 \N \N \N 1.000000000000 2024-11-27 09:11:10.608 OPEN 2024-11-27 09:11:10.608 0.000000000000 \N 0.000000000000 -200.000000000000 -200.000000000000 2 \N 5 13 \N 1 2 \N 2024-12-27 09:11:10.607 1.000000000000 mebibyte mebibyte \N \N \N \N \N 4 1 -1 \N 1 1 -7 -7 1 2539a70d-904c-4026-81ed-b6901ebbf226 \N \N \N +3 W 0 2024-11-27 14:16:35.659 2024-11-27 14:16:35.659 USG_MODATA_ALLOW_TOP_UP_TEST_ROMANIA_200.000000000000_MB_e3Eoq0 Data Usage Allowance 0.000000000000 0.000000000000 0.000000000000 \N ad162e61-ede5-4d20-a770-32e36ff7a17a 2024-11-27 14:16:29.082 MODATA ROMMF ROMANIA 0.000000000000 \N OPEN 2024-11-27 09:11:10.608 0.000000000000 \N 0.000000000000 1.000000000000 1.000000000000 3 \N 5 12 \N 1 2 \N 2024-12-27 09:11:10.607 0.000000000000 kibi mebibyte 1 \N TEST_ROMANIA \N \N 4 1 -1 \N 1 1 -6 -7 1 61be2e62-f5f5-4e94-a447-61e9f4303163 \N \N \N +5 W 0 2024-11-27 14:17:30.539 2024-11-27 14:17:30.539 USG_MODATA_ALLOW_TOP_UP_TEST_ROMANIA_200.000000000000_MB_e3Eoq0 Data Usage Allowance 0.000000000000 0.000000000000 0.000000000000 \N ad162e61-ede5-4d20-a770-32e36ff7a17a 2024-11-27 14:16:36.111 MODATA ROMMF ROMANIA 0.000000000000 \N OPEN 2024-11-27 09:11:10.608 0.000000000000 \N 0.000000000000 1.000000000000 1.000000000000 3 \N 5 12 \N 1 2 \N 2024-12-27 09:11:10.607 0.000000000000 kibi mebibyte 2 \N TEST_ROMANIA \N \N 4 1 -1 \N 1 1 -6 -7 1 82d0ffb1-c73d-4dec-ba49-97f424971862 \N \N \N +7 W 0 2024-11-27 14:17:38.542 2024-11-27 14:17:38.542 USG_MODATA_ALLOW_TOP_UP_TEST_ROMANIA_200.000000000000_MB_e3Eoq0 Data Usage Allowance 0.000000000000 0.000000000000 0.000000000000 \N ad162e61-ede5-4d20-a770-32e36ff7a17a 2024-11-27 14:17:30.972 MODATA ROMMF ROMANIA 0.000000000000 \N OPEN 2024-11-27 09:11:10.608 0.000000000000 \N 0.000000000000 1.000000000000 1.000000000000 3 \N 5 12 \N 1 2 \N 2024-12-27 09:11:10.607 0.000000000000 kibi mebibyte 3 \N TEST_ROMANIA \N \N 4 1 -1 \N 1 1 -6 -7 1 28dc3402-35aa-4464-9abf-4643279dd0e1 \N \N \N +9 W 0 2024-11-27 14:18:44.312 2024-11-27 14:18:44.312 USG_MODATA_ALLOW_TOP_UP_TEST_ROMANIA_200.000000000000_MB_e3Eoq0 Data Usage Allowance 0.000000000000 0.000000000000 0.000000000000 \N ad162e61-ede5-4d20-a770-32e36ff7a17a 2024-11-27 14:17:38.985 MODATA ROMMF ROMANIA 0.000000000000 \N OPEN 2024-11-27 09:11:10.608 0.000000000000 \N 0.000000000000 1.000000000000 1.000000000000 3 \N 5 12 \N 1 2 \N 2024-12-27 09:11:10.607 0.000000000000 kibi mebibyte 4 \N TEST_ROMANIA \N \N 4 1 -1 \N 1 1 -6 -7 1 65cf2176-75a8-450b-af2f-bc031219e21f \N \N \N +11 W 0 2024-11-27 14:18:52.294 2024-11-27 14:18:52.294 USG_MODATA_ALLOW_TOP_UP_TEST_ROMANIA_200.000000000000_MB_e3Eoq0 Data Usage Allowance 0.000000000000 0.000000000000 0.000000000000 \N ad162e61-ede5-4d20-a770-32e36ff7a17a 2024-11-27 14:18:44.764 MODATA ROMMF ROMANIA 0.000000000000 \N OPEN 2024-11-27 09:11:10.608 0.000000000000 \N 0.000000000000 1.000000000000 1.000000000000 3 \N 5 12 \N 1 2 \N 2024-12-27 09:11:10.607 0.000000000000 kibi mebibyte 5 \N TEST_ROMANIA \N \N 4 1 -1 \N 1 1 -6 -7 1 304a5862-6842-4cea-bc48-1c185ada1e50 \N \N \N +13 W 0 2024-11-27 14:19:26.369 2024-11-27 14:19:26.369 USG_MODATA_ALLOW_TOP_UP_TEST_ROMANIA_200.000000000000_MB_e3Eoq0 Data Usage Allowance 0.000000000000 0.000000000000 0.000000000000 \N ad162e61-ede5-4d20-a770-32e36ff7a17a 2024-11-27 14:18:52.722 MODATA ROMMF ROMANIA 0.000000000000 \N OPEN 2024-11-27 09:11:10.608 0.000000000000 \N 0.000000000000 1.000000000000 1.000000000000 3 \N 5 12 \N 1 2 \N 2024-12-27 09:11:10.607 0.000000000000 kibi mebibyte 6 \N TEST_ROMANIA \N \N 4 1 -1 \N 1 1 -6 -7 1 975ea589-f836-4651-9e41-5928af0e2081 \N \N \N +15 W 0 2024-11-27 14:19:34.391 2024-11-27 14:19:34.391 USG_MODATA_ALLOW_TOP_UP_TEST_ROMANIA_200.000000000000_MB_e3Eoq0 Data Usage Allowance 0.000000000000 0.000000000000 0.000000000000 \N ad162e61-ede5-4d20-a770-32e36ff7a17a 2024-11-27 14:19:26.847 MODATA ROMMF ROMANIA 0.000000000000 \N OPEN 2024-11-27 09:11:10.608 0.000000000000 \N 0.000000000000 1.000000000000 1.000000000000 3 \N 5 12 \N 1 2 \N 2024-12-27 09:11:10.607 0.000000000000 kibi mebibyte 7 \N TEST_ROMANIA \N \N 4 1 -1 \N 1 1 -6 -7 1 bf3f134c-3ce5-42a6-9af5-92a4e644c78f \N \N \N +17 W 0 2024-11-27 14:20:24.978 2024-11-27 14:20:24.978 USG_MODATA_ALLOW_TOP_UP_TEST_ROMANIA_200.000000000000_MB_e3Eoq0 Data Usage Allowance 0.000000000000 0.000000000000 0.000000000000 \N ad162e61-ede5-4d20-a770-32e36ff7a17a 2024-11-27 14:19:34.861 MODATA ROMMF ROMANIA 0.000000000000 \N OPEN 2024-11-27 09:11:10.608 0.000000000000 \N 0.000000000000 1.000000000000 1.000000000000 3 \N 5 12 \N 1 2 \N 2024-12-27 09:11:10.607 0.000000000000 kibi mebibyte 8 \N TEST_ROMANIA \N \N 4 1 -1 \N 1 1 -6 -7 1 f11cb448-72c3-4d15-9026-d164ad6ccace \N \N \N +19 W 0 2024-11-27 14:20:33.001 2024-11-27 14:20:33.001 USG_MODATA_ALLOW_TOP_UP_TEST_ROMANIA_200.000000000000_MB_e3Eoq0 Data Usage Allowance 0.000000000000 0.000000000000 0.000000000000 \N ad162e61-ede5-4d20-a770-32e36ff7a17a 2024-11-27 14:20:25.476 MODATA ROMMF ROMANIA 0.000000000000 \N OPEN 2024-11-27 09:11:10.608 0.000000000000 \N 0.000000000000 1.000000000000 1.000000000000 3 \N 5 12 \N 1 2 \N 2024-12-27 09:11:10.607 0.000000000000 kibi mebibyte 9 \N TEST_ROMANIA \N \N 4 1 -1 \N 1 1 -6 -7 1 ee059a99-5b78-4329-bd7b-4083f519d568 \N \N \N +21 W 0 2024-11-27 14:21:00.292 2024-11-27 14:21:00.292 USG_MODATA_ALLOW_TOP_UP_TEST_ROMANIA_200.000000000000_MB_e3Eoq0 Data Usage Allowance 0.000000000000 0.000000000000 0.000000000000 \N ad162e61-ede5-4d20-a770-32e36ff7a17a 2024-11-27 14:20:33.45 MODATA ROMMF ROMANIA 0.000000000000 \N OPEN 2024-11-27 09:11:10.608 0.000000000000 \N 0.000000000000 1.000000000000 1.000000000000 3 \N 5 12 \N 1 2 \N 2024-12-27 09:11:10.607 0.000000000000 kibi mebibyte 10 \N TEST_ROMANIA \N \N 4 1 -1 \N 1 1 -6 -7 1 24733e3c-9f2b-4bbf-acd0-7f19fc8068fd \N \N \N +23 W 0 2024-11-27 14:21:08.301 2024-11-27 14:21:08.301 USG_MODATA_ALLOW_TOP_UP_TEST_ROMANIA_200.000000000000_MB_e3Eoq0 Data Usage Allowance 0.000000000000 0.000000000000 0.000000000000 \N ad162e61-ede5-4d20-a770-32e36ff7a17a 2024-11-27 14:21:00.75 MODATA ROMMF ROMANIA 0.000000000000 \N OPEN 2024-11-27 09:11:10.608 0.000000000000 \N 0.000000000000 1.000000000000 1.000000000000 3 \N 5 12 \N 1 2 \N 2024-12-27 09:11:10.607 0.000000000000 kibi mebibyte 11 \N TEST_ROMANIA \N \N 4 1 -1 \N 1 1 -6 -7 1 52a193ad-be35-4051-b7b4-4bd1bb29ac2e \N \N \N +25 W 0 2024-11-27 14:24:19.083 2024-11-27 14:24:19.083 USG_MODATA_ALLOW_TOP_UP_TEST_ROMANIA_200.000000000000_MB_e3Eoq0 Data Usage Allowance 0.000000000000 0.000000000000 0.000000000000 \N ad162e61-ede5-4d20-a770-32e36ff7a17a 2024-11-27 14:21:08.742 MODATA ROMMF ROMANIA 0.000000000000 \N OPEN 2024-11-27 09:11:10.608 0.000000000000 \N 0.000000000000 1.000000000000 1.000000000000 3 \N 5 12 \N 1 2 \N 2024-12-27 09:11:10.607 0.000000000000 kibi mebibyte 12 \N TEST_ROMANIA \N \N 4 1 -1 \N 1 1 -6 -7 1 bcd120e1-a40b-4811-a5c0-afeaf905d707 \N \N \N +27 W 0 2024-11-27 14:28:47.064 2024-11-27 14:28:47.064 USG_MODATA_ALLOW_TOP_UP_TEST_ROMANIA_200.000000000000_MB_e3Eoq0 Data Usage Allowance 0.000000000000 0.000000000000 0.000000000000 \N ad162e61-ede5-4d20-a770-32e36ff7a17a 2024-11-27 14:28:39.187 MODATA ROMMF ROMANIA 0.000000000000 \N OPEN 2024-11-27 09:11:10.608 0.000000000000 \N 0.000000000000 1.000000000000 1.000000000000 3 \N 5 12 \N 1 2 \N 2024-12-27 09:11:10.607 0.000000000000 kibi mebibyte 13 \N TEST_ROMANIA \N \N 4 1 -1 \N 1 1 -6 -7 1 67de004e-f2ea-4cda-a44c-a81c6a427593 \N \N \N +29 W 0 2024-11-27 14:29:35.798 2024-11-27 14:29:35.798 USG_MODATA_ALLOW_TOP_UP_TEST_ROMANIA_200.000000000000_MB_e3Eoq0 Data Usage Allowance 0.000000000000 0.000000000000 0.000000000000 \N ad162e61-ede5-4d20-a770-32e36ff7a17a 2024-11-27 14:28:47.482 MODATA ROMMF ROMANIA 0.000000000000 \N OPEN 2024-11-27 09:11:10.608 0.000000000000 \N 0.000000000000 1.000000000000 1.000000000000 3 \N 5 12 \N 1 2 \N 2024-12-27 09:11:10.607 0.000000000000 kibi mebibyte 14 \N TEST_ROMANIA \N \N 4 1 -1 \N 1 1 -6 -7 1 aa819560-5217-4ef5-a5ec-4f86d3d004fc \N \N \N +31 W 0 2024-11-27 14:29:43.81 2024-11-27 14:29:43.81 USG_MODATA_ALLOW_TOP_UP_TEST_ROMANIA_200.000000000000_MB_e3Eoq0 Data Usage Allowance 0.000000000000 0.000000000000 0.000000000000 \N ad162e61-ede5-4d20-a770-32e36ff7a17a 2024-11-27 14:29:36.23 MODATA ROMMF ROMANIA 0.000000000000 \N OPEN 2024-11-27 09:11:10.608 0.000000000000 \N 0.000000000000 1.000000000000 1.000000000000 3 \N 5 12 \N 1 2 \N 2024-12-27 09:11:10.607 0.000000000000 kibi mebibyte 15 \N TEST_ROMANIA \N \N 4 1 -1 \N 1 1 -6 -7 1 f87d9829-f29e-426d-bd44-d554ea6ebc09 \N \N \N +33 W 0 2024-11-27 14:30:15.3 2024-11-27 14:30:15.3 USG_MODATA_ALLOW_TOP_UP_TEST_ROMANIA_200.000000000000_MB_e3Eoq0 Data Usage Allowance 0.000000000000 0.000000000000 0.000000000000 \N ad162e61-ede5-4d20-a770-32e36ff7a17a 2024-11-27 14:29:44.23 MODATA ROMMF ROMANIA 0.000000000000 \N OPEN 2024-11-27 09:11:10.608 0.000000000000 \N 0.000000000000 1.000000000000 1.000000000000 3 \N 5 12 \N 1 2 \N 2024-12-27 09:11:10.607 0.000000000000 kibi mebibyte 16 \N TEST_ROMANIA \N \N 4 1 -1 \N 1 1 -6 -7 1 3951fddf-20f9-4885-b859-3077835cfe37 \N \N \N +35 W 0 2024-11-27 14:30:23.315 2024-11-27 14:30:23.315 USG_MODATA_ALLOW_TOP_UP_TEST_ROMANIA_200.000000000000_MB_e3Eoq0 Data Usage Allowance 0.000000000000 0.000000000000 0.000000000000 \N ad162e61-ede5-4d20-a770-32e36ff7a17a 2024-11-27 14:30:15.723 MODATA ROMMF ROMANIA 0.000000000000 \N OPEN 2024-11-27 09:11:10.608 0.000000000000 \N 0.000000000000 1.000000000000 1.000000000000 3 \N 5 12 \N 1 2 \N 2024-12-27 09:11:10.607 0.000000000000 kibi mebibyte 17 \N TEST_ROMANIA \N \N 4 1 -1 \N 1 1 -6 -7 1 d43c80ca-bf1c-4242-8278-65e925e01426 \N \N \N +37 W 0 2024-11-27 14:33:34.132 2024-11-27 14:33:34.132 USG_MODATA_ALLOW_TOP_UP_TEST_ROMANIA_200.000000000000_MB_e3Eoq0 Data Usage Allowance 0.000000000000 0.000000000000 0.000000000000 \N ad162e61-ede5-4d20-a770-32e36ff7a17a 2024-11-27 14:30:23.739 MODATA ROMMF ROMANIA 0.000000000000 \N OPEN 2024-11-27 09:11:10.608 0.000000000000 \N 0.000000000000 1.000000000000 1.000000000000 3 \N 5 12 \N 1 2 \N 2024-12-27 09:11:10.607 0.000000000000 kibi mebibyte 18 \N TEST_ROMANIA \N \N 4 1 -1 \N 1 1 -6 -7 1 fe789a2b-b2d0-44ed-84a3-ee6581e8f586 \N \N \N +40 W 0 2024-11-27 14:34:16.391 2024-11-27 14:34:16.391 USG_MODATA_ALLOW_TOP_UP_TEST_ROMANIA_200.000000000000_MB_e3Eoq0 Data Usage Allowance 0.000000000000 0.023437500000 0.023437500000 \N ad162e61-ede5-4d20-a770-32e36ff7a17a 2024-11-27 14:34:09.022 MODATA ROMMR ROMANIA 0.023437500000 \N OPEN 2024-11-27 09:11:10.608 0.000000000000 \N 0.000000000000 1.000000000000 1.000000000000 3 \N 5 12 \N 1 2 \N 2024-12-27 09:11:10.607 24.000000000000 kibi mebibyte 19 \N TEST_ROMANIA \N \N 4 1 -1 \N 1 1 -6 -7 1 e3316518-2220-471b-b5fb-419a486ce3b8 \N \N \N +41 W 0 2024-11-27 14:34:33.968 2024-11-27 14:34:33.968 USG_MODATA_ALLOW_TOP_UP_TEST_ROMANIA_200.000000000000_MB_e3Eoq0 Data Usage Allowance 0.000000000000 1.000000000000 1.000000000000 \N ad162e61-ede5-4d20-a770-32e36ff7a17a 2024-11-27 14:34:16.32 MODATA ROMMR ROMANIA 1.000000000000 \N OPEN 2024-11-27 09:11:10.608 0.000000000000 \N 0.000000000000 1.000000000000 1.000000000000 3 \N 5 12 \N 1 2 \N 2024-12-27 09:11:10.607 1024.000000000000 kibi mebibyte 20 \N TEST_ROMANIA \N \N 4 1 -1 \N 1 1 -6 -7 1 f3376329-7ebb-4ec8-b9f5-7106f6303386 \N \N \N +43 W 0 2024-11-27 14:34:38.701 2024-11-27 14:34:38.701 USG_MODATA_ALLOW_TOP_UP_TEST_ROMANIA_200.000000000000_MB_e3Eoq0 Data Usage Allowance 0.000000000000 1.000000000000 1.000000000000 \N ad162e61-ede5-4d20-a770-32e36ff7a17a 2024-11-27 14:34:34.114 MODATA ROMMR ROMANIA 1.000000000000 \N OPEN 2024-11-27 09:11:10.608 0.000000000000 \N 0.000000000000 1.000000000000 1.000000000000 3 \N 5 12 \N 1 2 \N 2024-12-27 09:11:10.607 1024.000000000000 kibi mebibyte 21 \N TEST_ROMANIA \N \N 4 1 -1 \N 1 1 -6 -7 1 b1f45e0f-f162-4461-b407-15aea6a49441 \N \N \N +59 W 0 2024-11-27 14:36:22.68 2024-11-27 14:36:22.68 USG_MODATA_ALLOW_TOP_UP_TEST_ROMANIA_200.000000000000_MB_e3Eoq0 Data Usage Allowance 0.000000000000 1.000000000000 1.000000000000 \N ad162e61-ede5-4d20-a770-32e36ff7a17a 2024-11-27 14:35:56.663 MODATA ROMMR ROMANIA 1.000000000000 \N OPEN 2024-11-27 09:11:10.608 0.000000000000 \N 0.000000000000 1.000000000000 1.000000000000 3 \N 5 12 \N 1 2 \N 2024-12-27 09:11:10.607 1024.000000000000 kibi mebibyte 29 \N TEST_ROMANIA \N \N 4 1 -1 \N 1 1 -6 -7 1 4a6de366-7bcd-4c69-9ec4-bdb522cfeaf6 \N \N \N +61 W 0 2024-11-27 14:36:25.324 2024-11-27 14:36:25.324 USG_MODATA_ALLOW_TOP_UP_TEST_ROMANIA_200.000000000000_MB_e3Eoq0 Data Usage Allowance 0.000000000000 1.000000000000 1.000000000000 \N ad162e61-ede5-4d20-a770-32e36ff7a17a 2024-11-27 14:36:22.822 MODATA ROMMR ROMANIA 1.000000000000 \N OPEN 2024-11-27 09:11:10.608 0.000000000000 \N 0.000000000000 1.000000000000 1.000000000000 3 \N 5 12 \N 1 2 \N 2024-12-27 09:11:10.607 1024.000000000000 kibi mebibyte 30 \N TEST_ROMANIA \N \N 4 1 -1 \N 1 1 -6 -7 1 d32c6e9f-1203-4f17-b8c2-a93883c0180a \N \N \N +63 W 0 2024-11-27 14:36:27.131 2024-11-27 14:36:27.131 USG_MODATA_ALLOW_TOP_UP_TEST_ROMANIA_200.000000000000_MB_e3Eoq0 Data Usage Allowance 0.000000000000 1.000000000000 1.000000000000 \N ad162e61-ede5-4d20-a770-32e36ff7a17a 2024-11-27 14:36:25.471 MODATA ROMMR ROMANIA 1.000000000000 \N OPEN 2024-11-27 09:11:10.608 0.000000000000 \N 0.000000000000 1.000000000000 1.000000000000 3 \N 5 12 \N 1 2 \N 2024-12-27 09:11:10.607 1024.000000000000 kibi mebibyte 31 \N TEST_ROMANIA \N \N 4 1 -1 \N 1 1 -6 -7 1 5df0d5ea-27d8-4be7-95ce-304711b20966 \N \N \N +66 W 0 2024-11-27 14:36:34.978 2024-11-27 14:36:34.978 USG_MODATA_ALLOW_TOP_UP_TEST_ROMANIA_200.000000000000_MB_e3Eoq0 Data Usage Allowance 0.000000000000 1.000000000000 1.000000000000 \N ad162e61-ede5-4d20-a770-32e36ff7a17a 2024-11-27 14:36:30.992 MODATA ROMMR ROMANIA 1.000000000000 \N OPEN 2024-11-27 09:11:10.608 0.000000000000 \N 0.000000000000 1.000000000000 1.000000000000 3 \N 5 12 \N 1 2 \N 2024-12-27 09:11:10.607 1024.000000000000 kibi mebibyte 33 \N TEST_ROMANIA \N \N 4 1 -1 \N 1 1 -6 -7 1 46fd61df-687a-4b4a-8f02-1c38c2588418 \N \N \N +68 W 0 2024-11-27 14:36:38.797 2024-11-27 14:36:38.797 USG_MODATA_ALLOW_TOP_UP_TEST_ROMANIA_200.000000000000_MB_e3Eoq0 Data Usage Allowance 0.000000000000 1.000000000000 1.000000000000 \N ad162e61-ede5-4d20-a770-32e36ff7a17a 2024-11-27 14:36:35.117 MODATA ROMMR ROMANIA 1.000000000000 \N OPEN 2024-11-27 09:11:10.608 0.000000000000 \N 0.000000000000 1.000000000000 1.000000000000 3 \N 5 12 \N 1 2 \N 2024-12-27 09:11:10.607 1024.000000000000 kibi mebibyte 34 \N TEST_ROMANIA \N \N 4 1 -1 \N 1 1 -6 -7 1 3e649c16-60b5-4bd3-b73f-f94c4f317082 \N \N \N +70 W 0 2024-11-27 14:36:41.787 2024-11-27 14:36:41.787 USG_MODATA_ALLOW_TOP_UP_TEST_ROMANIA_200.000000000000_MB_e3Eoq0 Data Usage Allowance 0.000000000000 0.234637700000 0.234637700000 \N ad162e61-ede5-4d20-a770-32e36ff7a17a 2024-11-27 14:36:38.943 MODATA ROMMR ROMANIA 0.234637695313 \N OPEN 2024-11-27 09:11:10.608 0.000000000000 \N 0.000000000000 1.000000000000 1.000000000000 3 \N 5 12 \N 1 2 \N 2024-12-27 09:11:10.607 240.269000000000 kibi mebibyte 35 \N TEST_ROMANIA \N \N 4 1 -1 \N 1 1 -6 -7 1 05d449bc-ae1b-4084-8b7f-86050823db14 \N \N \N +80 W 0 2024-11-27 14:43:15.936 2024-11-27 14:43:15.936 USG_MODATA_ALLOW_TOP_UP_TEST_ROMANIA_200.000000000000_MB_e3Eoq0 Data Usage Allowance 0.000000000000 1.000000000000 1.000000000000 \N ad162e61-ede5-4d20-a770-32e36ff7a17a 2024-11-27 14:43:10.714 MODATA ROMMR ROMANIA 1.000000000000 \N OPEN 2024-11-27 09:11:10.608 0.000000000000 \N 0.000000000000 1.000000000000 1.000000000000 3 \N 5 12 \N 1 2 \N 2024-12-27 09:11:10.607 1024.000000000000 kibi mebibyte 40 \N TEST_ROMANIA \N \N 4 1 -1 \N 1 1 -6 -7 1 28383172-1ffe-4392-83de-127b5a324a5f \N \N \N +82 W 0 2024-11-27 14:43:17.672 2024-11-27 14:43:17.672 USG_MODATA_ALLOW_TOP_UP_TEST_ROMANIA_200.000000000000_MB_e3Eoq0 Data Usage Allowance 0.000000000000 1.000000000000 1.000000000000 \N ad162e61-ede5-4d20-a770-32e36ff7a17a 2024-11-27 14:43:16.08 MODATA ROMMR ROMANIA 1.000000000000 \N OPEN 2024-11-27 09:11:10.608 0.000000000000 \N 0.000000000000 1.000000000000 1.000000000000 3 \N 5 12 \N 1 2 \N 2024-12-27 09:11:10.607 1024.000000000000 kibi mebibyte 41 \N TEST_ROMANIA \N \N 4 1 -1 \N 1 1 -6 -7 1 6cbb7191-d6c8-482c-8c71-7df833d998cb \N \N \N +84 W 0 2024-11-27 14:43:19.355 2024-11-27 14:43:19.355 USG_MODATA_ALLOW_TOP_UP_TEST_ROMANIA_200.000000000000_MB_e3Eoq0 Data Usage Allowance 0.000000000000 1.000000000000 1.000000000000 \N ad162e61-ede5-4d20-a770-32e36ff7a17a 2024-11-27 14:43:17.823 MODATA ROMMR ROMANIA 1.000000000000 \N OPEN 2024-11-27 09:11:10.608 0.000000000000 \N 0.000000000000 1.000000000000 1.000000000000 3 \N 5 12 \N 1 2 \N 2024-12-27 09:11:10.607 1024.000000000000 kibi mebibyte 42 \N TEST_ROMANIA \N \N 4 1 -1 \N 1 1 -6 -7 1 7995e66f-0f79-4a02-87b8-8f0e6ad78357 \N \N \N +45 W 0 2024-11-27 14:34:43.936 2024-11-27 14:34:43.936 USG_MODATA_ALLOW_TOP_UP_TEST_ROMANIA_200.000000000000_MB_e3Eoq0 Data Usage Allowance 0.000000000000 1.000000000000 1.000000000000 \N ad162e61-ede5-4d20-a770-32e36ff7a17a 2024-11-27 14:34:38.848 MODATA ROMMR ROMANIA 1.000000000000 \N OPEN 2024-11-27 09:11:10.608 0.000000000000 \N 0.000000000000 1.000000000000 1.000000000000 3 \N 5 12 \N 1 2 \N 2024-12-27 09:11:10.607 1024.000000000000 kibi mebibyte 22 \N TEST_ROMANIA \N \N 4 1 -1 \N 1 1 -6 -7 1 f968bf83-bca0-47bc-aeea-2eb65c12d628 \N \N \N +47 W 0 2024-11-27 14:34:49.702 2024-11-27 14:34:49.702 USG_MODATA_ALLOW_TOP_UP_TEST_ROMANIA_200.000000000000_MB_e3Eoq0 Data Usage Allowance 0.000000000000 1.000000000000 1.000000000000 \N ad162e61-ede5-4d20-a770-32e36ff7a17a 2024-11-27 14:34:44.095 MODATA ROMMR ROMANIA 1.000000000000 \N OPEN 2024-11-27 09:11:10.608 0.000000000000 \N 0.000000000000 1.000000000000 1.000000000000 3 \N 5 12 \N 1 2 \N 2024-12-27 09:11:10.607 1024.000000000000 kibi mebibyte 23 \N TEST_ROMANIA \N \N 4 1 -1 \N 1 1 -6 -7 1 e3f4114d-1d35-41d2-abce-bbb8e6d608c1 \N \N \N +49 W 0 2024-11-27 14:35:00.471 2024-11-27 14:35:00.471 USG_MODATA_ALLOW_TOP_UP_TEST_ROMANIA_200.000000000000_MB_e3Eoq0 Data Usage Allowance 0.000000000000 1.000000000000 1.000000000000 \N ad162e61-ede5-4d20-a770-32e36ff7a17a 2024-11-27 14:34:49.85 MODATA ROMMR ROMANIA 1.000000000000 \N OPEN 2024-11-27 09:11:10.608 0.000000000000 \N 0.000000000000 1.000000000000 1.000000000000 3 \N 5 12 \N 1 2 \N 2024-12-27 09:11:10.607 1024.000000000000 kibi mebibyte 24 \N TEST_ROMANIA \N \N 4 1 -1 \N 1 1 -6 -7 1 61369dc8-be0f-4495-8ea9-1e664127f3ce \N \N \N +51 W 0 2024-11-27 14:35:04.152 2024-11-27 14:35:04.152 USG_MODATA_ALLOW_TOP_UP_TEST_ROMANIA_200.000000000000_MB_e3Eoq0 Data Usage Allowance 0.000000000000 1.000000000000 1.000000000000 \N ad162e61-ede5-4d20-a770-32e36ff7a17a 2024-11-27 14:35:00.618 MODATA ROMMR ROMANIA 1.000000000000 \N OPEN 2024-11-27 09:11:10.608 0.000000000000 \N 0.000000000000 1.000000000000 1.000000000000 3 \N 5 12 \N 1 2 \N 2024-12-27 09:11:10.607 1024.000000000000 kibi mebibyte 25 \N TEST_ROMANIA \N \N 4 1 -1 \N 1 1 -6 -7 1 508e3385-5d8e-4fec-953b-4f4f146702f3 \N \N \N +53 W 0 2024-11-27 14:35:06.757 2024-11-27 14:35:06.757 USG_MODATA_ALLOW_TOP_UP_TEST_ROMANIA_200.000000000000_MB_e3Eoq0 Data Usage Allowance 0.000000000000 0.042968750000 0.042968750000 \N ad162e61-ede5-4d20-a770-32e36ff7a17a 2024-11-27 14:35:04.303 MODATA ROMMR ROMANIA 0.042968750000 \N OPEN 2024-11-27 09:11:10.608 0.000000000000 \N 0.000000000000 1.000000000000 1.000000000000 3 \N 5 12 \N 1 2 \N 2024-12-27 09:11:10.607 44.000000000000 kibi mebibyte 26 \N TEST_ROMANIA \N \N 4 1 -1 \N 1 1 -6 -7 1 fa3f6d34-2ebe-4ee2-aaa1-a29c7c926bf1 \N \N \N +55 W 0 2024-11-27 14:35:52.505 2024-11-27 14:35:52.505 USG_MODATA_ALLOW_TOP_UP_TEST_ROMANIA_200.000000000000_MB_e3Eoq0 Data Usage Allowance 0.000000000000 1.000000000000 1.000000000000 \N ad162e61-ede5-4d20-a770-32e36ff7a17a 2024-11-27 14:35:45.102 MODATA ROMMR ROMANIA 1.000000000000 \N OPEN 2024-11-27 09:11:10.608 0.000000000000 \N 0.000000000000 1.000000000000 1.000000000000 3 \N 5 12 \N 1 2 \N 2024-12-27 09:11:10.607 1024.000000000000 kibi mebibyte 27 \N TEST_ROMANIA \N \N 4 1 -1 \N 1 1 -6 -7 1 394db541-d937-4641-aa9f-295eef1c18bb \N \N \N +57 W 0 2024-11-27 14:35:56.519 2024-11-27 14:35:56.519 USG_MODATA_ALLOW_TOP_UP_TEST_ROMANIA_200.000000000000_MB_e3Eoq0 Data Usage Allowance 0.000000000000 1.000000000000 1.000000000000 \N ad162e61-ede5-4d20-a770-32e36ff7a17a 2024-11-27 14:35:52.645 MODATA ROMMR ROMANIA 1.000000000000 \N OPEN 2024-11-27 09:11:10.608 0.000000000000 \N 0.000000000000 1.000000000000 1.000000000000 3 \N 5 12 \N 1 2 \N 2024-12-27 09:11:10.607 1024.000000000000 kibi mebibyte 28 \N TEST_ROMANIA \N \N 4 1 -1 \N 1 1 -6 -7 1 a7811a99-a0e0-4b03-931a-800b5120f797 \N \N \N +72 W 0 2024-11-27 14:43:00.794 2024-11-27 14:43:00.794 USG_MODATA_ALLOW_TOP_UP_TEST_ROMANIA_200.000000000000_MB_e3Eoq0 Data Usage Allowance 0.000000000000 1.000000000000 1.000000000000 \N ad162e61-ede5-4d20-a770-32e36ff7a17a 2024-11-27 14:42:55.64 MODATA ROMMR ROMANIA 1.000000000000 \N OPEN 2024-11-27 09:11:10.608 0.000000000000 \N 0.000000000000 1.000000000000 1.000000000000 3 \N 5 12 \N 1 2 \N 2024-12-27 09:11:10.607 1024.000000000000 kibi mebibyte 36 \N TEST_ROMANIA \N \N 4 1 -1 \N 1 1 -6 -7 1 f58009e4-3019-4062-9940-db07fba3aa4a \N \N \N +74 W 0 2024-11-27 14:43:03.375 2024-11-27 14:43:03.375 USG_MODATA_ALLOW_TOP_UP_TEST_ROMANIA_200.000000000000_MB_e3Eoq0 Data Usage Allowance 0.000000000000 1.000000000000 1.000000000000 \N ad162e61-ede5-4d20-a770-32e36ff7a17a 2024-11-27 14:43:00.945 MODATA ROMMR ROMANIA 1.000000000000 \N OPEN 2024-11-27 09:11:10.608 0.000000000000 \N 0.000000000000 1.000000000000 1.000000000000 3 \N 5 12 \N 1 2 \N 2024-12-27 09:11:10.607 1024.000000000000 kibi mebibyte 37 \N TEST_ROMANIA \N \N 4 1 -1 \N 1 1 -6 -7 1 4d48195e-a322-4380-9178-256fc16d5def \N \N \N +76 W 0 2024-11-27 14:43:05.26 2024-11-27 14:43:05.26 USG_MODATA_ALLOW_TOP_UP_TEST_ROMANIA_200.000000000000_MB_e3Eoq0 Data Usage Allowance 0.000000000000 1.000000000000 1.000000000000 \N ad162e61-ede5-4d20-a770-32e36ff7a17a 2024-11-27 14:43:03.548 MODATA ROMMR ROMANIA 1.000000000000 \N OPEN 2024-11-27 09:11:10.608 0.000000000000 \N 0.000000000000 1.000000000000 1.000000000000 3 \N 5 12 \N 1 2 \N 2024-12-27 09:11:10.607 1024.000000000000 kibi mebibyte 38 \N TEST_ROMANIA \N \N 4 1 -1 \N 1 1 -6 -7 1 5b082132-96df-46a8-80f3-0ad95ae30ac1 \N \N \N +78 W 0 2024-11-27 14:43:10.57 2024-11-27 14:43:10.57 USG_MODATA_ALLOW_TOP_UP_TEST_ROMANIA_200.000000000000_MB_e3Eoq0 Data Usage Allowance 0.000000000000 1.000000000000 1.000000000000 \N ad162e61-ede5-4d20-a770-32e36ff7a17a 2024-11-27 14:43:05.406 MODATA ROMMR ROMANIA 1.000000000000 \N OPEN 2024-11-27 09:11:10.608 0.000000000000 \N 0.000000000000 1.000000000000 1.000000000000 3 \N 5 12 \N 1 2 \N 2024-12-27 09:11:10.607 1024.000000000000 kibi mebibyte 39 \N TEST_ROMANIA \N \N 4 1 -1 \N 1 1 -6 -7 1 28a30e9b-d200-4a24-902f-2d8256cb6ea4 \N \N \N +85 W 0 2024-11-27 14:43:26.69 2024-11-27 14:43:26.69 USG_MODATA_ALLOW_TOP_UP_TEST_ROMANIA_200.000000000000_MB_e3Eoq0 Data Usage Allowance 0.000000000000 0.003477540000 0.003477540000 \N ad162e61-ede5-4d20-a770-32e36ff7a17a 2024-11-27 14:43:26.508 MODATA ROMMR ROMANIA 0.003477539063 \N OPEN 2024-11-27 09:11:10.608 0.000000000000 \N 0.000000000000 1.000000000000 1.000000000000 3 \N 5 12 \N 1 2 \N 2024-12-27 09:11:10.607 3.561000000000 kibi mebibyte 43 \N TEST_ROMANIA \N \N 4 1 -1 \N 1 1 -6 -7 1 0b19ed3f-d816-4287-943c-0fbf368ac195 \N \N \N +87 W 0 2024-11-27 14:43:29.546 2024-11-27 14:43:29.546 USG_MODATA_ALLOW_TOP_UP_TEST_ROMANIA_200.000000000000_MB_e3Eoq0 Data Usage Allowance 0.000000000000 0.000000000000 0.000000000000 \N ad162e61-ede5-4d20-a770-32e36ff7a17a 2024-11-27 14:43:27.302 MODATA ROMMR ROMANIA 0.000000000000 \N OPEN 2024-11-27 09:11:10.608 0.000000000000 \N 0.000000000000 1.000000000000 1.000000000000 3 \N 5 12 \N 1 2 \N 2024-12-27 09:11:10.607 0.000000000000 kibi mebibyte 44 \N TEST_ROMANIA \N \N 4 1 -1 \N 1 1 -6 -7 1 df24cb4b-1f24-4039-9d77-c273711f3443 \N \N \N +89 W 0 2024-12-11 17:20:41.921 2024-12-11 17:20:41.921 USG_MODATA_ALLOW_TOP_UP_TEST_ROMANIA_200.000000000000_MB_e3Eoq0 Data Usage Allowance 0.000000000000 0.000000000000 0.000000000000 \N ad162e61-ede5-4d20-a770-32e36ff7a17a 2024-12-11 17:20:36.091 MODATA ROMMR ROMANIA 0.000000000000 \N OPEN 2024-11-27 09:11:10.608 0.000000000000 \N 0.000000000000 1.000000000000 1.000000000000 3 \N 5 12 \N 1 2 \N 2024-12-27 09:11:10.607 0.000000000000 kibi mebibyte 45 \N TEST_ROMANIA \N \N 4 1 -1 \N 1 1 -6 -7 1 019ac249-01cc-4f90-b381-9de78b6d9f9b \N \N \N +91 W 0 2024-12-11 17:20:56.391 2024-12-11 17:20:56.391 USG_MODATA_ALLOW_TOP_UP_TEST_ROMANIA_200.000000000000_MB_e3Eoq0 Data Usage Allowance 0.000000000000 0.000000000000 0.000000000000 \N ad162e61-ede5-4d20-a770-32e36ff7a17a 2024-12-11 17:20:42.439 MODATA ROMMR ROMANIA 0.000000000000 \N OPEN 2024-11-27 09:11:10.608 0.000000000000 \N 0.000000000000 1.000000000000 1.000000000000 3 \N 5 12 \N 1 2 \N 2024-12-27 09:11:10.607 0.000000000000 kibi mebibyte 46 \N TEST_ROMANIA \N \N 4 1 -1 \N 1 1 -6 -7 1 73768568-fe30-4e90-a374-b093c78f3492 \N \N \N +93 W 0 2024-12-11 17:21:33.643 2024-12-11 17:21:33.643 USG_MODATA_ALLOW_TOP_UP_TEST_ROMANIA_200.000000000000_MB_e3Eoq0 Data Usage Allowance 0.000000000000 0.270507810000 0.270507810000 \N ad162e61-ede5-4d20-a770-32e36ff7a17a 2024-12-11 17:21:03.58 MODATA ROMMR ROMANIA 0.270507812500 \N OPEN 2024-11-27 09:11:10.608 0.000000000000 \N 0.000000000000 1.000000000000 1.000000000000 3 \N 5 12 \N 1 2 \N 2024-12-27 09:11:10.607 277.000000000000 kibi mebibyte 47 \N TEST_ROMANIA \N \N 4 1 -1 \N 1 1 -6 -7 1 3dd7a573-39e6-451b-8313-fe1601d6d3af \N \N \N +95 W 0 2024-12-11 17:51:43.575 2024-12-11 17:51:43.575 USG_MODATA_ALLOW_TOP_UP_TEST_ROMANIA_200.000000000000_MB_e3Eoq0 Data Usage Allowance 0.000000000000 0.000000000000 0.000000000000 \N ad162e61-ede5-4d20-a770-32e36ff7a17a 2024-12-11 17:21:43.874 MODATA ROMMR ROMANIA 0.000000000000 \N OPEN 2024-11-27 09:11:10.608 0.000000000000 \N 0.000000000000 1.000000000000 1.000000000000 3 \N 5 12 \N 1 2 \N 2024-12-27 09:11:10.607 0.000000000000 kibi mebibyte 48 \N TEST_ROMANIA \N \N 4 1 -1 \N 1 1 -6 -7 1 04eb3e49-f02a-45a9-af8a-24d4b0954200 \N \N \N +97 W 0 2024-12-11 18:21:43.182 2024-12-11 18:21:43.182 USG_MODATA_ALLOW_TOP_UP_TEST_ROMANIA_200.000000000000_MB_e3Eoq0 Data Usage Allowance 0.000000000000 0.000000000000 0.000000000000 \N ad162e61-ede5-4d20-a770-32e36ff7a17a 2024-12-11 17:51:43.735 MODATA ROMMR ROMANIA 0.000000000000 \N OPEN 2024-11-27 09:11:10.608 0.000000000000 \N 0.000000000000 1.000000000000 1.000000000000 3 \N 5 12 \N 1 2 \N 2024-12-27 09:11:10.607 0.000000000000 kibi mebibyte 49 \N TEST_ROMANIA \N \N 4 1 -1 \N 1 1 -6 -7 1 ded9fc07-0591-4df0-8df1-9e0610b5dd71 \N \N \N +99 W 0 2024-12-11 18:51:43.791 2024-12-11 18:51:43.791 USG_MODATA_ALLOW_TOP_UP_TEST_ROMANIA_200.000000000000_MB_e3Eoq0 Data Usage Allowance 0.000000000000 0.029814450000 0.029814450000 \N ad162e61-ede5-4d20-a770-32e36ff7a17a 2024-12-11 18:21:43.34 MODATA ROMMR ROMANIA 0.029814453125 \N OPEN 2024-11-27 09:11:10.608 0.000000000000 \N 0.000000000000 1.000000000000 1.000000000000 3 \N 5 12 \N 1 2 \N 2024-12-27 09:11:10.607 30.530000000000 kibi mebibyte 50 \N TEST_ROMANIA \N \N 4 1 -1 \N 1 1 -6 -7 1 c1233dcb-828a-4d07-95fe-8f9b74a75ac0 \N \N \N +101 W 0 2024-12-11 19:21:44.387 2024-12-11 19:21:44.387 USG_MODATA_ALLOW_TOP_UP_TEST_ROMANIA_200.000000000000_MB_e3Eoq0 Data Usage Allowance 0.000000000000 0.000000000000 0.000000000000 \N ad162e61-ede5-4d20-a770-32e36ff7a17a 2024-12-11 18:51:43.943 MODATA ROMMR ROMANIA 0.000000000000 \N OPEN 2024-11-27 09:11:10.608 0.000000000000 \N 0.000000000000 1.000000000000 1.000000000000 3 \N 5 12 \N 1 2 \N 2024-12-27 09:11:10.607 0.000000000000 kibi mebibyte 51 \N TEST_ROMANIA \N \N 4 1 -1 \N 1 1 -6 -7 1 43b1bb9a-bad6-4b82-86d0-3f0ee7fbb3d5 \N \N \N +103 W 0 2024-12-11 19:51:44.002 2024-12-11 19:51:44.002 USG_MODATA_ALLOW_TOP_UP_TEST_ROMANIA_200.000000000000_MB_e3Eoq0 Data Usage Allowance 0.000000000000 0.000000000000 0.000000000000 \N ad162e61-ede5-4d20-a770-32e36ff7a17a 2024-12-11 19:21:44.555 MODATA ROMMR ROMANIA 0.000000000000 \N OPEN 2024-11-27 09:11:10.608 0.000000000000 \N 0.000000000000 1.000000000000 1.000000000000 3 \N 5 12 \N 1 2 \N 2024-12-27 09:11:10.607 0.000000000000 kibi mebibyte 52 \N TEST_ROMANIA \N \N 4 1 -1 \N 1 1 -6 -7 1 50a17a08-edd1-4a4a-86c7-b2bdb5e96804 \N \N \N +105 W 0 2024-12-11 20:21:44.615 2024-12-11 20:21:44.615 USG_MODATA_ALLOW_TOP_UP_TEST_ROMANIA_200.000000000000_MB_e3Eoq0 Data Usage Allowance 0.000000000000 0.000000000000 0.000000000000 \N ad162e61-ede5-4d20-a770-32e36ff7a17a 2024-12-11 19:51:44.156 MODATA ROMMR ROMANIA 0.000000000000 \N OPEN 2024-11-27 09:11:10.608 0.000000000000 \N 0.000000000000 1.000000000000 1.000000000000 3 \N 5 12 \N 1 2 \N 2024-12-27 09:11:10.607 0.000000000000 kibi mebibyte 53 \N TEST_ROMANIA \N \N 4 1 -1 \N 1 1 -6 -7 1 18214b52-c188-439f-946e-e07aa2863399 \N \N \N +107 W 0 2024-12-11 20:52:50.039 2024-12-11 20:52:50.039 USG_MODATA_ALLOW_TOP_UP_TEST_ROMANIA_200.000000000000_MB_e3Eoq0 Data Usage Allowance 0.000000000000 0.000000000000 0.000000000000 \N ad162e61-ede5-4d20-a770-32e36ff7a17a 2024-12-11 20:21:44.775 MODATA ROMMR ROMANIA 0.000000000000 \N OPEN 2024-11-27 09:11:10.608 0.000000000000 \N 0.000000000000 1.000000000000 1.000000000000 3 \N 5 12 \N 1 2 \N 2024-12-27 09:11:10.607 0.000000000000 kibi mebibyte 54 \N TEST_ROMANIA \N \N 4 1 -1 \N 1 1 -6 -7 1 a62de4c8-a5bf-4ff5-bea8-3256fe06fff9 \N \N \N +109 W 0 2024-12-11 20:52:55.357 2024-12-11 20:52:55.357 USG_MODATA_ALLOW_TOP_UP_TEST_ROMANIA_200.000000000000_MB_e3Eoq0 Data Usage Allowance 0.000000000000 0.000458980000 0.000458980000 \N ad162e61-ede5-4d20-a770-32e36ff7a17a 2024-12-11 20:52:50.256 MODATA ROMMR ROMANIA 0.000458984375 \N OPEN 2024-11-27 09:11:10.608 0.000000000000 \N 0.000000000000 1.000000000000 1.000000000000 3 \N 5 12 \N 1 2 \N 2024-12-27 09:11:10.607 0.470000000000 kibi mebibyte 55 \N TEST_ROMANIA \N \N 4 1 -1 \N 1 1 -6 -7 1 42e16765-467b-4aba-b96c-b618f854df9e \N \N \N +111 W 0 2024-12-11 20:53:02.513 2024-12-11 20:53:02.513 USG_MODATA_ALLOW_TOP_UP_TEST_ROMANIA_200.000000000000_MB_e3Eoq0 Data Usage Allowance 0.000000000000 0.000000000000 0.000000000000 \N ad162e61-ede5-4d20-a770-32e36ff7a17a 2024-12-11 20:52:55.863 MODATA ROMMR ROMANIA 0.000000000000 \N OPEN 2024-11-27 09:11:10.608 0.000000000000 \N 0.000000000000 1.000000000000 1.000000000000 3 \N 5 12 \N 1 2 \N 2024-12-27 09:11:10.607 0.000000000000 kibi mebibyte 56 \N TEST_ROMANIA \N \N 4 1 -1 \N 1 1 -6 -7 1 016f9638-495d-4e94-a679-f9607f1e68be \N \N \N +113 W 0 2024-12-11 21:23:02.874 2024-12-11 21:23:02.874 USG_MODATA_ALLOW_TOP_UP_TEST_ROMANIA_200.000000000000_MB_e3Eoq0 Data Usage Allowance 0.000000000000 0.000000000000 0.000000000000 \N ad162e61-ede5-4d20-a770-32e36ff7a17a 2024-12-11 20:53:03.054 MODATA ROMMR ROMANIA 0.000000000000 \N OPEN 2024-11-27 09:11:10.608 0.000000000000 \N 0.000000000000 1.000000000000 1.000000000000 3 \N 5 12 \N 1 2 \N 2024-12-27 09:11:10.607 0.000000000000 kibi mebibyte 57 \N TEST_ROMANIA \N \N 4 1 -1 \N 1 1 -6 -7 1 1f878701-7760-4444-9c92-117ad19fb6bd \N \N \N +115 W 0 2024-12-11 21:53:03.445 2024-12-11 21:53:03.445 USG_MODATA_ALLOW_TOP_UP_TEST_ROMANIA_200.000000000000_MB_e3Eoq0 Data Usage Allowance 0.000000000000 0.000000000000 0.000000000000 \N ad162e61-ede5-4d20-a770-32e36ff7a17a 2024-12-11 21:23:03.032 MODATA ROMMR ROMANIA 0.000000000000 \N OPEN 2024-11-27 09:11:10.608 0.000000000000 \N 0.000000000000 1.000000000000 1.000000000000 3 \N 5 12 \N 1 2 \N 2024-12-27 09:11:10.607 0.000000000000 kibi mebibyte 58 \N TEST_ROMANIA \N \N 4 1 -1 \N 1 1 -6 -7 1 89a36b7a-1d6c-4698-8160-fe51526abdd4 \N \N \N +117 W 0 2024-12-11 22:23:03.077 2024-12-11 22:23:03.077 USG_MODATA_ALLOW_TOP_UP_TEST_ROMANIA_200.000000000000_MB_e3Eoq0 Data Usage Allowance 0.000000000000 0.000000000000 0.000000000000 \N ad162e61-ede5-4d20-a770-32e36ff7a17a 2024-12-11 21:53:03.603 MODATA ROMMR ROMANIA 0.000000000000 \N OPEN 2024-11-27 09:11:10.608 0.000000000000 \N 0.000000000000 1.000000000000 1.000000000000 3 \N 5 12 \N 1 2 \N 2024-12-27 09:11:10.607 0.000000000000 kibi mebibyte 59 \N TEST_ROMANIA \N \N 4 1 -1 \N 1 1 -6 -7 1 cc4ad3e4-b343-4c81-906c-1c6a127bc14a \N \N \N +119 W 0 2024-12-11 22:53:03.655 2024-12-11 22:53:03.655 USG_MODATA_ALLOW_TOP_UP_TEST_ROMANIA_200.000000000000_MB_e3Eoq0 Data Usage Allowance 0.000000000000 0.000000000000 0.000000000000 \N ad162e61-ede5-4d20-a770-32e36ff7a17a 2024-12-11 22:23:03.223 MODATA ROMMR ROMANIA 0.000000000000 \N OPEN 2024-11-27 09:11:10.608 0.000000000000 \N 0.000000000000 1.000000000000 1.000000000000 3 \N 5 12 \N 1 2 \N 2024-12-27 09:11:10.607 0.000000000000 kibi mebibyte 60 \N TEST_ROMANIA \N \N 4 1 -1 \N 1 1 -6 -7 1 c91f1300-947a-4879-9e42-43cabfc274e7 \N \N \N +121 W 0 2024-12-11 23:23:03.272 2024-12-11 23:23:03.272 USG_MODATA_ALLOW_TOP_UP_TEST_ROMANIA_200.000000000000_MB_e3Eoq0 Data Usage Allowance 0.000000000000 0.000000000000 0.000000000000 \N ad162e61-ede5-4d20-a770-32e36ff7a17a 2024-12-11 22:53:03.806 MODATA ROMMR ROMANIA 0.000000000000 \N OPEN 2024-11-27 09:11:10.608 0.000000000000 \N 0.000000000000 1.000000000000 1.000000000000 3 \N 5 12 \N 1 2 \N 2024-12-27 09:11:10.607 0.000000000000 kibi mebibyte 61 \N TEST_ROMANIA \N \N 4 1 -1 \N 1 1 -6 -7 1 6e1dd024-b6fd-4abd-80af-9480da690db6 \N \N \N +123 W 0 2024-12-11 23:53:02.88 2024-12-11 23:53:02.88 USG_MODATA_ALLOW_TOP_UP_TEST_ROMANIA_200.000000000000_MB_e3Eoq0 Data Usage Allowance 0.000000000000 0.000000000000 0.000000000000 \N ad162e61-ede5-4d20-a770-32e36ff7a17a 2024-12-11 23:23:03.417 MODATA ROMMR ROMANIA 0.000000000000 \N OPEN 2024-11-27 09:11:10.608 0.000000000000 \N 0.000000000000 1.000000000000 1.000000000000 3 \N 5 12 \N 1 2 \N 2024-12-27 09:11:10.607 0.000000000000 kibi mebibyte 62 \N TEST_ROMANIA \N \N 4 1 -1 \N 1 1 -6 -7 1 284c1fb8-5861-4a6b-a83e-56cf75fab778 \N \N \N +125 W 0 2024-12-12 00:23:03.508 2024-12-12 00:23:03.508 USG_MODATA_ALLOW_TOP_UP_TEST_ROMANIA_200.000000000000_MB_e3Eoq0 Data Usage Allowance 0.000000000000 0.000000000000 0.000000000000 \N ad162e61-ede5-4d20-a770-32e36ff7a17a 2024-12-11 23:53:03.025 MODATA ROMMR ROMANIA 0.000000000000 \N OPEN 2024-11-27 09:11:10.608 0.000000000000 \N 0.000000000000 1.000000000000 1.000000000000 3 \N 5 12 \N 1 2 \N 2024-12-27 09:11:10.607 0.000000000000 kibi mebibyte 63 \N TEST_ROMANIA \N \N 4 1 -1 \N 1 1 -6 -7 1 f2206f82-3e67-4163-80fe-b861cdd2c109 \N \N \N +127 W 0 2024-12-12 00:53:03.081 2024-12-12 00:53:03.081 USG_MODATA_ALLOW_TOP_UP_TEST_ROMANIA_200.000000000000_MB_e3Eoq0 Data Usage Allowance 0.000000000000 0.000000000000 0.000000000000 \N ad162e61-ede5-4d20-a770-32e36ff7a17a 2024-12-12 00:23:03.663 MODATA ROMMR ROMANIA 0.000000000000 \N OPEN 2024-11-27 09:11:10.608 0.000000000000 \N 0.000000000000 1.000000000000 1.000000000000 3 \N 5 12 \N 1 2 \N 2024-12-27 09:11:10.607 0.000000000000 kibi mebibyte 64 \N TEST_ROMANIA \N \N 4 1 -1 \N 1 1 -6 -7 1 e161acb0-6696-4278-814a-2cc84634ff3f \N \N \N +129 W 0 2024-12-12 01:23:03.682 2024-12-12 01:23:03.682 USG_MODATA_ALLOW_TOP_UP_TEST_ROMANIA_200.000000000000_MB_e3Eoq0 Data Usage Allowance 0.000000000000 0.000000000000 0.000000000000 \N ad162e61-ede5-4d20-a770-32e36ff7a17a 2024-12-12 00:53:03.231 MODATA ROMMR ROMANIA 0.000000000000 \N OPEN 2024-11-27 09:11:10.608 0.000000000000 \N 0.000000000000 1.000000000000 1.000000000000 3 \N 5 12 \N 1 2 \N 2024-12-27 09:11:10.607 0.000000000000 kibi mebibyte 65 \N TEST_ROMANIA \N \N 4 1 -1 \N 1 1 -6 -7 1 ec6308a9-087a-4048-bd35-3ef4c504f88c \N \N \N +131 W 0 2024-12-12 01:53:03.278 2024-12-12 01:53:03.278 USG_MODATA_ALLOW_TOP_UP_TEST_ROMANIA_200.000000000000_MB_e3Eoq0 Data Usage Allowance 0.000000000000 0.000000000000 0.000000000000 \N ad162e61-ede5-4d20-a770-32e36ff7a17a 2024-12-12 01:23:03.832 MODATA ROMMR ROMANIA 0.000000000000 \N OPEN 2024-11-27 09:11:10.608 0.000000000000 \N 0.000000000000 1.000000000000 1.000000000000 3 \N 5 12 \N 1 2 \N 2024-12-27 09:11:10.607 0.000000000000 kibi mebibyte 66 \N TEST_ROMANIA \N \N 4 1 -1 \N 1 1 -6 -7 1 975bba9c-e561-40cd-a431-63acc2ecc3dc \N \N \N +133 W 0 2024-12-12 02:23:02.87 2024-12-12 02:23:02.87 USG_MODATA_ALLOW_TOP_UP_TEST_ROMANIA_200.000000000000_MB_e3Eoq0 Data Usage Allowance 0.000000000000 0.000000000000 0.000000000000 \N ad162e61-ede5-4d20-a770-32e36ff7a17a 2024-12-12 01:53:03.43 MODATA ROMMR ROMANIA 0.000000000000 \N OPEN 2024-11-27 09:11:10.608 0.000000000000 \N 0.000000000000 1.000000000000 1.000000000000 3 \N 5 12 \N 1 2 \N 2024-12-27 09:11:10.607 0.000000000000 kibi mebibyte 67 \N TEST_ROMANIA \N \N 4 1 -1 \N 1 1 -6 -7 1 6fce706c-ba35-49b0-a025-c7b53a161983 \N \N \N +135 W 0 2024-12-12 02:53:03.471 2024-12-12 02:53:03.471 USG_MODATA_ALLOW_TOP_UP_TEST_ROMANIA_200.000000000000_MB_e3Eoq0 Data Usage Allowance 0.000000000000 0.000000000000 0.000000000000 \N ad162e61-ede5-4d20-a770-32e36ff7a17a 2024-12-12 02:23:03.01 MODATA ROMMR ROMANIA 0.000000000000 \N OPEN 2024-11-27 09:11:10.608 0.000000000000 \N 0.000000000000 1.000000000000 1.000000000000 3 \N 5 12 \N 1 2 \N 2024-12-27 09:11:10.607 0.000000000000 kibi mebibyte 68 \N TEST_ROMANIA \N \N 4 1 -1 \N 1 1 -6 -7 1 335d1f7c-f73d-40cf-9f99-62fb619c2990 \N \N \N +137 W 0 2024-12-12 03:23:03.069 2024-12-12 03:23:03.069 USG_MODATA_ALLOW_TOP_UP_TEST_ROMANIA_200.000000000000_MB_e3Eoq0 Data Usage Allowance 0.000000000000 0.000000000000 0.000000000000 \N ad162e61-ede5-4d20-a770-32e36ff7a17a 2024-12-12 02:53:03.613 MODATA ROMMR ROMANIA 0.000000000000 \N OPEN 2024-11-27 09:11:10.608 0.000000000000 \N 0.000000000000 1.000000000000 1.000000000000 3 \N 5 12 \N 1 2 \N 2024-12-27 09:11:10.607 0.000000000000 kibi mebibyte 69 \N TEST_ROMANIA \N \N 4 1 -1 \N 1 1 -6 -7 1 911c4374-3e45-426a-9882-f9144de63662 \N \N \N +139 W 0 2024-12-12 03:53:03.694 2024-12-12 03:53:03.694 USG_MODATA_ALLOW_TOP_UP_TEST_ROMANIA_200.000000000000_MB_e3Eoq0 Data Usage Allowance 0.000000000000 0.000000000000 0.000000000000 \N ad162e61-ede5-4d20-a770-32e36ff7a17a 2024-12-12 03:23:03.227 MODATA ROMMR ROMANIA 0.000000000000 \N OPEN 2024-11-27 09:11:10.608 0.000000000000 \N 0.000000000000 1.000000000000 1.000000000000 3 \N 5 12 \N 1 2 \N 2024-12-27 09:11:10.607 0.000000000000 kibi mebibyte 70 \N TEST_ROMANIA \N \N 4 1 -1 \N 1 1 -6 -7 1 f2d124ec-b06b-4dd9-9b35-f5de2996a189 \N \N \N +141 W 0 2024-12-12 04:23:03.301 2024-12-12 04:23:03.301 USG_MODATA_ALLOW_TOP_UP_TEST_ROMANIA_200.000000000000_MB_e3Eoq0 Data Usage Allowance 0.000000000000 0.000000000000 0.000000000000 \N ad162e61-ede5-4d20-a770-32e36ff7a17a 2024-12-12 03:53:03.842 MODATA ROMMR ROMANIA 0.000000000000 \N OPEN 2024-11-27 09:11:10.608 0.000000000000 \N 0.000000000000 1.000000000000 1.000000000000 3 \N 5 12 \N 1 2 \N 2024-12-27 09:11:10.607 0.000000000000 kibi mebibyte 71 \N TEST_ROMANIA \N \N 4 1 -1 \N 1 1 -6 -7 1 cc5d29db-fce3-4416-a03f-d8898f8df42e \N \N \N +143 W 0 2024-12-12 04:53:02.894 2024-12-12 04:53:02.894 USG_MODATA_ALLOW_TOP_UP_TEST_ROMANIA_200.000000000000_MB_e3Eoq0 Data Usage Allowance 0.000000000000 0.000000000000 0.000000000000 \N ad162e61-ede5-4d20-a770-32e36ff7a17a 2024-12-12 04:23:03.454 MODATA ROMMR ROMANIA 0.000000000000 \N OPEN 2024-11-27 09:11:10.608 0.000000000000 \N 0.000000000000 1.000000000000 1.000000000000 3 \N 5 12 \N 1 2 \N 2024-12-27 09:11:10.607 0.000000000000 kibi mebibyte 72 \N TEST_ROMANIA \N \N 4 1 -1 \N 1 1 -6 -7 1 232fbc1e-502b-4b8e-8d1a-c3304c118c1a \N \N \N +145 W 0 2024-12-12 05:23:03.515 2024-12-12 05:23:03.515 USG_MODATA_ALLOW_TOP_UP_TEST_ROMANIA_200.000000000000_MB_e3Eoq0 Data Usage Allowance 0.000000000000 0.000000000000 0.000000000000 \N ad162e61-ede5-4d20-a770-32e36ff7a17a 2024-12-12 04:53:03.046 MODATA ROMMR ROMANIA 0.000000000000 \N OPEN 2024-11-27 09:11:10.608 0.000000000000 \N 0.000000000000 1.000000000000 1.000000000000 3 \N 5 12 \N 1 2 \N 2024-12-27 09:11:10.607 0.000000000000 kibi mebibyte 73 \N TEST_ROMANIA \N \N 4 1 -1 \N 1 1 -6 -7 1 2509575a-95ad-4d2c-b7af-bf4fe1f40c75 \N \N \N +147 W 0 2024-12-12 05:53:03.099 2024-12-12 05:53:03.099 USG_MODATA_ALLOW_TOP_UP_TEST_ROMANIA_200.000000000000_MB_e3Eoq0 Data Usage Allowance 0.000000000000 0.000000000000 0.000000000000 \N ad162e61-ede5-4d20-a770-32e36ff7a17a 2024-12-12 05:23:03.661 MODATA ROMMR ROMANIA 0.000000000000 \N OPEN 2024-11-27 09:11:10.608 0.000000000000 \N 0.000000000000 1.000000000000 1.000000000000 3 \N 5 12 \N 1 2 \N 2024-12-27 09:11:10.607 0.000000000000 kibi mebibyte 74 \N TEST_ROMANIA \N \N 4 1 -1 \N 1 1 -6 -7 1 e12af1e0-3977-47bc-9e1b-b705e5fb40ee \N \N \N +148 W 0 2024-12-12 16:30:15.004 2024-12-12 16:30:15.004 USG_MODATA_ALLOW_TOP_UP_TEST_ROMANIA_200.000000000000_MB_e3Eoq0 Data Usage Allowance 0.000000000000 0.000000000000 0.000000000000 \N ad162e61-ede5-4d20-a770-32e36ff7a17a 2024-12-12 16:30:14.798 MODATA ROMMR ROMANIA 0.000000000000 \N OPEN 2024-11-27 09:11:10.608 0.000000000000 \N 0.000000000000 1.000000000000 1.000000000000 3 \N 5 12 \N 1 2 \N 2024-12-27 09:11:10.607 0.000000000000 kibi mebibyte 98 \N TEST_ROMANIA \N \N 4 1 -1 \N 1 1 -6 -7 1 90a98c62-9287-48ef-bcc1-179f6149acd9 \N \N \N +149 W 0 2024-12-18 13:51:21.066 2024-12-18 13:51:21.066 USG_MODATA_ALLOW_TOP_UP_TEST_ROMANIA_200.000000000000_MB_e3Eoq0 Data Usage Allowance 0.000000000000 0.000000000000 0.000000000000 \N ad162e61-ede5-4d20-a770-32e36ff7a17a 2024-12-18 13:51:20.881 MODATA ROMMR ROMANIA 0.000000000000 \N OPEN 2024-11-27 09:11:10.608 0.000000000000 \N 0.000000000000 1.000000000000 1.000000000000 3 \N 5 12 \N 1 2 \N 2024-12-27 09:11:10.607 0.000000000000 kibi mebibyte 101 \N TEST_ROMANIA \N \N 4 1 -1 \N 1 1 -6 -7 1 d1aaf6cb-07d7-43cf-a93a-f619ee95eda0 \N \N \N +150 W 0 2024-12-18 13:55:27.515 2024-12-18 13:55:27.515 USG_MODATA_ALLOW_TOP_UP_TEST_ROMANIA_200.000000000000_MB_e3Eoq0 Data Usage Allowance 0.000000000000 0.000000000000 0.000000000000 \N ad162e61-ede5-4d20-a770-32e36ff7a17a 2024-12-18 13:55:27.315 MODATA ROMMR ROMANIA 0.000000000000 \N OPEN 2024-11-27 09:11:10.608 0.000000000000 \N 0.000000000000 1.000000000000 1.000000000000 3 \N 5 12 \N 1 2 \N 2024-12-27 09:11:10.607 0.000000000000 kibi mebibyte 104 \N TEST_ROMANIA \N \N 4 1 -1 \N 1 1 -6 -7 1 aae8171b-0cc0-46d0-92a8-e8a7070aef2b \N \N \N +\. + + +-- +-- Data for Name: billing_wallet_operation_other; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.billing_wallet_operation_other (id, operation_type, version, created, updated, code, description, amount_tax, amount_with_tax, amount_without_tax, end_date, offer_code, operation_date, parameter_1, parameter_2, parameter_3, quantity, start_date, status, subscription_date, tax_percent, credit_debit_flag, unit_amount_tax, unit_amount_with_tax, unit_amount_without_tax, charge_instance_id, counter_id, currency_id, priceplan_id, reratedwalletoperation_id, seller_id, wallet_id, reservation_id, invoicing_date, input_quantity, input_unit_description, rating_unit_description, edr_id, order_number, parameter_extra, raw_amount_without_tax, raw_amount_with_tax, invoice_sub_category_id, subscription_id, tax_id, rated_transaction_id, service_instance_id, offer_id, input_unitofmeasure, rating_unitofmeasure, tax_class_id, uuid, cf_values, cf_values_accum, sort_index) FROM stdin; +\. + + +-- +-- Data for Name: cat_bundle_product_template; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.cat_bundle_product_template (id, product_template_id, bundle_template_id, quantity) FROM stdin; +\. + + +-- +-- Data for Name: cat_business_offer_model; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.cat_business_offer_model (id, offer_template_id) FROM stdin; +\. + + +-- +-- Data for Name: cat_business_product_model; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.cat_business_product_model (id, product_template_id) FROM stdin; +\. + + +-- +-- Data for Name: cat_business_serv_model; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.cat_business_serv_model (id, service_template_id, duplicate_service, duplicate_price_plan) FROM stdin; +\. + + +-- +-- Data for Name: cat_calendar; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.cat_calendar (cal_type, id, version, created, updated, code, description, nb_periods, period_length, period_unit, calendar, join_type, interval_type, creator, updater, join_cal_1_id, join_cal_2_id, start_date, end_date, weekend_begin, weekend_end) FROM stdin; +YEARLY -1 0 2015-03-19 00:04:19.284 \N MONTHLY Monthly Calendar \N \N \N \N \N \N \N \N \N \N \N \N \N \N +PERIOD -2 0 2015-03-19 00:04:19.568 \N One period One period Calendar 1 7 5 \N \N \N \N \N \N \N \N \N \N \N +PERIOD -3 0 2015-03-19 00:04:19.591 \N Multi period Multi period Calendar 6 7 5 \N \N \N \N \N \N \N \N \N \N \N +BANKING -4 0 2018-11-20 07:40:45.183 \N FR_BANKING_CAL_2018 France bank calendar 2018 \N \N \N \N \N \N \N \N \N \N 2018-01-01 2018-12-31 6 7 +BANKING -5 0 2018-12-07 11:07:45.183 \N FR_BANKING_CAL_2019 France bank calendar 2019 \N \N \N \N \N \N \N \N \N \N 2019-01-01 2019-12-31 6 7 +PERIOD 4 1 2024-11-27 08:57:42.198 \N Month_1 \N 0 1 2 \N \N \N development@simfony.com \N \N \N \N \N \N \N +\. + + +-- +-- Data for Name: cat_calendar_days; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.cat_calendar_days (calendar_id, day_id) FROM stdin; +-1 1 +-1 101 +-1 201 +-1 301 +-1 401 +-1 501 +-1 601 +-1 701 +-1 801 +-1 901 +-1 1001 +-1 1101 +\. + + +-- +-- Data for Name: cat_calendar_holiday; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.cat_calendar_holiday (id, version, holiday_begin, holiday_end, calendar_id) FROM stdin; +-1 0 101 101 -4 +-2 0 330 330 -4 +-3 0 402 402 -4 +-4 0 501 501 -4 +-5 0 1225 1226 -4 +-6 0 101 101 -5 +-7 0 419 419 -5 +-8 0 422 422 -5 +-9 0 501 501 -5 +-10 0 1225 1226 -5 +\. + + +-- +-- Data for Name: cat_calendar_hours; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.cat_calendar_hours (calendar_id, hour_id) FROM stdin; +\. + + +-- +-- Data for Name: cat_calendar_interval; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.cat_calendar_interval (id, version, interval_begin, interval_end, calendar_id) FROM stdin; +\. + + +-- +-- Data for Name: cat_channel; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.cat_channel (id, version, disabled, created, updated, code, description, creator, updater) FROM stdin; +\. + + +-- +-- Data for Name: cat_charge_template; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.cat_charge_template (id, version, disabled, created, updated, code, description, amount_editable, credit_debit_flag, creator, updater, invoice_sub_category, input_unit_description, rating_unit_description, unit_multiplicator, unit_nb_decimal, uuid, rounding_mode, revenue_recog_rule_id, cf_values, cf_values_accum, description_i18n, charge_type, filter_expression, filter_param_1, filter_param_2, filter_param_3, filter_param_4, filter_el_sp, priority, trigger_next_charge, trigger_next_charge_el, apply_in_advance, duration_term_in_month, recurrence_type, share_level, subscription_prorata, termination_prorata, calendar_id, subscription_prorata_el, termination_prorata_el, apply_in_advance_el, duration_term_in_month_el, calendar_code_el, immediate_invoicing, type, prorata_on_price_change, input_unitofmeasure, rating_unitofmeasure, input_unit_el, output_unit_el, tax_class_id, tax_class_el, tax_class_el_sp, drop_zero_wo, rating_script_id, sort_index_el) FROM stdin; +1 0 0 2024-01-31 09:51:23.058 \N ONE_SHOT_ADJUSTMENT_CREDIT \N 0 \N public.superadmin \N 11 \N \N \N 1 c9d6d576-b7f3-4be0-9c18-42176cc7d9f9 NEAREST \N \N \N {} O \N \N \N \N \N \N 1 0 \N \N \N \N \N \N \N \N \N \N \N \N \N 1 OTHER 0 \N \N \N \N 1 \N \N 0 \N \N +2 0 0 2024-01-31 09:54:13.387 \N ONE_SHOT_ADJUSTMENT_DEBIT \N 0 \N public.superadmin \N 11 \N \N \N 0 bea8b643-e17f-4230-b487-52a55af7d875 NEAREST \N \N \N {} O \N \N \N \N \N \N 1 0 \N \N \N \N \N \N \N \N \N \N \N \N \N 1 OTHER 0 \N \N \N \N 1 \N \N 0 \N \N +3 0 0 2024-01-31 09:57:32.204 \N DEFAULT_POSTPAID_MODATA \N 0 \N public.superadmin \N 12 \N \N 0.001000000000 12 2aa5255f-f1d2-4929-8dbe-9bde5c0f4891 NEAREST \N \N \N {} U \N MODATA \N \N \N \N 99 0 \N \N \N \N \N \N \N \N \N \N \N \N \N 0 \N 0 -2 -3 \N \N 1 \N \N 0 \N \N +4 0 0 2024-01-31 09:59:39.364 \N DEFAULT_POSTPAID_MOSMS \N 0 \N public.superadmin \N 13 \N \N \N 12 2d15faad-3810-405a-a03f-a9796529dd74 NEAREST \N \N \N {} U \N MOSMS \N \N \N \N 99 0 \N \N \N \N \N \N \N \N \N \N \N \N \N 0 \N 0 \N \N \N \N 1 \N \N 0 \N \N +5 0 0 2024-01-31 10:01:44.798 \N DEFAULT_PREPAID_MODATA \N 0 \N public.superadmin \N 15 \N \N 0.001000000000 12 d977deab-c219-45d6-8991-f196783dfa47 NEAREST \N \N \N {} U \N MODATA \N \N \N \N 99 0 \N \N \N \N \N \N \N \N \N \N \N \N \N 0 \N 0 -2 -3 \N \N 1 \N \N 0 \N \N +6 0 0 2024-01-31 10:04:05.139 \N DEFAULT_PREPAID_MOSMS \N 0 \N public.superadmin \N 16 \N \N \N 12 4a98e21e-c205-434b-a1f2-f423f4efc6ac NEAREST \N \N \N {} U \N MOSMS \N \N \N \N 99 0 \N \N \N \N \N \N \N \N \N \N \N \N \N 0 \N 0 \N \N \N \N 1 \N \N 0 \N \N +7 0 0 2024-11-27 08:57:36.536 \N REC_SUB_1.000000000000_A00Drr Monthly Fee \N \N development@simfony.com \N 21 \N \N \N 12 b1779b3d-032d-4d37-a77e-c61687bbae8b NEAREST \N \N \N \N R \N \N \N \N \N \N 1 0 \N 0 \N CALENDAR \N 0 0 -1 \N \N \N \N \N 0 \N 0 \N \N \N \N 1 \N \N 0 \N \N +12 3 0 2024-11-27 09:09:13.165 \N USG_MODATA_ALLOW_TOP_UP_TEST_ROMANIA_200.000000000000_MB_e3Eoq0 Data Usage Allowance \N \N development@simfony.com \N 4 \N \N 0.000976562500 12 c59b0f64-70b0-4a11-9b05-408a37f39d6e NEAREST \N {"IS_ALLOWANCE":[{"boolean":true}],"IS_LIMIT":[{"boolean":false}]} \N {} U \N MODATA \N \N TEST_ROMANIA \N 15 0 \N \N \N \N \N \N \N \N \N \N \N \N \N 0 \N 0 -6 -7 \N \N 1 \N \N 1 \N \N +8 2 0 2024-11-27 08:57:38.471 \N USG_MODATA_USAGE_TEST_ROMANIA_0.007000000000_MB_2nmmYW Data Usage \N \N development@simfony.com \N 12 \N \N 0.000976562500 12 51bdee40-21f8-40a6-9ef7-a596c7feeb94 NEAREST \N {"IS_ALLOWANCE":[{"boolean":false}],"IS_LIMIT":[{"boolean":false}]} \N \N U \N MODATA \N \N TEST_ROMANIA \N 25 0 \N \N \N \N \N \N \N \N \N \N \N \N \N 0 \N 0 -6 -7 \N \N 1 \N \N 1 \N \N +9 2 0 2024-11-27 08:57:39.751 \N USG_MODATA_ALLOW_TOP_UP_TEST_ROMANIA_200.000000000000_MB_2nNQ1n Data Usage Allowance \N \N development@simfony.com \N 4 \N \N 0.000976562500 12 f2b4e574-3323-4b21-ace2-f91335f3b62c NEAREST \N {"IS_ALLOWANCE":[{"boolean":true}],"IS_LIMIT":[{"boolean":false}]} \N \N U \N MODATA \N \N TEST_ROMANIA \N 15 0 \N \N \N \N \N \N \N \N \N \N \N \N \N 0 \N 0 -6 -7 \N \N 1 \N \N 1 \N \N +10 2 0 2024-11-27 08:57:40.56 \N REC_MODATA_ALLOW_TOP_UP_TEST_ROMANIA_200.000000000000_MB_7maZR7 Data Allowance \N \N development@simfony.com \N 4 \N \N 1.000000000000 12 46bc8b8f-59c6-4195-b846-07fa6061aab1 NEAREST \N {"IS_ALLOWANCE":[{"boolean":true}],"IS_LIMIT":[{"boolean":false}]} \N \N R \N \N \N \N \N \N 1 0 \N 1 \N CALENDAR \N 0 0 -1 \N \N \N \N \N 0 \N 0 -7 -7 \N \N 1 \N \N 0 \N \N +11 0 0 2024-11-27 09:09:12.406 \N REC_SUB_2.000000000000_yiWyKn Monthly Fee \N \N development@simfony.com \N 21 \N \N \N 12 85a4a3f0-af75-4e4e-b847-5fa9346422fe NEAREST \N \N \N \N R \N \N \N \N \N \N 1 0 \N 0 \N CALENDAR \N 0 0 -1 \N \N \N \N \N 0 \N 0 \N \N \N \N 1 \N \N 0 \N \N +13 2 0 2024-11-27 09:09:13.942 \N REC_MODATA_ALLOW_TOP_UP_TEST_ROMANIA_200.000000000000_MB_53qp9S Data Allowance \N \N development@simfony.com \N 4 \N \N 1.000000000000 12 d40d917c-dfc9-443e-ba0f-f75e3140230c NEAREST \N {"IS_ALLOWANCE":[{"boolean":true}],"IS_LIMIT":[{"boolean":false}]} \N \N R \N \N \N \N \N \N 1 0 \N 1 \N CALENDAR \N 0 0 -1 \N \N \N \N \N 0 \N 0 -7 -7 \N \N 1 \N \N 0 \N \N +\. + + +-- +-- Data for Name: cat_chrg_edr; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.cat_chrg_edr (charge_tmpl_id, trigg_edr_id) FROM stdin; +\. + + +-- +-- Data for Name: cat_counter_template; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.cat_counter_template (id, version, disabled, created, updated, code, description, counter_level, counter_type, level_num, unity_description, creator, updater, calendar_id, ceiling_expression_el, notification_levels, is_accumulator, calendar_code_el, accumulator_type, filter_el, key_el, value_el) FROM stdin; +\. + + +-- +-- Data for Name: cat_day_in_year; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.cat_day_in_year (id, created, updated, version, day, month, creator, updater) FROM stdin; +1 2015-03-19 00:04:10.495 \N 1 1 JANUARY \N \N +2 2015-03-19 00:04:10.516 \N 1 2 JANUARY \N \N +3 2015-03-19 00:04:10.536 \N 1 3 JANUARY \N \N +4 2015-03-19 00:04:10.558 \N 1 4 JANUARY \N \N +5 2015-03-19 00:04:10.578 \N 1 5 JANUARY \N \N +6 2015-03-19 00:04:10.599 \N 1 6 JANUARY \N \N +7 2015-03-19 00:04:10.621 \N 1 7 JANUARY \N \N +8 2015-03-19 00:04:10.643 \N 1 8 JANUARY \N \N +9 2015-03-19 00:04:10.668 \N 1 9 JANUARY \N \N +10 2015-03-19 00:04:10.69 \N 1 10 JANUARY \N \N +11 2015-03-19 00:04:10.711 \N 1 11 JANUARY \N \N +12 2015-03-19 00:04:10.732 \N 1 12 JANUARY \N \N +13 2015-03-19 00:04:10.752 \N 1 13 JANUARY \N \N +14 2015-03-19 00:04:10.775 \N 1 14 JANUARY \N \N +15 2015-03-19 00:04:10.796 \N 1 15 JANUARY \N \N +16 2015-03-19 00:04:10.816 \N 1 16 JANUARY \N \N +17 2015-03-19 00:04:10.838 \N 1 17 JANUARY \N \N +18 2015-03-19 00:04:11 \N 1 18 JANUARY \N \N +19 2015-03-19 00:04:11.023 \N 1 19 JANUARY \N \N +20 2015-03-19 00:04:11.044 \N 1 20 JANUARY \N \N +21 2015-03-19 00:04:11.065 \N 1 21 JANUARY \N \N +22 2015-03-19 00:04:11.087 \N 1 22 JANUARY \N \N +23 2015-03-19 00:04:11.108 \N 1 23 JANUARY \N \N +24 2015-03-19 00:04:11.128 \N 1 24 JANUARY \N \N +25 2015-03-19 00:04:11.149 \N 1 25 JANUARY \N \N +26 2015-03-19 00:04:11.171 \N 1 26 JANUARY \N \N +27 2015-03-19 00:04:11.193 \N 1 27 JANUARY \N \N +28 2015-03-19 00:04:11.214 \N 1 28 JANUARY \N \N +29 2015-03-19 00:04:11.236 \N 1 29 JANUARY \N \N +30 2015-03-19 00:04:11.257 \N 1 30 JANUARY \N \N +31 2015-03-19 00:04:11.278 \N 1 31 JANUARY \N \N +101 2015-03-19 00:04:11.3 \N 1 1 FEBRUARY \N \N +102 2015-03-19 00:04:11.325 \N 1 2 FEBRUARY \N \N +103 2015-03-19 00:04:11.346 \N 1 3 FEBRUARY \N \N +104 2015-03-19 00:04:11.368 \N 1 4 FEBRUARY \N \N +105 2015-03-19 00:04:11.389 \N 1 5 FEBRUARY \N \N +106 2015-03-19 00:04:11.41 \N 1 6 FEBRUARY \N \N +107 2015-03-19 00:04:11.432 \N 1 7 FEBRUARY \N \N +108 2015-03-19 00:04:11.453 \N 1 8 FEBRUARY \N \N +109 2015-03-19 00:04:11.474 \N 1 9 FEBRUARY \N \N +110 2015-03-19 00:04:11.495 \N 1 10 FEBRUARY \N \N +111 2015-03-19 00:04:11.516 \N 1 11 FEBRUARY \N \N +112 2015-03-19 00:04:11.538 \N 1 12 FEBRUARY \N \N +113 2015-03-19 00:04:11.56 \N 1 13 FEBRUARY \N \N +114 2015-03-19 00:04:11.581 \N 1 14 FEBRUARY \N \N +115 2015-03-19 00:04:11.602 \N 1 15 FEBRUARY \N \N +116 2015-03-19 00:04:11.622 \N 1 16 FEBRUARY \N \N +117 2015-03-19 00:04:11.644 \N 1 17 FEBRUARY \N \N +118 2015-03-19 00:04:11.671 \N 1 18 FEBRUARY \N \N +119 2015-03-19 00:04:11.691 \N 1 19 FEBRUARY \N \N +120 2015-03-19 00:04:11.712 \N 1 20 FEBRUARY \N \N +121 2015-03-19 00:04:11.735 \N 1 21 FEBRUARY \N \N +122 2015-03-19 00:04:11.755 \N 1 22 FEBRUARY \N \N +123 2015-03-19 00:04:11.777 \N 1 23 FEBRUARY \N \N +124 2015-03-19 00:04:11.799 \N 1 24 FEBRUARY \N \N +125 2015-03-19 00:04:11.82 \N 1 25 FEBRUARY \N \N +126 2015-03-19 00:04:11.84 \N 1 26 FEBRUARY \N \N +127 2015-03-19 00:04:11.863 \N 1 27 FEBRUARY \N \N +128 2015-03-19 00:04:11.888 \N 1 28 FEBRUARY \N \N +129 2015-03-19 00:04:11.908 \N 1 29 FEBRUARY \N \N +201 2015-03-19 00:04:11.931 \N 1 1 MARCH \N \N +202 2015-03-19 00:04:11.952 \N 1 2 MARCH \N \N +203 2015-03-19 00:04:11.973 \N 1 3 MARCH \N \N +204 2015-03-19 00:04:11.995 \N 1 4 MARCH \N \N +205 2015-03-19 00:04:12.015 \N 1 5 MARCH \N \N +206 2015-03-19 00:04:12.037 \N 1 6 MARCH \N \N +207 2015-03-19 00:04:12.057 \N 1 7 MARCH \N \N +208 2015-03-19 00:04:12.08 \N 1 8 MARCH \N \N +209 2015-03-19 00:04:12.101 \N 1 9 MARCH \N \N +210 2015-03-19 00:04:12.123 \N 1 10 MARCH \N \N +211 2015-03-19 00:04:12.144 \N 1 11 MARCH \N \N +212 2015-03-19 00:04:12.17 \N 1 12 MARCH \N \N +213 2015-03-19 00:04:12.191 \N 1 13 MARCH \N \N +214 2015-03-19 00:04:12.213 \N 1 14 MARCH \N \N +215 2015-03-19 00:04:12.234 \N 1 15 MARCH \N \N +216 2015-03-19 00:04:12.256 \N 1 16 MARCH \N \N +217 2015-03-19 00:04:12.277 \N 1 17 MARCH \N \N +218 2015-03-19 00:04:12.298 \N 1 18 MARCH \N \N +219 2015-03-19 00:04:12.32 \N 1 19 MARCH \N \N +220 2015-03-19 00:04:12.34 \N 1 20 MARCH \N \N +221 2015-03-19 00:04:12.362 \N 1 21 MARCH \N \N +222 2015-03-19 00:04:12.388 \N 1 22 MARCH \N \N +223 2015-03-19 00:04:12.409 \N 1 23 MARCH \N \N +224 2015-03-19 00:04:12.431 \N 1 24 MARCH \N \N +225 2015-03-19 00:04:12.453 \N 1 25 MARCH \N \N +226 2015-03-19 00:04:12.473 \N 1 26 MARCH \N \N +227 2015-03-19 00:04:12.495 \N 1 27 MARCH \N \N +228 2015-03-19 00:04:12.515 \N 1 28 MARCH \N \N +229 2015-03-19 00:04:12.537 \N 1 29 MARCH \N \N +230 2015-03-19 00:04:12.558 \N 1 30 MARCH \N \N +231 2015-03-19 00:04:12.58 \N 1 31 MARCH \N \N +301 2015-03-19 00:04:12.601 \N 1 1 APRIL \N \N +302 2015-03-19 00:04:12.622 \N 1 2 APRIL \N \N +303 2015-03-19 00:04:12.643 \N 1 3 APRIL \N \N +304 2015-03-19 00:04:12.669 \N 1 4 APRIL \N \N +305 2015-03-19 00:04:12.69 \N 1 5 APRIL \N \N +306 2015-03-19 00:04:12.711 \N 1 6 APRIL \N \N +307 2015-03-19 00:04:12.735 \N 1 7 APRIL \N \N +308 2015-03-19 00:04:12.756 \N 1 8 APRIL \N \N +309 2015-03-19 00:04:12.777 \N 1 9 APRIL \N \N +310 2015-03-19 00:04:12.799 \N 1 10 APRIL \N \N +311 2015-03-19 00:04:12.826 \N 1 11 APRIL \N \N +312 2015-03-19 00:04:12.847 \N 1 12 APRIL \N \N +313 2015-03-19 00:04:12.869 \N 1 13 APRIL \N \N +314 2015-03-19 00:04:12.89 \N 1 14 APRIL \N \N +315 2015-03-19 00:04:12.91 \N 1 15 APRIL \N \N +316 2015-03-19 00:04:12.933 \N 1 16 APRIL \N \N +317 2015-03-19 00:04:12.954 \N 1 17 APRIL \N \N +318 2015-03-19 00:04:12.975 \N 1 18 APRIL \N \N +319 2015-03-19 00:04:12.997 \N 1 19 APRIL \N \N +320 2015-03-19 00:04:13.017 \N 1 20 APRIL \N \N +321 2015-03-19 00:04:13.044 \N 1 21 APRIL \N \N +322 2015-03-19 00:04:13.064 \N 1 22 APRIL \N \N +323 2015-03-19 00:04:13.085 \N 1 23 APRIL \N \N +324 2015-03-19 00:04:13.107 \N 1 24 APRIL \N \N +325 2015-03-19 00:04:13.128 \N 1 25 APRIL \N \N +326 2015-03-19 00:04:13.149 \N 1 26 APRIL \N \N +327 2015-03-19 00:04:13.171 \N 1 27 APRIL \N \N +328 2015-03-19 00:04:13.192 \N 1 28 APRIL \N \N +329 2015-03-19 00:04:13.213 \N 1 29 APRIL \N \N +330 2015-03-19 00:04:13.234 \N 1 30 APRIL \N \N +401 2015-03-19 00:04:13.255 \N 1 1 MAY \N \N +402 2015-03-19 00:04:13.276 \N 1 2 MAY \N \N +403 2015-03-19 00:04:13.297 \N 1 3 MAY \N \N +404 2015-03-19 00:04:13.318 \N 1 4 MAY \N \N +405 2015-03-19 00:04:13.339 \N 1 5 MAY \N \N +406 2015-03-19 00:04:13.359 \N 1 6 MAY \N \N +407 2015-03-19 00:04:13.38 \N 1 7 MAY \N \N +408 2015-03-19 00:04:13.402 \N 1 8 MAY \N \N +409 2015-03-19 00:04:13.423 \N 1 9 MAY \N \N +410 2015-03-19 00:04:13.444 \N 1 10 MAY \N \N +411 2015-03-19 00:04:13.464 \N 1 11 MAY \N \N +412 2015-03-19 00:04:13.486 \N 1 12 MAY \N \N +413 2015-03-19 00:04:13.507 \N 1 13 MAY \N \N +414 2015-03-19 00:04:13.528 \N 1 14 MAY \N \N +415 2015-03-19 00:04:13.55 \N 1 15 MAY \N \N +416 2015-03-19 00:04:13.576 \N 1 16 MAY \N \N +417 2015-03-19 00:04:13.596 \N 1 17 MAY \N \N +418 2015-03-19 00:04:13.618 \N 1 18 MAY \N \N +419 2015-03-19 00:04:13.639 \N 1 19 MAY \N \N +420 2015-03-19 00:04:13.661 \N 1 20 MAY \N \N +421 2015-03-19 00:04:13.682 \N 1 21 MAY \N \N +422 2015-03-19 00:04:13.704 \N 1 22 MAY \N \N +423 2015-03-19 00:04:13.725 \N 1 23 MAY \N \N +424 2015-03-19 00:04:13.746 \N 1 24 MAY \N \N +425 2015-03-19 00:04:13.767 \N 1 25 MAY \N \N +426 2015-03-19 00:04:13.789 \N 1 26 MAY \N \N +427 2015-03-19 00:04:13.81 \N 1 27 MAY \N \N +428 2015-03-19 00:04:13.831 \N 1 28 MAY \N \N +429 2015-03-19 00:04:13.857 \N 1 29 MAY \N \N +430 2015-03-19 00:04:13.879 \N 1 30 MAY \N \N +431 2015-03-19 00:04:13.899 \N 1 31 MAY \N \N +501 2015-03-19 00:04:13.921 \N 1 1 JUNE \N \N +502 2015-03-19 00:04:13.942 \N 1 2 JUNE \N \N +503 2015-03-19 00:04:13.962 \N 1 3 JUNE \N \N +504 2015-03-19 00:04:13.984 \N 1 4 JUNE \N \N +505 2015-03-19 00:04:14.005 \N 1 5 JUNE \N \N +506 2015-03-19 00:04:14.026 \N 1 6 JUNE \N \N +507 2015-03-19 00:04:14.047 \N 1 7 JUNE \N \N +508 2015-03-19 00:04:14.068 \N 1 8 JUNE \N \N +509 2015-03-19 00:04:14.09 \N 1 9 JUNE \N \N +510 2015-03-19 00:04:14.11 \N 1 10 JUNE \N \N +511 2015-03-19 00:04:14.131 \N 1 11 JUNE \N \N +512 2015-03-19 00:04:14.151 \N 1 12 JUNE \N \N +513 2015-03-19 00:04:14.174 \N 1 13 JUNE \N \N +514 2015-03-19 00:04:14.199 \N 1 14 JUNE \N \N +515 2015-03-19 00:04:14.221 \N 1 15 JUNE \N \N +516 2015-03-19 00:04:14.243 \N 1 16 JUNE \N \N +517 2015-03-19 00:04:14.265 \N 1 17 JUNE \N \N +518 2015-03-19 00:04:14.288 \N 1 18 JUNE \N \N +519 2015-03-19 00:04:14.309 \N 1 19 JUNE \N \N +520 2015-03-19 00:04:14.329 \N 1 20 JUNE \N \N +521 2015-03-19 00:04:14.352 \N 1 21 JUNE \N \N +522 2015-03-19 00:04:14.374 \N 1 22 JUNE \N \N +523 2015-03-19 00:04:14.394 \N 1 23 JUNE \N \N +524 2015-03-19 00:04:14.421 \N 1 24 JUNE \N \N +525 2015-03-19 00:04:14.443 \N 1 25 JUNE \N \N +526 2015-03-19 00:04:14.464 \N 1 26 JUNE \N \N +527 2015-03-19 00:04:14.486 \N 1 27 JUNE \N \N +528 2015-03-19 00:04:14.507 \N 1 28 JUNE \N \N +529 2015-03-19 00:04:14.528 \N 1 29 JUNE \N \N +530 2015-03-19 00:04:14.549 \N 1 30 JUNE \N \N +601 2015-03-19 00:04:14.575 \N 1 1 JULY \N \N +602 2015-03-19 00:04:14.596 \N 1 2 JULY \N \N +603 2015-03-19 00:04:14.618 \N 1 3 JULY \N \N +604 2015-03-19 00:04:14.64 \N 1 4 JULY \N \N +605 2015-03-19 00:04:14.661 \N 1 5 JULY \N \N +606 2015-03-19 00:04:14.682 \N 1 6 JULY \N \N +607 2015-03-19 00:04:14.703 \N 1 7 JULY \N \N +608 2015-03-19 00:04:14.725 \N 1 8 JULY \N \N +609 2015-03-19 00:04:14.747 \N 1 9 JULY \N \N +610 2015-03-19 00:04:14.768 \N 1 10 JULY \N \N +611 2015-03-19 00:04:14.789 \N 1 11 JULY \N \N +612 2015-03-19 00:04:14.811 \N 1 12 JULY \N \N +613 2015-03-19 00:04:14.832 \N 1 13 JULY \N \N +614 2015-03-19 00:04:14.856 \N 1 14 JULY \N \N +615 2015-03-19 00:04:14.878 \N 1 15 JULY \N \N +616 2015-03-19 00:04:14.899 \N 1 16 JULY \N \N +617 2015-03-19 00:04:14.92 \N 1 17 JULY \N \N +618 2015-03-19 00:04:14.942 \N 1 18 JULY \N \N +619 2015-03-19 00:04:14.963 \N 1 19 JULY \N \N +620 2015-03-19 00:04:14.983 \N 1 20 JULY \N \N +621 2015-03-19 00:04:15.005 \N 1 21 JULY \N \N +622 2015-03-19 00:04:15.027 \N 1 22 JULY \N \N +623 2015-03-19 00:04:15.048 \N 1 23 JULY \N \N +624 2015-03-19 00:04:15.069 \N 1 24 JULY \N \N +625 2015-03-19 00:04:15.091 \N 1 25 JULY \N \N +626 2015-03-19 00:04:15.132 \N 1 26 JULY \N \N +627 2015-03-19 00:04:15.153 \N 1 27 JULY \N \N +628 2015-03-19 00:04:15.175 \N 1 28 JULY \N \N +629 2015-03-19 00:04:15.2 \N 1 29 JULY \N \N +630 2015-03-19 00:04:15.22 \N 1 30 JULY \N \N +631 2015-03-19 00:04:15.243 \N 1 31 JULY \N \N +701 2015-03-19 00:04:15.264 \N 1 1 AUGUST \N \N +702 2015-03-19 00:04:15.286 \N 1 2 AUGUST \N \N +703 2015-03-19 00:04:15.307 \N 1 3 AUGUST \N \N +704 2015-03-19 00:04:15.328 \N 1 4 AUGUST \N \N +705 2015-03-19 00:04:15.349 \N 1 5 AUGUST \N \N +706 2015-03-19 00:04:15.371 \N 1 6 AUGUST \N \N +707 2015-03-19 00:04:15.392 \N 1 7 AUGUST \N \N +708 2015-03-19 00:04:15.419 \N 1 8 AUGUST \N \N +709 2015-03-19 00:04:15.44 \N 1 9 AUGUST \N \N +710 2015-03-19 00:04:15.462 \N 1 10 AUGUST \N \N +711 2015-03-19 00:04:15.482 \N 1 11 AUGUST \N \N +712 2015-03-19 00:04:15.503 \N 1 12 AUGUST \N \N +713 2015-03-19 00:04:15.525 \N 1 13 AUGUST \N \N +714 2015-03-19 00:04:15.546 \N 1 14 AUGUST \N \N +715 2015-03-19 00:04:15.567 \N 1 15 AUGUST \N \N +716 2015-03-19 00:04:15.589 \N 1 16 AUGUST \N \N +717 2015-03-19 00:04:15.612 \N 1 17 AUGUST \N \N +718 2015-03-19 00:04:15.633 \N 1 18 AUGUST \N \N +719 2015-03-19 00:04:15.654 \N 1 19 AUGUST \N \N +720 2015-03-19 00:04:15.677 \N 1 20 AUGUST \N \N +721 2015-03-19 00:04:15.7 \N 1 21 AUGUST \N \N +722 2015-03-19 00:04:15.722 \N 1 22 AUGUST \N \N +723 2015-03-19 00:04:15.744 \N 1 23 AUGUST \N \N +724 2015-03-19 00:04:15.765 \N 1 24 AUGUST \N \N +725 2015-03-19 00:04:15.786 \N 1 25 AUGUST \N \N +726 2015-03-19 00:04:15.808 \N 1 26 AUGUST \N \N +727 2015-03-19 00:04:15.829 \N 1 27 AUGUST \N \N +728 2015-03-19 00:04:15.849 \N 1 28 AUGUST \N \N +729 2015-03-19 00:04:15.871 \N 1 29 AUGUST \N \N +730 2015-03-19 00:04:15.893 \N 1 30 AUGUST \N \N +731 2015-03-19 00:04:15.919 \N 1 31 AUGUST \N \N +801 2015-03-19 00:04:15.94 \N 1 1 SEPTEMBER \N \N +802 2015-03-19 00:04:15.962 \N 1 2 SEPTEMBER \N \N +803 2015-03-19 00:04:15.983 \N 1 3 SEPTEMBER \N \N +804 2015-03-19 00:04:16.004 \N 1 4 SEPTEMBER \N \N +805 2015-03-19 00:04:16.024 \N 1 5 SEPTEMBER \N \N +806 2015-03-19 00:04:16.046 \N 1 6 SEPTEMBER \N \N +807 2015-03-19 00:04:16.067 \N 1 7 SEPTEMBER \N \N +808 2015-03-19 00:04:16.09 \N 1 8 SEPTEMBER \N \N +809 2015-03-19 00:04:16.111 \N 1 9 SEPTEMBER \N \N +810 2015-03-19 00:04:16.132 \N 1 10 SEPTEMBER \N \N +811 2015-03-19 00:04:16.152 \N 1 11 SEPTEMBER \N \N +812 2015-03-19 00:04:16.174 \N 1 12 SEPTEMBER \N \N +813 2015-03-19 00:04:16.202 \N 1 13 SEPTEMBER \N \N +814 2015-03-19 00:04:16.413 \N 1 14 SEPTEMBER \N \N +815 2015-03-19 00:04:16.434 \N 1 15 SEPTEMBER \N \N +816 2015-03-19 00:04:16.455 \N 1 16 SEPTEMBER \N \N +817 2015-03-19 00:04:16.477 \N 1 17 SEPTEMBER \N \N +818 2015-03-19 00:04:16.498 \N 1 18 SEPTEMBER \N \N +819 2015-03-19 00:04:16.551 \N 1 19 SEPTEMBER \N \N +820 2015-03-19 00:04:16.615 \N 1 20 SEPTEMBER \N \N +821 2015-03-19 00:04:16.635 \N 1 21 SEPTEMBER \N \N +822 2015-03-19 00:04:16.657 \N 1 22 SEPTEMBER \N \N +823 2015-03-19 00:04:16.677 \N 1 23 SEPTEMBER \N \N +824 2015-03-19 00:04:16.698 \N 1 24 SEPTEMBER \N \N +825 2015-03-19 00:04:16.718 \N 1 25 SEPTEMBER \N \N +826 2015-03-19 00:04:16.74 \N 1 26 SEPTEMBER \N \N +827 2015-03-19 00:04:16.764 \N 1 27 SEPTEMBER \N \N +828 2015-03-19 00:04:16.786 \N 1 28 SEPTEMBER \N \N +829 2015-03-19 00:04:16.807 \N 1 29 SEPTEMBER \N \N +830 2015-03-19 00:04:16.97 \N 1 30 SEPTEMBER \N \N +901 2015-03-19 00:04:16.99 \N 1 1 OCTOBER \N \N +902 2015-03-19 00:04:17.012 \N 1 2 OCTOBER \N \N +903 2015-03-19 00:04:17.035 \N 1 3 OCTOBER \N \N +904 2015-03-19 00:04:17.056 \N 1 4 OCTOBER \N \N +905 2015-03-19 00:04:17.078 \N 1 5 OCTOBER \N \N +906 2015-03-19 00:04:17.098 \N 1 6 OCTOBER \N \N +907 2015-03-19 00:04:17.12 \N 1 7 OCTOBER \N \N +908 2015-03-19 00:04:17.141 \N 1 8 OCTOBER \N \N +909 2015-03-19 00:04:17.163 \N 1 9 OCTOBER \N \N +910 2015-03-19 00:04:17.184 \N 1 10 OCTOBER \N \N +911 2015-03-19 00:04:17.206 \N 1 11 OCTOBER \N \N +912 2015-03-19 00:04:17.231 \N 1 12 OCTOBER \N \N +913 2015-03-19 00:04:17.253 \N 1 13 OCTOBER \N \N +914 2015-03-19 00:04:17.273 \N 1 14 OCTOBER \N \N +915 2015-03-19 00:04:17.296 \N 1 15 OCTOBER \N \N +916 2015-03-19 00:04:17.318 \N 1 16 OCTOBER \N \N +917 2015-03-19 00:04:17.339 \N 1 17 OCTOBER \N \N +918 2015-03-19 00:04:17.359 \N 1 18 OCTOBER \N \N +919 2015-03-19 00:04:17.381 \N 1 19 OCTOBER \N \N +920 2015-03-19 00:04:17.403 \N 1 20 OCTOBER \N \N +921 2015-03-19 00:04:17.424 \N 1 21 OCTOBER \N \N +922 2015-03-19 00:04:17.451 \N 1 22 OCTOBER \N \N +923 2015-03-19 00:04:17.472 \N 1 23 OCTOBER \N \N +924 2015-03-19 00:04:17.493 \N 1 24 OCTOBER \N \N +925 2015-03-19 00:04:17.516 \N 1 25 OCTOBER \N \N +926 2015-03-19 00:04:17.536 \N 1 26 OCTOBER \N \N +927 2015-03-19 00:04:17.558 \N 1 27 OCTOBER \N \N +928 2015-03-19 00:04:17.579 \N 1 28 OCTOBER \N \N +929 2015-03-19 00:04:17.599 \N 1 29 OCTOBER \N \N +930 2015-03-19 00:04:17.621 \N 1 30 OCTOBER \N \N +931 2015-03-19 00:04:17.641 \N 1 31 OCTOBER \N \N +1001 2015-03-19 00:04:17.663 \N 1 1 NOVEMBER \N \N +1002 2015-03-19 00:04:17.683 \N 1 2 NOVEMBER \N \N +1003 2015-03-19 00:04:17.705 \N 1 3 NOVEMBER \N \N +1004 2015-03-19 00:04:17.729 \N 1 4 NOVEMBER \N \N +1005 2015-03-19 00:04:17.749 \N 1 5 NOVEMBER \N \N +1006 2015-03-19 00:04:17.771 \N 1 6 NOVEMBER \N \N +1007 2015-03-19 00:04:17.797 \N 1 7 NOVEMBER \N \N +1008 2015-03-19 00:04:17.818 \N 1 8 NOVEMBER \N \N +1009 2015-03-19 00:04:17.838 \N 1 9 NOVEMBER \N \N +1010 2015-03-19 00:04:17.86 \N 1 10 NOVEMBER \N \N +1011 2015-03-19 00:04:17.881 \N 1 11 NOVEMBER \N \N +1012 2015-03-19 00:04:17.903 \N 1 12 NOVEMBER \N \N +1013 2015-03-19 00:04:17.923 \N 1 13 NOVEMBER \N \N +1014 2015-03-19 00:04:17.946 \N 1 14 NOVEMBER \N \N +1015 2015-03-19 00:04:17.966 \N 1 15 NOVEMBER \N \N +1016 2015-03-19 00:04:17.988 \N 1 16 NOVEMBER \N \N +1017 2015-03-19 00:04:18.014 \N 1 17 NOVEMBER \N \N +1018 2015-03-19 00:04:18.036 \N 1 18 NOVEMBER \N \N +1019 2015-03-19 00:04:18.056 \N 1 19 NOVEMBER \N \N +1020 2015-03-19 00:04:18.078 \N 1 20 NOVEMBER \N \N +1021 2015-03-19 00:04:18.099 \N 1 21 NOVEMBER \N \N +1022 2015-03-19 00:04:18.121 \N 1 22 NOVEMBER \N \N +1023 2015-03-19 00:04:18.142 \N 1 23 NOVEMBER \N \N +1024 2015-03-19 00:04:18.169 \N 1 24 NOVEMBER \N \N +1025 2015-03-19 00:04:18.189 \N 1 25 NOVEMBER \N \N +1026 2015-03-19 00:04:18.211 \N 1 26 NOVEMBER \N \N +1027 2015-03-19 00:04:18.234 \N 1 27 NOVEMBER \N \N +1028 2015-03-19 00:04:18.255 \N 1 28 NOVEMBER \N \N +1029 2015-03-19 00:04:18.277 \N 1 29 NOVEMBER \N \N +1030 2015-03-19 00:04:18.298 \N 1 30 NOVEMBER \N \N +1101 2015-03-19 00:04:18.318 \N 1 1 DECEMBER \N \N +1102 2015-03-19 00:04:18.34 \N 1 2 DECEMBER \N \N +1103 2015-03-19 00:04:18.362 \N 1 3 DECEMBER \N \N +1104 2015-03-19 00:04:18.384 \N 1 4 DECEMBER \N \N +1105 2015-03-19 00:04:18.405 \N 1 5 DECEMBER \N \N +1106 2015-03-19 00:04:18.426 \N 1 6 DECEMBER \N \N +1107 2015-03-19 00:04:18.447 \N 1 7 DECEMBER \N \N +1108 2015-03-19 00:04:18.468 \N 1 8 DECEMBER \N \N +1109 2015-03-19 00:04:18.488 \N 1 9 DECEMBER \N \N +1110 2015-03-19 00:04:18.529 \N 1 10 DECEMBER \N \N +1111 2015-03-19 00:04:18.572 \N 1 11 DECEMBER \N \N +1112 2015-03-19 00:04:18.653 \N 1 12 DECEMBER \N \N +1113 2015-03-19 00:04:18.674 \N 1 13 DECEMBER \N \N +1114 2015-03-19 00:04:18.701 \N 1 14 DECEMBER \N \N +1115 2015-03-19 00:04:18.721 \N 1 15 DECEMBER \N \N +1116 2015-03-19 00:04:18.744 \N 1 16 DECEMBER \N \N +1117 2015-03-19 00:04:18.766 \N 1 17 DECEMBER \N \N +1118 2015-03-19 00:04:18.787 \N 1 18 DECEMBER \N \N +1119 2015-03-19 00:04:18.808 \N 1 19 DECEMBER \N \N +1120 2015-03-19 00:04:18.829 \N 1 20 DECEMBER \N \N +1121 2015-03-19 00:04:18.853 \N 1 21 DECEMBER \N \N +1122 2015-03-19 00:04:18.874 \N 1 22 DECEMBER \N \N +1123 2015-03-19 00:04:18.895 \N 1 23 DECEMBER \N \N +1124 2015-03-19 00:04:18.92 \N 1 24 DECEMBER \N \N +1125 2015-03-19 00:04:18.941 \N 1 25 DECEMBER \N \N +1126 2015-03-19 00:04:18.962 \N 1 26 DECEMBER \N \N +1127 2015-03-19 00:04:18.984 \N 1 27 DECEMBER \N \N +1128 2015-03-19 00:04:19.004 \N 1 28 DECEMBER \N \N +1129 2015-03-19 00:04:19.025 \N 1 29 DECEMBER \N \N +1130 2015-03-19 00:04:19.047 \N 1 30 DECEMBER \N \N +1131 2015-03-19 00:04:19.068 \N 1 31 DECEMBER \N \N +\. + + +-- +-- Data for Name: cat_digital_resource; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.cat_digital_resource (id, version, disabled, created, updated, code, description, creator, updater, uri, mime_type) FROM stdin; +\. + + +-- +-- Data for Name: cat_discount_plan; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.cat_discount_plan (id, version, disabled, created, updated, code, description, max_duration, min_duration, creator, updater, uuid, cf_values, cf_values_accum, start_date, end_date, default_duration, duration_unit) FROM stdin; +\. + + +-- +-- Data for Name: cat_discount_plan_item; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.cat_discount_plan_item (id, version, disabled, created, updated, accounting_code, code, discount_value, creator, updater, discount_plan_id, invoice_category_id, invoice_sub_category_id, expression_el, expression_el_sp, discount_value_el, discount_value_el_sp, discount_plan_item_type, uuid, cf_values, cf_values_accum) FROM stdin; +\. + + +-- +-- Data for Name: cat_hour_in_day; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.cat_hour_in_day (id, version, hour, min) FROM stdin; +\. + + +-- +-- Data for Name: cat_offer_product_template; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.cat_offer_product_template (id, offer_template_id, product_template_id, mandatory) FROM stdin; +\. + + +-- +-- Data for Name: cat_offer_serv_incomp; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.cat_offer_serv_incomp (offer_service_template_id, service_template_id) FROM stdin; +\. + + +-- +-- Data for Name: cat_offer_serv_templates; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.cat_offer_serv_templates (offer_template_id, service_template_id, id, mandatory, valid_from, valid_to) FROM stdin; +1 2 1 0 \N \N +\. + + +-- +-- Data for Name: cat_offer_template; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.cat_offer_template (id, version, disabled, created, updated, code, description, creator, updater, uuid, bom_code, termination_script_instance_id, subscription_script_instance_id, name, entity_version, status, business_offer_model_id, valid_from, valid_to, long_description, life_cycle_status, type, product_charge_tmpl_id, business_product_model_id, invoicing_calendar_id, image_path, cf_values, cf_values_accum, auto_renew, days_notify_renew, end_of_term_action, auto_termin_reason_id, init_active_unit, init_active, match_end_aggr_date, renew_for_unit, renew_for, description_i18n, long_description_i18n, script_instance_id, minimum_amount_el, minimum_amount_el_sp, minimum_label_el, minimum_label_el_sp, initial_term_type, auto_end_of_engagement, auto_renew_date, calendar_init_active_id, calendar_renew_for_id, renewal_term_type, minimum_invoice_sub_category_id, minimum_charge_template_id) FROM stdin; +1 2 0 2024-11-27 09:09:16.466 \N ad162e61-ede5-4d20-a770-32e36ff7a17a test_plan2 development@simfony.com \N 88d52176-96ed-4b56-9e08-daca95c7b9d2 \N \N \N TEST_PLAN2 \N \N \N \N \N \N ACTIVE OFFER \N \N \N \N \N \N 0 \N \N \N \N \N 0 \N \N {} {} \N \N \N \N \N RECURRING 0 \N \N \N RECURRING \N \N +\. + + +-- +-- Data for Name: cat_offer_template_category; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.cat_offer_template_category (id, version, disabled, created, updated, creator, updater, code, description, uuid, name, offer_template_category_id, level, image_path, cf_values, cf_values_accum) FROM stdin; +\. + + +-- +-- Data for Name: cat_offer_tmpl_discount_plan; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.cat_offer_tmpl_discount_plan (offer_tmpl_id, discount_plan_id) FROM stdin; +\. + + +-- +-- Data for Name: cat_price_plan_matrix; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.cat_price_plan_matrix (id, version, disabled, created, updated, code, description, amount_with_tax, amount_without_tax, criteria_1, criteria_2, criteria_3, criteria_el, criteria_el_sp, end_rating_date, end_subscription_date, event_code, max_quantity, max_subscr_age, min_quantity, min_subscr_age, priority, start_rating_date, start_subscription_date, creator, updater, offer_id, seller_id, trading_country_id, trading_currency_id, valid_cal_id, amount_without_tax_el, amount_without_tax_el_sp, amount_with_tax_el, amount_with_tax_el_sp, sequence, uuid, script_instance_id, cf_values, cf_values_accum, description_i18n, wo_description_el, wo_description_el_sp, invoice_subcategory_el, total_amount_el, minimum_amount_el, total_amount_el_sp, minimum_amount_el_sp, validity_from, validity_date, parameter1_el, parameter2_el, parameter3_el) FROM stdin; +1 0 0 2024-01-31 09:53:35.873 \N PP_ONE_SHOT_ADJUSTMENT_CREDIT_1 \N \N 1.000000000000 \N \N \N \N \N \N \N ONE_SHOT_ADJUSTMENT_CREDIT \N 9999 \N 0 1 \N \N public.superadmin \N \N \N \N \N \N \N \N \N \N 1 3b880852-4bbb-446f-ae65-cd5e2799d5a6 \N \N \N {} \N \N \N \N \N \N \N \N \N \N \N \N +2 0 0 2024-01-31 09:54:29.903 \N PP_ONE_SHOT_ADJUSTMENT_DEBIT_1 \N \N -1.000000000000 \N \N \N \N \N \N \N ONE_SHOT_ADJUSTMENT_DEBIT \N 9999 \N 0 1 \N \N public.superadmin \N \N \N \N \N \N \N \N \N \N 1 067a1385-2029-44b8-b1a8-5cc215b9c226 \N \N \N {} \N \N \N \N \N \N \N \N \N \N \N \N +3 1 0 2024-01-31 09:57:51.556 2024-01-31 09:58:43.362 PP_DEFAULT_POSTPAID_MODATA \N \N 0.000000000000 \N \N \N \N \N \N \N DEFAULT_POSTPAID_MODATA \N 9999 \N 0 1 \N \N public.superadmin public.superadmin \N \N \N \N \N \N \N \N \N 1 3803bc6f-61fa-4be2-96fd-088071f5c60c \N \N \N {} \N \N \N \N \N \N \N \N \N \N \N \N +4 0 0 2024-01-31 10:01:01.871 \N PP_DEFAULT_POSTPAID_MOSMS \N \N 0.000000000000 \N \N \N \N \N \N \N DEFAULT_POSTPAID_MOSMS \N 9999 \N 0 1 \N \N public.superadmin \N \N \N \N \N \N \N \N \N \N 1 70c9d1d8-8468-450f-8636-9edc328236a8 \N \N \N {} \N \N \N \N \N \N \N \N \N \N \N \N +5 0 0 2024-01-31 10:02:57.282 \N PP_DEFAULT_PREPAID_MODATA \N \N 0.000000000000 \N \N \N \N \N \N \N DEFAULT_PREPAID_MODATA \N 9999 \N 0 1 \N \N public.superadmin \N \N \N \N \N \N \N \N \N \N 1 a56a38cd-0a02-4b3b-999f-f7284d0b82ef \N \N \N {} \N \N \N \N \N \N \N \N \N \N \N \N +6 0 0 2024-01-31 10:04:54.7 \N PP_DEFAULT_PREPAID_MOSMS \N \N 0.000000000000 \N \N \N \N \N \N \N DEFAULT_PREPAID_MOSMS \N 9999 \N 0 1 \N \N public.superadmin \N \N \N \N \N \N \N \N \N \N 1 4808db2c-c2db-496c-9b5b-e5493218403a \N \N \N {} \N \N \N \N \N \N \N \N \N \N \N \N +7 0 0 2024-11-27 08:57:37.318 \N PP_REC_SUB_1.000000000000_A00Drr \N \N 1.000000000000 \N \N \N \N \N \N \N REC_SUB_1.000000000000_A00Drr \N \N \N \N 1 \N \N development@simfony.com \N \N \N \N \N \N \N \N \N \N \N f3ff2962-cfd0-4ee8-921b-38bf14c8a440 \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N +8 0 0 2024-11-27 08:57:39.145 \N PP_USG_MODATA_USAGE_TEST_ROMANIA_0.007000000000_MB_2nmmYW_1 \N \N 0.007000000000 \N \N \N \N \N \N \N USG_MODATA_USAGE_TEST_ROMANIA_0.007000000000_MB_2nmmYW \N \N \N \N 1 \N \N development@simfony.com \N \N \N \N \N \N \N \N \N \N \N f029b9eb-a9fb-43e7-a375-707f03f055d1 \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N +9 0 0 2024-11-27 08:57:39.927 \N PP_USG_MODATA_ALLOW_TOP_UP_TEST_ROMANIA_200.000000000000_MB_2nNQ1n_1 \N \N 1.000000000000 \N \N \N \N \N \N \N USG_MODATA_ALLOW_TOP_UP_TEST_ROMANIA_200.000000000000_MB_2nNQ1n \N \N \N \N 1 \N \N development@simfony.com \N \N \N \N \N \N \N \N \N \N \N 81429613-a3f9-4efc-8800-15c80d5566dc \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N +10 0 0 2024-11-27 08:57:40.736 \N PP_REC_MODATA_ALLOW_TOP_UP_TEST_ROMANIA_200.000000000000_MB_7maZR7 \N \N -200.000000000000 \N \N \N \N \N \N \N REC_MODATA_ALLOW_TOP_UP_TEST_ROMANIA_200.000000000000_MB_7maZR7 \N \N \N \N 1 \N \N development@simfony.com \N \N \N \N \N \N \N \N \N \N \N 0972902f-4cf5-431e-9350-422438a6623c \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N +11 0 0 2024-11-27 09:09:12.565 \N PP_REC_SUB_2.000000000000_yiWyKn \N \N 2.000000000000 \N \N \N \N \N \N \N REC_SUB_2.000000000000_yiWyKn \N \N \N \N 1 \N \N development@simfony.com \N \N \N \N \N \N \N \N \N \N \N 96e44b9f-7aef-4cb6-8829-9add8e5782b7 \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N +12 0 0 2024-11-27 09:09:13.334 \N PP_USG_MODATA_ALLOW_TOP_UP_TEST_ROMANIA_200.000000000000_MB_e3Eoq0_1 \N \N 1.000000000000 \N \N \N \N \N \N \N USG_MODATA_ALLOW_TOP_UP_TEST_ROMANIA_200.000000000000_MB_e3Eoq0 \N \N \N \N 1 \N \N development@simfony.com \N \N \N \N \N \N \N \N \N \N \N dbc954ab-ef2e-4510-9262-ce35c7ec69a7 \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N +13 0 0 2024-11-27 09:09:14.123 \N PP_REC_MODATA_ALLOW_TOP_UP_TEST_ROMANIA_200.000000000000_MB_53qp9S \N \N -200.000000000000 \N \N \N \N \N \N \N REC_MODATA_ALLOW_TOP_UP_TEST_ROMANIA_200.000000000000_MB_53qp9S \N \N \N \N 1 \N \N development@simfony.com \N \N \N \N \N \N \N \N \N \N \N 269f071f-2faa-4023-9552-71af4138ab87 \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N +\. + + +-- +-- Data for Name: cat_product_offer_bam; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.cat_product_offer_bam (product_id, bam_id, indx) FROM stdin; +\. + + +-- +-- Data for Name: cat_product_offer_channels; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.cat_product_offer_channels (product_id, channel_id, indx) FROM stdin; +\. + + +-- +-- Data for Name: cat_product_offer_customer_category; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.cat_product_offer_customer_category (product_id, customer_category_id, indx) FROM stdin; +\. + + +-- +-- Data for Name: cat_product_offer_digital_res; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.cat_product_offer_digital_res (product_id, digital_resource_id, indx) FROM stdin; +\. + + +-- +-- Data for Name: cat_product_offer_seller; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.cat_product_offer_seller (product_id, seller_id) FROM stdin; +\. + + +-- +-- Data for Name: cat_product_offer_tmpl_cat; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.cat_product_offer_tmpl_cat (product_id, offer_template_cat_id, indx) FROM stdin; +\. + + +-- +-- Data for Name: cat_product_templ_charge_templ; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.cat_product_templ_charge_templ (product_charge_template_id, product_template_id) FROM stdin; +\. + + +-- +-- Data for Name: cat_product_wallet_template; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.cat_product_wallet_template (product_template_id, wallet_template_id, indx) FROM stdin; +\. + + +-- +-- Data for Name: cat_serv_rec_charge_template; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.cat_serv_rec_charge_template (id, version, charge_template_id, service_template_id, counter_template_id) FROM stdin; +1 0 10 1 \N +2 0 7 1 \N +3 0 11 2 \N +4 0 13 2 \N +\. + + +-- +-- Data for Name: cat_serv_rec_counter_template; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.cat_serv_rec_counter_template (service_rec_templt_id, counter_template_id, indx) FROM stdin; +\. + + +-- +-- Data for Name: cat_serv_rec_wallet_template; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.cat_serv_rec_wallet_template (service_rec_templt_id, wallet_template_id, indx) FROM stdin; +1 1 0 +4 2 0 +\. + + +-- +-- Data for Name: cat_serv_sub_charge_template; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.cat_serv_sub_charge_template (id, version, charge_template_id, service_template_id, counter_template_id) FROM stdin; +\. + + +-- +-- Data for Name: cat_serv_sub_counter_template; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.cat_serv_sub_counter_template (service_sub_templt_id, counter_template_id, indx) FROM stdin; +\. + + +-- +-- Data for Name: cat_serv_sub_wallet_template; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.cat_serv_sub_wallet_template (service_sub_templt_id, wallet_template_id, indx) FROM stdin; +\. + + +-- +-- Data for Name: cat_serv_trm_charge_template; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.cat_serv_trm_charge_template (id, version, charge_template_id, service_template_id, counter_template_id) FROM stdin; +\. + + +-- +-- Data for Name: cat_serv_trm_counter_template; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.cat_serv_trm_counter_template (service_trm_templt_id, counter_template_id, indx) FROM stdin; +\. + + +-- +-- Data for Name: cat_serv_trm_wallet_template; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.cat_serv_trm_wallet_template (service_trm_templt_id, wallet_template_id, indx) FROM stdin; +\. + + +-- +-- Data for Name: cat_serv_usage_charge_template; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.cat_serv_usage_charge_template (id, version, charge_template_id, service_template_id, counter_template_id) FROM stdin; +1 0 8 1 \N +2 0 9 1 \N +3 0 12 2 \N +\. + + +-- +-- Data for Name: cat_serv_usage_counter_template; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.cat_serv_usage_counter_template (service_usage_templt_id, counter_template_id, indx) FROM stdin; +\. + + +-- +-- Data for Name: cat_serv_usage_wallet_template; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.cat_serv_usage_wallet_template (service_usage_templt_id, wallet_template_id, indx) FROM stdin; +2 1 0 +3 2 0 +\. + + +-- +-- Data for Name: cat_service_template; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.cat_service_template (id, version, disabled, created, updated, code, description, creator, updater, invoicing_calendar_id, uuid, termination_script_instance_id, activation_script_instance_id, business_service_model_id, long_description, image_path, cf_values, cf_values_accum, minimum_amount_el, minimum_amount_el_sp, minimum_label_el, minimum_label_el_sp, auto_renew, days_notify_renew, end_of_term_action, auto_termin_reason_id, init_active_unit, init_active, match_end_aggr_date, renew_for_unit, renew_for, initial_term_type, auto_end_of_engagement, auto_renew_date, calendar_init_active_id, calendar_renew_for_id, renewal_term_type, minimum_invoice_sub_category_id, minimum_charge_template_id) FROM stdin; +1 0 0 2024-11-27 08:57:43.075 \N TEST_PLAN_v.1 SUBSCRIPTION development@simfony.com \N 4 0ec1da16-90ef-4dca-95e2-99ca06e6ffb5 \N \N \N \N \N \N \N \N \N \N \N 0 \N \N \N \N \N 0 \N \N RECURRING 0 \N \N \N RECURRING \N \N +2 0 0 2024-11-27 09:09:15.013 \N TEST_PLAN2_v.1 SUBSCRIPTION development@simfony.com \N 4 a8b33228-17fa-44f5-81e5-8bc91ddb2437 \N \N \N \N \N \N \N \N \N \N \N 0 \N \N \N \N \N 0 \N \N RECURRING 0 \N \N \N RECURRING \N \N +\. + + +-- +-- Data for Name: cat_triggered_edr; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.cat_triggered_edr (id, version, created, updated, code, description, condition_el, param_1_el, param_1_el_sp, param_2_el, param_2_el_sp, param_3_el, param_3_el_sp, param_4_el, param_4_el_sp, quantity_el, quantity_el_sp, subscription_el, subscription_el_sp, creator, updater, meveo_instance_id, condition_el_sp, triggered_edr_script_instance_id, opencell_instance_el) FROM stdin; +\. + + +-- +-- Data for Name: cat_unit_of_measure; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.cat_unit_of_measure (id, version, creator, updater, code, created, updated, symbol, description, description_i18n, multiplicator, parent_id) FROM stdin; +-1 0 OPENCELL.ADMIN \N byte 2019-11-19 12:00:00 \N B Byte \N 1 \N +-2 0 OPENCELL.ADMIN \N kilobyte 2019-11-19 12:00:00 \N KB Kilobyte \N 1000 -1 +-3 0 OPENCELL.ADMIN \N megabyte 2019-11-19 12:00:00 \N MB Megabyte \N 1000000 -1 +-4 0 OPENCELL.ADMIN \N gigabyte 2019-11-19 12:00:00 \N GB Gigabyte \N 1000000000 -1 +-5 0 OPENCELL.ADMIN \N terabyte 2019-11-19 12:00:00 \N TB Terabyte \N 1000000000000 -1 +-6 0 OPENCELL.ADMIN \N kibi 2019-11-19 12:00:00 \N KiB Kibibyte \N 1024 -1 +-7 0 OPENCELL.ADMIN \N mebibyte 2019-11-19 12:00:00 \N MiB Mebibyte \N 1048576 -1 +-8 0 OPENCELL.ADMIN \N gibibyte 2019-11-19 12:00:00 \N GiB Gibibyte \N 1073741824 -1 +-9 0 OPENCELL.ADMIN \N tebibyte 2019-11-19 12:00:00 \N TiB Tebibyte \N 1099511627776 -1 +-10 0 OPENCELL.ADMIN \N second 2019-11-19 12:00:00 \N s Second \N 1 \N +-11 0 OPENCELL.ADMIN \N minute 2019-11-19 12:00:00 \N min Minute \N 60 -10 +-12 0 OPENCELL.ADMIN \N hour 2019-11-19 12:00:00 \N h Hour \N 3600 -10 +-13 0 OPENCELL.ADMIN \N message 2019-11-19 12:00:00 \N msg Message \N 1 \N +\. + + +-- +-- Data for Name: cat_wallet_template; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.cat_wallet_template (id, version, created, updated, code, description, consumption_alert_set, fast_rating_level, wallet_type, creator, updater, low_balance_level, reject_level) FROM stdin; +1 0 2024-11-27 08:57:41.054 \N ALLOWANCE_MODATA_TEST_ROMANIA_w9umd2 \N 0 0 PREPAID development@simfony.com \N -180.000000000000 0.000000000000 +2 0 2024-11-27 09:09:14.428 \N ALLOWANCE_MODATA_TEST_ROMANIA_xuqzJ5 \N 0 0 PREPAID development@simfony.com \N -180.000000000000 0.000000000000 +\. + + +-- +-- Data for Name: com_campaign; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.com_campaign (id, version, created, updated, code, description, end_date, media, priority, thread_id, schedule_date, start_date, status, sub_media, use_any_media, creator, updater) FROM stdin; +\. + + +-- +-- Data for Name: com_campaign_crm_contact_tag; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.com_campaign_crm_contact_tag (campaign_id, tag) FROM stdin; +\. + + +-- +-- Data for Name: com_communication_entity; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.com_communication_entity (id, version, name, description, type) FROM stdin; +\. + + +-- +-- Data for Name: com_contact; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.com_contact (id, version, nb_max_day, nb_max_month, nb_max_week, delay_min, email, assistant_name, assistant_phone, "position", company, phone, mobile, imported_from, imported_by, social_identifier, is_vip, is_prospect, website_url, agreed_ua, address_book_id) FROM stdin; +\. + + +-- +-- Data for Name: com_contact_com_message; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.com_contact_com_message (com_contact_id, messages_id) FROM stdin; +\. + + +-- +-- Data for Name: com_contact_coords; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.com_contact_coords (media, id, version, created, updated, code, description, email, creator, updater) FROM stdin; +\. + + +-- +-- Data for Name: com_contact_tag; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.com_contact_tag (contact_id, tag) FROM stdin; +\. + + +-- +-- Data for Name: com_message; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.com_message (id, version, media, priority, rejection_reason, status, sub_media, templatecode, campaign_id, contact_id) FROM stdin; +\. + + +-- +-- Data for Name: com_message_template; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.com_message_template (media, id, version, created, updated, code, description, end_date, start_date, tag_end, tag_start, type, htmlcontent, subject, textcontent, jasper_filename, creator, updater) FROM stdin; +\. + + +-- +-- Data for Name: com_meveo_instance; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.com_meveo_instance (id, version, created, updated, code, description, as_vendor, as_version, creation_date, hd_size, installation_mode, java_vendor, java_version, java_vm_name, java_vm_version, key_entreprise, mac_address, machine_vendor, md5, memory, nb_cores, os_arch, os_name, ps_version, owner, product_name, product_version, status, update_date, creator, updater, user_id, customer_id, url, auth_username, auth_password) FROM stdin; +\. + + +-- +-- Data for Name: com_msg_tmpl_variable; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.com_msg_tmpl_variable (id, version, created, updated, code, description, mandatory, creator, updater, template_id) FROM stdin; +\. + + +-- +-- Data for Name: com_msg_var_value; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.com_msg_var_value (id, version, created, updated, code, description, value, creator, updater, message) FROM stdin; +\. + + +-- +-- Data for Name: com_provider_policy; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.com_provider_policy (id, version, nb_max_day, nb_max_month, nb_max_week, delay_min) FROM stdin; +\. + + +-- +-- Data for Name: com_sender_config; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.com_sender_config (media, id, version, created, updated, code, description, non_distrib_email, ack_email, priority, manage_non_distrib, nb_max_day, nb_max_month, nb_max_week, delay_min, use_ack, stamptype, addaddressfrontpage, envelopformat, printrectoverso, address_1, address_2, address_3, address_city, address_country_id, address_state, address_zipcode, usecolor, windowtype, smtp_host, smtp_port, default_from_email, default_reply_email, login, password, use_ssl, creator, updater) FROM stdin; +\. + + +-- +-- Data for Name: crm_additional_details; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.crm_additional_details (id, version, company_name, "position", instant_messengers) FROM stdin; +1 0 \N \N \N +2 0 \N \N \N +\. + + +-- +-- Data for Name: crm_address_book; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.crm_address_book (id, code, description, version, created, updated, creator, updater) FROM stdin; +1 C_30fe15a0-6d6c-4728-a5e8-a75e12bd17eb \N 0 2024-01-31 11:17:01.457 \N public.superadmin \N +2 CA_30fe15a0-6d6c-4728-a5e8-a75e12bd17eb \N 0 2024-01-31 11:17:01.659 \N public.superadmin \N +3 C_b59c27b5-80fc-41a0-9530-9837c3fc87e0 \N 0 2024-11-27 08:53:15.148 \N development@simfony.com \N +4 CA_b59c27b5-80fc-41a0-9530-9837c3fc87e0 \N 0 2024-11-27 08:53:16.704 \N development@simfony.com \N +\. + + +-- +-- Data for Name: crm_business_account_model; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.crm_business_account_model (id, hierarchy_type) FROM stdin; +-2 C_UA +\. + + +-- +-- Data for Name: crm_custom_action; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.crm_custom_action (id, version, disabled, created, updated, creator, updater, code, description, applies_to, applicable_on_el, label, script_instance_id, gui_position, label_i18n) FROM stdin; +\. + + +-- +-- Data for Name: crm_custom_field_tmpl; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.crm_custom_field_tmpl (id, version, disabled, created, updated, code, description, field_type, value_required, creator, updater, versionable, calendar_id, default_value, entity_clazz, storage_type, trigger_end_period_event, applies_to, gui_position, allow_edit, hide_on_new, max_value, min_value, reg_exp, mapkey_type, applicable_on_el, che_fields, index_type, inh_as_def_value, tags, description_i18n, cf_protectable, display_format, nb_decimal, rounding_mode, unique_constraint, custom_table_code_el, data_filter_el, fields_el, anonymize_gdpr) FROM stdin; +1 0 0 2024-01-31 04:25:10.764 \N waitingMillis Waiting before next launch (ms LONG 0 applicationInitializer \N 0 \N 500 \N SINGLE 0 JobInstance_ImportCustomersJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +2 0 0 2024-01-31 04:25:10.767 \N nbRuns Number of parallel execution LONG 0 applicationInitializer \N 0 \N -1 \N SINGLE 0 JobInstance_ImportCustomersJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +3 0 0 2024-01-31 04:25:10.786 \N ExportMediationEntityJob_maxResult Query max rows LONG 0 applicationInitializer \N 0 \N \N \N SINGLE 0 JobInstance_ExportMediationEntityJob tab:Custom fields:0;fieldGroup:Configuration:0;field:0 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +4 0 0 2024-01-31 04:25:10.788 \N ExportMediationEntityJob_rtStatusCf Target Rt status CHECKBOX_LIST 0 applicationInitializer \N 0 \N \N \N LIST 0 JobInstance_ExportMediationEntityJob tab:Custom fields:0;fieldGroup:Status:0;field:1 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +5 0 0 2024-01-31 04:25:10.789 \N ExportMediationEntityJob_edrStatusCf Target Edr status CHECKBOX_LIST 0 applicationInitializer \N 0 \N \N \N LIST 0 JobInstance_ExportMediationEntityJob tab:Custom fields:0;fieldGroup:Status:0;field:0 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +6 0 0 2024-01-31 04:25:10.791 \N ExportMediationEntityJob_lastTransactionDate Last transaction date DATE 0 applicationInitializer \N 0 \N \N \N SINGLE 0 JobInstance_ExportMediationEntityJob tab:Custom fields:0;fieldGroup:Dates configuration:0;field:1 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +7 0 0 2024-01-31 04:25:10.792 \N ExportMediationEntityJob_fileName File name STRING 0 applicationInitializer \N 0 \N \N \N SINGLE 0 JobInstance_ExportMediationEntityJob tab:Custom fields:0;fieldGroup:Configuration:0;field:1 1 0 100 \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +8 0 0 2024-01-31 04:25:10.793 \N ExportMediationEntityJob_firstTransactionDate First transaction date DATE 1 applicationInitializer \N 0 \N \N \N SINGLE 0 JobInstance_ExportMediationEntityJob tab:Custom fields:0;fieldGroup:Dates configuration:0;field:0 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +9 0 0 2024-01-31 04:25:10.794 \N ExportMediationEntityJob_woStatusCf Target Wo status CHECKBOX_LIST 0 applicationInitializer \N 0 \N \N \N LIST 0 JobInstance_ExportMediationEntityJob tab:Custom fields:0;fieldGroup:Status:0;field:2 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +10 0 0 2024-01-31 04:25:10.815 \N globalAggregation Global aggregation BOOLEAN 0 applicationInitializer \N 0 \N false \N SINGLE 0 JobInstance_RatedTransactionsJob tab:Custom fields:0;fieldGroup:Aggregation Settings:1;field:1 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +11 0 0 2024-01-31 04:25:10.816 \N aggregateByDay Aggregate by day BOOLEAN 0 applicationInitializer \N 0 \N BA \N SINGLE 0 JobInstance_RatedTransactionsJob tab:Custom fields:0;fieldGroup:Aggregation Settings:1;field:2 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +12 0 0 2024-01-31 04:25:10.817 \N aggregateByOrder Criteria order BOOLEAN 0 applicationInitializer \N 0 \N false \N SINGLE 0 JobInstance_RatedTransactionsJob tab:Custom fields:0;fieldGroup:Additional Criteria:2;field:0 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +13 0 0 2024-01-31 04:25:10.818 \N aggregateByExtraParam Criteria extra BOOLEAN 0 applicationInitializer \N 0 \N false \N SINGLE 0 JobInstance_RatedTransactionsJob tab:Custom fields:0;fieldGroup:Additional Criteria:2;field:4 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +14 0 0 2024-01-31 04:25:10.819 \N aggregateByUnitAmount Aggregate by unit amount BOOLEAN 0 applicationInitializer \N 0 \N true \N SINGLE 0 JobInstance_RatedTransactionsJob tab:Custom fields:0;fieldGroup:Aggregation Settings:1;field:5 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +15 0 0 2024-01-31 04:25:10.82 \N lastWalletOperationDate Last Wallet Operation Date DATE 0 applicationInitializer \N 0 \N \N \N SINGLE 0 JobInstance_RatedTransactionsJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +16 0 0 2024-01-31 04:25:10.821 \N aggregateByParam2 Criteria param2 BOOLEAN 0 applicationInitializer \N 0 \N false \N SINGLE 0 JobInstance_RatedTransactionsJob tab:Custom fields:0;fieldGroup:Additional Criteria:2;field:2 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +17 0 0 2024-01-31 04:25:10.821 \N waitingMillis Waiting before next launch (ms LONG 0 applicationInitializer \N 0 \N 0 \N SINGLE 0 JobInstance_RatedTransactionsJob tab:Custom fields:0;fieldGroup:Configuration:0;field:2 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +18 0 0 2024-01-31 04:25:10.822 \N aggregateByParam3 Criteria param3 BOOLEAN 0 applicationInitializer \N 0 \N false \N SINGLE 0 JobInstance_RatedTransactionsJob tab:Custom fields:0;fieldGroup:Additional Criteria:2;field:3 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +19 0 0 2024-01-31 04:25:10.823 \N aggregateByParam1 Criteria param1 BOOLEAN 0 applicationInitializer \N 0 \N false \N SINGLE 0 JobInstance_RatedTransactionsJob tab:Custom fields:0;fieldGroup:Additional Criteria:2;field:1 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +20 0 0 2024-01-31 04:25:10.824 \N activateAggregation Activate aggregation BOOLEAN 0 applicationInitializer \N 0 \N false \N SINGLE 0 JobInstance_RatedTransactionsJob tab:Custom fields:0;fieldGroup:Aggregation Settings:1;field:0 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +21 0 0 2024-01-31 04:25:10.825 \N aggregationLevel Aggregation level LIST 0 applicationInitializer \N 0 \N \N \N SINGLE 0 JobInstance_RatedTransactionsJob tab:Custom fields:0;fieldGroup:Aggregation Settings:1;field:3 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +22 0 0 2024-01-31 04:25:10.826 \N nbRuns Number of parallel execution LONG 0 applicationInitializer \N 0 \N -1 \N SINGLE 0 JobInstance_RatedTransactionsJob tab:Custom fields:0;fieldGroup:Configuration:0;field:0 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +23 0 0 2024-01-31 04:25:10.84 \N waitingMillis Waiting before next launch (ms LONG 0 applicationInitializer \N 0 \N 0 \N SINGLE 0 JobInstance_PaymentScheduleProcessingJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +24 0 0 2024-01-31 04:25:10.841 \N nbRuns Number of parallel execution LONG 0 applicationInitializer \N 0 \N 1 \N SINGLE 0 JobInstance_PaymentScheduleProcessingJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +25 0 0 2024-01-31 04:25:10.846 \N waitingMillis Waiting before next launch (ms LONG 0 applicationInitializer \N 0 \N 0 \N SINGLE 0 JobInstance_ImportSubscriptionsJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +26 0 0 2024-01-31 04:25:10.846 \N nbRuns Number of parallel execution LONG 0 applicationInitializer \N 0 \N -1 \N SINGLE 0 JobInstance_ImportSubscriptionsJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +27 0 0 2024-01-31 04:25:10.85 \N PurgeJob_counterPeriod_nbDays Purge periods with end date older than (in days) * LONG 0 applicationInitializer \N 0 \N \N \N SINGLE 0 JobInstance_PurgeJob tab:Configuration:0;fieldGroup:Purge counter periods:1;field:0 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +28 0 0 2024-01-31 04:25:10.851 \N PurgeJob_jobExecHistory_jobName Job name STRING 0 applicationInitializer \N 0 \N \N \N SINGLE 0 JobInstance_PurgeJob tab:Configuration:0;fieldGroup:Purge job execution history:0;field:0 1 0 100 \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +29 0 0 2024-01-31 04:25:10.852 \N PurgeJob_jobExecHistory_nbDays Purge history older than (in days) * LONG 0 applicationInitializer \N 0 \N \N \N SINGLE 0 JobInstance_PurgeJob tab:Configuration:0;fieldGroup:Purge job execution history:0;field:1 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +30 0 0 2024-01-31 04:25:10.853 \N PurgeJob_notificationHistory_notifCode Notification code STRING 0 applicationInitializer \N 0 \N \N \N SINGLE 0 JobInstance_PurgeJob tab:Configuration:0;fieldGroup:Purge notification history:3;field:0 1 0 100 \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +31 0 0 2024-01-31 04:25:10.854 \N PurgeJob_notificationHistory_nbDays Purge events older than (in days) * LONG 0 applicationInitializer \N 0 \N \N \N SINGLE 0 JobInstance_PurgeJob tab:Configuration:0;fieldGroup:Purge notification history:3;field:1 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +32 0 0 2024-01-31 04:25:10.855 \N PurgeJob_inboundRequests_nbDays Purge requests older than (in days) * LONG 0 applicationInitializer \N 0 \N \N \N SINGLE 0 JobInstance_PurgeJob tab:Configuration:0;fieldGroup:Inbound requests:4;field:0 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +33 0 0 2024-01-31 04:25:10.861 \N oneFilePerJob Process files separately BOOLEAN 0 applicationInitializer \N 0 \N false \N SINGLE 0 JobInstance_MediationJob tab:Configuration:0;field:2 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +34 0 0 2024-01-31 04:25:10.862 \N waitingMillis Waiting before next launch (ms LONG 0 applicationInitializer \N 0 \N 0 \N SINGLE 0 JobInstance_MediationJob tab:Configuration:0;field:1 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +35 0 0 2024-01-31 04:25:10.863 \N nbRuns Number of parallel execution LONG 0 applicationInitializer \N 0 \N -1 \N SINGLE 0 JobInstance_MediationJob tab:Configuration:0;field:0 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +36 0 0 2024-01-31 04:25:10.868 \N notification Notification ENTITY 1 applicationInitializer \N 0 \N \N org.meveo.model.notification.Notification SINGLE 0 JobInstance_NotificationJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +37 0 0 2024-01-31 04:25:10.869 \N waitingMillis Waiting before next launch (ms LONG 0 applicationInitializer \N 0 \N 0 \N SINGLE 0 JobInstance_NotificationJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +38 0 0 2024-01-31 04:25:10.87 \N numberOfRetry No. of retry LONG 0 applicationInitializer \N 0 \N 0 \N SINGLE 0 JobInstance_NotificationJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +39 0 0 2024-01-31 04:25:10.871 \N retryInterval Retry Interval in seconds LONG 0 applicationInitializer \N 0 \N 5 \N SINGLE 0 JobInstance_NotificationJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +40 0 0 2024-01-31 04:25:10.872 \N nbRuns Number of parallel execution LONG 0 applicationInitializer \N 0 \N -1 \N SINGLE 0 JobInstance_NotificationJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +41 0 0 2024-01-31 04:25:10.877 \N waitingMillis Waiting before next launch (ms LONG 0 applicationInitializer \N 0 \N 0 \N SINGLE 0 JobInstance_ImportAccountsJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +42 0 0 2024-01-31 04:25:10.878 \N nbRuns Number of parallel execution LONG 0 applicationInitializer \N 0 \N -1 \N SINGLE 0 JobInstance_ImportAccountsJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +43 0 0 2024-01-31 04:25:10.882 \N sendDraft Send draft BOOLEAN 0 applicationInitializer \N 0 \N \N \N SINGLE 0 JobInstance_SendInvoiceJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +44 0 0 2024-01-31 04:25:10.883 \N overrideEmailEl Override Email EL STRING 0 applicationInitializer \N 0 \N \N \N SINGLE 0 JobInstance_SendInvoiceJob \N 1 0 9223372036854775807 \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +45 0 0 2024-01-31 04:25:10.887 \N waitingMillis Waiting before next launch (ms LONG 0 applicationInitializer \N 0 \N 0 \N SINGLE 0 JobInstance_RecurringRatingJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +46 0 0 2024-01-31 04:25:10.888 \N rateUntilDate Rate until date DATE 0 applicationInitializer \N 0 \N \N \N SINGLE 0 JobInstance_RecurringRatingJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +47 0 0 2024-01-31 04:25:10.889 \N nbRuns Number of parallel execution LONG 0 applicationInitializer \N 0 \N -1 \N SINGLE 0 JobInstance_RecurringRatingJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +48 0 0 2024-01-31 04:25:10.895 \N waitingMillis Waiting before next launch (ms LONG 0 applicationInitializer \N 0 \N 0 \N SINGLE 0 JobInstance_UsageRatingJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +49 0 0 2024-01-31 04:25:10.896 \N rateUntilDate Rate until date DATE 0 applicationInitializer \N 0 \N \N \N SINGLE 0 JobInstance_UsageRatingJob \N 1 0 50 \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +50 0 0 2024-01-31 04:25:10.897 \N ratingGroup Rating group STRING 0 applicationInitializer \N 0 \N \N \N SINGLE 0 JobInstance_UsageRatingJob \N 1 0 50 \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +51 0 0 2024-01-31 04:25:10.898 \N nbRuns Number of parallel execution LONG 0 applicationInitializer \N 0 \N -1 \N SINGLE 0 JobInstance_UsageRatingJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +52 0 0 2024-01-31 04:25:10.905 \N waitingMillis Waiting before next launch (ms LONG 0 applicationInitializer \N 0 \N 0 \N SINGLE 0 JobInstance_FilteringJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +53 0 0 2024-01-31 04:25:10.906 \N FilteringJob_variables Init and finalize variables STRING 0 applicationInitializer \N 0 \N \N \N MAP 0 JobInstance_FilteringJob \N 1 0 256 \N \N STRING \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +54 0 0 2024-01-31 04:25:10.906 \N FilteringJob_filter Filter ENTITY 1 applicationInitializer \N 0 \N \N org.meveo.model.filter.Filter SINGLE 0 JobInstance_FilteringJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +55 0 0 2024-01-31 04:25:10.907 \N FilteringJob_recordVariableName Record variable name STRING 0 applicationInitializer \N 0 \N record \N SINGLE 0 JobInstance_FilteringJob \N 1 0 256 \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +56 0 0 2024-01-31 04:25:10.908 \N nbRuns Number of parallel execution LONG 0 applicationInitializer \N 0 \N -1 \N SINGLE 0 JobInstance_FilteringJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +57 0 0 2024-01-31 04:25:10.909 \N FilteringJob_script Script ENTITY 1 applicationInitializer \N 0 \N \N org.meveo.model.scripts.ScriptInstance SINGLE 0 JobInstance_FilteringJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +58 0 0 2024-01-31 04:25:10.916 \N ScriptingJob_script Script to run ENTITY 1 applicationInitializer \N 0 \N \N org.meveo.model.scripts.ScriptInstance SINGLE 0 JobInstance_ScriptingJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +59 0 0 2024-01-31 04:25:10.917 \N ScriptingJob_variables Script variables STRING 0 applicationInitializer \N 0 \N \N \N MAP 0 JobInstance_ScriptingJob \N 1 0 256 \N \N STRING \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +60 0 0 2024-01-31 04:25:10.925 \N waitingMillis Waiting before next launch (ms LONG 0 applicationInitializer \N 0 \N 0 \N SINGLE 0 JobInstance_PaymentJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +61 0 0 2024-01-31 04:25:10.926 \N PaymentJob_creditOrDebit Payment or Refund LIST 1 applicationInitializer \N 0 \N Credit \N SINGLE 0 JobInstance_PaymentJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +62 0 0 2024-01-31 04:25:10.927 \N PaymentJob_aoFilterScript AOs Script ENTITY 0 applicationInitializer \N 0 \N org.meveo.model.scripts.ScriptInstance SINGLE 0 JobInstance_PaymentJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +63 0 0 2024-01-31 04:25:10.928 \N PaymentJob_matchingAO Matching AO LIST 0 applicationInitializer \N 0 \N YES \N SINGLE 0 JobInstance_PaymentJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +64 0 0 2024-01-31 04:25:10.929 \N PaymentJob_cardOrDD jobExecution.cardOrDD LIST 1 applicationInitializer \N 0 \N CARD \N SINGLE 0 JobInstance_PaymentJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +65 0 0 2024-01-31 04:25:10.93 \N PaymentJob_dueDateRangeScript Due date range script ENTITY 0 applicationInitializer \N 0 \N org.meveo.model.scripts.ScriptInstance SINGLE 0 JobInstance_PaymentJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +66 0 0 2024-01-31 04:25:10.931 \N PaymentJob_fromDueDate From due date DATE 0 applicationInitializer \N 0 \N \N SINGLE 0 JobInstance_PaymentJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +67 0 0 2024-01-31 04:25:10.932 \N PaymentJob_paymentGateway Payment gateway ENTITY 0 applicationInitializer \N 0 \N \N org.meveo.model.payments.PaymentGateway SINGLE 0 JobInstance_PaymentJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +68 0 0 2024-01-31 04:25:10.932 \N PaymentJob_toDueDate To due date DATE 0 applicationInitializer \N 0 \N \N SINGLE 0 JobInstance_PaymentJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +69 0 0 2024-01-31 04:25:10.933 \N PaymentJob_createAO Create AO LIST 0 applicationInitializer \N 0 \N YES \N SINGLE 0 JobInstance_PaymentJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +70 0 0 2024-01-31 04:25:10.934 \N nbRuns Number of parallel execution LONG 0 applicationInitializer \N 0 \N -1 \N SINGLE 0 JobInstance_PaymentJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +71 0 0 2024-01-31 04:25:10.935 \N PaymentJob_AOorCA Payment per AO or CA LIST 1 applicationInitializer \N 0 \N CA \N SINGLE 0 JobInstance_PaymentJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +72 0 0 2024-01-31 04:25:10.949 \N BillingRunJob_lastTransactionDate Last Transaction Date DATE 0 applicationInitializer \N 0 \N \N \N SINGLE 0 JobInstance_BillingRunJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +73 0 0 2024-01-31 04:25:10.949 \N BillingRunJob_billingCycle Billing Cycles ENTITY 1 applicationInitializer \N 0 \N \N org.meveo.model.billing.BillingCycle LIST 0 JobInstance_BillingRunJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +74 0 0 2024-01-31 04:25:10.95 \N BillingRunJob_invoiceDate invoice Date DATE 0 applicationInitializer \N 0 \N \N \N SINGLE 0 JobInstance_BillingRunJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +75 0 0 2024-01-31 04:25:10.951 \N BillingRunJob_billingRun_Process Type LIST 0 applicationInitializer \N 0 \N \N \N SINGLE 0 JobInstance_BillingRunJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +76 0 0 2024-01-31 04:25:10.967 \N billingAccountCode Billing Account Code STRING 0 applicationInitializer \N 0 \N \N \N SINGLE 0 JobInstance_TierSubscriptionJob tab:Custom fields:0;fieldGroup:Criteria:1;field:0 1 0 50 \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +77 0 0 2024-01-31 04:25:10.968 \N waitingMillis Waiting before next launch (ms LONG 0 applicationInitializer \N 0 \N 0 \N SINGLE 0 JobInstance_TierSubscriptionJob tab:Custom fields:0;fieldGroup:Configuration:0;field:1 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +78 0 0 2024-01-31 04:25:10.969 \N offerCode Offer Code STRING 0 applicationInitializer \N 0 \N \N \N SINGLE 0 JobInstance_TierSubscriptionJob tab:Custom fields:0;fieldGroup:Criteria:1;field:1 1 0 50 \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +79 0 0 2024-01-31 04:25:10.97 \N nbRuns Number of parallel execution LONG 0 applicationInitializer \N 0 \N -1 \N SINGLE 0 JobInstance_TierSubscriptionJob tab:Custom fields:0;fieldGroup:Configuration:0;field:0 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +80 0 0 2024-01-31 04:25:10.978 \N invoicesToProcess Invoices To Process LIST 1 applicationInitializer \N 0 \N FinalOnly \N SINGLE 0 JobInstance_XMLInvoiceGenerationJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +81 0 0 2024-01-31 04:25:10.979 \N waitingMillis Waiting before next launch (ms LONG 0 applicationInitializer \N 0 \N 0 \N SINGLE 0 JobInstance_XMLInvoiceGenerationJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +82 0 0 2024-01-31 04:25:10.979 \N nbRuns Number of parallel execution LONG 0 applicationInitializer \N 0 \N -1 \N SINGLE 0 JobInstance_XMLInvoiceGenerationJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +83 0 0 2024-01-31 04:25:10.994 \N waitingMillis Waiting before next launch (ms LONG 0 applicationInitializer \N 0 \N 0 \N SINGLE 0 JobInstance_InvoicingJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +84 0 0 2024-01-31 04:25:10.995 \N billingRuns Billing Runs ENTITY 0 applicationInitializer \N 0 \N \N org.meveo.model.billing.BillingRun LIST 0 JobInstance_InvoicingJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +85 0 0 2024-01-31 04:25:10.996 \N nbRuns Number of parallel execution LONG 0 applicationInitializer \N 0 \N -1 \N SINGLE 0 JobInstance_InvoicingJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +86 0 0 2024-01-31 04:25:11.001 \N FtpAdapterJob_ftpUsername FtpAdapter.ftpUsername STRING 1 applicationInitializer \N 0 \N \N \N SINGLE 0 JobInstance_FtpAdapterJob \N 1 0 50 \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +87 0 0 2024-01-31 04:25:11.002 \N FtpAdapterJob_ftpProtocol FtpAdapter.ftpProtocol LIST 1 applicationInitializer \N 0 \N \N \N SINGLE 0 JobInstance_FtpAdapterJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +88 0 0 2024-01-31 04:25:11.003 \N FtpAdapterJob_remoteServer FtpAdapter.remoteServer STRING 1 applicationInitializer \N 0 \N \N \N SINGLE 0 JobInstance_FtpAdapterJob \N 1 0 150 \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +89 0 0 2024-01-31 04:25:11.004 \N FtpAdapterJob_remoteDirectory FtpAdapter.remoteDirectory STRING 1 applicationInitializer \N 0 \N \N \N SINGLE 0 JobInstance_FtpAdapterJob \N 1 0 100 \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +90 0 0 2024-01-31 04:25:11.005 \N FtpAdapterJob_operation FtpAdapter.operation LIST 1 applicationInitializer \N 0 \N \N \N SINGLE 0 JobInstance_FtpAdapterJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +91 0 0 2024-01-31 04:25:11.006 \N FtpAdapterJob_ftpFileExtension FtpAdapter.fileExtension STRING 1 applicationInitializer \N 0 \N \N \N SINGLE 0 JobInstance_FtpAdapterJob \N 1 0 50 \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +92 0 0 2024-01-31 04:25:11.006 \N FtpAdapterJob_ftpPassword FtpAdapter.ftpPassword STRING 1 applicationInitializer \N 0 \N \N \N SINGLE 0 JobInstance_FtpAdapterJob \N 1 0 50 \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +93 0 0 2024-01-31 04:25:11.007 \N FtpAdapterJob_localDirectory FtpAdapter.localDirectory STRING 1 applicationInitializer \N 0 \N \N \N SINGLE 0 JobInstance_FtpAdapterJob \N 1 0 150 \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +94 0 0 2024-01-31 04:25:11.008 \N FtpAdapterJob_remotePort FtpAdapter.remotePort LONG 1 applicationInitializer \N 0 \N \N \N SINGLE 0 JobInstance_FtpAdapterJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +95 0 0 2024-01-31 04:25:11.009 \N FtpAdapterJob_removeOriginalFile FtpAdapter.removeOriginalFile LIST 1 applicationInitializer \N 0 \N \N \N SINGLE 0 JobInstance_FtpAdapterJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +96 0 0 2024-01-31 04:25:11.019 \N RejectSepaJob_creditOrDebit Payment or Refund LIST 1 applicationInitializer \N 0 \N Credit \N SINGLE 0 JobInstance_SepaRejectedTransactionsJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +97 0 0 2024-01-31 04:25:11.02 \N RejectSepaJob_fileNamePrefix Prefix STRING 1 applicationInitializer \N 0 \N \N \N SINGLE 0 JobInstance_SepaRejectedTransactionsJob \N 1 0 256 \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +98 0 0 2024-01-31 04:25:11.021 \N RejectSepaJob_ddRequestBuilder DDRequest builder ENTITY 1 applicationInitializer \N 0 \N \N org.meveo.model.payments.DDRequestBuilder SINGLE 0 JobInstance_SepaRejectedTransactionsJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +99 0 0 2024-01-31 04:25:11.021 \N RejectSepaJob_fileNameExtension Extension STRING 1 applicationInitializer \N 0 \N \N \N SINGLE 0 JobInstance_SepaRejectedTransactionsJob \N 1 0 256 \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +100 0 0 2024-01-31 04:25:11.022 \N RejectSepaJob_inputDir Input directory STRING 1 applicationInitializer \N 0 \N \N \N SINGLE 0 JobInstance_SepaRejectedTransactionsJob \N 1 0 256 \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +101 0 0 2024-01-31 04:25:11.029 \N waitingMillis Waiting before next launch (ms LONG 0 applicationInitializer \N 0 \N 0 \N SINGLE 0 JobInstance_AccountOperationsGenerationJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +102 0 0 2024-01-31 04:25:11.03 \N nbRuns Number of parallel execution LONG 0 applicationInitializer \N 0 \N -1 \N SINGLE 0 JobInstance_AccountOperationsGenerationJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +103 0 0 2024-01-31 04:25:11.035 \N InternalNotificationJob_notificationCode Notification code STRING 1 applicationInitializer \N 0 \N \N \N SINGLE 0 JobInstance_InternalNotificationJob \N 1 0 50 \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +104 0 0 2024-01-31 04:25:11.036 \N InternalNotificationJob_filterCode Filter (sql query) STRING 1 applicationInitializer \N 0 \N \N \N SINGLE 0 JobInstance_InternalNotificationJob \N 1 0 50 \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +105 0 0 2024-01-31 04:25:11.041 \N invoicesToProcess Invoices To Process LIST 1 applicationInitializer \N 0 \N FinalOnly \N SINGLE 0 JobInstance_PDFInvoiceGenerationJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +106 0 0 2024-01-31 04:25:11.042 \N waitingMillis Waiting before next launch (ms LONG 0 applicationInitializer \N 0 \N 0 \N SINGLE 0 JobInstance_PDFInvoiceGenerationJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +107 0 0 2024-01-31 04:25:11.043 \N nbRuns Number of parallel execution LONG 0 applicationInitializer \N 0 \N -1 \N SINGLE 0 JobInstance_PDFInvoiceGenerationJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +108 0 0 2024-01-31 04:25:11.052 \N PurgeMediationDataJobV2_edrStatusCf Target Edr status CHECKBOX_LIST 0 applicationInitializer \N 0 \N \N \N LIST 0 JobInstance_PurgeMediationDataJobV2 tab:Custom fields:0;fieldGroup:Status:0;field:0 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +109 0 0 2024-01-31 04:25:11.053 \N PurgeMediationDataJobV2_lastTransactionDate Last transaction date DATE 0 applicationInitializer \N 0 \N \N \N SINGLE 0 JobInstance_PurgeMediationDataJobV2 tab:Custom fields:0;fieldGroup:Date configuration:0;field:1 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +110 0 0 2024-01-31 04:25:11.054 \N PurgeMediationDataJobV2_rtStatusCf Target Rt status CHECKBOX_LIST 0 applicationInitializer \N 0 \N \N \N LIST 0 JobInstance_PurgeMediationDataJobV2 tab:Custom fields:0;fieldGroup:Status:0;field:1 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +111 0 0 2024-01-31 04:25:11.055 \N PurgeMediationDataJobV2_firstTransactionDate First transaction date DATE 1 applicationInitializer \N 0 \N \N \N SINGLE 0 JobInstance_PurgeMediationDataJobV2 tab:Custom fields:0;fieldGroup:Date configuration:0;field:0 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +112 0 0 2024-01-31 04:25:11.055 \N PurgeMediationDataJobV2_woStatusCf Target Wo status CHECKBOX_LIST 0 applicationInitializer \N 0 \N \N \N LIST 0 JobInstance_PurgeMediationDataJobV2 tab:Custom fields:0;fieldGroup:Status:0;field:2 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +113 0 0 2024-01-31 04:25:11.067 \N waitingMillis Waiting before next launch (ms LONG 0 applicationInitializer \N 0 \N 0 \N SINGLE 0 JobInstance_CustomTableImportJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +114 0 0 2024-01-31 04:25:11.067 \N nbRuns Number of parallel execution LONG 0 applicationInitializer \N 0 \N -1 \N SINGLE 0 JobInstance_CustomTableImportJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +115 0 0 2024-01-31 04:25:11.073 \N gwfJob_nbRuns Number of parallel execution LONG 0 applicationInitializer \N 0 \N 1 \N SINGLE 0 JobInstance_GenericWorkflowJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +116 0 0 2024-01-31 04:25:11.074 \N gwfJob_waitingMillis Waiting before next launch (ms LONG 0 applicationInitializer \N 0 \N 0 \N SINGLE 0 JobInstance_GenericWorkflowJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +117 0 0 2024-01-31 04:25:11.075 \N gwfJob_generic_wf Generic workflow ENTITY 1 applicationInitializer \N 0 \N \N org.meveo.model.generic.wf.GenericWorkflow SINGLE 0 JobInstance_GenericWorkflowJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +118 0 0 2024-01-31 04:25:11.081 \N waitingMillis Waiting before next launch (ms LONG 0 applicationInitializer \N 0 \N 0 \N SINGLE 0 JobInstance_CheckPaymentScheduleCallbackJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +119 0 0 2024-01-31 04:25:11.082 \N nbRuns Number of parallel execution LONG 0 applicationInitializer \N 0 \N -1 \N SINGLE 0 JobInstance_CheckPaymentScheduleCallbackJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +120 0 0 2024-01-31 04:25:11.088 \N SepaJob_aoFilterScript AOs Script ENTITY 0 applicationInitializer \N 0 \N org.meveo.model.scripts.ScriptInstance SINGLE 0 JobInstance_SepaDirectDebitJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +121 0 0 2024-01-31 04:25:11.089 \N SepaJob_waitingMillis Waiting before next launch (ms LONG 0 applicationInitializer \N 0 \N 0 \N SINGLE 0 JobInstance_SepaDirectDebitJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +122 0 0 2024-01-31 04:25:11.089 \N SepaJob_seller Sellers ENTITY 0 applicationInitializer \N 0 \N org.meveo.model.admin.Seller SINGLE 0 JobInstance_SepaDirectDebitJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +123 0 0 2024-01-31 04:25:11.09 \N SepaJob_nbRuns Number of parallel execution LONG 0 applicationInitializer \N 0 \N 1 \N SINGLE 0 JobInstance_SepaDirectDebitJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +124 0 0 2024-01-31 04:25:11.091 \N SepaJob_ddRequestBuilder DDRequest builder ENTITY 1 applicationInitializer \N 0 \N \N org.meveo.model.payments.DDRequestBuilder SINGLE 0 JobInstance_SepaDirectDebitJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +125 0 0 2024-01-31 04:25:11.092 \N SepaJob_paymentOrRefund Payment or Refund LIST 1 applicationInitializer \N 0 \N PAYMENT \N SINGLE 0 JobInstance_SepaDirectDebitJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +126 0 0 2024-01-31 04:25:11.1 \N untilDate Subscription till date DATE 0 applicationInitializer \N 0 \N \N \N SINGLE 0 JobInstance_SubscriptionStatusJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +127 0 0 2024-01-31 04:25:11.105 \N waitingMillis Waiting before next launch (ms LONG 0 applicationInitializer \N 0 \N 0 \N SINGLE 0 JobInstance_WalletReservationJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +128 0 0 2024-01-31 04:25:11.106 \N nbRuns Number of parallel execution LONG 0 applicationInitializer \N 0 \N -1 \N SINGLE 0 JobInstance_WalletReservationJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +129 0 0 2024-01-31 04:25:11.111 \N oneFilePerJob Process files separately BOOLEAN 0 applicationInitializer \N 0 \N false \N SINGLE 0 JobInstance_FlatFileProcessingJob tab:Configuration:0;fieldGroup:Execution configuration:0;field:2 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +130 0 0 2024-01-31 04:25:11.112 \N FlatFileProcessingJob_variables Init and finalize variables STRING 0 applicationInitializer \N 0 \N \N \N MAP 0 JobInstance_FlatFileProcessingJob tab:Configuration:0;fieldGroup:Data processing configuration:3;field:1 1 0 256 \N \N STRING \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +131 0 0 2024-01-31 04:25:11.113 \N FlatFileProcessingJob_outputDir Output directory STRING 0 applicationInitializer \N 0 \N \N \N SINGLE 0 JobInstance_FlatFileProcessingJob tab:Configuration:0;fieldGroup:File configuration:1;field:4 1 0 256 \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +132 0 0 2024-01-31 04:25:11.114 \N FlatFileProcessingJob_mappingConf Record descriptor TEXT_AREA 0 applicationInitializer \N 0 \N \N SINGLE 0 JobInstance_FlatFileProcessingJob tab:Configuration:0;fieldGroup:Record configuration:2;field:0 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +133 0 0 2024-01-31 04:25:11.115 \N FlatFileProcessingJob_recordVariableName Record variable name STRING 1 applicationInitializer \N 0 \N record \N SINGLE 0 JobInstance_FlatFileProcessingJob tab:Configuration:0;fieldGroup:Data processing configuration:3;field:2 1 0 50 \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +134 0 0 2024-01-31 04:25:11.116 \N FlatFileProcessingJob_errorAction Error action LIST 0 applicationInitializer \N 0 \N CONTINUE \N SINGLE 0 JobInstance_FlatFileProcessingJob tab:Configuration:0;fieldGroup:Data processing configuration:3;field:5 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +135 0 0 2024-01-31 04:25:11.116 \N FlatFileProcessingJob_originFilename Filename variable name STRING 0 applicationInitializer \N 0 \N origin_filename \N SINGLE 0 JobInstance_FlatFileProcessingJob tab:Configuration:0;fieldGroup:Data processing configuration:3;field:3 1 0 256 \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +136 0 0 2024-01-31 04:25:11.117 \N FlatFileProcessingJob_archiveDir Archive directory STRING 0 applicationInitializer \N 0 \N \N \N SINGLE 0 JobInstance_FlatFileProcessingJob tab:Configuration:0;fieldGroup:File configuration:1;field:2 1 0 256 \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +137 0 0 2024-01-31 04:25:11.118 \N FlatFileProcessingJob_inputDir Input directory STRING 0 applicationInitializer \N 0 \N \N \N SINGLE 0 JobInstance_FlatFileProcessingJob tab:Configuration:0;fieldGroup:File configuration:1;field:1 1 0 256 \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +138 0 0 2024-01-31 04:25:11.119 \N waitingMillis Waiting before next launch (ms LONG 0 applicationInitializer \N 0 \N 0 \N SINGLE 0 JobInstance_FlatFileProcessingJob tab:Configuration:0;fieldGroup:Execution configuration:0;field:1 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +139 0 0 2024-01-31 04:25:11.12 \N FlatFileProcessingJob_fileFormat File format ENTITY 0 applicationInitializer \N 0 \N \N org.meveo.model.admin.FileFormat SINGLE 0 JobInstance_FlatFileProcessingJob tab:Configuration:0;fieldGroup:File configuration:1;field:0 1 0 256 \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +140 0 0 2024-01-31 04:25:11.12 \N FlatFileProcessingJob_fileNameFilter File name filter STRING 0 applicationInitializer \N 0 \N \N \N SINGLE 0 JobInstance_FlatFileProcessingJob tab:Configuration:0;fieldGroup:File configuration:1;field:5 1 0 256 \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +141 0 0 2024-01-31 04:25:11.121 \N FlatFileProcessingJob_fileNameExtension Extension STRING 1 applicationInitializer \N 0 \N csv \N SINGLE 0 JobInstance_FlatFileProcessingJob tab:Configuration:0;fieldGroup:File configuration:1;field:6 1 0 256 \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +142 0 0 2024-01-31 04:25:11.122 \N FlatFileProcessingJob_formatTransfo Format transformation LIST 0 applicationInitializer \N 0 \N None \N SINGLE 0 JobInstance_FlatFileProcessingJob tab:Configuration:0;fieldGroup:Data processing configuration:3;field:4 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +143 0 0 2024-01-31 04:25:11.123 \N FlatFileProcessingJob_rejectDir Reject directory STRING 0 applicationInitializer \N 0 \N \N \N SINGLE 0 JobInstance_FlatFileProcessingJob tab:Configuration:0;fieldGroup:File configuration:1;field:3 1 0 256 \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +144 0 0 2024-01-31 04:25:11.125 \N FlatFileProcessingJob_scriptsFlow Script flow STRING 1 applicationInitializer \N 0 \N \N \N SINGLE 0 JobInstance_FlatFileProcessingJob tab:Configuration:0;fieldGroup:Data processing configuration:3;field:0 1 0 256 \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +145 0 0 2024-01-31 04:25:11.126 \N nbRuns Number of parallel execution LONG 0 applicationInitializer \N 0 \N 1 \N SINGLE 0 JobInstance_FlatFileProcessingJob tab:Configuration:0;fieldGroup:Execution configuration:0;field:0 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +146 0 0 2024-01-31 04:25:11.141 \N PurgeMediationDataJob_edrStatusCf Target Edr status CHECKBOX_LIST 0 applicationInitializer \N 0 \N \N \N LIST 0 JobInstance_PurgeMediationDataJob tab:Custom fields:0;fieldGroup:Status:0;field:0 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +147 0 0 2024-01-31 04:25:11.142 \N PurgeMediationDataJob_firstTransactionDate First transaction date DATE 1 applicationInitializer \N 0 \N \N \N SINGLE 0 JobInstance_PurgeMediationDataJob tab:Custom fields:0;fieldGroup:Date configuration:0;field:0 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +148 0 0 2024-01-31 04:25:11.142 \N PurgeMediationDataJob_woStatusCf Target Wo status CHECKBOX_LIST 0 applicationInitializer \N 0 \N \N \N LIST 0 JobInstance_PurgeMediationDataJob tab:Custom fields:0;fieldGroup:Status:0;field:2 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +149 0 0 2024-01-31 04:25:11.143 \N PurgeMediationDataJob_rtStatusCf Target Rt status CHECKBOX_LIST 0 applicationInitializer \N 0 \N \N \N LIST 0 JobInstance_PurgeMediationDataJob tab:Custom fields:0;fieldGroup:Status:0;field:1 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +150 0 0 2024-01-31 04:25:11.144 \N PurgeMediationDataJob_lastTransactionDate Last transaction date DATE 0 applicationInitializer \N 0 \N \N \N SINGLE 0 JobInstance_PurgeMediationDataJob tab:Custom fields:0;fieldGroup:Date configuration:0;field:1 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +151 0 0 2024-01-31 04:25:11.156 \N waitingMillis Waiting before next launch (ms LONG 0 applicationInitializer \N 0 \N 0 \N SINGLE 0 JobInstance_ReportExtractJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +152 0 0 2024-01-31 04:25:11.156 \N endDate End date DATE 0 applicationInitializer \N 0 \N \N \N SINGLE 0 JobInstance_ReportExtractJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +153 0 0 2024-01-31 04:25:11.157 \N nbRuns Number of parallel execution LONG 0 applicationInitializer \N 0 \N -1 \N SINGLE 0 JobInstance_ReportExtractJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +154 0 0 2024-01-31 04:25:11.158 \N startDate Begin date DATE 0 applicationInitializer \N 0 \N \N \N SINGLE 0 JobInstance_ReportExtractJob \N 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +155 0 0 2024-01-31 10:38:01.741 \N IS_ALLOWANCE Is Allowance BOOLEAN 0 public.superadmin \N 0 \N \N \N SINGLE 0 ChargeTemplate tab:Custom fields:0;field:0 1 0 \N \N \N \N \N \N \N 0 \N {} 0 \N \N \N 0 \N \N \N 0 +156 0 0 2024-01-31 10:38:10.868 \N IS_LIMIT Is Limit BOOLEAN 0 public.superadmin \N 0 \N \N \N SINGLE 0 ChargeTemplate tab:Custom fields:0;field:1 1 0 \N \N \N \N \N \N \N 0 \N {} 0 \N \N \N 0 \N \N \N 0 +157 0 0 2024-11-21 06:12:45.751 \N operationDate End Date at 00:00 DATE 0 applicationInitializer \N 0 \N \N \N SINGLE 0 JobInstance_UsageAggregationJob tab:Custom fields:0;fieldGroup:Aggregation Settings:1;field:3 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +158 0 0 2024-11-21 06:12:45.777 \N waitingMillis Waiting before next launch (ms LONG 0 applicationInitializer \N 0 \N 0 \N SINGLE 0 JobInstance_UsageAggregationJob tab:Custom fields:0;fieldGroup:Configuration:0;field:1 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +159 0 0 2024-11-21 06:12:45.781 \N ignoreDate Ignore Date (Run only for the previous day) BOOLEAN 0 applicationInitializer \N 0 \N false \N SINGLE 0 JobInstance_UsageAggregationJob tab:Custom fields:0;fieldGroup:Aggregation Settings:1;field:4 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +160 0 0 2024-11-21 06:12:45.784 \N aggregationLevel Aggregation level LIST 1 applicationInitializer \N 0 \N \N \N SINGLE 0 JobInstance_UsageAggregationJob tab:Custom fields:0;fieldGroup:Aggregation Settings:1;field:1 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +161 0 0 2024-11-21 06:12:45.787 \N nbRuns Number of parallel execution LONG 0 applicationInitializer \N 0 \N -1 \N SINGLE 0 JobInstance_UsageAggregationJob tab:Custom fields:0;fieldGroup:Configuration:0;field:0 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +162 0 0 2024-11-21 06:12:45.79 \N startOperationDate Start Date at 00:00 DATE 0 applicationInitializer \N 0 \N \N \N SINGLE 0 JobInstance_UsageAggregationJob tab:Custom fields:0;fieldGroup:Aggregation Settings:1;field:2 1 0 \N \N \N \N \N \N \N 0 \N \N 0 \N \N \N 0 \N \N \N 0 +\. + + +-- +-- Data for Name: crm_custom_field_tmpl_mcols; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.crm_custom_field_tmpl_mcols (cft_id, "position", code, label, key_type, column_use) FROM stdin; +\. + + +-- +-- Data for Name: crm_custom_field_tmpl_val; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.crm_custom_field_tmpl_val (customfieldtemplate_id, listvalues, listvalues_key) FROM stdin; +4 Billed BILLED +4 Canceled CANCELED +4 Open OPEN +4 Rejected REJECTED +4 Rerated RERATED +5 Aggregated AGGREGATED +5 Failed FAILED +5 Mediating MEDIATING +5 Open OPEN +5 Rated RATED +5 Rejected REJECTED +9 Cancelled CANCELED +9 Open OPEN +9 Rerated RERATED +9 Reserved RESERVED +9 Scheduled SCHEDULED +9 To rerate TO_RERATE +9 Processed TREATED +21 Subscription SUB +21 Service Instance SI +21 Charge Instance CI +21 User Account UA +21 Description DESC +21 Billing Account BA +61 Refund Debit +61 Payment Credit +63 NO NO +63 YES YES +64 Sepa DIRECTDEBIT +64 Card CARD +69 NO NO +69 YES YES +71 AO AO +71 CA CA +75 Automatic 1 +75 Manual 2 +75 Full automatic 3 +80 All All +80 DraftOnly DraftOnly +80 FinalOnly FinalOnly +87 FTP FTP +87 SFTP SFTP +90 IMPORT IMPORT +90 EXPORT EXPORT +95 True TRUE +95 False FALSE +96 Refund Debit +96 Payment Credit +105 All All +105 DraftOnly DraftOnly +105 FinalOnly FinalOnly +108 Aggregated AGGREGATED +108 Failed FAILED +108 Mediating MEDIATING +108 Open OPEN +108 Rated RATED +108 Rejected REJECTED +110 Billed BILLED +110 Canceled CANCELED +110 Open OPEN +110 Rejected REJECTED +110 Rerated RERATED +112 Cancelled CANCELED +112 Open OPEN +112 Rerated RERATED +112 Reserved RESERVED +112 Scheduled SCHEDULED +112 To rerate TO_RERATE +112 Processed TREATED +125 PAYMENT PAYMENT +125 REFUND REFUND +134 Continue CONTINUE +134 Stop STOP +134 Rollback ROLLBACK +142 Excel cvs Xlsx_to_Csv +142 Aucune None +146 Aggregated AGGREGATED +146 Failed FAILED +146 Mediating MEDIATING +146 Open OPEN +146 Rated RATED +146 Rejected REJECTED +148 Cancelled CANCELED +148 Open OPEN +148 Rerated RERATED +148 Reserved RESERVED +148 Scheduled SCHEDULED +148 To rerate TO_RERATE +148 Processed TREATED +149 Billed BILLED +149 Canceled CANCELED +149 Open OPEN +149 Rejected REJECTED +149 Rerated RERATED +160 DAILY DAILY +160 MONTHLY MONTHLY +\. + + +-- +-- Data for Name: crm_customer; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.crm_customer (id, customer_brand_id, customer_category_id, seller_id, additional_details_id, address_book_id, minimum_target_account_id, invoicing_threshold, check_threshold) FROM stdin; +2 -1 -2 1 1 1 \N \N \N +5 -1 -2 1 2 3 \N \N \N +\. + + +-- +-- Data for Name: crm_customer_brand; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.crm_customer_brand (id, version, created, updated, code, description, creator, updater) FROM stdin; +-1 0 2015-03-19 00:04:19.131 \N DEFAULT Demo Product and Services \N \N +\. + + +-- +-- Data for Name: crm_customer_category; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.crm_customer_category (id, version, created, updated, code, description, exonerated_from_taxes, creator, updater, exoneration_tax_el, exoneration_tax_el_sp, exoneration_reason, cf_values_accum, cf_values, uuid, accounting_code_id, tax_category_id, tax_category_el, tax_category_el_sp) FROM stdin; +-1 0 2015-03-19 00:04:19.089 \N PROSPECT Prospect 0 \N \N \N \N \N \N \N CCC_PROSPECT \N -1 \N \N +-2 0 2015-03-19 00:04:19.11 \N CLIENT Client 0 \N \N \N \N \N \N \N CCC_CLIENT \N -1 \N \N +\. + + +-- +-- Data for Name: crm_customer_sequence; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.crm_customer_sequence (id, version, disabled, created, updated, creator, updater, code, description, prefix, sequence_size, current_sequence_nb, seller_id) FROM stdin; +\. + + +-- +-- Data for Name: crm_email; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.crm_email (id, version, email) FROM stdin; +\. + + +-- +-- Data for Name: crm_provider; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.crm_provider (id, version, disabled, created, updated, code, description, amount_validation, automatic_invoicing, account_number, account_owner, bank_code, bank_id, bank_name, bic, branch_code, iban, ics, issuer_name, issuer_number, hash_key, discount_accounting_code, display_free_tx_in_invoice, email, entreprise, address_1, address_2, address_3, address_city, address_country_id, address_state, address_zipcode, center_code, creditor_code, financial_institution_code, nne, level_duplication, multicountry_flag, multicurrency_flag, multilanguage_flag, prepaid_resrv_delay_ms, creator, updater, billing_account_id, country_id, currency_id, customer_id, customer_account_id, language_id, user_account_id, credit_note_prefix, current_credit_note_nb, credit_note_sequence_size, uuid, recognize_revenue, cf_values, cf_values_accum, rating_rounding, rounding_mode, invoice_rounding, invoice_rounding_mode, rum_prefix, rum_sequence_size, rum_current_sequence_nb, cust_no_prefix, cust_no_sequence_size, cust_no_current_sequence_nb, invoice_config_id, gdpr_config_id) FROM stdin; +1 3 0 2015-03-19 00:04:08.922 2024-01-31 09:05:13.676 DEMO \N 0 0 33333333333 owner SGMB 11 SGMB DADEFRPPCCT 12345 FR763000600001123456790189 FRXXZZZ123456 DEMO 1111 11 \N 1 \N 1 \N \N \N \N \N \N \N \N \N \N \N 0 1 1 1 960000 opencell.admin public.superadmin \N 1 1 \N \N 1 \N \N \N \N DEMO 0 \N \N 8 NEAREST 2 NEAREST 20 0 20 0 -1 1 +\. + + +-- +-- Data for Name: crm_provider_contact; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.crm_provider_contact (id, version, created, updated, code, description, address_1, address_2, address_3, address_city, address_country_id, address_state, address_zipcode, email, fax, firstname, generic_mail, lastname, mobile, phone, creator, updater) FROM stdin; +-1 0 2015-03-19 00:04:19.892 \N OPENCELL Opencell Software 14 rue Crespin du Gast \N \N Paris 70 \N 75011 sales@opencellsoft.com \N \N \N \N +33607899813 \N \N \N +\. + + +-- +-- Data for Name: crm_provider_pay_methods; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.crm_provider_pay_methods (provider_id, payment_method) FROM stdin; +1 CARD +1 DIRECTDEBIT +1 PAYPAL +1 STRIPE +\. + + +-- +-- Data for Name: crm_seller; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.crm_seller (id, parent_seller_id, trading_country_id, trading_currency_id, trading_language_id, credit_note_prefix, current_credit_note_nb, credit_note_sequence_size, registration_no, legal_text, legal_type, general_ledger_id) FROM stdin; +-1 \N \N -1 -1 \N \N \N \N \N \N \N +-2 -1 \N -1 -1 \N \N \N \N \N \N \N +-3 -1 \N -2 -2 \N \N \N \N \N \N \N +1 \N \N \N \N \N \N \N \N \N \N \N +\. + + +-- +-- Data for Name: cust_cei; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.cust_cei (id, version, disabled, created, updated, description, code, creator, updater, cet_code, uuid, parent_uuid, cf_values, cf_values_accum) FROM stdin; +\. + + +-- +-- Data for Name: cust_cet; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.cust_cet (id, version, disabled, created, updated, description, code, creator, updater, name, store_as_table, unique_constraint_name) FROM stdin; +\. + + +-- +-- Data for Name: databasechangelog; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) FROM stdin; +rebuild-data-rolesDEMO AndriusKarpavicius src/main/db_resources/changelog/rebuild/data.xml 2024-01-26 14:02:05.835574 789 EXECUTED 8:3d7b77589396df78db33119eaf091c1d insert tableName=adm_role; insert tableName=adm_role; insert tableName=adm_role; insert tableName=adm_role; insert tableName=adm_role; insert tableName=adm_role; insert tableName=adm_role; insert tableName=adm_role; insert tableName=adm_role; inse... \N 3.6.3 \N \N 6270177550 +rebuild-data-usersDEMO AndriusKarpavicius src/main/db_resources/changelog/rebuild/data.xml 2024-01-26 14:02:06.685448 790 EXECUTED 8:a12e0db6f2a8ed2c217ac49abdf83ad0 insert tableName=adm_user; insert tableName=adm_user; insert tableName=adm_user; insert tableName=adm_user; insert tableName=adm_user_role; insert tableName=adm_user_role; insert tableName=adm_user_role; insert tableName=adm_user_role; insert tabl... \N 3.6.3 \N \N 6270177550 +rebuild-data-titlesDEMO AndriusKarpavicius src/main/db_resources/changelog/rebuild/data.xml 2024-01-26 14:02:07.3692 791 EXECUTED 8:ee4eae98114d684e123906d1775a82f3 insert tableName=adm_title; insert tableName=adm_title; insert tableName=adm_title; insert tableName=adm_title; insert tableName=adm_title; insert tableName=adm_title; insert tableName=adm_title \N 3.6.3 \N \N 6270177550 +rebuild-data-accounting-codesDEMO AndriusKarpavicius src/main/db_resources/changelog/rebuild/data.xml 2024-01-26 14:02:09.335187 792 EXECUTED 8:f3e7cd41e130ce3a35048d36f4e96b41 insert tableName=billing_accounting_code; insert tableName=billing_accounting_code; insert tableName=billing_accounting_code; insert tableName=billing_accounting_code; insert tableName=billing_accounting_code; insert tableName=billing_accounting_c... \N 3.6.3 \N \N 6270177550 +rebuild-data-occTemplatesDEMO AndriusKarpavicius src/main/db_resources/changelog/rebuild/data.xml 2024-01-26 14:02:11.277222 793 EXECUTED 8:a37c69e579d02519fcee4f86fe5544f8 insert tableName=ar_occ_template; insert tableName=ar_occ_template; insert tableName=ar_occ_template; insert tableName=ar_occ_template; insert tableName=ar_occ_template; insert tableName=ar_occ_template; insert tableName=ar_occ_template; insert ta... \N 3.6.3 \N \N 6270177550 +rebuild-data-calendarDEMO AndriusKarpavicius src/main/db_resources/changelog/rebuild/data.xml 2024-01-26 14:02:13.087483 794 EXECUTED 8:501be05b304c9af1eb2f94619fe3ff1b insert tableName=cat_calendar; insert tableName=cat_calendar_days; insert tableName=cat_calendar_days; insert tableName=cat_calendar_days; insert tableName=cat_calendar_days; insert tableName=cat_calendar_days; insert tableName=cat_calendar_days; ... \N 3.6.3 \N \N 6270177550 +rebuild-data-billingCyclesDEMO AndriusKarpavicius src/main/db_resources/changelog/rebuild/data.xml 2024-01-26 14:02:13.401235 795 EXECUTED 8:477280fb9b1480d775112a9f0cba6a9e insert tableName=billing_cycle; insert tableName=billing_cycle \N 3.6.3 \N \N 6270177550 +rebuild-data-taxesDEMO AndriusKarpavicius src/main/db_resources/changelog/rebuild/data.xml 2024-01-26 14:02:13.769119 796 EXECUTED 8:1eeb3551c99ceba718cf160f260cbd72 insert tableName=billing_tax; insert tableName=billing_tax; insert tableName=billing_tax \N 3.6.3 \N \N 6270177550 +rebuild-data-tradingsDEMO AndriusKarpavicius src/main/db_resources/changelog/rebuild/data.xml 2024-01-26 14:02:14.331543 797 EXECUTED 8:3b141773b16f68c162fdb37da4a46f42 insert tableName=billing_trading_country; insert tableName=billing_trading_country; insert tableName=billing_trading_currency; insert tableName=billing_trading_currency; insert tableName=billing_trading_language; insert tableName=billing_trading_l... \N 3.6.3 \N \N 6270177550 +rebuild-data-invoiceCategoriesDEMO AndriusKarpavicius src/main/db_resources/changelog/rebuild/data.xml 2024-01-26 14:02:15.029409 798 EXECUTED 8:8fa52518dc89d6c9a5f210eae14f8050 insert tableName=billing_invoice_cat; insert tableName=billing_invoice_cat; insert tableName=billing_invoice_sub_cat; insert tableName=billing_invoice_sub_cat; insert tableName=billing_inv_sub_cat_country; insert tableName=billing_inv_sub_cat_coun... \N 3.6.3 \N \N 6270177550 +rebuild-data-subscriptionTerminationReasonsDEMO AndriusKarpavicius src/main/db_resources/changelog/rebuild/data.xml 2024-01-26 14:02:15.40327 799 EXECUTED 8:75e183a0fca5b48975a7234df2096f9f insert tableName=billing_subscrip_termin_reason; insert tableName=billing_subscrip_termin_reason; insert tableName=billing_subscrip_termin_reason \N 3.6.3 \N \N 6270177550 +rebuild-data-customerClasifDEMO AndriusKarpavicius src/main/db_resources/changelog/rebuild/data.xml 2024-01-26 14:02:15.801313 800 EXECUTED 8:9e2ba8b61ca0ab06cac9bc1a0b03c6e3 insert tableName=crm_customer_brand; insert tableName=crm_customer_category; insert tableName=crm_customer_category \N 3.6.3 \N \N 6270177550 +rebuild-data-creditCategoryDEMO AndriusKarpavicius src/main/db_resources/changelog/rebuild/data.xml 2024-01-26 14:02:16.285481 801 EXECUTED 8:65236ba16dbd6f7847fbe74250a48e2c insert tableName=ar_credit_category; insert tableName=ar_credit_category; insert tableName=ar_credit_category; insert tableName=ar_credit_category; insert tableName=ar_credit_category \N 3.6.3 \N \N 6270177550 +rebuild-data-sellerDEMO AndriusKarpavicius src/main/db_resources/changelog/rebuild/data.xml 2024-01-26 14:02:16.653057 802 EXECUTED 8:8cebe66565bb1422c94c08232bf51754 insert tableName=crm_seller; insert tableName=crm_seller; insert tableName=crm_seller \N 3.6.3 \N \N 6270177550 +rebuild-data-timerDEMO AndriusKarpavicius src/main/db_resources/changelog/rebuild/data.xml 2024-01-26 14:02:18.069611 803 EXECUTED 8:56171863c4769232e627022f9cc43575 insert tableName=meveo_timer; insert tableName=meveo_timer; insert tableName=meveo_timer; insert tableName=meveo_job_instance; insert tableName=meveo_job_instance; insert tableName=meveo_job_instance; insert tableName=meveo_job_instance; insert ta... \N 3.6.3 \N \N 6270177550 +rebuild-data-invoiceTypes AndriusKarpavicius src/main/db_resources/changelog/rebuild/data.xml 2024-01-26 14:02:18.849632 804 EXECUTED 8:36e30a4a914571f52a1b3cf4fd589a1a insert tableName=billing_seq_invoice; insert tableName=billing_seq_invoice; insert tableName=billing_seq_invoice; insert tableName=billing_seq_invoice; insert tableName=billing_invoice_type; insert tableName=billing_invoice_type; insert tableName=... \N 3.6.3 \N \N 6270177550 +rebuild-data-decisionRule AndriusKarpavicius src/main/db_resources/changelog/rebuild/data.xml 2024-01-26 14:02:19.398595 805 EXECUTED 8:f930a981aaa793592039fb53245adaff insert tableName=wf_decision_rule; insert tableName=wf_decision_rule; insert tableName=wf_decision_rule; insert tableName=wf_decision_rule; insert tableName=wf_decision_rule; insert tableName=wf_decision_rule \N 3.6.3 \N \N 6270177550 +rebuild-data-paymentGateway AndriusKarpavicius src/main/db_resources/changelog/rebuild/data.xml 2024-01-26 14:02:19.895708 806 EXECUTED 8:cfb35cfe7304fbf1f28a3eb45234195b insert tableName=ar_payment_gateway; insert tableName=ar_payment_gateway; insert tableName=ar_payment_gateway; insert tableName=crm_provider_pay_methods; insert tableName=crm_provider_pay_methods \N 3.6.3 \N \N 6270177550 +rebuild-data-payment-gateway AndriusKarpavicius src/main/db_resources/changelog/rebuild/data.xml 2024-01-26 14:02:20.501478 807 EXECUTED 8:7fa9b0f5378b96ac8161d97a07b698c2 sql; sql; sql; sql; sql; sql; sql \N 3.6.3 \N \N 6270177550 +rebuild-data-job-instances MohamedSTITANE src/main/db_resources/changelog/rebuild/data.xml 2024-01-26 14:02:20.809106 808 EXECUTED 8:fd5423bfc07e8000e34084c1b314f2d0 insert tableName=meveo_job_instance; insert tableName=meveo_job_instance \N 3.6.3 \N \N 6270177550 +rebuild-data-script-categories AndriusKarpavicius src/main/db_resources/changelog/rebuild/data.xml 2024-01-26 14:02:21.055304 809 EXECUTED 8:5a77cc0e11479bc69d1e9f1735949d0f insert tableName=meveo_script_instance_cat \N 3.6.3 \N \N 6270177550 +rebuild-data-report-extracts AndriusKarpavicius src/main/db_resources/changelog/rebuild/data.xml 2024-01-26 14:02:27.079506 810 EXECUTED 8:4536270ef9c2a812e4b7a478a1caf562 sql; sql; insert tableName=dwh_report_extract; insert tableName=dwh_report_extract_params; insert tableName=dwh_report_extract_params; insert tableName=dwh_report_extract; insert tableName=dwh_report_extract_params; insert tableName=dwh_report_ext... \N 3.6.3 \N \N 6270177550 +rebuild-data-ddRequest AndriusKarpavicius src/main/db_resources/changelog/rebuild/data.xml 2024-01-26 14:02:27.383608 811 EXECUTED 8:731099252792d9923c7927d4c6504efd insert tableName=ar_ddrequest_builder; insert tableName=ar_ddrequest_builder \N 3.6.3 \N \N 6270177550 +rebuild-data-adm_custom_generic_entity_code AndriusKarpavicius src/main/db_resources/changelog/rebuild/data.xml 2024-01-26 14:02:27.688009 812 EXECUTED 8:47322ce11d3a076e9f2c64ea17cd17aa insert tableName=adm_custom_generic_entity_code; insert tableName=adm_custom_generic_entity_code \N 3.6.3 \N \N 6270177550 +simfony-core-b687a316-19fc-11eb-adc1-0242ac120002 AurelianTudor src/main/db_resources/changelog/rebuild/data.xml 2024-01-26 14:02:28.058351 813 EXECUTED 8:4826ed13b2c17da7dd244da08b09e07d insert tableName=adm_title \N 3.6.3 \N \N 6270177550 +#4140_08042019 hznibar src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:02:28.401863 814 EXECUTED 8:ec26c93a933193d95bf4a88b831c6318 modifyDataType columnName=result, tableName=wf_history_action \N 3.6.3 \N \N 6270177550 +#4127_10042019 AbdelmounaimAkadid src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:02:28.857797 815 EXECUTED 8:80840bfc39fb8c3a5f097d1c62af68fc addColumn tableName=dwh_report_extract; sql; sql \N 3.6.3 \N \N 6270177550 +#4089_20190404 AbdellatifBARI src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:02:29.107996 816 EXECUTED 8:d965956153269905f2081300b2b4ff25 sql \N 3.6.3 \N \N 6270177550 +#4107_20190515 EdwardPLegaspi src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:02:29.417761 817 EXECUTED 8:e0fbf52a7c4d6133b969ee16a76d178a createTable tableName=adm_role_secured_entity; addPrimaryKey constraintName=adm_role_secured_entity_pkey, tableName=adm_role_secured_entity \N 3.6.3 \N \N 6270177550 +#4117_20190405 AmineBENAICHA src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:02:29.719861 818 EXECUTED 8:17333e668c792da0c223afcb7bc7aca9 addColumn tableName=wf_instance; createIndex indexName=wf_instance_entity_id_idx, tableName=wf_instance \N 3.6.3 \N \N 6270177550 +#4179_20190417 AndriusKarpavicius src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:02:29.963738 819 EXECUTED 8:2f8a7476df27345d38a7fce747a714a3 addColumn tableName=meveo_script_instance \N 3.6.3 \N \N 6270177550 +#4148_20190418 - Add runAsync on notification EdwardPLegaspi src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:02:30.203908 820 EXECUTED 8:d1888d5f66e6825b46a5a2bac5f2dd73 addColumn tableName=adm_notification \N 3.6.3 \N \N 6270177550 +#3683_20190415 YoussefIZEM src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:02:31.263793 821 EXECUTED 8:df5162f51721dd03ed7e8b9006f39c68 addColumn tableName=adm_notif_email; addColumn tableName=adm_notification; sql; sql; sql; sql; addForeignKeyConstraint baseTableName=adm_notif_email, constraintName=fk_com_message_template, referencedTableName=com_message_template; dropColumn tabl... \N 3.6.3 \N \N 6270177550 +#4208_2019042601 MohamedElYoussoufi src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:02:31.533887 822 EXECUTED 8:6d3499686f1b2242d787156bb94f985b sql \N 3.6.3 \N \N 6270177550 +#3692_20190426 AndriusKarpavicius src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:02:31.774085 823 EXECUTED 8:817f1c3c718e76eb00f7c32cf51bf45d modifyDataType columnName=iban, tableName=ar_payment_gateway \N 3.6.3 \N \N 6270177550 +#4207_2019042901 MohamedElYoussoufi src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:02:32.261678 824 EXECUTED 8:49894354a391431ba91ed6782ff1c425 addColumn tableName=billing_rated_transaction; addForeignKeyConstraint baseTableName=billing_rated_transaction, constraintName=fk_billing_rated_transaction_offer_template, referencedTableName=cat_offer_template; addColumn tableName=billing_wallet_... \N 3.6.3 \N \N 6270177550 +#4207_2019042902 MohamedElYoussoufi src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:02:32.563879 825 EXECUTED 8:d1cdab1599c02b4956b9b84125681066 sql; sql \N 3.6.3 \N \N 6270177550 +#4207_2019042904 MohamedElYoussoufi src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:02:32.80589 826 EXECUTED 8:de0f3c27cf6d081b094b0df3c22d67e6 dropColumn tableName=billing_rated_transaction \N 3.6.3 \N \N 6270177550 +#4156_20190423 EdwardPLegaspi src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:02:33.111793 827 EXECUTED 8:27ab4bacd27f65f83e491a5142ec120a addColumn tableName=meveo_job_instance; update tableName=meveo_job_instance \N 3.6.3 \N \N 6270177550 +#4198_03052019 SaidRamli src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:02:33.469907 828 EXECUTED 8:afd704cf84f693097afbb916fc2c6529 addColumn tableName=billing_invoice_type; sql; sql \N 3.6.3 \N \N 6270177550 +#4156_08052019 AndriusKarpavicius src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:02:33.77166 829 EXECUTED 8:dc6376984f95138e1f7c51b7624f271a addDefaultValue columnName=exclude_inv_without_amount, tableName=meveo_job_instance; sql \N 3.6.3 \N \N 6270177550 +#4282_20190520 AndriusKarpavicius src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:02:34.203312 830 EXECUTED 8:dd2b2205b9f64283177b62b1047ec35d addColumn tableName=billing_rated_transaction; addForeignKeyConstraint baseTableName=billing_rated_transaction, constraintName=fk_rt_service_instance, referencedTableName=billing_service_instance; sql; sql; sql; sql; sql; sql \N 3.6.3 \N \N 6270177550 +#39262_20190604 TonyAlejandro src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:02:35.887782 831 EXECUTED 8:aeb5faa30be8cd42b9c124a174770c16 addColumn tableName=billing_service_instance; addColumn tableName=cat_service_template; addColumn tableName=cat_offer_template; addColumn tableName=billing_subscription; addDefaultValue columnName=initial_term_type, tableName=billing_service_insta... \N 3.6.3 \N \N 6270177550 +#4290_20190520-P AndriusKarpavicius src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:02:36.188068 832 EXECUTED 8:854547b19fe27c7a4633d69ecd59a020 sql; sql \N 3.6.3 \N \N 6270177550 +#4326_20190530-P AndriusKarpavicius src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:02:36.491999 833 EXECUTED 8:ba29877f6f23b9a8234e6875ef0e7544 sql; sql \N 3.6.3 \N \N 6270177550 +#4326_20190530 AndriusKarpavicius src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:02:36.978114 834 EXECUTED 8:3a2fc61a8251937a2c026d12dd70e0aa addNotNullConstraint columnName=tax_percentage, tableName=billing_tax; addNotNullConstraint columnName=tax_id, tableName=billing_wallet_operation; addNotNullConstraint columnName=tax_percent, tableName=billing_wallet_operation; addNotNullConstrain... \N 3.6.3 \N \N 6270177550 +#4278_20190520_partitions mohamed.el.youssoufi src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:02:37.444159 835 EXECUTED 8:d415fd958983d6f340488994c5c0741b createProcedure; createProcedure; createProcedure; createProcedure \N 3.6.3 \N \N 6270177550 +#4301_23052019 - empty tax amount mohamed.el.youssoufi src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:02:37.683868 836 EXECUTED 8:2afa6fb717425798fdf38f707d5ab3aa sql \N 3.6.3 \N \N 6270177550 +#4026-Order-validation-enhancement abdelkader.bouazza src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:02:37.934012 837 EXECUTED 8:e5e77e95dceb8ccdadc0f03eb3ae1619 dropNotNullConstraint columnName=user_account_id, tableName=ord_order_item \N 3.6.3 \N \N 6270177550 +#4192_20190506 - add counter for subscription and service KhalidHorri src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:02:38.362028 838 EXECUTED 8:bbfb88e3be91f5f004555477feac6316 addColumn tableName=billing_counter; addColumn tableName=billing_counter; addForeignKeyConstraint baseTableName=billing_counter, constraintName=fk_billing_counter_subscription_id, referencedTableName=billing_subscription; addForeignKeyConstraint b... \N 3.6.3 \N \N 6270177550 +#4303_300520191 mohamed.el.youssoufi src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:02:38.655708 839 EXECUTED 8:beb9e8cac45aa1bf61481452db9215e5 sql; sql \N 3.6.3 \N \N 6270177550 +#4322_20190612 - Add a filter to GenericWorkflow MounirBahije src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:02:38.892127 840 EXECUTED 8:7f4582279fadf9fbb314eacb089a5687 addColumn tableName=wf_generic_workflow \N 3.6.3 \N \N 6270177550 +#4054_201917061 - Encryption MohamedElYoussoufi src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:02:39.91603 841 EXECUTED 8:47d61677db3881a202b6d5e2cac194dd sql \N 3.6.3 \N \N 6270177550 +#4371_20190620_2 AbdellatifBARI src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:02:40.294136 842 EXECUTED 8:04cd2466f50a55d612076ae3a9ea68d1 createSequence sequenceName=adm_file_format_seq; createTable tableName=adm_file_format; addUniqueConstraint constraintName=uk_9fnf93rp352nkw2kpdbari5xp8, tableName=adm_file_format \N 3.6.3 \N \N 6270177550 +#4371_20190620_4 AbdellatifBARI src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:02:40.736124 843 EXECUTED 8:b2e8e867b8ac9172501a2d350d752551 createSequence sequenceName=flat_file_seq; createTable tableName=flat_file; addUniqueConstraint constraintName=uk_9fnf93rp352nkw2kpdbari6yr9, tableName=flat_file; addForeignKeyConstraint baseTableName=flat_file, constraintName=fk_d4iavkklx1qg1ani3... \N 3.6.3 \N \N 6270177550 +#4371_20190620_5 AbdellatifBARI src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:02:40.984325 844 EXECUTED 8:724d72e97e20dda25da4b0d36e295ebf sql \N 3.6.3 \N \N 6270177550 +#4160_20190105 - Accounting Writing MounirBOUKAYOUA src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:02:41.668151 845 EXECUTED 8:8ba0eab50abe351358ba5aa1406b3ec3 createTable tableName=ar_accounting_writing; addForeignKeyConstraint baseTableName=ar_accounting_writing, constraintName=fk_accounting_writing_origin_writing, referencedTableName=ar_accounting_writing; addForeignKeyConstraint baseTableName=ar_acco... \N 3.6.3 \N \N 6270177550 +#4337_20190710 MohammedELAZZOUZI src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:02:42.036481 846 EXECUTED 8:dd4d9820ed7f82354976d28f13d549cb addColumn tableName=ar_account_operation; addForeignKeyConstraint baseTableName=ar_account_operation, constraintName=fk_billing_invoice, referencedTableName=billing_invoice; sql \N 3.6.3 \N \N 6270177550 +#4372_20190715 RedaDebbache src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:02:42.280211 847 EXECUTED 8:66eceb45eb9b3f3b047cc7af76d0ef5f addColumn tableName=crm_custom_field_tmpl \N 3.6.3 \N \N 6270177550 +#4372_20190723 RedaDebbache src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:02:42.528263 848 EXECUTED 8:38098975a7afad4f97637d8a4d6f111b addColumn tableName=cust_cet \N 3.6.3 \N \N 6270177550 +#4458_20190626_1 AbdellatifBARI src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:02:43.098445 849 EXECUTED 8:5b4d3fb3a36e686221ee3722fa80036f dropUniqueConstraint constraintName=uk_9fnf93rp352nkw2kpdbari5xp8, tableName=adm_file_format; dropColumn tableName=adm_file_format; dropColumn tableName=adm_file_format; addColumn tableName=adm_file_format; addUniqueConstraint constraintName=uk_9f... \N 3.6.3 \N \N 6270177550 +#4458_20190626_2 AbdellatifBARI src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:02:43.482206 850 EXECUTED 8:7b89a7541aa5ed7aae4d287664410a21 createTable tableName=adm_file_format_file_type; addPrimaryKey constraintName=adm_file_format_file_type_pkey, tableName=adm_file_format_file_type; addForeignKeyConstraint baseTableName=adm_file_format_file_type, constraintName=fk_4au8lqa3bc46gks4d... \N 3.6.3 \N \N 6270177550 +#4458_20190626_4 AbdellatifBARI src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:02:43.9866 851 EXECUTED 8:3543577d9e4bde942b7fa35cab433243 createSequence sequenceName=adm_file_type_seq; createTable tableName=adm_file_type; addUniqueConstraint constraintName=uk_9fnf93rp352nkw2kpdbari5yr8, tableName=adm_file_type; addForeignKeyConstraint baseTableName=adm_file_format_file_type, constra... \N 3.6.3 \N \N 6270177550 +#4468_20190631_1 AbdellatifBARI src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:02:44.472063 852 EXECUTED 8:f5656552eb69c0fe6582cfcc0b7d4fe5 addColumn tableName=flat_file \N 3.6.3 \N \N 6270177550 +#4326_20190709 AndriusKarpavicius src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:02:44.780044 853 EXECUTED 8:3c03e1044526697a4b13c276acb6615b dropForeignKeyConstraint baseTableName=billing_wallet_operation, constraintName=fk_wallet_operation_rated_transaction; dropForeignKeyConstraint baseTableName=billing_rated_transaction, constraintName=fk_billing_rated_transaction_rated_transaction \N 3.6.3 \N \N 6270177550 +#4457_20190728 AndriusKarpavicius src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:02:45.020284 854 EXECUTED 8:1af3a33584bf882569f9cc3ed5987a32 sql \N 3.6.3 \N \N 6270177550 +#4472_20190807 AndriusKarpavicius src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:02:45.445038 855 EXECUTED 8:7170bd290fa1a3be51a99584482b9597 sql; sql; sql; sql \N 3.6.3 \N \N 6270177550 +#4326_20190811 AndriusKarpavicius src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:02:45.700314 856 EXECUTED 8:5a39e1c56bf442a5c8eaf6fb2a5417ba addColumn tableName=billing_invoice \N 3.6.3 \N \N 6270177550 +#4512_20190819 AbdellatifBARI src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:02:46.060107 857 EXECUTED 8:c541fa9ef450ef722895284883d66f17 dropColumn tableName=flat_file; addColumn tableName=flat_file \N 3.6.3 \N \N 6270177550 +#4480_250919 MohammedElAzzouzi src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:02:46.30808 858 EXECUTED 8:27bd0a1ad9863d5d016a5e661cce9a25 sql \N 3.6.3 \N \N 6270177550 +#4480_210819 SaidRamli src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:02:46.554191 859 EXECUTED 8:a955c38eda846c432eedf0607b66b7dd addForeignKeyConstraint baseTableName=billing_invoice, constraintName=fk_invoice_pm, referencedTableName=ar_payment_token \N 3.6.3 \N \N 6270177550 +#4538_20190829 AbdellatifBARI src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:02:46.798304 860 EXECUTED 8:bac29d1d1a875e9017f9081509f4d5c5 addColumn tableName=flat_file \N 3.6.3 \N \N 6270177550 +#4550_20190904 AbdellatifBARI src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:02:47.352103 861 EXECUTED 8:668c84a34cff2f3477429349c07cc198 dropColumn tableName=billing_trading_country; addColumn tableName=billing_trading_country \N 3.6.3 \N \N 6270177550 +#4313_17062019 mohamed.el.youssoufi src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:02:47.726419 862 EXECUTED 8:66223bcd920236fe80a264e974a85f14 addColumn tableName=wf_generic_workflow \N 3.6.3 \N \N 6270177550 +#3774_07102019 FranckValot src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:02:47.970578 863 EXECUTED 8:f050b084f181a1d8ea4251c6b3b36cc1 addColumn tableName=adm_notification \N 3.6.3 \N \N 6270177550 +#4064_11092019 AbdelmounaimAkadid src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:02:48.216533 864 EXECUTED 8:205d8cdc1ad4f4b20f490744463f49f2 addColumn tableName=billing_invoice \N 3.6.3 \N \N 6270177550 +#4606_260919 AbdelmounaimAkadid src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:02:49.026077 865 EXECUTED 8:3344afc4133d631cce5bec1a5796c977 addColumn tableName=billing_subscription; addForeignKeyConstraint baseTableName=billing_subscription, constraintName=fk_billing_subscription_invoice_sub_cat, referencedTableName=billing_invoice_sub_cat; addColumn tableName=cat_offer_template; addF... \N 3.6.3 \N \N 6270177550 +#4555_20190903 AndriusKarpavicius src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:02:51.802503 866 EXECUTED 8:112bb7de390ab1bd8ad6b7d79870e44a addColumn tableName=cat_charge_template; sql; sql; sql; sql; sql; sql; sql; sql; dropForeignKeyConstraint baseTableName=cat_serv_usage_charge_template, constraintName=fk_443th9siwouj4fg746sgyfqtv; dropForeignKeyConstraint baseTableName=cat_usage_c... \N 3.6.3 \N \N 6270177550 +#4555_20190903-end AndriusKarpavicius src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:02:52.860843 867 EXECUTED 8:88b351474b1b4b81257105b73c7e9c7d addForeignKeyConstraint baseTableName=cat_serv_usage_charge_template, constraintName=fk_443th9siwouj4fg746sgyfqtv, referencedTableName=cat_charge_template; addForeignKeyConstraint baseTableName=cat_charge_template, constraintName=fk_ailcl9mls5y7bj... \N 3.6.3 \N \N 6270177550 +#4555_20190905 AndriusKarpavicius src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:02:55.072604 868 EXECUTED 8:0fdc585c0d78b175bb7728baeaace41a addColumn tableName=billing_charge_instance; dropColumn columnName=pr_description, tableName=billing_charge_instance; sql; sql; sql; sql; sql; sql; sql; sql; sql; sql; sql; sql; dropForeignKeyConstraint baseTableName=billing_usage_charge_inst, con... \N 3.6.3 \N \N 6270177550 +#4555_20190905-end AndriusKarpavicius src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:02:55.804863 869 EXECUTED 8:78534e592324c5f1d86e5d3721d5d3a5 addForeignKeyConstraint baseTableName=billing_charge_instance, constraintName=fk_5q5wxh2nq7gbd9bcds59egh3e, referencedTableName=billing_service_instance; addForeignKeyConstraint baseTableName=billing_charge_instance, constraintName=fk_n5h6xvrtm2a2... \N 3.6.3 \N \N 6270177550 +#4511_20190919-P AndriusKarpavicius src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:02:57.398568 870 EXECUTED 8:67f2f84515d752438100c2bc7c13084b sql; sql; sql; sql; sql; sql; sql; sql; sql; sql; sql; sql; sql; sql; sql; sql; sql; sql \N 3.6.3 \N \N 6270177550 +#4511_20190919-P-end AndriusKarpavicius src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:03:00.93045 871 EXECUTED 8:bc6ca1fcb18e8c8c449e09ba1be35ec8 sql; sql; sql; dropForeignKeyConstraint baseTableName=billing_reservation, constraintName=fk_reservation_edr; dropTable tableName=billing_wallet_operation_tmp; dropTable tableName=billing_rated_transaction_tmp; dropTable tableName=rating_edr_tmp; ... \N 3.6.3 \N \N 6270177550 +#4490_31102019 AbdelmounaimAkadid src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:03:01.304713 872 EXECUTED 8:76e2f13ff15f73e61728603b702a5789 addColumn tableName=billing_charge_instance \N 3.6.3 \N \N 6270177550 +#4523-Changing-amount-for-a-service-instance-with-prorating abdelkader.bouazza src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:03:01.689042 873 EXECUTED 8:5a97dd0b460fdd4fac59b90d0ce25a57 addColumn tableName=cat_charge_template; addColumn tableName=cat_price_plan_matrix \N 3.6.3 \N \N 6270177550 +#3510_20190516 MounirBahije src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:03:02.71108 874 EXECUTED 8:1c3788bd4223fd676659a16216b3ad79 createTable tableName=cat_unit_of_measure; addColumn tableName=cat_charge_template; addForeignKeyConstraint baseTableName=cat_charge_template, constraintName=fk_input_cat_charge_template_cat_unit_of_measure, referencedTableName=cat_unit_of_measure... \N 3.6.3 \N \N 6270177550 +#4766_20191111 MohammedELAZZOUZI src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:03:03.331017 875 EXECUTED 8:245f4410f371a42a83ae96218ba00c0c addNotNullConstraint columnName=currency_code, tableName=adm_currency; addNotNullConstraint columnName=description_en, tableName=adm_currency; addNotNullConstraint columnName=description_en, tableName=adm_language; addNotNullConstraint columnName=... \N 3.6.3 \N \N 6270177550 +#4765_20191112 MohammedELAZZOUZI src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:03:03.632688 876 EXECUTED 8:7267e8917f637912fc4e1f6f391dd99c update tableName=billing_cycle; addNotNullConstraint columnName=billing_cycle_type, tableName=billing_cycle \N 3.6.3 \N \N 6270177550 +#4783_20191118 MohamedSTITANE src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:03:04.022662 877 EXECUTED 8:d1fdd1e0e0942f6a771d3ed2c50eb9a9 sql; sql; sql \N 3.6.3 \N \N 6270177550 +#4412_20191125 MohammedELAZZOUZI src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:03:04.358831 878 EXECUTED 8:0cf38b5dd4e061de8d371642658e8374 dropColumn columnName=display_charges_periods, tableName=billing_invoice_configuration; addColumn tableName=billing_invoice_configuration \N 3.6.3 \N \N 6270177550 +#4795_221119 Mohammed_ElAzzouzi src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:03:04.808836 879 EXECUTED 8:38166b8efaa919b9b8f104ffebcf9ff6 sql; sql; sql; sql \N 3.6.3 \N \N 6270177550 +#4494-Enable_a_subscription_to_have_the_same_access_point_in_two_or_more_different_periods_of_time abdelkader.bouazza src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:03:05.146698 880 EXECUTED 8:bd2ee20571e15715549a3b24d61cec52 dropUniqueConstraint constraintName=uk_lca62y5gn9qo1e6jr84i9w3lr, tableName=medina_access; addUniqueConstraint constraintName=uk_lca62y5gn9qo1e6jr84i9w3lr, tableName=medina_access \N 3.6.3 \N \N 6270177550 +#4712_20191223 khalidHORRI src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:03:05.507006 881 EXECUTED 8:ba7371a1d1d0636bb74ab2592bbac8b4 addColumn tableName=crm_custom_field_tmpl \N 3.6.3 \N \N 6270177550 +#4791_20200113 KhalidHORRI src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:03:06.302983 882 EXECUTED 8:51714fb4f9c6bee9c7cdc08c91957b9d addColumn tableName=cat_counter_template; addColumn tableName=cat_serv_trm_charge_template; addForeignKeyConstraint baseTableName=cat_serv_trm_charge_template, constraintName=fk_serv_trm_charge_template_counter_template, referencedTableName=cat_co... \N 3.6.3 \N \N 6270177550 +4745_20200108 MohamedSTITANE src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:03:07.958868 883 EXECUTED 8:e712fe7c1dd6810b7f14546c5ad94845 dropColumn tableName=crm_seller \N 3.6.3 \N \N 6270177550 +#4906_Creation_CDR_Table_2 anasseh src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:03:08.390565 884 EXECUTED 8:fed6f985ab7dd09a5ee4e7bd2408cc51 createSequence sequenceName=rating_cdr_seq; createTable tableName=rating_cdr; sql; sql \N 3.6.3 \N \N 6270177550 +#4933_20200117 AbdellatifBARI src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:03:08.696909 885 EXECUTED 8:934174a40cab36dad502364fbf2dfef0 addNotNullConstraint columnName=configuration_template, tableName=adm_file_format; addColumn tableName=adm_file_format \N 3.6.3 \N \N 6270177550 +#3743_20190414 HatimOudad src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:03:09.18469 886 EXECUTED 8:6a97993011414a9368003fd8518a2df7 sql; sql; sql; sql; sql \N 3.6.3 \N \N 6270177550 +#500X_20200218 mohamed.el.youssoufi src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:03:09.928984 887 EXECUTED 8:a244725bc9f777092f80899a4d303012 sql; sql; sql; sql; sql; sql; sql; sql \N 3.6.3 \N \N 6270177550 +#4787_20200224 khalidHORRI src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:03:10.17479 888 EXECUTED 8:e1ce0bd3503168ba35afcb239a36c49c addColumn tableName=billing_subscrip_termin_reason \N 3.6.3 \N \N 6270177550 +#4096_2020-02-07_2 AndriusKarpavicius src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:03:12.330667 889 EXECUTED 8:6c0ce4830e4be3a86df9890513cabac4 createSequence sequenceName=billing_tax_category_seq; createTable tableName=billing_tax_category; addUniqueConstraint constraintName=uk_billing_tax_category_code, tableName=billing_tax_category; createSequence sequenceName=billing_tax_class_seq; c... \N 3.6.3 \N \N 6270177550 +#4096_2020-02-07_3 AndriusKarpavicius src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:03:13.194924 890 EXECUTED 8:d052d091ed0a1af4043285fff65ba219 insert tableName=billing_tax_category; sql; sql; sql; sql; sql; sql; sql; addNotNullConstraint columnName=tax_class_id, tableName=cat_charge_template; dropTable tableName=billing_inv_sub_cat_country \N 3.6.3 \N \N 6270177550 +#4201_20200225 khalidHORRI src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:03:13.445258 891 EXECUTED 8:33e29cd98e362d3d88bd961182ca5422 addColumn tableName=billing_subscrip_termin_reason \N 3.6.3 \N \N 6270177550 +#4071_20200227 khalidHORRI src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:03:13.69119 892 EXECUTED 8:690684b0189c1a5b00cc847cccaf6b80 addColumn tableName=cat_charge_template \N 3.6.3 \N \N 6270177550 +#4894-Additional_fields_in_RT abdelkader.bouazza src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:03:14.061297 893 EXECUTED 8:37d93cfbc9a62f8b13243ddd945587a1 addColumn tableName=billing_rated_transaction \N 3.6.3 \N \N 6270177550 +#4893-Add-custom-field-support-to-WalletOperation abdelkader.bouazza src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:03:14.541105 894 EXECUTED 8:173c8be38b96e449ba1c31542611c7de addColumn tableName=billing_wallet_operation; sql; addNotNullConstraint columnName=uuid, tableName=billing_wallet_operation \N 3.6.3 \N \N 6270177550 +#4892_2020-03-04 AndriusKarpavicius src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:03:14.845067 895 EXECUTED 8:104f2801d322e6efa07522f17ded87bb addColumn tableName=cat_charge_template; addForeignKeyConstraint baseTableName=cat_charge_template, constraintName=fk_charge_template_rating_script_id, referencedTableName=meveo_script_instance \N 3.6.3 \N \N 6270177550 +#5038_2020-03-06 AndriusKarpavicius src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:03:15.087136 896 EXECUTED 8:6c6a4788e36057bd65c41db71604b497 dropNotNullConstraint columnName=script, tableName=meveo_script_instance \N 3.6.3 \N \N 6270177550 +#5064_2020-03-15 AndriusKarpavicius src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:03:15.388936 897 EXECUTED 8:9b64d70230fa8d40b85c4d3ea3a1ac62 sql; sql \N 3.6.3 \N \N 6270177550 +#4891-Copy-recurrence-calendar-and-applyInAdvance-to-RecurringChargeInstance-from-a-RecurringChargeTemplate abdelkader.bouazza src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:03:15.754972 898 EXECUTED 8:07c0c18c296a0e1af6b2681f7f741a62 addColumn tableName=billing_charge_instance; addColumn tableName=billing_charge_instance; sql \N 3.6.3 \N \N 6270177550 +#4757_20191118 khalid.horri src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:03:17.029094 899 EXECUTED 8:fa3701c21d01afc83e3325a3f2fb22c2 addColumn tableName=account_entity; addColumn tableName=crm_customer; addColumn tableName=ar_customer_account; addColumn tableName=billing_subscription; addColumn tableName=billing_service_instance; addColumn tableName=cat_offer_template; addColum... \N 3.6.3 \N \N 6270177550 +#4924_20200219 anasseh src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:03:17.272785 900 EXECUTED 8:ef691dc4f7e4913ac7f5294b455aac03 addColumn tableName=billing_invoice \N 3.6.3 \N \N 6270177550 +#5085_20200330 - triggeredNextCharge has an incorrect value Mohammed_ELAZZOUZI src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:03:17.511154 901 EXECUTED 8:6d6795646dadc8752899afebefeaa43e update tableName=cat_charge_template \N 3.6.3 \N \N 6270177550 +#4903_GDPR_Anonymize_CF Mounir_BOUKAYOUA src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:03:17.757124 902 EXECUTED 8:02ea57fdcad162995449a2e46cb25991 addColumn tableName=crm_custom_field_tmpl \N 3.6.3 \N \N 6270177550 +#4879_20190121 AmineBENAICHA src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:03:18.004934 903 EXECUTED 8:d387ae2def516f7184efd88295a505ba addColumn tableName=cat_counter_template \N 3.6.3 \N \N 6270177550 +#5052_20200323 MohammedELAZZOUZI src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:03:18.439307 904 EXECUTED 8:501b5e221d3b913f4ed5d263395a0859 addColumn tableName=billing_rated_transaction; addForeignKeyConstraint baseTableName=billing_rated_transaction, constraintName=fk_input_billing_rated_transaction_cat_unit_of_measure, referencedTableName=cat_unit_of_measure; addForeignKeyConstraint... \N 3.6.3 \N \N 6270177550 +#5014_20200313 khalidHORRI src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:03:18.987169 905 EXECUTED 8:faa2bd9fcb376d36557e165ff8e93c6b addColumn tableName=crm_customer; addColumn tableName=ar_customer_account; addColumn tableName=billing_cycle; addColumn tableName=billing_billing_account \N 3.6.3 \N \N 6270177550 +#5014_20200402 khalidHORRI src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:03:19.308975 906 EXECUTED 8:1f7f1a7f1d046286af974d08a17ce3ff dropDefaultValue columnName=check_threshold, tableName=ar_customer_account; sql \N 3.6.3 \N \N 6270177550 +#5125_20200407 khalidHORRI src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:03:20.16697 907 EXECUTED 8:7afee406ec8ccbcb0e71e5be1f500ab9 sql; createTable tableName=cat_serv_usage_counter_template; addPrimaryKey constraintName=cat_serv_usage_counter_template_pkey, tableName=cat_serv_usage_counter_template; createTable tableName=cat_serv_rec_counter_template; addPrimaryKey constraint... \N 3.6.3 \N \N 6270177550 +#5174_20200423 AbdelmounaimAkadid src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:03:20.685063 908 EXECUTED 8:8d911f29962a3058b356315d26e025a6 addColumn tableName=ord_order_item \N 3.6.3 \N \N 6270177550 +#2447_20200421 khalidHORRI src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:03:21.04522 909 EXECUTED 8:3a1f0121f8daf7e43ecd0a02fdcad850 addColumn tableName=cat_price_plan_matrix \N 3.6.3 \N \N 6270177550 +#5130_20200414 khalidHORRI src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:03:21.911314 910 EXECUTED 8:48f2a68a15eee2f5c731056ef60c2075 addColumn tableName=cat_counter_template; addColumn tableName=billing_counter_period; createTable tableName=billing_counter_period_values; addPrimaryKey constraintName=billing_counter_period_values_pkey, tableName=billing_counter_period_values; ad... \N 3.6.3 \N \N 6270177550 +#4004_ Add_CustomField_to_OrderItem MohammedELAZZOUZI src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:03:22.39299 911 EXECUTED 8:ec2ada6dbfcfda8d150637c47d8e603a addColumn tableName=ord_order_item; sql; addNotNullConstraint columnName=uuid, tableName=ord_order_item \N 3.6.3 \N \N 6270177550 +#5174_20200504 AbdelmounaimAkadid src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:03:22.707986 912 EXECUTED 8:04c5d6f3339ffc62028c87259ef2929a sql; addUniqueConstraint constraintName=uk_order_item_code, tableName=ord_order_item \N 3.6.3 \N \N 6270177550 +#4792_20200504 khalidHORRI src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:03:23.13495 913 EXECUTED 8:d2493274ba1a0091728744426486566d addColumn tableName=billing_invoice_sub_cat; addColumn tableName=billing_wallet_operation; addColumn tableName=billing_rated_transaction; addColumn tableName=cat_charge_template \N 3.6.3 \N \N 6270177550 +#5279_20200608_Cancellation of a billing run is impossible anasseh src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:03:23.446944 914 EXECUTED 8:d772fb75b3b52e4eba96f1c6bddefa0e sql; sql \N 3.6.3 \N \N 6270177550 +#5266_20200622 AbdelmounaimAkadid src/main/db_resources/changelog/current/structure.xml 2024-01-26 14:03:23.809338 915 EXECUTED 8:671b8ca2b6697c916557b3a0d2e47d80 dropColumn tableName=billing_counter_period \N 3.6.3 \N \N 6270177550 +#4150_20190415 - Disable standard jobs EdwardPLegaspi src/main/db_resources/changelog/current/data.xml 2024-01-26 14:03:24.113182 916 EXECUTED 8:efe73923a839e93335b02e534b593053 update tableName=meveo_job_instance; delete tableName=meveo_timer \N 3.6.3 \N \N 6270177550 +#4092_20190415 - Add SelfCare Settings EdwardPLegaspi src/main/db_resources/changelog/current/data.xml 2024-01-26 14:03:25.247182 917 EXECUTED 8:cb5283c246f048329ae720abf87fe0e1 insert tableName=adm_permission; insert tableName=adm_permission; insert tableName=adm_role; insert tableName=adm_role_permission; insert tableName=adm_role_permission; insert tableName=adm_user; insert tableName=adm_user_role; sql; insert tableNa... \N 3.6.3 \N \N 6270177550 +#4150_20190424 - Bring back the timers EdwardPLegaspi src/main/db_resources/changelog/current/data.xml 2024-01-26 14:03:25.615236 918 EXECUTED 8:7a30a21f7a4610e90a41709b66f74e20 insert tableName=meveo_timer; insert tableName=meveo_timer; insert tableName=meveo_timer \N 3.6.3 \N \N 6270177550 +#4082_20190404 SaidRamli src/main/db_resources/changelog/current/data.xml 2024-01-26 14:03:25.949561 919 EXECUTED 8:ad3d42978fee89a5f7fb74b89445266a sql; insert tableName=meveo_job_instance \N 3.6.3 \N \N 6270177550 +3139_20190225 horriKhalid src/main/db_resources/changelog/current/data.xml 2024-01-26 14:03:26.197586 920 EXECUTED 8:71f54499ba8d4e4b066ad8fd4a1949a0 insert tableName=meveo_job_instance \N 3.6.3 \N \N 6270177550 +4316_20190625_job horriKhalid src/main/db_resources/changelog/current/data.xml 2024-01-26 14:03:26.437327 921 EXECUTED 8:278064bb9126e4b52cbba18ef78519f0 insert tableName=meveo_job_instance \N 3.6.3 \N \N 6270177550 +4316_20190625_script horriKhalid src/main/db_resources/changelog/current/data.xml 2024-01-26 14:03:26.681299 922 EXECUTED 8:c393c5000d733aa5a839b7511508027e sql \N 3.6.3 \N \N 6270177550 +4403_20190701_export_job horriKhalid src/main/db_resources/changelog/current/data.xml 2024-01-26 14:03:26.926635 923 EXECUTED 8:1aa8db3f7bbb86fa12e59a5ad1078087 insert tableName=meveo_job_instance \N 3.6.3 \N \N 6270177550 +4403_20190701_purge_job horriKhalid src/main/db_resources/changelog/current/data.xml 2024-01-26 14:03:27.169237 924 EXECUTED 8:c240c5a7d9131059385975b81c55d58c insert tableName=meveo_job_instance \N 3.6.3 \N \N 6270177550 +4403_20190701_import_job horriKhalid src/main/db_resources/changelog/current/data.xml 2024-01-26 14:03:27.41124 925 EXECUTED 8:2fcee61fc2e9b2a5a9cb133277699fe8 insert tableName=meveo_job_instance \N 3.6.3 \N \N 6270177550 +#4150_20190717 - Error while running SALES_JOURNAL report extracts Mohammed_EL-AZZOUZI src/main/db_resources/changelog/current/data.xml 2024-01-26 14:03:27.655282 926 EXECUTED 8:1ffbe86a0489c783b97e2faf4b365d25 update tableName=dwh_report_extract \N 3.6.3 \N \N 6270177550 +#4449_20190724 AbdellatifBARI src/main/db_resources/changelog/current/data.xml 2024-01-26 14:03:27.965116 927 EXECUTED 8:d6a00e71c5e818e48f318e0330319b50 insert tableName=ar_occ_template; insert tableName=ar_occ_template \N 3.6.3 \N \N 6270177550 +#4550_20190904 AbdellatifBARI src/main/db_resources/changelog/current/data.xml 2024-01-26 14:03:28.269542 928 EXECUTED 8:9aa647f5ae7f113c221cfcbf32348748 update tableName=billing_trading_country; update tableName=billing_trading_country \N 3.6.3 \N \N 6270177550 +#4064_11092019 AbdelmounaimAkadid src/main/db_resources/changelog/current/data.xml 2024-01-26 14:03:28.51921 929 EXECUTED 8:b562e1e5a42d29ed7e98a4b49b94e039 insert tableName=meveo_job_instance \N 3.6.3 \N \N 6270177550 +#4742_20191030 MohamedSTITANE src/main/db_resources/changelog/current/data.xml 2024-01-26 14:03:28.829639 930 EXECUTED 8:b7df88aeb7e080368cce4b539a3d02e8 createSequence sequenceName=meveo_metrics_config_seq; createTable tableName=meveo_metrics_config \N 3.6.3 \N \N 6270177550 +4804_20191205 MohamedSTITANE src/main/db_resources/changelog/current/data.xml 2024-01-26 14:03:29.133533 931 EXECUTED 8:899aa3ff9fe2c5a6250a848716d6a928 update tableName=meveo_job_instance; update tableName=meveo_job_instance \N 3.6.3 \N \N 6270177550 +rebuild-data-cat_unit_of_measure Mohammed_ELAZZOUZI src/main/db_resources/changelog/current/data.xml 2024-01-26 14:03:30.101224 932 EXECUTED 8:fa1b48c1c74c68dfe1453fce0fb0ad26 insert tableName=cat_unit_of_measure; insert tableName=cat_unit_of_measure; insert tableName=cat_unit_of_measure; insert tableName=cat_unit_of_measure; insert tableName=cat_unit_of_measure; insert tableName=cat_unit_of_measure; insert tableName=ca... \N 3.6.3 \N \N 6270177550 +500X_20200218_purge_job mohamed.el.youssoufi src/main/db_resources/changelog/current/data.xml 2024-01-26 14:03:30.359309 933 EXECUTED 8:d448da0622c1571189fb3aec6fa22846 insert tableName=meveo_job_instance \N 3.6.3 \N \N 6270177550 +#4924_20200219 anasseh src/main/db_resources/changelog/current/data.xml 2024-01-26 14:03:30.669257 934 EXECUTED 8:f6e1ac45bb9dcad58264b345eca396c3 insert tableName=crm_provider_pay_methods; insert tableName=crm_provider_pay_methods \N 3.6.3 \N \N 6270177550 +#4924_20200219_2 anasseh src/main/db_resources/changelog/current/data.xml 2024-01-26 14:03:30.987506 935 EXECUTED 8:b8f36e9fbd8c35586ab8c633e7ef3d83 insert tableName=ar_occ_template; insert tableName=ar_occ_template \N 3.6.3 \N \N 6270177550 +rebuild-4.6-struct-complete AndriusKarpavicius src/main/db_resources/changelog/rebuild/structure.xml 2024-01-26 14:00:34.896529 782 EXECUTED 8:7ec071fa4b2524d5e7601b191846da2d delete tableName=DATABASECHANGELOG \N 3.6.3 \N \N 6270177550 +rebuild-data-currencies AndriusKarpavicius src/main/db_resources/changelog/rebuild/data.xml 2024-01-26 14:00:45.632881 783 EXECUTED 8:1782e9aa79ce2bb5a592263a9b843e5c insert tableName=adm_currency; insert tableName=adm_currency; insert tableName=adm_currency; insert tableName=adm_currency; insert tableName=adm_currency; insert tableName=adm_currency; insert tableName=adm_currency; insert tableName=adm_currency;... \N 3.6.3 \N \N 6270177550 +rebuild-data-languages AndriusKarpavicius src/main/db_resources/changelog/rebuild/data.xml 2024-01-26 14:00:47.830989 784 EXECUTED 8:0974afb3adc4e9dd6e82d0d915f3d5f3 insert tableName=adm_language; insert tableName=adm_language; insert tableName=adm_language; insert tableName=adm_language; insert tableName=adm_language; insert tableName=adm_language; insert tableName=adm_language; insert tableName=adm_language;... \N 3.6.3 \N \N 6270177550 +rebuild-data-countries AndriusKarpavicius src/main/db_resources/changelog/rebuild/data.xml 2024-01-26 14:01:02.823936 785 EXECUTED 8:8ebd48f0575c55a7f0d10489eb0e6b59 insert tableName=adm_country; insert tableName=adm_country; insert tableName=adm_country; insert tableName=adm_country; insert tableName=adm_country; insert tableName=adm_country; insert tableName=adm_country; insert tableName=adm_country; insert ... \N 3.6.3 \N \N 6270177550 +rebuild-data-permissions AndriusKarpavicius src/main/db_resources/changelog/rebuild/data.xml 2024-01-26 14:01:10.285551 786 EXECUTED 8:2b5f2d1d815dc93089c8d6d2d87db5a4 insert tableName=adm_permission; insert tableName=adm_permission; insert tableName=adm_permission; insert tableName=adm_permission; insert tableName=adm_permission; insert tableName=adm_permission; insert tableName=adm_permission; insert tableName... \N 3.6.3 \N \N 6270177550 +rebuild-data-calendarDays AndriusKarpavicius src/main/db_resources/changelog/rebuild/data.xml 2024-01-26 14:01:33.438681 787 EXECUTED 8:76085567ca5c58ce759ee693b7663d02 insert tableName=cat_day_in_year; insert tableName=cat_day_in_year; insert tableName=cat_day_in_year; insert tableName=cat_day_in_year; insert tableName=cat_day_in_year; insert tableName=cat_day_in_year; insert tableName=cat_day_in_year; insert ta... \N 3.6.3 \N \N 6270177550 +rebuild-data-providerDEMO AndriusKarpavicius src/main/db_resources/changelog/rebuild/data.xml 2024-01-26 14:01:33.810325 788 EXECUTED 8:4d990798667a0f45922e70dcea306cff insert tableName=billing_invoice_configuration; insert tableName=crm_provider; insert tableName=crm_provider_contact \N 3.6.3 \N \N 6270177550 +\. + + +-- +-- Data for Name: databasechangeloglock; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.databasechangeloglock (id, locked, lockgranted, lockedby) FROM stdin; +1 f \N \N +\. + + +-- +-- Data for Name: dunning_document; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.dunning_document (id, code, description, version, created, updated, creator, updater, customer_account_id, billing_subscription_id) FROM stdin; +\. + + +-- +-- Data for Name: dwh_account_operation; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.dwh_account_operation (id, account_code, account_description, accounting_code_id, accounting_code_client_side, amount, category, due_date, due_month, occ_code, occ_description, provider_code, reference, status, transaction_date, type, version) FROM stdin; +\. + + +-- +-- Data for Name: dwh_chart; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.dwh_chart (id, version, disabled, created, updated, code, description, extender, css_style, css_style_class, creator, updater, msr_qty_id, role_id, width, height, visible) FROM stdin; +\. + + +-- +-- Data for Name: dwh_chart_bar; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.dwh_chart_bar (animate, barmargin, barpadding, break_on_null, data_tip_format, legend_cols, legend_position, legend_rows, max, min, orientation, show_data_tip, stacked, x_axis_angle, x_axis_label, y_axis_angle, y_axis_label, zoom, id) FROM stdin; +\. + + +-- +-- Data for Name: dwh_chart_line; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.dwh_chart_line (animate, break_on_null, data_tip_format, filled, legend_cols, legend_position, legend_rows, max_x, max_y, min_x, min_y, series_colors, shadow, show_data_tip, stacked, x_axis_angle, x_axis_label, y_axis_angle, y_axis_label, zoom, id) FROM stdin; +\. + + +-- +-- Data for Name: dwh_chart_pie; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.dwh_chart_pie (diameter, filled, legend_cols, legend_position, legend_rows, series_colors, shadow, show_data_labels, slice_margin, id) FROM stdin; +\. + + +-- +-- Data for Name: dwh_journal_entries; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.dwh_journal_entries (id, accounting_code_id, amount_tax, amount_with_tax, amount_without_tax, customer_account_code, invoice_date, invoice_number, origin_id, provider_code, sub_cat_desc, tax_code, tax_description, tax_percent, type, version) FROM stdin; +\. + + +-- +-- Data for Name: dwh_measurable_quant; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.dwh_measurable_quant (id, version, disabled, created, updated, code, description, dimension_1, dimension_2, dimension_3, dimension_4, editable, last_measure_date, measurement_period, sql_query, theme, creator, updater, additive, description_i18n) FROM stdin; +\. + + +-- +-- Data for Name: dwh_measured_value; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.dwh_measured_value (id, version, date, measurement_period, value, measurable_quantity, dimension_1, dimension_2, dimension_3, dimension_4, code) FROM stdin; +\. + + +-- +-- Data for Name: dwh_report_extract; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.dwh_report_extract (id, version, disabled, creator, updater, created, updated, code, description, category, script_type, filename_format, sql_query, script_instance_id, result_type, style, image_path, uuid, cf_values, cf_values_accum, output_dir) FROM stdin; +-32 0 0 \N \N 2024-01-26 14:02:21.183234 \N KPICustomerRevenuReporting KPI Customers revenu revenu JAVA KPICustomerRevenuReporting-[yyyy_MM_dd].csv \N -17 CSV \N \N KPICustomerRevenuReporting_UUID \N \N reports/revenu +-33 0 0 \N \N 2024-01-26 14:02:21.183234 \N KPICustomersPerDunningReport Number of customer per Dunning level Dunning JAVA KPICustomersPerDunning-[yyyy_MM_dd].csv \N -18 CSV \N \N KPICustomersPerDunningReport_UUID \N \N reports/Dunning +-34 0 0 \N \N 2024-01-26 14:02:21.183234 \N KPICustomersPerOfferReport Number of customer per revenue tier (in a period) accounts JAVA KPICustomersPerOffer-[yyyy_MM_dd].csv \N -19 CSV \N \N KPICustomersPerOfferReport_UUID \N \N reports/accounts +-2 0 0 \N \N 2024-01-26 14:02:21.183234 \N ACCOUNT_OPS Export account operations sales JAVA accounts-ops-[yyyy_MM_dd].csv \N -1 CSV \N \N ACOUNT_OPS_UUID \N \N reports/sales +-3 0 0 \N \N 2024-01-26 14:02:21.183234 \N FULL_HIERARCHY Full hierarchy export customer SQL hierarchy-[yyyyMMdd].csv select s.code AS "Seller code"\n\t, s.description AS "Seller description"\n\t, coalesce(ce.code, '') AS "Customer code"\n\t, coalesce(replace(ce.description, ',', ' '), '') AS "Customer description"\n\t, coalesce(cae.code, '') AS "Customer Account code"\n\t, coalesce(replace(cae.description, ',', ' '), '') AS "Customer Account description"\n\t, coalesce(bae.code, '') AS "Billing Account code"\n\t, coalesce(replace(bae.description, ',', ' '), '') AS "Billing Account description"\n\t, coalesce(uae.code, '') AS "User Account code"\n\t, coalesce(replace(uae.description, ',', ' '), '') AS "User Account description"\n\t, coalesce(su.code, '') AS "Subscription code"\n\t, coalesce(replace(su.description, ',', ' '), '') AS "Subscription description"\n\t, coalesce(ap.acces_user_id, '') AS "Access Point id" \nfrom crm_seller s left\n\tOUTER JOIN crm_customer c on c.seller_id = s.id left\n\tOUTER JOIN account_entity ce on c.id = ce.id left\n\tOUTER JOIN ar_customer_account ca on ca.customer_id = c.id left\n\tOUTER JOIN account_entity cae on ca.id = cae.id left\n\tOUTER JOIN billing_billing_account ba on ba.customer_account_id = ca.id left\n\tOUTER JOIN account_entity bae on ba.id = bae.id left\n\tOUTER JOIN billing_user_account ua on ua.billing_account_id = ba.id left\n\tOUTER JOIN account_entity uae on ua.id = uae.id left\n\tOUTER JOIN billing_subscription su on su.user_account_id = ua.id left\n\tOUTER JOIN medina_access ap on ap.subscription_id = su.id \nwhere s.code ilike '%' || :SEARCH_CRITERION || '%' or s.description ilike '%' \n\t|| :SEARCH_CRITERION || '%' or ce.code ilike '%' || :SEARCH_CRITERION \n\t|| '%' or ce.description ilike '%' || :SEARCH_CRITERION || '%' or cae.code ilike '%' \n\t|| :SEARCH_CRITERION || '%' or cae.description ilike '%' || :SEARCH_CRITERION \n\t|| '%' or bae.code ilike '%' || :SEARCH_CRITERION || '%' or bae.description ilike '%' \n\t|| :SEARCH_CRITERION || '%' or uae.code ilike '%' || :SEARCH_CRITERION \n\t|| '%' or uae.description ilike '%' || :SEARCH_CRITERION || '%' or su.code ilike '%' \n\t|| :SEARCH_CRITERION || '%' or su.description ilike '%' || :SEARCH_CRITERION \n\t|| '%' or ap.acces_user_id ilike '%' || :SEARCH_CRITERION || '%' \norder by s.code\n\t,ce.code\n\t,cae.code\n\t,bae.code\n\t,uae.code\n\t,su.code\n\t,ap.acces_user_id \N CSV \N \N FULL_HIERARCHY_UUID \N \N reports/customer +-25 0 0 \N \N 2024-01-26 14:02:21.183234 \N INVOICES Invoices per month invoiced SQL invoices-[yyyyMMdd].csv select trim(to_char(date_trunc('month', i.invoice_date), 'Month')) || to_char(date_trunc('month', i.invoice_date), ' YYYY') AS "Month"\n , to_char(i.invoice_date, 'YYYY-MM-DD') AS "Invoice date"\n , i.invoice_number AS "Invoice number"\n , to_char(i.amount_without_tax, '9999999990.00') AS "Amount without tax"\n , to_char(i.amount_with_tax, '9999999990.00') AS "Amount with tax"\n , it.code AS "Invoice type code"\n , it.description AS "Invoice type description"\n , s.code AS "Seller code"\n , s.description AS "Seller description"\n , ce.code AS "Customer code"\n , ce.description AS "Customer description"\n , cae.code AS "Customer Account code"\n , cae.description AS "Customer Account description"\n , bae.code AS "Billing Account code"\n , bae.description AS "Billing Account description" \nfrom crm_seller s\n INNER JOIN crm_customer c on c.seller_id = s.id\n INNER JOIN account_entity ce on c.id = ce.id\n INNER JOIN ar_customer_account ca on ca.customer_id = c.id\n INNER JOIN account_entity cae on ca.id = cae.id\n INNER JOIN billing_billing_account ba on ba.customer_account_id = ca.id\n INNER JOIN account_entity bae on ba.id = bae.id\n INNER JOIN billing_invoice i on i.billing_account_id = ba.id\n INNER JOIN billing_invoice_type it on it.id = i.invoice_type_id \nwhere i.invoice_date > (date_trunc('month', CURRENT_DATE) - CAST(:MONTH_INTERVAL || ' month' AS INTERVAL)) \nand( s.code ilike '%' || :SEARCH_CRITERION || '%' or s.description ilike '%' || :SEARCH_CRITERION \n || '%' or ce.code ilike '%' || :SEARCH_CRITERION || '%' or ce.description ilike '%' || :SEARCH_CRITERION \n || '%' or cae.code ilike '%' || :SEARCH_CRITERION || '%' or cae.description ilike '%' || :SEARCH_CRITERION \n || '%' or bae.code ilike '%' || :SEARCH_CRITERION || '%' or bae.description ilike '%' || :SEARCH_CRITERION \n || '%' ) \norder by date_trunc('month', i.invoice_date) DESC\n , i.invoice_date DESC\n , it.code\n , i.invoice_number \N CSV \N \N INVOICES_UUID \N \N reports/invoiced +-1 0 0 \N \N 2024-01-26 14:02:21.183234 \N SALES_JOURNAL Sales Journal sales SQL sales-[yyyy_MM_dd].html SELECT\n\t\t\t\t TO_CHAR(ao.invoice_date,'MM') AS "Mois",\n\t\t\t\t TO_CHAR(ao.invoice_date,'DD/MM/YYYY') AS "Date facture",\n\t\t\t\t text('HG') AS "Code comptable",\n\t\t\t\t ae.code AS "Client facturé",\n\t\t\t\t text('MAI') AS "Type article",\n\t\t\t\t split_part(bac.code, ',', 6) AS "Famille statistique",\n\t\t\t\t split_part(bac.code, ',', 2) AS "Article",\n\t\t\t\t trim(TO_CHAR(ia.amount_without_tax,'9999990D00')) AS "Montant HT",\n\t\t\t\t trim(TO_CHAR(ia.quantity,'9999990')) AS "Qté facturée",\n\t\t\t\t ao.reference AS "No facture",\n\t\t\t\t ao.description AS "Catégorie facture",\n\t\t\t\t ao.code AS "Type de pièce",\n\t\t\t\t text('VEN') AS "Journal"\n\t\t\t\tFROM\n\t\t\t\t account_entity ae\n\t\t\t\tINNER JOIN ar_account_operation ao ON ao.customer_account_id = ae.id\n\t\t\t\tINNER JOIN billing_invoice i ON i.invoice_number = ao.reference\n\t\t\t\tINNER JOIN billing_invoice_agregate ia ON (ia.invoice_id = i.id AND type = 'F')\n\t\t\t\tLEFT JOIN billing_accounting_code bac ON bac.id = ia.accounting_code_id\n\t\t\t\tWHERE :START_DATE<>:END_DATE\n\t\t\t\tAND ae.account_type = 'ACCT_CA'\n\t\t\t\tAND ao.invoice_date >= to_date('01/' || TO_CHAR(CURRENT_DATE,'MM/YYYY'),'DD/MM/YYYY') + interval '-12 month'\n\t\t\t\tAND ao.invoice_date <= to_date('01/' || TO_CHAR(CURRENT_DATE,'MM/YYYY'),'DD/MM/YYYY') + interval '0 month'\n\t\t\t\tORDER BY\n\t\t\t\t ae.code,\n\t\t\t\t ao.code,\n\t\t\t\t split_part(bac.code, ',', 6),\n\t\t\t\t split_part(bac.code, ',', 2) \N HTML \N \N SALES_JOURNAL_UUID \N \N reports/sales +-4 0 0 \N \N 2024-01-26 14:02:21.183234 \N CUSTOMERS_PER_SELLER Customers per seller customer SQL customers_per_seller-[yyyyMMdd].csv select s.code AS "Seller code"\n\t\t\t\t\t , s.description AS "Seller description"\n\t\t\t\t\t , coalesce(ce.code, '') AS "Customer code"\n\t\t\t\t\t , coalesce(replace(ce.description, ',', ' '), '') AS "Customer description" \n\t\t\t\t\tfrom crm_seller s left\n\t\t\t\t\t OUTER JOIN crm_customer c on c.seller_id = s.id left\n\t\t\t\t\t OUTER JOIN account_entity ce on c.id = ce.id \n\t\t\t\t\twhere( s.code ilike '%' || :SEARCH_CRITERION \n\t\t\t\t\t || '%' or s.description ilike '%' || :SEARCH_CRITERION || '%' or ce.code ilike '%' \n\t\t\t\t\t || :SEARCH_CRITERION || '%' or ce.description ilike '%' || :SEARCH_CRITERION || '%' ) \n\t\t\t\t\tand ( s.code ilike '%' || :SELLER || '%' or s.description ilike '%' || :SELLER || '%' ) \n\t\t\t\t\torder by s.code\n\t\t\t\t\t ,ce.code \N CSV \N \N CUSTOMERS_PER_SELLER_UUID \N \N reports/customer +-5 0 0 \N \N 2024-01-26 14:02:21.183234 \N INVOICED_GLOBAL Total invoiced amount per month for interval (ex: last 12 months = -12 month) invoiced SQL invoiced_global-[yyyyMMdd].csv select trim(to_char(date_trunc('month', i.invoice_date), 'Month')) || to_char(date_trunc('month', i.invoice_date), ' YYYY') AS "Month"\n , it.code AS "Invoice type code"\n , it.description AS "Invoice type description"\n , trim(to_char(sum(i.amount_without_tax), '9999999990.00')) AS "Amount without tax"\n , trim(to_char(sum(i.amount_with_tax), '9999999990.00')) AS "Amount with tax" \nfrom billing_invoice i \n INNER JOIN billing_invoice_type it on it.id = i.invoice_type_id \nwhere i.invoice_date > (date_trunc('month', CURRENT_DATE) - CAST(:MONTH_INTERVAL || ' month' AS INTERVAL)) \ngroup by date_trunc('month', i.invoice_date)\n , it.code\n , it.description order by date_trunc('month', i.invoice_date) DESC\n , it.code DESC \N CSV \N \N INVOICED_GLOBAL_UUID \N \N reports/invoiced +-6 0 0 \N \N 2024-01-26 14:02:21.183234 \N INVOICED_BA_HIERARCHY Invoiced per Billing Account with hierarchy per month for interval, global filter invoiced SQL invoiced_per_billing_account_hierarchy-[yyyyMMdd].csv select trim(to_char(date_trunc('month', i.invoice_date), 'Month')) || to_char(date_trunc('month', i.invoice_date), ' YYYY') AS "Month"\n\t, s.code AS "Seller code"\n\t, s.description AS "Seller description"\n\t, ce.code AS "Customer code"\n\t, ce.description AS "Customer description"\n\t, cae.code AS "Customer Account code"\n\t, cae.description AS "Customer Account description"\n\t, bae.code AS "Billing Account code"\n\t, bae.description AS "Billing Account description"\n\t, it.code AS "Invoice type code"\n\t, it.description AS "Invoice type description"\n\t, to_char(sum(i.amount_without_tax), '9999999990.00') AS "Amount without tax"\n\t, to_char(sum(i.amount_with_tax), '9999999990.00') AS "Amount with tax" \nfrom crm_seller s \n\tINNER JOIN crm_customer c on c.seller_id = s.id\n\tINNER JOIN account_entity ce on c.id = ce.id\n\tINNER JOIN ar_customer_account ca on ca.customer_id = c.id\n\tINNER JOIN account_entity cae on ca.id = cae.id\n\tINNER JOIN billing_billing_account ba on ba.customer_account_id = ca.id\n\tINNER JOIN account_entity bae on ba.id = bae.id\n\tINNER JOIN billing_invoice i on i.billing_account_id = ba.id\n\tINNER JOIN billing_invoice_type it on it.id = i.invoice_type_id \nwhere i.invoice_date > (date_trunc('month', CURRENT_DATE) - CAST(:MONTH_INTERVAL || ' month' AS INTERVAL)) \nand( s.code ilike '%' || :SEARCH_CRITERION || '%' or s.description ilike '%' || :SEARCH_CRITERION \n\t|| '%' or ce.code ilike '%' || :SEARCH_CRITERION || '%' or ce.description ilike '%' || :SEARCH_CRITERION \n\t|| '%' or cae.code ilike '%' || :SEARCH_CRITERION || '%' or cae.description ilike '%' || :SEARCH_CRITERION \n\t|| '%' or bae.code ilike '%' || :SEARCH_CRITERION || '%' or bae.description ilike '%' || :SEARCH_CRITERION \n\t|| '%' ) group by date_trunc('month', i.invoice_date)\n\t, it.code\n\t, it.description\n\t, s.code\n\t, s.description\n\t, ce.code\n\t, ce.description\n\t, cae.code\n\t, cae.description\n\t, bae.code\n\t, bae.description order by date_trunc('month', i.invoice_date) DESC\n\t, it.code DESC\n\t, s.code\n\t, ce.code\n\t, cae.code\n\t, bae.code \N CSV \N \N INVOICED_BA_HIERARCHY_UUID \N \N reports/invoiced +-7 0 0 \N \N 2024-01-26 14:02:21.183234 \N INVOICED_BA Invoiced per Billing Account per month for interval, global filter invoiced SQL invoiced_per_billing_account-[yyyyMMdd].csv select trim(to_char(date_trunc('month', i.invoice_date), 'Month')) || to_char(date_trunc('month', i.invoice_date), ' YYYY') AS "Month"\n\t, bae.code AS "Billing Account code"\n\t, bae.description AS "Billing Account description"\n\t, it.code AS "Invoice type code"\n\t, it.description AS "Invoice type description"\n\t, to_char(sum(i.amount_without_tax), '9999999990.00') AS "Amount without tax"\n\t, to_char(sum(i.amount_with_tax), '9999999990.00') AS "Amount with tax" \nfrom crm_seller s\n\tINNER JOIN crm_customer c on c.seller_id = s.id\n\tINNER JOIN ar_customer_account ca on ca.customer_id = c.id\n\tINNER JOIN billing_billing_account ba on ba.customer_account_id = ca.id\n\tINNER JOIN account_entity bae on ba.id = bae.id\n\tINNER JOIN billing_invoice i on i.billing_account_id = ba.id\n\tINNER JOIN billing_invoice_type it on it.id = i.invoice_type_id \nwhere i.invoice_date > (date_trunc('month', CURRENT_DATE) - CAST(:MONTH_INTERVAL || ' month' AS INTERVAL)) \nand( bae.code ilike '%' || :SEARCH_CRITERION || '%' or bae.description ilike '%' || :SEARCH_CRITERION || '%' ) \ngroup by date_trunc('month', i.invoice_date)\n\t, it.code\n\t, it.description\n\t, bae.code\n\t, bae.description order by date_trunc('month', i.invoice_date) DESC\n\t, it.code DESC\n\t, bae.code \N CSV \N \N INVOICED_BA_UUID \N \N reports/invoiced +-13 0 0 \N \N 2024-01-26 14:02:21.183234 \N RECORDED_BA_HIERARCHY Recorded per Billing Account with Hierarchy per month for interval, global filter recorded SQL recorded_per_billing_account_hierarchy-[yyyyMMdd].csv SELECT trim(to_char(date_trunc('month', ao.invoice_date), 'Month')) || to_char(date_trunc('month', ao.invoice_date), ' YYYY') AS "Month"\n ,s.code AS "Seller code"\n ,s.description AS "Seller description"\n ,ce.code AS "Customer code"\n ,ce.description AS "Customer description"\n ,cae.code AS "Customer Account code"\n ,cae.description AS "Customer Account description"\n ,bae.code AS "Billing Account code"\n ,bae.description AS "Billing Account description"\n ,to_char(sum(CASE \n WHEN ao.transaction_category = 'DEBIT'\n THEN ao.amount\n ELSE 0\n END), '99999999990.00') AS "Amount DEBIT"\n ,to_char(sum(CASE \n WHEN ao.transaction_category = 'CREDIT'\n THEN ao.amount\n ELSE 0\n END), '99999999990.00') AS "Amount CREDIT"\n ,to_char(sum(CASE \n WHEN ao.transaction_category = 'DEBIT'\n THEN ao.amount\n ELSE - ao.amount\n END), '99999999990.00') AS "Balance"\nFROM crm_seller s\n INNER JOIN crm_customer c ON c.seller_id = s.id\n INNER JOIN account_entity ce ON c.id = ce.id\n INNER JOIN ar_customer_account ca ON ca.customer_id = c.id\n INNER JOIN account_entity cae ON ca.id = cae.id\n INNER JOIN billing_billing_account ba ON ba.customer_account_id = ca.id\n INNER JOIN account_entity bae ON ba.id = bae.id\n INNER JOIN billing_invoice i ON i.billing_account_id = ba.id\n INNER JOIN ar_account_operation ao ON ao.customer_account_id = ca.id\n AND ao.reference = i.invoice_number\n AND ao.invoice_date = i.invoice_date\n AND ao.amount = abs(i.amount_with_tax)\nWHERE ao.invoice_date IS NOT NULL\n AND ao.invoice_date > (date_trunc('month', CURRENT_DATE) - CAST(:MONTH_INTERVAL || ' month' AS INTERVAL))\n AND (\n s.code ilike '%' || :SEARCH_CRITERION || '%'\n OR s.description ilike '%' || :SEARCH_CRITERION || '%'\n OR ce.code ilike '%' || :SEARCH_CRITERION || '%'\n OR ce.description ilike '%' || :SEARCH_CRITERION || '%'\n OR cae.code ilike '%' || :SEARCH_CRITERION || '%'\n OR cae.description ilike '%' || :SEARCH_CRITERION || '%'\n OR bae.code ilike '%' || :SEARCH_CRITERION || '%'\n OR bae.description ilike '%' || :SEARCH_CRITERION || '%'\n )\nGROUP BY date_trunc('month', ao.invoice_date)\n ,s.code\n ,s.description\n ,ce.code\n ,ce.description\n ,cae.code\n ,cae.description\n ,bae.code\n ,bae.description\nORDER BY date_trunc('month', ao.invoice_date) DESC\n ,s.code\n ,ce.code\n ,cae.code\n ,bae.code \N CSV \N \N RECORDED_BA_HIERARCHY_UUID \N \N reports/recorded +-8 0 0 \N \N 2024-01-26 14:02:21.183234 \N INVOICED_CA Invoiced per Customer Account per month for interval, global filter invoiced SQL invoiced_per_customer_account-[yyyyMMdd].csv select trim(to_char(date_trunc('month', i.invoice_date), 'Month')) || to_char(date_trunc('month', i.invoice_date), ' YYYY') AS "Month"\n , cae.code AS "Customer Account code"\n , cae.description AS "Customer Account description"\n , it.code AS "Invoice type code"\n , it.description AS "Invoice type description"\n , to_char(sum(i.amount_without_tax), '9999999990.00') AS "Amount without tax"\n , to_char(sum(i.amount_with_tax), '9999999990.00') AS "Amount with tax" \nfrom crm_seller s\n INNER JOIN crm_customer c on c.seller_id = s.id\n INNER JOIN ar_customer_account ca on ca.customer_id = c.id\n INNER JOIN account_entity cae on ca.id = cae.id\n INNER JOIN billing_billing_account ba on ba.customer_account_id = ca.id\n INNER JOIN billing_invoice i on i.billing_account_id = ba.id\n INNER JOIN billing_invoice_type it on it.id = i.invoice_type_id \nwhere i.invoice_date > (date_trunc('month', CURRENT_DATE) - CAST(:MONTH_INTERVAL || ' month' AS INTERVAL)) \nand( cae.code ilike '%' || :SEARCH_CRITERION || '%' or cae.description ilike '%' || :SEARCH_CRITERION || '%' ) \ngroup by date_trunc('month', i.invoice_date)\n , it.code\n , it.description\n , cae.code\n , cae.description order by date_trunc('month', i.invoice_date) DESC\n , it.code DESC\n , cae.code \N CSV \N \N INVOICED_CA_UUID \N \N reports/invoiced +-26 0 0 \N \N 2024-01-26 14:02:21.183234 \N EDR EDR by status, global filter edr SQL edr_by_status-[yyyyMMdd].csv SELECT edr.id AS "Id"\n , edr.STATUS AS "Status"\n , edr.reject_reason AS "Rejection reason"\n , edr.access_code AS "Access code"\n , su.code AS "Subscription code"\n , of.code AS "Offer code"\n , edr.event_date AS "Event date"\n , edr.origin_batch AS "Origin batch"\n , edr.origin_record AS "Origin record"\n , edr.quantity AS "Quantity"\n , edr.parameter_1 AS "Param S1"\n , edr.parameter_2 AS "Param S2"\n , edr.parameter_3 AS "Param S3"\n , edr.parameter_4 AS "Param S4"\n , edr.parameter_5 AS "Param S5"\n , edr.parameter_6 AS "Param S6"\n , edr.parameter_7 AS "Param S7"\n , edr.parameter_8 AS "Param S8"\n , edr.parameter_9 AS "Param S9"\n , edr.date_parameter_1 AS "Param D1"\n , edr.date_parameter_2 AS "Param D2"\n , edr.date_parameter_3 AS "Param D3"\n , edr.date_parameter_4 AS "Param D4"\n , edr.date_parameter_5 AS "Param D5"\n , edr.decimal_parameter_1 AS "Param N1"\n , edr.decimal_parameter_2 AS "Param N2"\n , edr.decimal_parameter_3 AS "Param N3"\n , edr.decimal_parameter_4 AS "Param N4"\n , edr.decimal_parameter_5 AS "Param N5" \nfrom rating_edr edr\n INNER JOIN billing_subscription su on su.id = edr.subscription_id\n INNER JOIN cat_offer_template of on OF.id = su.offer_id where edr.event_date > (date_trunc('month', CURRENT_DATE) - CAST(:MONTH_INTERVAL || ' month' AS INTERVAL)) \nand edr.STATUS ilike '%' || :EDR_STATUS || '%' and( su.code ilike '%' || :SEARCH_CRITERION || '%' or OF.code ilike '%' \n || :SEARCH_CRITERION || '%' or edr.access_code ilike '%' || :SEARCH_CRITERION || '%' or edr.reject_reason ilike '%' \n || :SEARCH_CRITERION || '%' or edr.origin_batch ilike '%' || :SEARCH_CRITERION || '%' or edr.origin_record ilike '%' \n || :SEARCH_CRITERION || '%' or edr.parameter_1 ilike '%' || :SEARCH_CRITERION || '%' or edr.parameter_2 ilike '%' \n || :SEARCH_CRITERION || '%' or edr.parameter_3 ilike '%' || :SEARCH_CRITERION || '%' or edr.parameter_4 ilike '%' \n || :SEARCH_CRITERION || '%' or edr.parameter_5 ilike '%' || :SEARCH_CRITERION || '%' or edr.parameter_6 ilike '%' \n || :SEARCH_CRITERION || '%' or edr.parameter_7 ilike '%' || :SEARCH_CRITERION || '%' or edr.parameter_8 ilike '%' \n || :SEARCH_CRITERION || '%' or edr.parameter_9 ilike '%' || :SEARCH_CRITERION || '%') \norder by edr.STATUS, edr.id DESC \N CSV \N \N EDR_UUID \N \N reports/edr +-9 0 0 \N \N 2024-01-26 14:02:21.183234 \N INVOICED_C Invoiced per Customer per month for interval, global filter invoiced SQL invoiced_per_customer-[yyyyMMdd].csv select trim(to_char(date_trunc('month', i.invoice_date), 'Month')) || to_char(date_trunc('month', i.invoice_date), ' YYYY') AS "Month"\n\t, ce.code AS "Customer code"\n\t, ce.description AS "Customer description"\n\t, it.code AS "Invoice type code"\n\t, it.description AS "Invoice type description"\n\t, to_char(sum(i.amount_without_tax), '9999999990.00') AS "Amount without tax"\n\t, to_char(sum(i.amount_with_tax), '9999999990.00') AS "Amount with tax" \nfrom crm_seller s\n\tINNER JOIN crm_customer c on c.seller_id = s.id\n\tINNER JOIN account_entity ce on c.id = ce.id\n\tINNER JOIN ar_customer_account ca on ca.customer_id = c.id\n\tINNER JOIN billing_billing_account ba on ba.customer_account_id = ca.id\n\tINNER JOIN billing_invoice i on i.billing_account_id = ba.id\n\tINNER JOIN billing_invoice_type it on it.id = i.invoice_type_id \nwhere i.invoice_date > (date_trunc('month', CURRENT_DATE) - CAST(:MONTH_INTERVAL || ' month' AS INTERVAL)) \nand( ce.code ilike '%' || :SEARCH_CRITERION || '%' or ce.description ilike '%' || :SEARCH_CRITERION || '%' ) \ngroup by date_trunc('month', i.invoice_date)\n\t, it.code\n\t, it.description\n\t, ce.code\n\t, ce.description order by date_trunc('month', i.invoice_date) DESC\n\t, it.code DESC\n\t, ce.code \N CSV \N \N INVOICED_C_UUID \N \N reports/invoiced +-10 0 0 \N \N 2024-01-26 14:02:21.183234 \N INVOICED_S Invoiced per Seller per month for interval, global filter invoiced SQL invoiced_per_seller-[yyyyMMdd].csv select trim(to_char(date_trunc('month', i.invoice_date), 'Month')) || to_char(date_trunc('month', i.invoice_date), ' YYYY') AS Month \n , s.code AS "Seller code"\n , s.description AS "Seller description"\n , it.code AS "Invoice type code"\n , it.description AS "Invoice type description"\n , to_char(sum(i.amount_without_tax), '9999999990.00') AS "Amount without tax"\n , to_char(sum(i.amount_with_tax), '9999999990.00') AS "Amount with tax" \nfrom crm_seller s\n INNER JOIN crm_customer c on c.seller_id = s.id\n INNER JOIN ar_customer_account ca on ca.customer_id = c.id\n INNER JOIN billing_billing_account ba on ba.customer_account_id = ca.id\n INNER JOIN billing_invoice i on i.billing_account_id = ba.id\n INNER JOIN billing_invoice_type it on it.id = i.invoice_type_id \nwhere i.invoice_date > (date_trunc('month', CURRENT_DATE) - CAST(:MONTH_INTERVAL || 'month' AS INTERVAL)) \nand( s.code ilike '%' || :SEARCH_CRITERION || '%' or s.description ilike '%' || :SEARCH_CRITERION || '%' ) \ngroup by date_trunc('month', i.invoice_date)\n , it.code\n , it.description\n , s.code\n , s.description order by date_trunc('month', i.invoice_date) DESC\n , it.code DESC\n , s.code \N CSV \N \N INVOICED_S_UUID \N \N reports/invoiced +-11 0 0 \N \N 2024-01-26 14:02:21.183234 \N INVOICED_OF Invoiced per Offer per month for interval, global filter invoiced SQL invoiced_per_offer-[yyyyMMdd].csv select trim(to_char(date_trunc('month', i.invoice_date), 'Month')) || to_char(date_trunc('month', i.invoice_date), ' YYYY') AS "Month"\n , of.code AS "Offer code"\n , of.description AS "Offer description"\n , it.code AS "Invoice type code"\n , it.description AS "Invoice type description"\n , to_char(sum(rt.amount_without_tax), '9999999990.00') AS "Amount without tax"\n , to_char(sum(rt.amount_with_tax), '9999999990.00') AS "Amount with tax" \n from cat_offer_template of\n INNER JOIN billing_wallet_operation wo on wo.offer_code = OF.code\n INNER JOIN billing_rated_transaction rt on wo.rated_transaction_id = rt.id\n INNER JOIN billing_invoice i on i.id = rt.invoice_id\n INNER JOIN billing_invoice_type it on it.id = i.invoice_type_id \n where i.invoice_date > (date_trunc('month', CURRENT_DATE) - CAST(:MONTH_INTERVAL || ' month' AS INTERVAL)) \n and( of.code ilike '%' || :SEARCH_CRITERION || '%' or OF.description ilike '%' || :SEARCH_CRITERION || '%' ) \n group by date_trunc('month', i.invoice_date)\n , it.code\n , it.description\n , of.code\n , of.description order by date_trunc('month', i.invoice_date) DESC\n , it.code DESC\n , of.code \N CSV \N \N INVOICED_OF_UUID \N \N reports/invoiced +-12 0 0 \N \N 2024-01-26 14:02:21.183234 \N RECORDED_GLOBAL Recorded invoices per month for interval, global filter recorded SQL recorded_global-[yyyyMMdd].csv SELECT trim(to_char(date_trunc('month', ao.invoice_date), 'Month')) || to_char(date_trunc('month', ao.invoice_date), ' YYYY') AS "Month"\n ,to_char(sum(CASE \n WHEN ao.transaction_category = 'DEBIT'\n THEN ao.amount\n ELSE 0\n END), '99999999990.00') AS "Amount DEBIT"\n ,to_char(sum(CASE \n WHEN ao.transaction_category = 'CREDIT'\n THEN ao.amount\n ELSE 0\n END), '99999999990.00') AS "Amount CREDIT"\n ,to_char(sum(CASE \n WHEN ao.transaction_category = 'DEBIT'\n THEN ao.amount\n ELSE - ao.amount\n END), '99999999990.00') AS "Balance"\nFROM ar_account_operation ao\nWHERE ao.invoice_date IS NOT NULL\nAND ao.invoice_date > (date_trunc('month', CURRENT_DATE) - CAST(:MONTH_INTERVAL || ' month' AS INTERVAL))\nGROUP BY date_trunc('month', ao.invoice_date)\nORDER BY date_trunc('month', ao.invoice_date) DESC \N CSV \N \N RECORDED_GLOBAL_UUID \N \N reports/recorded +-14 0 0 \N \N 2024-01-26 14:02:21.183234 \N RECORDED_BA Recorded per Billing Account per month for interval, global filter recorded SQL recorded_per_billing_account-[yyyyMMdd].csv SELECT trim(to_char(date_trunc('month', ao.invoice_date), 'Month')) || to_char(date_trunc('month', ao.invoice_date), ' YYYY') AS "Month"\n ,bae.code AS "Billing Account code"\n ,bae.description AS "Billing Account description"\n ,to_char(sum(CASE \n WHEN ao.transaction_category = 'DEBIT'\n THEN ao.amount\n ELSE 0\n END), '99999999990.00') AS "Amount DEBIT"\n ,to_char(sum(CASE \n WHEN ao.transaction_category = 'CREDIT'\n THEN ao.amount\n ELSE 0\n END), '99999999990.00') AS "Amount CREDIT"\n ,to_char(sum(CASE \n WHEN ao.transaction_category = 'DEBIT'\n THEN ao.amount\n ELSE - ao.amount\n END), '99999999990.00') AS "Balance"\nFROM crm_seller s\n INNER JOIN crm_customer c ON c.seller_id = s.id\n INNER JOIN ar_customer_account ca ON ca.customer_id = c.id\n INNER JOIN billing_billing_account ba ON ba.customer_account_id = ca.id\n INNER JOIN account_entity bae ON ba.id = bae.id\n INNER JOIN billing_invoice i ON i.billing_account_id = ba.id\n INNER JOIN ar_account_operation ao ON ao.customer_account_id = ca.id\n AND ao.reference = i.invoice_number\n AND ao.invoice_date = i.invoice_date\n AND ao.amount = abs(i.amount_with_tax)\nWHERE ao.invoice_date IS NOT NULL\n AND ao.invoice_date > (date_trunc('month', CURRENT_DATE) - CAST(:MONTH_INTERVAL || ' month' AS INTERVAL))\n AND (\n bae.code ilike '%' || :SEARCH_CRITERION || '%'\n OR bae.description ilike '%' || :SEARCH_CRITERION || '%'\n )\nGROUP BY date_trunc('month', ao.invoice_date)\n ,bae.code\n ,bae.description\nORDER BY date_trunc('month', ao.invoice_date) DESC\n ,bae.code \N CSV \N \N RECORDED_BA_UUID \N \N reports/recorded +-27 0 0 \N \N 2024-01-26 14:02:21.183234 \N AgedBalanceReport Aged Balance Report AgedBalance JAVA AgedBalanceReporting-[yyyy_MM_dd].csv \N -12 CSV \N \N AgedBalanceReport_UUID \N \N reports/AgedBalance +-15 0 0 \N \N 2024-01-26 14:02:21.183234 \N RECORDED_CA Recorded per Customer Account per month for interval, global filter recorded SQL recorded_per_customer_account-[yyyyMMdd].csv SELECT trim(to_char(date_trunc('month', ao.invoice_date), 'Month')) || to_char(date_trunc('month', ao.invoice_date), ' YYYY') AS "Month"\n ,cae.code AS "Customer Account code"\n ,cae.description AS "Customer Account description"\n ,to_char(sum(CASE \n WHEN ao.transaction_category = 'DEBIT'\n THEN ao.amount\n ELSE 0\n END), '99999999990.00') AS "Amount DEBIT"\n ,to_char(sum(CASE \n WHEN ao.transaction_category = 'CREDIT'\n THEN ao.amount\n ELSE 0\n END), '99999999990.00') AS "Amount CREDIT"\n ,to_char(sum(CASE \n WHEN ao.transaction_category = 'DEBIT'\n THEN ao.amount\n ELSE - ao.amount\n END), '99999999990.00') AS "Balance"\nFROM crm_seller s\n INNER JOIN crm_customer c ON c.seller_id = s.id\n INNER JOIN ar_customer_account ca ON ca.customer_id = c.id\n INNER JOIN account_entity cae ON ca.id = cae.id\n INNER JOIN ar_account_operation ao ON ao.customer_account_id = ca.id\nWHERE ao.invoice_date IS NOT NULL\n AND ao.invoice_date > (date_trunc('month', CURRENT_DATE) - CAST(:MONTH_INTERVAL || ' month' AS INTERVAL))\n AND (\n cae.code ilike '%' || :SEARCH_CRITERION || '%'\n OR cae.description ilike '%' || :SEARCH_CRITERION || '%'\n )\nGROUP BY date_trunc('month', ao.invoice_date)\n ,cae.code\n ,cae.description\nORDER BY date_trunc('month', ao.invoice_date) DESC\n ,cae.code \N CSV \N \N RECORDED_CA_UUID \N \N reports/recorded +-16 0 0 \N \N 2024-01-26 14:02:21.183234 \N RECORDED_C Recorded per Customer per month for interval, global filter recorded SQL recorded_per_customer-[yyyyMMdd].csv SELECT trim(to_char(date_trunc('month', ao.invoice_date), 'Month')) || to_char(date_trunc('month', ao.invoice_date), ' YYYY') AS "Month"\n ,ce.code AS "Customer code"\n ,ce.description AS "Customer description"\n ,to_char(sum(CASE \n WHEN ao.transaction_category = 'DEBIT'\n THEN ao.amount\n ELSE 0\n END), '99999999990.00') AS "Amount DEBIT"\n ,to_char(sum(CASE \n WHEN ao.transaction_category = 'CREDIT'\n THEN ao.amount\n ELSE 0\n END), '99999999990.00') AS "Amount CREDIT"\n ,to_char(sum(CASE \n WHEN ao.transaction_category = 'DEBIT'\n THEN ao.amount\n ELSE - ao.amount\n END), '99999999990.00') AS "Balance"\nFROM crm_seller s\n INNER JOIN crm_customer c ON c.seller_id = s.id\n INNER JOIN account_entity ce ON c.id = ce.id\n INNER JOIN ar_customer_account ca ON ca.customer_id = c.id\n INNER JOIN ar_account_operation ao ON ao.customer_account_id = ca.id\nWHERE ao.invoice_date IS NOT NULL\n AND ao.invoice_date > (date_trunc('month', CURRENT_DATE) - CAST(:MONTH_INTERVAL || ' month' AS INTERVAL))\n AND (\n ce.code ilike '%' || :SEARCH_CRITERION || '%'\n OR ce.description ilike '%' || :SEARCH_CRITERION || '%'\n )\nGROUP BY date_trunc('month', ao.invoice_date)\n ,ce.code\n ,ce.description\nORDER BY date_trunc('month', ao.invoice_date) DESC\n ,ce.code \N CSV \N \N RECORDED_C_UUID \N \N reports/recorded +-17 0 0 \N \N 2024-01-26 14:02:21.183234 \N RECORDED_S Recorded per Seller per month for interval, global filter recorded SQL recorded_per_seller-[yyyyMMdd].csv SELECT trim(to_char(date_trunc('month', ao.invoice_date), 'Month')) || to_char(date_trunc('month', ao.invoice_date), ' YYYY') AS "Month"\n ,s.code AS "Seller code"\n ,s.description AS "Seller description"\n ,to_char(sum(CASE \n WHEN ao.transaction_category = 'DEBIT'\n THEN ao.amount\n ELSE 0\n END), '99999999990.00') AS "Amount DEBIT"\n ,to_char(sum(CASE \n WHEN ao.transaction_category = 'CREDIT'\n THEN ao.amount\n ELSE 0\n END), '99999999990.00') AS "Amount CREDIT"\n ,to_char(sum(CASE \n WHEN ao.transaction_category = 'DEBIT'\n THEN ao.amount\n ELSE - ao.amount\n END), '99999999990.00') AS "Balance"\nFROM crm_seller s\n INNER JOIN crm_customer c ON c.seller_id = s.id\n INNER JOIN ar_customer_account ca ON ca.customer_id = c.id\n INNER JOIN ar_account_operation ao ON ao.customer_account_id = ca.id\nWHERE ao.invoice_date IS NOT NULL\n AND ao.invoice_date > (date_trunc('month', CURRENT_DATE) - CAST(:MONTH_INTERVAL || ' month' AS INTERVAL))\n AND (\n s.code ilike '%' || :SEARCH_CRITERION || '%'\n OR s.description ilike '%' || :SEARCH_CRITERION || '%'\n )\nGROUP BY date_trunc('month', ao.invoice_date)\n ,s.code\n ,s.description\nORDER BY date_trunc('month', ao.invoice_date) DESC\n ,s.code \N CSV \N \N RECORDED_S_UUID \N \N reports/recorded +-18 0 0 \N \N 2024-01-26 14:02:21.183234 \N UNBILLED_UA_HIERARCHY Unbilled per User Account with Hierarchy, global filter unbilled SQL unbilled_per_user_account_hierarchy-[yyyyMMdd].csv select s.code AS "Seller code"\n , s.description AS "Seller description"\n , ce.code AS "Customer code"\n , ce.description AS "Customer description"\n , cae.code AS "Customer Account code"\n , cae.description AS "Customer Account description"\n , bae.code AS "Billing Account code"\n , bae.description AS "Billing Account description"\n , uae.code AS "User Account code"\n , uae.description AS "User Account description"\n , count(DISTINCT wo.id) AS "Transaction count"\n , to_char(sum(wo.amount_without_tax), '99999999990.00') AS "Amount without tax"\n , to_char(sum(wo.amount_with_tax), '99999999990.00') AS "Amount with tax" \n from billing_wallet_operation wo \n INNER JOIN billing_wallet wa on wa.id = wo.wallet_id \n INNER JOIN billing_user_account ua on ua.id = wa.user_account_id \n INNER JOIN account_entity uae on ua.id = uae.id \n INNER JOIN billing_billing_account ba on ba.id = ua.billing_account_id \n INNER JOIN account_entity bae on ba.id = bae.id \n INNER JOIN ar_customer_account ca on ca.id = ba.customer_account_id \n INNER JOIN account_entity cae on ca.id = cae.id \n INNER JOIN crm_customer c on c.id = ca.customer_id \n INNER JOIN account_entity ce on c.id = ce.id \n INNER JOIN crm_seller s on s.id = c.seller_id \n where ( wo.STATUS = 'OPEN' or ( wo.STATUS = 'TREATED' \n and EXISTS ( select 1 from billing_rated_transaction rt where wo.rated_transaction_id = rt.id and rt.STATUS = 'OPEN' ) ) ) \n and( s.code ilike '%' || :SEARCH_CRITERION || '%' or s.description ilike '%' || :SEARCH_CRITERION || '%' or ce.code ilike '%' \n || :SEARCH_CRITERION || '%' or ce.description ilike '%' || :SEARCH_CRITERION || '%' or cae.code ilike '%' \n || :SEARCH_CRITERION || '%' or cae.description ilike '%' || :SEARCH_CRITERION || '%' or bae.code ilike '%' \n || :SEARCH_CRITERION || '%' or bae.description ilike '%' || :SEARCH_CRITERION || '%' or uae.code ilike '%' \n || :SEARCH_CRITERION || '%' or uae.description ilike '%' || :SEARCH_CRITERION || '%' ) \n group by s.code\n , s.description\n , ce.code\n , ce.description\n , cae.code\n , cae.description\n , bae.code\n , bae.description\n , uae.code\n , uae.description order by s.code\n , ce.code\n , cae.code\n , bae.code\n , uae.code \N CSV \N \N UNBILLED_UA_HIERARCHY_UUID \N \N reports/unbilled +-19 0 0 \N \N 2024-01-26 14:02:21.183234 \N UNBILLED_UA Unbilled per User Account, global filter unbilled SQL unbilled_per_user_account-[yyyyMMdd].csv select uae.code AS "User Account code"\n , uae.description AS "User Account description"\n , count(DISTINCT wo.id) AS "Transaction count"\n , to_char(sum(wo.amount_without_tax), '99999999990.00') AS "Amount without tax"\n , to_char(sum(wo.amount_with_tax), '99999999990.00') AS "Amount with tax" \n from billing_wallet_operation wo \n INNER JOIN billing_wallet wa on wa.id = wo.wallet_id \n INNER JOIN billing_user_account ua on ua.id = wa.user_account_id \n INNER JOIN account_entity uae on ua.id = uae.id \n INNER JOIN billing_billing_account ba on ba.id = ua.billing_account_id \n INNER JOIN ar_customer_account ca on ca.id = ba.customer_account_id \n INNER JOIN crm_customer c on c.id = ca.customer_id \n INNER JOIN crm_seller s on s.id = c.seller_id \n where ( wo.STATUS = 'OPEN' or ( wo.STATUS = 'TREATED' \n and EXISTS ( select 1 from billing_rated_transaction rt where wo.rated_transaction_id = rt.id \n and rt.STATUS = 'OPEN' ) ) ) and( uae.code ilike '%' || :SEARCH_CRITERION || '%' or uae.description ilike '%' \n || :SEARCH_CRITERION || '%' ) \n group by uae.code\n , uae.description \n order by uae.code \N CSV \N \N UNBILLED_UA_UUID \N \N reports/unbilled +-28 0 0 \N \N 2024-01-26 14:02:21.183234 \N CustomerRevenuReport Customers revenu Report revenu JAVA CustomerRevenuReporting-[yyyy_MM_dd].csv \N -13 CSV \N \N CustomerRevenuReport_UUID \N \N reports/revenu +-20 0 0 \N \N 2024-01-26 14:02:21.183234 \N UNBILLED_BA Unbilled per Billing Account, global filter unbilled SQL unbilled_per_billing_account-[yyyyMMdd].csv select bae.code AS "Billing Account code"\n , bae.description AS "Billing Account description"\n , count(DISTINCT wo.id) AS "Transaction count"\n , to_char(sum(wo.amount_without_tax), '99999999990.00') AS "Amount without tax"\n , to_char(sum(wo.amount_with_tax), '99999999990.00') AS "Amount with tax" \n from billing_wallet_operation wo\n INNER JOIN billing_wallet wa on wa.id = wo.wallet_id\n INNER JOIN billing_user_account ua on ua.id = wa.user_account_id\n INNER JOIN billing_billing_account ba on ba.id = ua.billing_account_id\n INNER JOIN account_entity bae on ba.id = bae.id\n INNER JOIN ar_customer_account ca on ca.id = ba.customer_account_id\n INNER JOIN crm_customer c on c.id = ca.customer_id\n INNER JOIN crm_seller s on s.id = c.seller_id \n where ( wo.STATUS = 'OPEN' or ( wo.STATUS = 'TREATED' \n and EXISTS ( select 1 from billing_rated_transaction rt where wo.rated_transaction_id = rt.id and rt.STATUS = 'OPEN' ) ) ) \n and( bae.code ilike '%' || :SEARCH_CRITERION || '%' or bae.description ilike '%' || :SEARCH_CRITERION || '%' ) \n group by bae.code, bae.description \n order by bae.code \N CSV \N \N UNBILLED_BA_UUID \N \N reports/unbilled +-21 0 0 \N \N 2024-01-26 14:02:21.183234 \N UNBILLED_CA Unbilled per Customer Account, global filter unbilled SQL unbilled_per_customer_account-[yyyyMMdd].csv select cae.code AS "Customer Account code"\n\t\t\t\t\t, cae.description AS "Customer Account description"\n\t\t\t\t\t, count(DISTINCT wo.id) AS "Transaction count"\n\t\t\t\t\t, to_char(sum(wo.amount_without_tax), '99999999990.00') AS "Amount without tax"\n\t\t\t\t\t, to_char(sum(wo.amount_with_tax), '99999999990.00') AS "Amount with tax" \n\t\t\t\tfrom billing_wallet_operation wo\n\t\t\t\t\tINNER JOIN billing_wallet wa on wa.id = wo.wallet_id\n\t\t\t\t\tINNER JOIN billing_user_account ua on ua.id = wa.user_account_id\n\t\t\t\t\tINNER JOIN billing_billing_account ba on ba.id = ua.billing_account_id\n\t\t\t\t\tINNER JOIN ar_customer_account ca on ca.id = ba.customer_account_id\n\t\t\t\t\tINNER JOIN account_entity cae on ca.id = cae.id\n\t\t\t\t\tINNER JOIN crm_customer c on c.id = ca.customer_id\n\t\t\t\t\tINNER JOIN crm_seller s on s.id = c.seller_id \n\t\t\t\twhere ( wo.STATUS = 'OPEN' or ( wo.STATUS = 'TREATED' \n\t\t\t\t\tand EXISTS ( select 1 from billing_rated_transaction rt where wo.rated_transaction_id = rt.id and rt.STATUS = 'OPEN' ) ) ) \n\t\t\t\tand( cae.code ilike '%' || :SEARCH_CRITERION || '%' or cae.description ilike '%' || :SEARCH_CRITERION || '%' ) \n\t\t\t\tgroup by cae.code, cae.description \n\t\t\t\torder by cae.code \N CSV \N \N UNBILLED_CA_UUID \N \N reports/unbilled +-22 0 0 \N \N 2024-01-26 14:02:21.183234 \N UNBILLED_C Unbilled per Customer, global filter unbilled SQL unbilled_per_customer-[yyyyMMdd].csv select ce.code AS "Customer code"\n , ce.description AS "Customer description"\n , count(DISTINCT wo.id) AS "Transaction count"\n , to_char(sum(wo.amount_without_tax), '99999999990.00') AS "Amount without tax"\n , to_char(sum(wo.amount_with_tax), '99999999990.00') AS "Amount with tax" \n from billing_wallet_operation wo\n INNER JOIN billing_wallet wa on wa.id = wo.wallet_id\n INNER JOIN billing_user_account ua on ua.id = wa.user_account_id\n INNER JOIN billing_billing_account ba on ba.id = ua.billing_account_id \n INNER JOIN ar_customer_account ca on ca.id = ba.customer_account_id \n INNER JOIN crm_customer c on c.id = ca.customer_id \n INNER JOIN account_entity ce on c.id = ce.id \n INNER JOIN crm_seller s on s.id = c.seller_id \n where ( wo.STATUS = 'OPEN' or ( wo.STATUS = 'TREATED' \n and EXISTS ( select 1 from billing_rated_transaction rt where wo.rated_transaction_id = rt.id and rt.STATUS = 'OPEN' ) ) ) \n and( ce.code ilike '%' || :SEARCH_CRITERION || '%' or ce.description ilike '%' || :SEARCH_CRITERION || '%' ) \n group by ce.code, ce.description \n order by ce.code \N CSV \N \N UNBILLED_C_UUID \N \N reports/unbilled +-23 0 0 \N \N 2024-01-26 14:02:21.183234 \N UNBILLED_S Unbilled per Seller, global filter unbilled SQL unbilled_per_seller-[yyyyMMdd].csv select s.code AS "Seller code"\n , s.description AS "Seller description"\n , count(DISTINCT wo.id) AS "Transaction count"\n , to_char(sum(wo.amount_without_tax), '99999999990.00') AS "Amount without tax"\n , to_char(sum(wo.amount_with_tax), '99999999990.00') AS "Amount with tax" \n from billing_wallet_operation wo \n INNER JOIN billing_wallet wa on wa.id = wo.wallet_id \n INNER JOIN billing_user_account ua on ua.id = wa.user_account_id \n INNER JOIN billing_billing_account ba on ba.id = ua.billing_account_id \n INNER JOIN ar_customer_account ca on ca.id = ba.customer_account_id \n INNER JOIN crm_customer c on c.id = ca.customer_id \n INNER JOIN crm_seller s on s.id = c.seller_id \n where ( wo.STATUS = 'OPEN' or ( wo.STATUS = 'TREATED' \n and EXISTS ( select 1 from billing_rated_transaction rt where wo.rated_transaction_id = rt.id and rt.STATUS = 'OPEN' ) ) ) \n and( s.code ilike '%' || :SEARCH_CRITERION || '%' or s.description ilike '%' || :SEARCH_CRITERION || '%' ) \n group by s.code, s.description \n order by s.code \N CSV \N \N UNBILLED_S_UUID \N \N reports/unbilled +-24 0 0 \N \N 2024-01-26 14:02:21.183234 \N UNBILLED_OF Unbilled per Offer, global filter unbilled SQL unbilled_per_offer-[yyyyMMdd].csv select of.code AS "Offer code"\n , of.description AS "Offer description"\n , count(DISTINCT wo.id) AS "Transaction count"\n , to_char(sum(wo.amount_without_tax), '99999999990.00') AS "Amount without tax"\n , to_char(sum(wo.amount_with_tax), '99999999990.00') AS "Amount with tax" \n from cat_offer_template of \n INNER JOIN billing_wallet_operation wo on wo.offer_code = OF.code \n where ( wo.STATUS = 'OPEN' or ( wo.STATUS = 'TREATED' \n and EXISTS ( select 1 from billing_rated_transaction rt where wo.rated_transaction_id = rt.id and rt.STATUS = 'OPEN' ) ) ) \n and( of.code ilike '%' || :SEARCH_CRITERION || '%' or OF.description ilike '%' || :SEARCH_CRITERION || '%' ) \n group by of.code, of.description \n order by of.code \N CSV \N \N UNBILLED_OF_UUID \N \N reports/unbilled +-29 0 0 \N \N 2024-01-26 14:02:21.183234 \N CustomersPerDunningReport Customer per dunning level Dunning JAVA CustomersPerDunning-[yyyy_MM_dd].csv \N -14 CSV \N \N CustomersPerDunningReport_UUID \N \N reports/Dunning +-30 0 0 \N \N 2024-01-26 14:02:21.183234 \N CustomersPerOfferReport List of customer with revenue sorted by decreasing revenue (in a period) accounts JAVA CustomersPerOffer-[yyyy_MM_dd].csv \N -15 CSV \N \N CustomersPerOfferReport_UUID \N \N reports/accounts +-31 0 0 \N \N 2024-01-26 14:02:21.183234 \N KPIAgedBalanceReporting KPI Aged Balance AgedBalance JAVA KPIAgedBalanceReporting-[yyyy_MM_dd].csv \N -16 CSV \N \N KPIAgedBalanceReporting_UUID \N \N reports/AgedBalance +\. + + +-- +-- Data for Name: dwh_report_extract_execution; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.dwh_report_extract_execution (id, version, created, updated, creator, updater, report_extract_id, start_date, end_date, file_path, line_count, origin, error_message, status) FROM stdin; +\. + + +-- +-- Data for Name: dwh_report_extract_params; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.dwh_report_extract_params (reportextract_id, params, params_key) FROM stdin; +-1 31/01/2017 START_DATE +-1 31/12/2018 END_DATE +-2 31/01/2017 START_DATE +-2 31/12/2018 END_DATE +-3 % SEARCH_CRITERION +-4 % SEARCH_CRITERION +-4 % SELLER +-5 12 MONTH_INTERVAL +-6 12 MONTH_INTERVAL +-6 % SEARCH_CRITERION +-7 12 MONTH_INTERVAL +-7 % SEARCH_CRITERION +-8 12 MONTH_INTERVAL +-8 % SEARCH_CRITERION +-9 12 MONTH_INTERVAL +-9 % SEARCH_CRITERION +-10 12 MONTH_INTERVAL +-10 % SEARCH_CRITERION +-11 12 MONTH_INTERVAL +-11 % SEARCH_CRITERION +-12 12 MONTH_INTERVAL +-13 12 MONTH_INTERVAL +-13 % SEARCH_CRITERION +-14 12 MONTH_INTERVAL +-14 % SEARCH_CRITERION +-15 12 MONTH_INTERVAL +-15 % SEARCH_CRITERION +-16 12 MONTH_INTERVAL +-16 % SEARCH_CRITERION +-17 12 MONTH_INTERVAL +-17 % SEARCH_CRITERION +-18 % SEARCH_CRITERION +-19 % SEARCH_CRITERION +-20 % SEARCH_CRITERION +-21 % SEARCH_CRITERION +-22 % SEARCH_CRITERION +-23 % SEARCH_CRITERION +-24 % SEARCH_CRITERION +-25 % SEARCH_CRITERION +-25 12 MONTH_INTERVAL +-26 % SEARCH_CRITERION +-26 12 MONTH_INTERVAL +-26 % EDR_STATUS +-28 31/01/2015 START_DATE +-28 31/01/2019 END_DATE +-30 31/01/2015 START_DATE +-30 OFFER_CODE +-32 31/01/2015 START_DATE +-32 31/01/2019 END_DATE +-34 31/01/2017 START_DATE +-34 OFFER_CODE +\. + + +-- +-- Data for Name: flat_file; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.flat_file (id, version, created, updated, creator, updater, code, description, status, file_format_id, processed, error_message, lines_in_success, lines_in_warning, lines_in_error, processing_attempts, flat_file_job_code, file_original_name, file_current_name, current_directory) FROM stdin; +\. + + +-- +-- Data for Name: ftp_transferred_file; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.ftp_transferred_file (id, version, created, updated, creator, updater, code, description, uri, size, transfer_date, last_modification, operation) FROM stdin; +\. + + +-- +-- Data for Name: hierarchy_entity; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.hierarchy_entity (id, version, created, updated, code, description, hierarchy_type, parent_id, order_level, creator, updater) FROM stdin; +\. + + +-- +-- Data for Name: job_execution; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.job_execution (id, version, job_done, end_date, nb_success, nb_error, nb_warning, nb_to_process, report, start_date, job_launcher, job_instance_id) FROM stdin; +1 0 1 2024-01-31 11:00:00.062 0 0 0 0 \n 2024-01-31 11:00:00.033 \N 12 +2 0 1 2024-11-21 07:00:00.154 0 0 0 0 \n 2024-11-21 07:00:00.022 \N 12 +3 0 1 2024-11-21 08:00:00.114 0 0 0 0 \n 2024-11-21 08:00:00.017 \N 12 +4 0 1 2024-11-21 09:00:00.054 0 0 0 0 \n 2024-11-21 09:00:00.008 \N 12 +5 0 1 2024-11-21 10:00:00.054 0 0 0 0 \n 2024-11-21 10:00:00.009 \N 12 +6 0 1 2024-11-21 11:00:00.056 0 0 0 0 \n 2024-11-21 11:00:00.009 \N 12 +7 0 1 2024-11-21 12:00:00.047 0 0 0 0 \n 2024-11-21 12:00:00.007 \N 12 +8 0 1 2024-11-21 13:00:00.05 0 0 0 0 \n 2024-11-21 13:00:00.01 \N 12 +9 0 1 2024-11-21 14:00:00.051 0 0 0 0 \n 2024-11-21 14:00:00.011 \N 12 +10 0 1 2024-11-21 15:00:00.064 0 0 0 0 \n 2024-11-21 15:00:00.008 \N 12 +11 0 1 2024-11-21 16:00:00.046 0 0 0 0 \n 2024-11-21 16:00:00.006 \N 12 +12 0 1 2024-11-21 17:00:00.062 0 0 0 0 \n 2024-11-21 17:00:00.008 \N 12 +13 0 1 2024-11-21 18:00:00.048 0 0 0 0 \n 2024-11-21 18:00:00.007 \N 12 +14 0 1 2024-11-21 19:00:00.054 0 0 0 0 \n 2024-11-21 19:00:00.008 \N 12 +15 0 1 2024-11-21 20:00:00.053 0 0 0 0 \n 2024-11-21 20:00:00.007 \N 12 +16 0 1 2024-11-21 21:00:00.057 0 0 0 0 \n 2024-11-21 21:00:00.007 \N 12 +17 0 1 2024-11-21 22:00:00.066 0 0 0 0 \n 2024-11-21 22:00:00.007 \N 12 +18 0 1 2024-11-21 23:00:00.05 0 0 0 0 \n 2024-11-21 23:00:00.008 \N 12 +19 0 1 2024-11-21 23:59:59.103 0 0 0 0 \n 2024-11-21 23:59:59.007 \N -27 +20 0 1 2024-11-22 00:00:00.033 0 0 0 0 \n 2024-11-22 00:00:00.006 \N 12 +21 0 1 2024-11-22 01:00:00.053 0 0 0 0 \n 2024-11-22 01:00:00.005 \N 12 +22 0 1 2024-11-22 02:00:00.053 0 0 0 0 \n 2024-11-22 02:00:00.006 \N 12 +23 0 1 2024-11-22 03:00:00.051 0 0 0 0 \n 2024-11-22 03:00:00.007 \N 12 +24 0 1 2024-11-22 04:00:00.048 0 0 0 0 \n 2024-11-22 04:00:00.006 \N 12 +25 0 1 2024-11-22 05:00:00.052 0 0 0 0 \n 2024-11-22 05:00:00.006 \N 12 +26 0 1 2024-11-22 06:00:00.048 0 0 0 0 \n 2024-11-22 06:00:00.006 \N 12 +27 0 1 2024-11-22 07:00:00.051 0 0 0 0 \n 2024-11-22 07:00:00.007 \N 12 +28 0 1 2024-11-22 08:00:00.044 0 0 0 0 \n 2024-11-22 08:00:00.004 \N 12 +29 0 1 2024-11-22 09:00:00.056 0 0 0 0 \n 2024-11-22 09:00:00.006 \N 12 +30 0 1 2024-11-22 10:00:00.056 0 0 0 0 \n 2024-11-22 10:00:00.006 \N 12 +31 0 1 2024-11-22 11:00:00.054 0 0 0 0 \n 2024-11-22 11:00:00.006 \N 12 +32 0 1 2024-11-22 12:00:00.055 0 0 0 0 \n 2024-11-22 12:00:00.006 \N 12 +33 0 1 2024-11-22 13:00:00.058 0 0 0 0 \n 2024-11-22 13:00:00.008 \N 12 +34 0 1 2024-11-22 14:00:05.283 0 0 0 0 \n 2024-11-22 14:00:05.184 \N 12 +35 0 1 2024-11-22 15:00:00.081 0 0 0 0 \n 2024-11-22 15:00:00.022 \N 12 +36 0 1 2024-11-22 16:00:00.216 0 0 0 0 \n 2024-11-22 16:00:00.087 \N 12 +37 0 1 2024-11-22 17:00:00.058 0 0 0 0 \n 2024-11-22 17:00:00.011 \N 12 +38 0 1 2024-11-22 18:00:00.056 0 0 0 0 \n 2024-11-22 18:00:00.01 \N 12 +39 0 1 2024-11-22 19:00:00.054 0 0 0 0 \n 2024-11-22 19:00:00.008 \N 12 +40 0 1 2024-11-22 20:00:00.059 0 0 0 0 \n 2024-11-22 20:00:00.008 \N 12 +41 0 1 2024-11-22 21:00:00.054 0 0 0 0 \n 2024-11-22 21:00:00.01 \N 12 +42 0 1 2024-11-22 22:00:00.072 0 0 0 0 \n 2024-11-22 22:00:00.009 \N 12 +43 0 1 2024-11-22 23:00:00.056 0 0 0 0 \n 2024-11-22 23:00:00.009 \N 12 +44 0 1 2024-11-22 23:59:59.155 0 0 0 0 \n 2024-11-22 23:59:59.01 \N -27 +45 0 1 2024-11-23 00:00:00.034 0 0 0 0 \n 2024-11-23 00:00:00.007 \N 12 +46 0 1 2024-11-23 01:00:00.064 0 0 0 0 \n 2024-11-23 01:00:00.009 \N 12 +47 0 1 2024-11-23 02:00:00.057 0 0 0 0 \n 2024-11-23 02:00:00.009 \N 12 +48 0 1 2024-11-23 03:00:00.061 0 0 0 0 \n 2024-11-23 03:00:00.008 \N 12 +49 0 1 2024-11-23 04:00:00.049 0 0 0 0 \n 2024-11-23 04:00:00.007 \N 12 +50 0 1 2024-11-23 05:00:00.059 0 0 0 0 \n 2024-11-23 05:00:00.006 \N 12 +51 0 1 2024-11-23 06:00:00.058 0 0 0 0 \n 2024-11-23 06:00:00.011 \N 12 +52 0 1 2024-11-23 07:00:00.051 0 0 0 0 \n 2024-11-23 07:00:00.008 \N 12 +53 0 1 2024-11-23 08:00:00.059 0 0 0 0 \n 2024-11-23 08:00:00.007 \N 12 +54 0 1 2024-11-23 09:00:00.046 0 0 0 0 \n 2024-11-23 09:00:00.007 \N 12 +55 0 1 2024-11-23 10:00:00.051 0 0 0 0 \n 2024-11-23 10:00:00.007 \N 12 +56 0 1 2024-11-23 11:00:00.045 0 0 0 0 \n 2024-11-23 11:00:00.007 \N 12 +57 0 1 2024-11-23 12:00:00.058 0 0 0 0 \n 2024-11-23 12:00:00.006 \N 12 +58 0 1 2024-11-23 13:00:00.055 0 0 0 0 \n 2024-11-23 13:00:00.008 \N 12 +59 0 1 2024-11-23 14:00:00.052 0 0 0 0 \n 2024-11-23 14:00:00.006 \N 12 +60 0 1 2024-11-23 15:00:00.058 0 0 0 0 \n 2024-11-23 15:00:00.007 \N 12 +61 0 1 2024-11-23 16:00:00.049 0 0 0 0 \n 2024-11-23 16:00:00.006 \N 12 +62 0 1 2024-11-23 17:00:00.052 0 0 0 0 \n 2024-11-23 17:00:00.007 \N 12 +63 0 1 2024-11-23 18:00:00.053 0 0 0 0 \n 2024-11-23 18:00:00.004 \N 12 +64 0 1 2024-11-23 19:00:00.054 0 0 0 0 \n 2024-11-23 19:00:00.007 \N 12 +65 0 1 2024-11-23 20:00:00.052 0 0 0 0 \n 2024-11-23 20:00:00.007 \N 12 +66 0 1 2024-11-23 21:00:00.067 0 0 0 0 \n 2024-11-23 21:00:00.009 \N 12 +67 0 1 2024-11-23 22:00:00.057 0 0 0 0 \n 2024-11-23 22:00:00.007 \N 12 +68 0 1 2024-11-23 23:00:00.054 0 0 0 0 \n 2024-11-23 23:00:00.006 \N 12 +69 0 1 2024-11-23 23:59:59.071 0 0 0 0 \n 2024-11-23 23:59:59.006 \N -27 +70 0 1 2024-11-24 00:00:00.027 0 0 0 0 \n 2024-11-24 00:00:00.006 \N 12 +71 0 1 2024-11-24 01:00:00.058 0 0 0 0 \n 2024-11-24 01:00:00.006 \N 12 +72 0 1 2024-11-24 02:00:00.051 0 0 0 0 \n 2024-11-24 02:00:00.006 \N 12 +73 0 1 2024-11-24 03:00:00.055 0 0 0 0 \n 2024-11-24 03:00:00.007 \N 12 +74 0 1 2024-11-24 04:00:00.051 0 0 0 0 \n 2024-11-24 04:00:00.006 \N 12 +75 0 1 2024-11-24 05:00:00.046 0 0 0 0 \n 2024-11-24 05:00:00.006 \N 12 +76 0 1 2024-11-24 06:00:00.066 0 0 0 0 \n 2024-11-24 06:00:00.008 \N 12 +77 0 1 2024-11-24 07:00:00.052 0 0 0 0 \n 2024-11-24 07:00:00.007 \N 12 +78 0 1 2024-11-24 08:00:00.06 0 0 0 0 \n 2024-11-24 08:00:00.005 \N 12 +79 0 1 2024-11-24 09:00:00.051 0 0 0 0 \n 2024-11-24 09:00:00.006 \N 12 +80 0 1 2024-11-24 10:00:00.05 0 0 0 0 \n 2024-11-24 10:00:00.006 \N 12 +81 0 1 2024-11-24 11:00:00.062 0 0 0 0 \n 2024-11-24 11:00:00.006 \N 12 +82 0 1 2024-11-24 12:00:00.058 0 0 0 0 \n 2024-11-24 12:00:00.006 \N 12 +83 0 1 2024-11-24 13:00:00.055 0 0 0 0 \n 2024-11-24 13:00:00.006 \N 12 +84 0 1 2024-11-24 14:00:00.058 0 0 0 0 \n 2024-11-24 14:00:00.006 \N 12 +85 0 1 2024-11-24 15:00:00.056 0 0 0 0 \n 2024-11-24 15:00:00.008 \N 12 +86 0 1 2024-11-24 16:00:00.049 0 0 0 0 \n 2024-11-24 16:00:00.007 \N 12 +87 0 1 2024-11-24 17:00:00.049 0 0 0 0 \n 2024-11-24 17:00:00.005 \N 12 +88 0 1 2024-11-24 18:00:00.052 0 0 0 0 \n 2024-11-24 18:00:00.006 \N 12 +89 0 1 2024-11-24 19:00:00.055 0 0 0 0 \n 2024-11-24 19:00:00.007 \N 12 +90 0 1 2024-11-24 20:00:00.059 0 0 0 0 \n 2024-11-24 20:00:00.008 \N 12 +91 0 1 2024-11-24 21:00:00.054 0 0 0 0 \n 2024-11-24 21:00:00.007 \N 12 +92 0 1 2024-11-24 22:00:00.059 0 0 0 0 \n 2024-11-24 22:00:00.006 \N 12 +93 0 1 2024-11-24 23:00:00.062 0 0 0 0 \n 2024-11-24 23:00:00.007 \N 12 +94 0 1 2024-11-24 23:59:59.078 0 0 0 0 \n 2024-11-24 23:59:59.009 \N -27 +95 0 1 2024-11-24 23:59:59.079 0 0 0 0 \n 2024-11-24 23:59:59.015 \N -21 +96 0 1 2024-11-25 00:00:00.039 0 0 0 0 \n 2024-11-25 00:00:00.012 \N 12 +97 0 1 2024-11-25 01:00:00.054 0 0 0 0 \n 2024-11-25 01:00:00.01 \N 12 +98 0 1 2024-11-25 02:00:00.051 0 0 0 0 \n 2024-11-25 02:00:00.007 \N 12 +99 0 1 2024-11-25 03:00:00.051 0 0 0 0 \n 2024-11-25 03:00:00.006 \N 12 +100 0 1 2024-11-25 04:00:00.054 0 0 0 0 \n 2024-11-25 04:00:00.006 \N 12 +101 0 1 2024-11-25 05:00:00.046 0 0 0 0 \n 2024-11-25 05:00:00.006 \N 12 +102 0 1 2024-11-25 06:00:00.047 0 0 0 0 \n 2024-11-25 06:00:00.007 \N 12 +103 0 1 2024-11-25 07:00:00.06 0 0 0 0 \n 2024-11-25 07:00:00.006 \N 12 +104 0 1 2024-11-25 08:00:00.053 0 0 0 0 \n 2024-11-25 08:00:00.005 \N 12 +105 0 1 2024-11-25 09:00:00.058 0 0 0 0 \n 2024-11-25 09:00:00.006 \N 12 +106 0 1 2024-11-25 10:00:00.045 0 0 0 0 \n 2024-11-25 10:00:00.005 \N 12 +107 0 1 2024-11-25 11:00:00.051 0 0 0 0 \n 2024-11-25 11:00:00.007 \N 12 +108 0 1 2024-11-25 12:00:00.06 0 0 0 0 \n 2024-11-25 12:00:00.007 \N 12 +109 0 1 2024-11-25 13:00:00.044 0 0 0 0 \n 2024-11-25 13:00:00.005 \N 12 +110 0 1 2024-11-25 14:00:00.049 0 0 0 0 \n 2024-11-25 14:00:00.005 \N 12 +111 0 1 2024-11-25 15:00:00.054 0 0 0 0 \n 2024-11-25 15:00:00.005 \N 12 +112 0 1 2024-11-25 16:00:00.051 0 0 0 0 \n 2024-11-25 16:00:00.005 \N 12 +113 0 1 2024-11-25 17:00:00.054 0 0 0 0 \n 2024-11-25 17:00:00.006 \N 12 +114 0 1 2024-11-25 18:00:00.054 0 0 0 0 \n 2024-11-25 18:00:00.008 \N 12 +115 0 1 2024-11-25 19:00:00.054 0 0 0 0 \n 2024-11-25 19:00:00.007 \N 12 +116 0 1 2024-11-25 20:00:00.052 0 0 0 0 \n 2024-11-25 20:00:00.006 \N 12 +117 0 1 2024-11-25 21:00:00.053 0 0 0 0 \n 2024-11-25 21:00:00.007 \N 12 +118 0 1 2024-11-25 22:00:00.057 0 0 0 0 \n 2024-11-25 22:00:00.006 \N 12 +119 0 1 2024-11-25 23:00:00.055 0 0 0 0 \n 2024-11-25 23:00:00.005 \N 12 +120 0 1 2024-11-25 23:59:59.06 0 0 0 0 \n 2024-11-25 23:59:59.006 \N -27 +121 0 1 2024-11-26 00:00:00.031 0 0 0 0 \n 2024-11-26 00:00:00.006 \N 12 +122 0 1 2024-11-26 01:00:00.067 0 0 0 0 \n 2024-11-26 01:00:00.007 \N 12 +123 0 1 2024-11-26 02:00:00.054 0 0 0 0 \n 2024-11-26 02:00:00.005 \N 12 +124 0 1 2024-11-26 03:00:00.055 0 0 0 0 \n 2024-11-26 03:00:00.007 \N 12 +125 0 1 2024-11-26 04:00:00.059 0 0 0 0 \n 2024-11-26 04:00:00.005 \N 12 +126 0 1 2024-11-26 05:00:00.054 0 0 0 0 \n 2024-11-26 05:00:00.006 \N 12 +127 0 1 2024-11-26 06:00:00.05 0 0 0 0 \n 2024-11-26 06:00:00.005 \N 12 +128 0 1 2024-11-26 07:00:00.053 0 0 0 0 \n 2024-11-26 07:00:00.005 \N 12 +129 0 1 2024-11-26 08:00:00.055 0 0 0 0 \n 2024-11-26 08:00:00.005 \N 12 +130 0 1 2024-11-26 09:00:00.05 0 0 0 0 \n 2024-11-26 09:00:00.006 \N 12 +131 0 1 2024-11-26 10:00:00.049 0 0 0 0 \n 2024-11-26 10:00:00.005 \N 12 +132 0 1 2024-11-26 11:00:00.063 0 0 0 0 \n 2024-11-26 11:00:00.006 \N 12 +133 0 1 2024-11-26 12:00:00.051 0 0 0 0 \n 2024-11-26 12:00:00.006 \N 12 +134 0 1 2024-11-26 13:00:00.059 0 0 0 0 \n 2024-11-26 13:00:00.005 \N 12 +135 0 1 2024-11-26 14:00:00.059 0 0 0 0 \n 2024-11-26 14:00:00.006 \N 12 +136 0 1 2024-11-26 15:00:00.057 0 0 0 0 \n 2024-11-26 15:00:00.004 \N 12 +137 0 1 2024-11-26 16:00:00.065 0 0 0 0 \n 2024-11-26 16:00:00.006 \N 12 +138 0 1 2024-11-26 17:00:00.063 0 0 0 0 \n 2024-11-26 17:00:00.007 \N 12 +139 0 1 2024-11-26 18:00:00.052 0 0 0 0 \n 2024-11-26 18:00:00.005 \N 12 +140 0 1 2024-11-26 19:00:00.051 0 0 0 0 \n 2024-11-26 19:00:00.008 \N 12 +141 0 1 2024-11-26 20:00:00.048 0 0 0 0 \n 2024-11-26 20:00:00.007 \N 12 +142 0 1 2024-11-26 21:00:00.049 0 0 0 0 \n 2024-11-26 21:00:00.005 \N 12 +143 0 1 2024-11-26 22:00:00.053 0 0 0 0 \n 2024-11-26 22:00:00.005 \N 12 +144 0 1 2024-11-26 23:00:00.049 0 0 0 0 \n 2024-11-26 23:00:00.006 \N 12 +145 0 1 2024-11-26 23:59:59.067 0 0 0 0 \n 2024-11-26 23:59:59.006 \N -27 +146 0 1 2024-11-27 00:00:00.03 0 0 0 0 \n 2024-11-27 00:00:00.005 \N 12 +147 0 1 2024-11-27 01:00:00.053 0 0 0 0 \n 2024-11-27 01:00:00.006 \N 12 +148 0 1 2024-11-27 02:00:00.059 0 0 0 0 \n 2024-11-27 02:00:00.008 \N 12 +149 0 1 2024-11-27 03:00:00.051 0 0 0 0 \n 2024-11-27 03:00:00.006 \N 12 +150 0 1 2024-11-27 04:00:00.052 0 0 0 0 \n 2024-11-27 04:00:00.006 \N 12 +151 0 1 2024-11-27 05:00:00.06 0 0 0 0 \n 2024-11-27 05:00:00.007 \N 12 +152 0 1 2024-11-27 06:00:00.051 0 0 0 0 \n 2024-11-27 06:00:00.005 \N 12 +153 0 1 2024-11-27 07:00:00.06 0 0 0 0 \n 2024-11-27 07:00:00.005 \N 12 +154 0 1 2024-11-27 08:00:00.055 0 0 0 0 \n 2024-11-27 08:00:00.006 \N 12 +155 0 1 2024-11-27 09:00:00.032 0 0 0 0 \n 2024-11-27 09:00:00.005 \N 12 +156 0 1 2024-11-27 10:00:00.049 0 0 0 0 \n 2024-11-27 10:00:00.005 \N 12 +157 0 1 2024-11-27 11:00:00.059 0 0 0 0 \n 2024-11-27 11:00:00.005 \N 12 +158 0 1 2024-11-27 12:00:00.062 0 0 0 0 \n 2024-11-27 12:00:00.006 \N 12 +159 0 1 2024-11-27 13:00:00.048 0 0 0 0 \n 2024-11-27 13:00:00.006 \N 12 +160 0 1 2024-11-27 14:00:00.051 0 0 0 0 \n 2024-11-27 14:00:00.004 \N 12 +161 0 1 2024-11-27 15:00:00.02 0 0 0 0 \n 2024-11-27 15:00:00.005 \N 12 +162 0 1 2024-11-27 16:00:00.047 0 0 0 0 \n 2024-11-27 16:00:00.006 \N 12 +163 0 1 2024-11-27 17:00:00.047 0 0 0 0 \n 2024-11-27 17:00:00.006 \N 12 +164 0 1 2024-11-27 18:00:00.058 0 0 0 0 \n 2024-11-27 18:00:00.005 \N 12 +165 0 1 2024-11-27 19:00:00.043 0 0 0 0 \n 2024-11-27 19:00:00.004 \N 12 +166 0 1 2024-11-27 20:00:00.041 0 0 0 0 \n 2024-11-27 20:00:00.005 \N 12 +167 0 1 2024-11-27 21:00:00.06 0 0 0 0 \n 2024-11-27 21:00:00.004 \N 12 +168 0 1 2024-11-27 22:00:00.047 0 0 0 0 \n 2024-11-27 22:00:00.004 \N 12 +169 0 1 2024-11-27 23:00:00.052 0 0 0 0 \n 2024-11-27 23:00:00.006 \N 12 +170 0 1 2024-11-27 23:59:59.056 0 0 0 0 \n 2024-11-27 23:59:59.005 \N -27 +171 0 1 2024-11-28 00:00:00.027 0 0 0 0 \n 2024-11-28 00:00:00.005 \N 12 +172 0 1 2024-11-28 01:00:00.055 0 0 0 0 \n 2024-11-28 01:00:00.007 \N 12 +173 0 1 2024-11-28 02:00:00.053 0 0 0 0 \n 2024-11-28 02:00:00.005 \N 12 +174 0 1 2024-11-28 03:00:00.062 0 0 0 0 \n 2024-11-28 03:00:00.007 \N 12 +175 0 1 2024-11-28 04:00:00.046 0 0 0 0 \n 2024-11-28 04:00:00.005 \N 12 +176 0 1 2024-11-28 05:00:00.056 0 0 0 0 \n 2024-11-28 05:00:00.004 \N 12 +177 0 1 2024-11-28 06:00:00.048 0 0 0 0 \n 2024-11-28 06:00:00.004 \N 12 +178 0 1 2024-11-28 07:00:00.047 0 0 0 0 \n 2024-11-28 07:00:00.005 \N 12 +179 0 1 2024-11-28 08:00:00.052 0 0 0 0 \n 2024-11-28 08:00:00.005 \N 12 +180 0 1 2024-11-28 09:00:00.047 0 0 0 0 \n 2024-11-28 09:00:00.006 \N 12 +181 0 1 2024-11-28 10:00:00.05 0 0 0 0 \n 2024-11-28 10:00:00.005 \N 12 +182 0 1 2024-11-28 11:00:00.047 0 0 0 0 \n 2024-11-28 11:00:00.004 \N 12 +183 0 1 2024-11-28 12:00:00.048 0 0 0 0 \n 2024-11-28 12:00:00.005 \N 12 +184 0 1 2024-11-28 13:00:00.048 0 0 0 0 \n 2024-11-28 13:00:00.007 \N 12 +185 0 1 2024-11-28 14:00:00.057 0 0 0 0 \n 2024-11-28 14:00:00.004 \N 12 +186 0 1 2024-11-28 15:00:00.054 0 0 0 0 \n 2024-11-28 15:00:00.006 \N 12 +187 0 1 2024-11-28 16:00:00.05 0 0 0 0 \n 2024-11-28 16:00:00.005 \N 12 +188 0 1 2024-11-28 17:00:00.045 0 0 0 0 \n 2024-11-28 17:00:00.005 \N 12 +189 0 1 2024-11-28 18:00:00.045 0 0 0 0 \n 2024-11-28 18:00:00.005 \N 12 +190 0 1 2024-11-28 19:00:00.049 0 0 0 0 \n 2024-11-28 19:00:00.005 \N 12 +191 0 1 2024-11-28 20:00:00.054 0 0 0 0 \n 2024-11-28 20:00:00.006 \N 12 +192 0 1 2024-11-28 21:00:00.037 0 0 0 0 \n 2024-11-28 21:00:00.005 \N 12 +193 0 1 2024-11-28 22:00:00.049 0 0 0 0 \n 2024-11-28 22:00:00.006 \N 12 +194 0 1 2024-11-28 23:00:00.045 0 0 0 0 \n 2024-11-28 23:00:00.005 \N 12 +195 0 1 2024-11-28 23:59:59.057 0 0 0 0 \n 2024-11-28 23:59:59.005 \N -27 +196 0 1 2024-11-29 00:00:00.031 0 0 0 0 \n 2024-11-29 00:00:00.005 \N 12 +197 0 1 2024-11-29 01:00:00.05 0 0 0 0 \n 2024-11-29 01:00:00.005 \N 12 +198 0 1 2024-11-29 02:00:00.048 0 0 0 0 \n 2024-11-29 02:00:00.003 \N 12 +199 0 1 2024-11-29 03:00:00.048 0 0 0 0 \n 2024-11-29 03:00:00.005 \N 12 +200 0 1 2024-11-29 04:00:00.055 0 0 0 0 \n 2024-11-29 04:00:00.005 \N 12 +201 0 1 2024-11-29 05:00:00.049 0 0 0 0 \n 2024-11-29 05:00:00.005 \N 12 +202 0 1 2024-11-29 06:00:00.048 0 0 0 0 \n 2024-11-29 06:00:00.005 \N 12 +203 0 1 2024-11-29 07:00:00.045 0 0 0 0 \n 2024-11-29 07:00:00.005 \N 12 +204 0 1 2024-11-29 08:00:00.059 0 0 0 0 \n 2024-11-29 08:00:00.006 \N 12 +205 0 1 2024-11-29 09:00:00.046 0 0 0 0 \n 2024-11-29 09:00:00.005 \N 12 +206 0 1 2024-11-29 10:00:00.052 0 0 0 0 \n 2024-11-29 10:00:00.004 \N 12 +207 0 1 2024-11-29 11:00:00.049 0 0 0 0 \n 2024-11-29 11:00:00.006 \N 12 +208 0 1 2024-11-29 12:00:00.05 0 0 0 0 \n 2024-11-29 12:00:00.005 \N 12 +209 0 1 2024-11-29 13:00:00.048 0 0 0 0 \n 2024-11-29 13:00:00.005 \N 12 +210 0 1 2024-11-29 14:00:00.05 0 0 0 0 \n 2024-11-29 14:00:00.005 \N 12 +211 0 1 2024-11-29 15:00:00.048 0 0 0 0 \n 2024-11-29 15:00:00.005 \N 12 +212 0 1 2024-11-29 16:00:00.051 0 0 0 0 \n 2024-11-29 16:00:00.005 \N 12 +213 0 1 2024-11-29 17:00:00.054 0 0 0 0 \n 2024-11-29 17:00:00.006 \N 12 +214 0 1 2024-11-29 18:00:00.043 0 0 0 0 \n 2024-11-29 18:00:00.005 \N 12 +215 0 1 2024-11-29 19:00:00.051 0 0 0 0 \n 2024-11-29 19:00:00.004 \N 12 +216 0 1 2024-11-29 20:00:00.047 0 0 0 0 \n 2024-11-29 20:00:00.005 \N 12 +217 0 1 2024-11-29 21:00:00.044 0 0 0 0 \n 2024-11-29 21:00:00.004 \N 12 +218 0 1 2024-11-29 22:00:00.048 0 0 0 0 \n 2024-11-29 22:00:00.005 \N 12 +219 0 1 2024-11-29 23:00:00.048 0 0 0 0 \n 2024-11-29 23:00:00.005 \N 12 +220 0 1 2024-11-29 23:59:59.057 0 0 0 0 \n 2024-11-29 23:59:59.005 \N -27 +221 0 1 2024-11-30 00:00:00.034 0 0 0 0 \n 2024-11-30 00:00:00.006 \N 12 +222 0 1 2024-11-30 01:00:00.053 0 0 0 0 \n 2024-11-30 01:00:00.008 \N 12 +223 0 1 2024-11-30 02:00:00.05 0 0 0 0 \n 2024-11-30 02:00:00.005 \N 12 +224 0 1 2024-11-30 03:00:00.047 0 0 0 0 \n 2024-11-30 03:00:00.005 \N 12 +225 0 1 2024-11-30 04:00:00.052 0 0 0 0 \n 2024-11-30 04:00:00.005 \N 12 +226 0 1 2024-11-30 05:00:00.05 0 0 0 0 \n 2024-11-30 05:00:00.007 \N 12 +227 0 1 2024-11-30 06:00:00.051 0 0 0 0 \n 2024-11-30 06:00:00.005 \N 12 +228 0 1 2024-11-30 07:00:00.05 0 0 0 0 \n 2024-11-30 07:00:00.005 \N 12 +229 0 1 2024-11-30 08:00:00.05 0 0 0 0 \n 2024-11-30 08:00:00.006 \N 12 +230 0 1 2024-11-30 09:00:00.052 0 0 0 0 \n 2024-11-30 09:00:00.006 \N 12 +231 0 1 2024-11-30 10:00:00.047 0 0 0 0 \n 2024-11-30 10:00:00.005 \N 12 +232 0 1 2024-11-30 11:00:00.049 0 0 0 0 \n 2024-11-30 11:00:00.006 \N 12 +233 0 1 2024-11-30 12:00:00.045 0 0 0 0 \n 2024-11-30 12:00:00.005 \N 12 +234 0 1 2024-11-30 13:00:00.059 0 0 0 0 \n 2024-11-30 13:00:00.005 \N 12 +235 0 1 2024-11-30 14:00:00.048 0 0 0 0 \n 2024-11-30 14:00:00.005 \N 12 +236 0 1 2024-11-30 15:00:00.051 0 0 0 0 \n 2024-11-30 15:00:00.005 \N 12 +237 0 1 2024-11-30 16:00:00.055 0 0 0 0 \n 2024-11-30 16:00:00.005 \N 12 +238 0 1 2024-11-30 17:00:00.044 0 0 0 0 \n 2024-11-30 17:00:00.005 \N 12 +239 0 1 2024-11-30 18:00:00.049 0 0 0 0 \n 2024-11-30 18:00:00.005 \N 12 +240 0 1 2024-11-30 19:00:00.049 0 0 0 0 \n 2024-11-30 19:00:00.005 \N 12 +241 0 1 2024-11-30 20:00:00.047 0 0 0 0 \n 2024-11-30 20:00:00.005 \N 12 +242 0 1 2024-11-30 21:00:00.053 0 0 0 0 \n 2024-11-30 21:00:00.004 \N 12 +243 0 1 2024-11-30 22:00:00.041 0 0 0 0 \n 2024-11-30 22:00:00.006 \N 12 +244 0 1 2024-11-30 23:00:00.048 0 0 0 0 \n 2024-11-30 23:00:00.006 \N 12 +245 0 1 2024-11-30 23:59:59.059 0 0 0 0 \n 2024-11-30 23:59:59.004 \N -27 +246 0 1 2024-11-30 23:59:59.066 0 0 0 0 \n 2024-11-30 23:59:59.023 \N -21 +247 0 1 2024-12-01 00:00:00.031 0 0 0 0 \n 2024-12-01 00:00:00.007 \N 12 +248 0 1 2024-12-01 01:00:00.058 0 0 0 0 \n 2024-12-01 01:00:00.006 \N 12 +249 0 1 2024-12-01 02:00:00.057 0 0 0 0 \n 2024-12-01 02:00:00.005 \N 12 +250 0 1 2024-12-01 03:00:00.042 0 0 0 0 \n 2024-12-01 03:00:00.003 \N 12 +251 0 1 2024-12-01 04:00:00.056 0 0 0 0 \n 2024-12-01 04:00:00.005 \N 12 +252 0 1 2024-12-01 05:00:00.046 0 0 0 0 \n 2024-12-01 05:00:00.005 \N 12 +253 0 1 2024-12-01 06:00:00.048 0 0 0 0 \n 2024-12-01 06:00:00.005 \N 12 +254 0 1 2024-12-01 07:00:00.053 0 0 0 0 \n 2024-12-01 07:00:00.005 \N 12 +255 0 1 2024-12-01 08:00:00.049 0 0 0 0 \n 2024-12-01 08:00:00.005 \N 12 +256 0 1 2024-12-01 09:00:00.044 0 0 0 0 \n 2024-12-01 09:00:00.006 \N 12 +257 0 1 2024-12-01 10:00:00.051 0 0 0 0 \n 2024-12-01 10:00:00.005 \N 12 +258 0 1 2024-12-01 11:00:00.055 0 0 0 0 \n 2024-12-01 11:00:00.007 \N 12 +259 0 1 2024-12-01 12:00:00.056 0 0 0 0 \n 2024-12-01 12:00:00.005 \N 12 +260 0 1 2024-12-01 13:00:00.051 0 0 0 0 \n 2024-12-01 13:00:00.005 \N 12 +261 0 1 2024-12-01 14:00:00.05 0 0 0 0 \n 2024-12-01 14:00:00.006 \N 12 +262 0 1 2024-12-01 15:00:00.052 0 0 0 0 \n 2024-12-01 15:00:00.005 \N 12 +263 0 1 2024-12-01 16:00:00.044 0 0 0 0 \n 2024-12-01 16:00:00.004 \N 12 +264 0 1 2024-12-01 17:00:00.053 0 0 0 0 \n 2024-12-01 17:00:00.005 \N 12 +265 0 1 2024-12-01 18:00:00.055 0 0 0 0 \n 2024-12-01 18:00:00.008 \N 12 +266 0 1 2024-12-01 19:00:00.05 0 0 0 0 \n 2024-12-01 19:00:00.006 \N 12 +267 0 1 2024-12-01 20:00:00.046 0 0 0 0 \n 2024-12-01 20:00:00.004 \N 12 +268 0 1 2024-12-01 21:00:00.054 0 0 0 0 \n 2024-12-01 21:00:00.006 \N 12 +269 0 1 2024-12-01 22:00:00.05 0 0 0 0 \n 2024-12-01 22:00:00.006 \N 12 +270 0 1 2024-12-01 23:00:00.052 0 0 0 0 \n 2024-12-01 23:00:00.005 \N 12 +271 0 1 2024-12-01 23:59:59.058 0 0 0 0 \n 2024-12-01 23:59:59.003 \N -21 +272 0 1 2024-12-01 23:59:59.064 0 0 0 0 \n 2024-12-01 23:59:59.004 \N -27 +273 0 1 2024-12-02 00:00:00.025 0 0 0 0 \n 2024-12-02 00:00:00.004 \N 12 +274 0 1 2024-12-02 01:00:00.044 0 0 0 0 \n 2024-12-02 01:00:00.004 \N 12 +275 0 1 2024-12-02 02:00:00.046 0 0 0 0 \n 2024-12-02 02:00:00.006 \N 12 +276 0 1 2024-12-02 03:00:00.051 0 0 0 0 \n 2024-12-02 03:00:00.005 \N 12 +277 0 1 2024-12-02 04:00:00.053 0 0 0 0 \n 2024-12-02 04:00:00.006 \N 12 +278 0 1 2024-12-02 05:00:00.05 0 0 0 0 \n 2024-12-02 05:00:00.007 \N 12 +279 0 1 2024-12-02 06:00:00.048 0 0 0 0 \n 2024-12-02 06:00:00.006 \N 12 +280 0 1 2024-12-02 07:00:00.049 0 0 0 0 \n 2024-12-02 07:00:00.005 \N 12 +281 0 1 2024-12-02 08:00:00.048 0 0 0 0 \n 2024-12-02 08:00:00.005 \N 12 +282 0 1 2024-12-02 09:00:00.047 0 0 0 0 \n 2024-12-02 09:00:00.006 \N 12 +283 0 1 2024-12-02 10:00:00.051 0 0 0 0 \n 2024-12-02 10:00:00.005 \N 12 +284 0 1 2024-12-02 11:00:00.055 0 0 0 0 \n 2024-12-02 11:00:00.005 \N 12 +285 0 1 2024-12-02 12:00:00.046 0 0 0 0 \n 2024-12-02 12:00:00.006 \N 12 +286 0 1 2024-12-02 13:00:00.047 0 0 0 0 \n 2024-12-02 13:00:00.006 \N 12 +287 0 1 2024-12-02 14:00:00.044 0 0 0 0 \n 2024-12-02 14:00:00.005 \N 12 +288 0 1 2024-12-02 15:00:00.047 0 0 0 0 \n 2024-12-02 15:00:00.005 \N 12 +289 0 1 2024-12-02 16:00:00.049 0 0 0 0 \n 2024-12-02 16:00:00.005 \N 12 +290 0 1 2024-12-02 17:00:00.047 0 0 0 0 \n 2024-12-02 17:00:00.007 \N 12 +291 0 1 2024-12-02 18:00:00.049 0 0 0 0 \n 2024-12-02 18:00:00.006 \N 12 +292 0 1 2024-12-02 19:00:00.047 0 0 0 0 \n 2024-12-02 19:00:00.006 \N 12 +293 0 1 2024-12-02 20:00:00.047 0 0 0 0 \n 2024-12-02 20:00:00.005 \N 12 +294 0 1 2024-12-02 21:00:00.049 0 0 0 0 \n 2024-12-02 21:00:00.005 \N 12 +295 0 1 2024-12-02 22:00:00.047 0 0 0 0 \n 2024-12-02 22:00:00.005 \N 12 +296 0 1 2024-12-02 23:00:00.052 0 0 0 0 \n 2024-12-02 23:00:00.005 \N 12 +297 0 1 2024-12-02 23:59:59.059 0 0 0 0 \n 2024-12-02 23:59:59.005 \N -27 +298 0 1 2024-12-03 00:00:00.024 0 0 0 0 \n 2024-12-03 00:00:00.004 \N 12 +299 0 1 2024-12-03 01:00:00.049 0 0 0 0 \n 2024-12-03 01:00:00.004 \N 12 +300 0 1 2024-12-03 02:00:00.045 0 0 0 0 \n 2024-12-03 02:00:00.004 \N 12 +301 0 1 2024-12-03 03:00:00.048 0 0 0 0 \n 2024-12-03 03:00:00.005 \N 12 +302 0 1 2024-12-03 04:00:00.049 0 0 0 0 \n 2024-12-03 04:00:00.005 \N 12 +303 0 1 2024-12-03 05:00:00.058 0 0 0 0 \n 2024-12-03 05:00:00.008 \N 12 +304 0 1 2024-12-03 06:00:00.044 0 0 0 0 \n 2024-12-03 06:00:00.004 \N 12 +305 0 1 2024-12-03 07:00:00.058 0 0 0 0 \n 2024-12-03 07:00:00.005 \N 12 +306 0 1 2024-12-03 08:00:00.043 0 0 0 0 \n 2024-12-03 08:00:00.005 \N 12 +307 0 1 2024-12-03 09:00:00.054 0 0 0 0 \n 2024-12-03 09:00:00.006 \N 12 +308 0 1 2024-12-03 10:00:00.058 0 0 0 0 \n 2024-12-03 10:00:00.004 \N 12 +309 0 1 2024-12-03 11:00:00.047 0 0 0 0 \n 2024-12-03 11:00:00.004 \N 12 +310 0 1 2024-12-03 12:00:00.048 0 0 0 0 \n 2024-12-03 12:00:00.006 \N 12 +311 0 1 2024-12-03 13:00:00.046 0 0 0 0 \n 2024-12-03 13:00:00.005 \N 12 +312 0 1 2024-12-03 14:00:00.053 0 0 0 0 \n 2024-12-03 14:00:00.004 \N 12 +313 0 1 2024-12-03 15:00:00.049 0 0 0 0 \n 2024-12-03 15:00:00.003 \N 12 +314 0 1 2024-12-03 16:00:00.056 0 0 0 0 \n 2024-12-03 16:00:00.005 \N 12 +315 0 1 2024-12-03 17:00:00.055 0 0 0 0 \n 2024-12-03 17:00:00.005 \N 12 +316 0 1 2024-12-03 18:00:00.045 0 0 0 0 \n 2024-12-03 18:00:00.005 \N 12 +317 0 1 2024-12-03 19:00:00.05 0 0 0 0 \n 2024-12-03 19:00:00.005 \N 12 +318 0 1 2024-12-03 20:00:00.044 0 0 0 0 \n 2024-12-03 20:00:00.005 \N 12 +319 0 1 2024-12-03 21:00:00.053 0 0 0 0 \n 2024-12-03 21:00:00.004 \N 12 +320 0 1 2024-12-03 22:00:00.05 0 0 0 0 \n 2024-12-03 22:00:00.008 \N 12 +321 0 1 2024-12-03 23:00:00.051 0 0 0 0 \n 2024-12-03 23:00:00.004 \N 12 +322 0 1 2024-12-03 23:59:59.05 0 0 0 0 \n 2024-12-03 23:59:59.003 \N -27 +323 0 1 2024-12-04 00:00:00.024 0 0 0 0 \n 2024-12-04 00:00:00.004 \N 12 +324 0 1 2024-12-04 01:00:00.052 0 0 0 0 \n 2024-12-04 01:00:00.005 \N 12 +325 0 1 2024-12-04 02:00:00.048 0 0 0 0 \n 2024-12-04 02:00:00.005 \N 12 +326 0 1 2024-12-04 03:00:00.048 0 0 0 0 \n 2024-12-04 03:00:00.005 \N 12 +327 0 1 2024-12-04 04:00:00.049 0 0 0 0 \n 2024-12-04 04:00:00.005 \N 12 +328 0 1 2024-12-04 05:00:00.055 0 0 0 0 \n 2024-12-04 05:00:00.005 \N 12 +329 0 1 2024-12-04 06:00:00.046 0 0 0 0 \n 2024-12-04 06:00:00.006 \N 12 +330 0 1 2024-12-04 07:00:00.05 0 0 0 0 \n 2024-12-04 07:00:00.005 \N 12 +331 0 1 2024-12-04 08:00:00.046 0 0 0 0 \n 2024-12-04 08:00:00.004 \N 12 +332 0 1 2024-12-04 09:00:00.05 0 0 0 0 \n 2024-12-04 09:00:00.007 \N 12 +333 0 1 2024-12-04 10:00:00.049 0 0 0 0 \n 2024-12-04 10:00:00.005 \N 12 +334 0 1 2024-12-04 11:00:00.05 0 0 0 0 \n 2024-12-04 11:00:00.005 \N 12 +335 0 1 2024-12-04 12:00:00.056 0 0 0 0 \n 2024-12-04 12:00:00.005 \N 12 +336 0 1 2024-12-04 13:00:00.045 0 0 0 0 \n 2024-12-04 13:00:00.006 \N 12 +337 0 1 2024-12-04 14:00:00.053 0 0 0 0 \n 2024-12-04 14:00:00.004 \N 12 +338 0 1 2024-12-04 15:00:00.043 0 0 0 0 \n 2024-12-04 15:00:00.003 \N 12 +339 0 1 2024-12-04 16:00:00.052 0 0 0 0 \n 2024-12-04 16:00:00.005 \N 12 +340 0 1 2024-12-04 17:00:00.056 0 0 0 0 \n 2024-12-04 17:00:00.004 \N 12 +341 0 1 2024-12-04 18:00:00.046 0 0 0 0 \n 2024-12-04 18:00:00.006 \N 12 +342 0 1 2024-12-04 19:00:00.048 0 0 0 0 \n 2024-12-04 19:00:00.005 \N 12 +343 0 1 2024-12-04 20:00:00.048 0 0 0 0 \n 2024-12-04 20:00:00.005 \N 12 +344 0 1 2024-12-04 21:00:00.046 0 0 0 0 \n 2024-12-04 21:00:00.006 \N 12 +345 0 1 2024-12-04 22:00:00.045 0 0 0 0 \n 2024-12-04 22:00:00.005 \N 12 +346 0 1 2024-12-04 23:00:00.046 0 0 0 0 \n 2024-12-04 23:00:00.005 \N 12 +347 0 1 2024-12-04 23:59:59.055 0 0 0 0 \n 2024-12-04 23:59:59.004 \N -27 +348 0 1 2024-12-05 00:00:00.02 0 0 0 0 \n 2024-12-05 00:00:00.004 \N 12 +349 0 1 2024-12-05 01:00:00.05 0 0 0 0 \n 2024-12-05 01:00:00.005 \N 12 +350 0 1 2024-12-05 02:00:00.045 0 0 0 0 \n 2024-12-05 02:00:00.005 \N 12 +351 0 1 2024-12-05 03:00:00.049 0 0 0 0 \n 2024-12-05 03:00:00.005 \N 12 +352 0 1 2024-12-05 04:00:00.055 0 0 0 0 \n 2024-12-05 04:00:00.005 \N 12 +353 0 1 2024-12-05 05:00:00.047 0 0 0 0 \n 2024-12-05 05:00:00.007 \N 12 +354 0 1 2024-12-05 06:00:00.058 0 0 0 0 \n 2024-12-05 06:00:00.005 \N 12 +355 0 1 2024-12-05 07:00:00.049 0 0 0 0 \n 2024-12-05 07:00:00.004 \N 12 +356 0 1 2024-12-05 08:00:00.048 0 0 0 0 \n 2024-12-05 08:00:00.004 \N 12 +357 0 1 2024-12-05 09:00:00.052 0 0 0 0 \n 2024-12-05 09:00:00.005 \N 12 +358 0 1 2024-12-05 10:00:00.05 0 0 0 0 \n 2024-12-05 10:00:00.004 \N 12 +359 0 1 2024-12-05 11:00:00.045 0 0 0 0 \n 2024-12-05 11:00:00.005 \N 12 +360 0 1 2024-12-05 12:00:00.047 0 0 0 0 \n 2024-12-05 12:00:00.004 \N 12 +361 0 1 2024-12-05 13:00:00.041 0 0 0 0 \n 2024-12-05 13:00:00.005 \N 12 +362 0 1 2024-12-05 14:00:00.046 0 0 0 0 \n 2024-12-05 14:00:00.004 \N 12 +363 0 1 2024-12-05 15:00:00.048 0 0 0 0 \n 2024-12-05 15:00:00.005 \N 12 +364 0 1 2024-12-05 16:00:00.056 0 0 0 0 \n 2024-12-05 16:00:00.006 \N 12 +365 0 1 2024-12-05 17:00:00.045 0 0 0 0 \n 2024-12-05 17:00:00.005 \N 12 +366 0 1 2024-12-05 18:00:00.051 0 0 0 0 \n 2024-12-05 18:00:00.004 \N 12 +367 0 1 2024-12-05 19:00:00.049 0 0 0 0 \n 2024-12-05 19:00:00.005 \N 12 +368 0 1 2024-12-05 20:00:00.043 0 0 0 0 \n 2024-12-05 20:00:00.004 \N 12 +369 0 1 2024-12-05 21:00:00.052 0 0 0 0 \n 2024-12-05 21:00:00.004 \N 12 +370 0 1 2024-12-05 22:00:00.044 0 0 0 0 \n 2024-12-05 22:00:00.005 \N 12 +371 0 1 2024-12-05 23:00:00.047 0 0 0 0 \n 2024-12-05 23:00:00.005 \N 12 +372 0 1 2024-12-05 23:59:59.055 0 0 0 0 \n 2024-12-05 23:59:59.004 \N -27 +373 0 1 2024-12-06 00:00:00.032 0 0 0 0 \n 2024-12-06 00:00:00.006 \N 12 +374 0 1 2024-12-06 01:00:00.046 0 0 0 0 \n 2024-12-06 01:00:00.005 \N 12 +375 0 1 2024-12-06 02:00:00.044 0 0 0 0 \n 2024-12-06 02:00:00.004 \N 12 +376 0 1 2024-12-06 03:00:00.042 0 0 0 0 \n 2024-12-06 03:00:00.005 \N 12 +377 0 1 2024-12-06 04:00:00.047 0 0 0 0 \n 2024-12-06 04:00:00.005 \N 12 +378 0 1 2024-12-06 05:00:00.047 0 0 0 0 \n 2024-12-06 05:00:00.005 \N 12 +379 0 1 2024-12-06 06:00:00.045 0 0 0 0 \n 2024-12-06 06:00:00.005 \N 12 +380 0 1 2024-12-06 07:00:00.056 0 0 0 0 \n 2024-12-06 07:00:00.005 \N 12 +381 0 1 2024-12-06 08:00:00.052 0 0 0 0 \n 2024-12-06 08:00:00.005 \N 12 +382 0 1 2024-12-06 09:00:00.047 0 0 0 0 \n 2024-12-06 09:00:00.005 \N 12 +383 0 1 2024-12-06 10:00:00.048 0 0 0 0 \n 2024-12-06 10:00:00.005 \N 12 +384 0 1 2024-12-06 11:00:00.046 0 0 0 0 \n 2024-12-06 11:00:00.005 \N 12 +385 0 1 2024-12-06 12:00:00.049 0 0 0 0 \n 2024-12-06 12:00:00.005 \N 12 +386 0 1 2024-12-06 13:00:00.047 0 0 0 0 \n 2024-12-06 13:00:00.005 \N 12 +387 0 1 2024-12-06 14:00:00.047 0 0 0 0 \n 2024-12-06 14:00:00.005 \N 12 +388 0 1 2024-12-06 15:00:00.049 0 0 0 0 \n 2024-12-06 15:00:00.004 \N 12 +389 0 1 2024-12-06 16:00:00.047 0 0 0 0 \n 2024-12-06 16:00:00.004 \N 12 +390 0 1 2024-12-06 17:00:00.05 0 0 0 0 \n 2024-12-06 17:00:00.005 \N 12 +391 0 1 2024-12-06 18:00:00.044 0 0 0 0 \n 2024-12-06 18:00:00.004 \N 12 +392 0 1 2024-12-06 19:00:00.049 0 0 0 0 \n 2024-12-06 19:00:00.006 \N 12 +393 0 1 2024-12-06 20:00:00.049 0 0 0 0 \n 2024-12-06 20:00:00.006 \N 12 +394 0 1 2024-12-06 21:00:00.049 0 0 0 0 \n 2024-12-06 21:00:00.004 \N 12 +395 0 1 2024-12-06 22:00:00.047 0 0 0 0 \n 2024-12-06 22:00:00.004 \N 12 +396 0 1 2024-12-06 23:00:00.049 0 0 0 0 \n 2024-12-06 23:00:00.005 \N 12 +397 0 1 2024-12-06 23:59:59.055 0 0 0 0 \n 2024-12-06 23:59:59.004 \N -27 +398 0 1 2024-12-07 00:00:00.03 0 0 0 0 \n 2024-12-07 00:00:00.006 \N 12 +399 0 1 2024-12-07 01:00:00.05 0 0 0 0 \n 2024-12-07 01:00:00.004 \N 12 +400 0 1 2024-12-07 02:00:00.045 0 0 0 0 \n 2024-12-07 02:00:00.004 \N 12 +401 0 1 2024-12-07 03:00:00.053 0 0 0 0 \n 2024-12-07 03:00:00.003 \N 12 +402 0 1 2024-12-07 04:00:00.047 0 0 0 0 \n 2024-12-07 04:00:00.004 \N 12 +403 0 1 2024-12-07 05:00:00.047 0 0 0 0 \n 2024-12-07 05:00:00.004 \N 12 +404 0 1 2024-12-07 06:00:00.048 0 0 0 0 \n 2024-12-07 06:00:00.004 \N 12 +405 0 1 2024-12-07 07:00:00.053 0 0 0 0 \n 2024-12-07 07:00:00.004 \N 12 +406 0 1 2024-12-07 08:00:00.05 0 0 0 0 \n 2024-12-07 08:00:00.005 \N 12 +407 0 1 2024-12-07 09:00:00.054 0 0 0 0 \n 2024-12-07 09:00:00.005 \N 12 +408 0 1 2024-12-07 10:00:00.049 0 0 0 0 \n 2024-12-07 10:00:00.006 \N 12 +409 0 1 2024-12-07 11:00:00.048 0 0 0 0 \n 2024-12-07 11:00:00.005 \N 12 +410 0 1 2024-12-07 12:00:00.055 0 0 0 0 \n 2024-12-07 12:00:00.005 \N 12 +411 0 1 2024-12-07 13:00:00.055 0 0 0 0 \n 2024-12-07 13:00:00.006 \N 12 +412 0 1 2024-12-07 14:00:00.049 0 0 0 0 \n 2024-12-07 14:00:00.004 \N 12 +413 0 1 2024-12-07 15:00:00.048 0 0 0 0 \n 2024-12-07 15:00:00.005 \N 12 +414 0 1 2024-12-07 16:00:00.048 0 0 0 0 \n 2024-12-07 16:00:00.004 \N 12 +415 0 1 2024-12-07 17:00:00.045 0 0 0 0 \n 2024-12-07 17:00:00.005 \N 12 +416 0 1 2024-12-07 18:00:00.046 0 0 0 0 \n 2024-12-07 18:00:00.005 \N 12 +417 0 1 2024-12-07 19:00:00.052 0 0 0 0 \n 2024-12-07 19:00:00.004 \N 12 +418 0 1 2024-12-07 20:00:00.048 0 0 0 0 \n 2024-12-07 20:00:00.004 \N 12 +419 0 1 2024-12-07 21:00:00.053 0 0 0 0 \n 2024-12-07 21:00:00.005 \N 12 +420 0 1 2024-12-07 22:00:00.055 0 0 0 0 \n 2024-12-07 22:00:00.006 \N 12 +421 0 1 2024-12-07 23:00:00.045 0 0 0 0 \n 2024-12-07 23:00:00.004 \N 12 +422 0 1 2024-12-07 23:59:59.055 0 0 0 0 \n 2024-12-07 23:59:59.003 \N -27 +423 0 1 2024-12-08 00:00:00.028 0 0 0 0 \n 2024-12-08 00:00:00.004 \N 12 +424 0 1 2024-12-08 01:00:00.049 0 0 0 0 \n 2024-12-08 01:00:00.004 \N 12 +425 0 1 2024-12-08 02:00:00.053 0 0 0 0 \n 2024-12-08 02:00:00.006 \N 12 +426 0 1 2024-12-08 03:00:00.055 0 0 0 0 \n 2024-12-08 03:00:00.006 \N 12 +427 0 1 2024-12-08 04:00:00.046 0 0 0 0 \n 2024-12-08 04:00:00.005 \N 12 +428 0 1 2024-12-08 05:00:00.049 0 0 0 0 \n 2024-12-08 05:00:00.005 \N 12 +429 0 1 2024-12-08 06:00:00.046 0 0 0 0 \n 2024-12-08 06:00:00.005 \N 12 +430 0 1 2024-12-08 07:00:00.05 0 0 0 0 \n 2024-12-08 07:00:00.004 \N 12 +431 0 1 2024-12-08 08:00:00.049 0 0 0 0 \n 2024-12-08 08:00:00.005 \N 12 +432 0 1 2024-12-08 09:00:00.041 0 0 0 0 \n 2024-12-08 09:00:00.004 \N 12 +433 0 1 2024-12-08 10:00:00.049 0 0 0 0 \n 2024-12-08 10:00:00.004 \N 12 +434 0 1 2024-12-08 11:00:00.045 0 0 0 0 \n 2024-12-08 11:00:00.005 \N 12 +435 0 1 2024-12-08 12:00:00.043 0 0 0 0 \n 2024-12-08 12:00:00.005 \N 12 +436 0 1 2024-12-08 13:00:00.048 0 0 0 0 \n 2024-12-08 13:00:00.004 \N 12 +437 0 1 2024-12-08 14:00:00.053 0 0 0 0 \n 2024-12-08 14:00:00.005 \N 12 +438 0 1 2024-12-08 15:00:00.047 0 0 0 0 \n 2024-12-08 15:00:00.005 \N 12 +439 0 1 2024-12-08 16:00:00.048 0 0 0 0 \n 2024-12-08 16:00:00.005 \N 12 +440 0 1 2024-12-08 17:00:00.049 0 0 0 0 \n 2024-12-08 17:00:00.004 \N 12 +441 0 1 2024-12-08 18:00:00.05 0 0 0 0 \n 2024-12-08 18:00:00.005 \N 12 +442 0 1 2024-12-08 19:00:00.048 0 0 0 0 \n 2024-12-08 19:00:00.005 \N 12 +443 0 1 2024-12-08 20:00:00.039 0 0 0 0 \n 2024-12-08 20:00:00.005 \N 12 +444 0 1 2024-12-08 21:00:00.043 0 0 0 0 \n 2024-12-08 21:00:00.004 \N 12 +445 0 1 2024-12-08 22:00:00.048 0 0 0 0 \n 2024-12-08 22:00:00.006 \N 12 +446 0 1 2024-12-08 23:00:00.044 0 0 0 0 \n 2024-12-08 23:00:00.004 \N 12 +448 0 1 2024-12-08 23:59:59.059 0 0 0 0 \n 2024-12-08 23:59:59.004 \N -27 +447 0 1 2024-12-08 23:59:59.058 0 0 0 0 \n 2024-12-08 23:59:59.019 \N -21 +449 0 1 2024-12-09 00:00:00.021 0 0 0 0 \n 2024-12-09 00:00:00.003 \N 12 +450 0 1 2024-12-09 01:00:00.049 0 0 0 0 \n 2024-12-09 01:00:00.004 \N 12 +451 0 1 2024-12-09 02:00:00.05 0 0 0 0 \n 2024-12-09 02:00:00.005 \N 12 +452 0 1 2024-12-09 03:00:00.049 0 0 0 0 \n 2024-12-09 03:00:00.005 \N 12 +453 0 1 2024-12-09 04:00:00.048 0 0 0 0 \n 2024-12-09 04:00:00.005 \N 12 +454 0 1 2024-12-09 05:00:00.051 0 0 0 0 \n 2024-12-09 05:00:00.006 \N 12 +455 0 1 2024-12-09 06:00:00.048 0 0 0 0 \n 2024-12-09 06:00:00.004 \N 12 +456 0 1 2024-12-09 07:00:00.049 0 0 0 0 \n 2024-12-09 07:00:00.005 \N 12 +457 0 1 2024-12-09 08:00:00.047 0 0 0 0 \n 2024-12-09 08:00:00.005 \N 12 +458 0 1 2024-12-09 09:00:00.048 0 0 0 0 \n 2024-12-09 09:00:00.005 \N 12 +459 0 1 2024-12-09 10:00:00.054 0 0 0 0 \n 2024-12-09 10:00:00.004 \N 12 +460 0 1 2024-12-09 11:00:00.037 0 0 0 0 \n 2024-12-09 11:00:00.005 \N 12 +461 0 1 2024-12-09 12:00:00.043 0 0 0 0 \n 2024-12-09 12:00:00.004 \N 12 +462 0 1 2024-12-09 13:00:00.046 0 0 0 0 \n 2024-12-09 13:00:00.004 \N 12 +463 0 1 2024-12-09 14:00:00.052 0 0 0 0 \n 2024-12-09 14:00:00.005 \N 12 +464 0 1 2024-12-09 15:00:00.045 0 0 0 0 \n 2024-12-09 15:00:00.005 \N 12 +465 0 1 2024-12-09 16:00:00.05 0 0 0 0 \n 2024-12-09 16:00:00.005 \N 12 +466 0 1 2024-12-09 17:00:00.048 0 0 0 0 \n 2024-12-09 17:00:00.004 \N 12 +467 0 1 2024-12-09 18:00:00.048 0 0 0 0 \n 2024-12-09 18:00:00.005 \N 12 +468 0 1 2024-12-09 19:00:00.046 0 0 0 0 \n 2024-12-09 19:00:00.005 \N 12 +469 0 1 2024-12-09 20:00:00.047 0 0 0 0 \n 2024-12-09 20:00:00.004 \N 12 +470 0 1 2024-12-09 21:00:00.053 0 0 0 0 \n 2024-12-09 21:00:00.006 \N 12 +471 0 1 2024-12-09 22:00:00.047 0 0 0 0 \n 2024-12-09 22:00:00.004 \N 12 +472 0 1 2024-12-09 23:00:00.051 0 0 0 0 \n 2024-12-09 23:00:00.005 \N 12 +473 0 1 2024-12-09 23:59:59.049 0 0 0 0 \n 2024-12-09 23:59:59.005 \N -27 +474 0 1 2024-12-10 00:00:00.027 0 0 0 0 \n 2024-12-10 00:00:00.003 \N 12 +475 0 1 2024-12-10 01:00:00.051 0 0 0 0 \n 2024-12-10 01:00:00.004 \N 12 +476 0 1 2024-12-10 02:00:00.049 0 0 0 0 \n 2024-12-10 02:00:00.004 \N 12 +477 0 1 2024-12-10 03:00:00.053 0 0 0 0 \n 2024-12-10 03:00:00.007 \N 12 +478 0 1 2024-12-10 04:00:00.053 0 0 0 0 \n 2024-12-10 04:00:00.004 \N 12 +479 0 1 2024-12-10 05:00:00.052 0 0 0 0 \n 2024-12-10 05:00:00.005 \N 12 +480 0 1 2024-12-10 06:00:00.049 0 0 0 0 \n 2024-12-10 06:00:00.004 \N 12 +481 0 1 2024-12-10 07:00:00.061 0 0 0 0 \n 2024-12-10 07:00:00.006 \N 12 +482 0 1 2024-12-10 08:00:00.05 0 0 0 0 \n 2024-12-10 08:00:00.004 \N 12 +483 0 1 2024-12-10 09:00:00.049 0 0 0 0 \n 2024-12-10 09:00:00.005 \N 12 +484 0 1 2024-12-10 10:00:00.057 0 0 0 0 \n 2024-12-10 10:00:00.005 \N 12 +485 0 1 2024-12-10 11:00:00.05 0 0 0 0 \n 2024-12-10 11:00:00.004 \N 12 +486 0 1 2024-12-10 12:00:00.055 0 0 0 0 \n 2024-12-10 12:00:00.005 \N 12 +487 0 1 2024-12-10 13:00:00.057 0 0 0 0 \n 2024-12-10 13:00:00.004 \N 12 +488 0 1 2024-12-10 14:00:00.048 0 0 0 0 \n 2024-12-10 14:00:00.005 \N 12 +489 0 1 2024-12-10 15:00:00.054 0 0 0 0 \n 2024-12-10 15:00:00.007 \N 12 +490 0 1 2024-12-10 16:00:00.05 0 0 0 0 \n 2024-12-10 16:00:00.005 \N 12 +491 0 1 2024-12-10 17:00:00.043 0 0 0 0 \n 2024-12-10 17:00:00.005 \N 12 +492 0 1 2024-12-10 18:00:00.044 0 0 0 0 \n 2024-12-10 18:00:00.004 \N 12 +493 0 1 2024-12-10 19:00:00.052 0 0 0 0 \n 2024-12-10 19:00:00.004 \N 12 +494 0 1 2024-12-10 20:00:00.051 0 0 0 0 \n 2024-12-10 20:00:00.005 \N 12 +495 0 1 2024-12-10 21:00:00.043 0 0 0 0 \n 2024-12-10 21:00:00.004 \N 12 +496 0 1 2024-12-10 22:00:00.056 0 0 0 0 \n 2024-12-10 22:00:00.005 \N 12 +497 0 1 2024-12-10 23:00:00.047 0 0 0 0 \n 2024-12-10 23:00:00.005 \N 12 +498 0 1 2024-12-10 23:59:59.054 0 0 0 0 \n 2024-12-10 23:59:59.003 \N -27 +499 0 1 2024-12-11 00:00:00.028 0 0 0 0 \n 2024-12-11 00:00:00.005 \N 12 +500 0 1 2024-12-11 01:00:00.047 0 0 0 0 \n 2024-12-11 01:00:00.004 \N 12 +501 0 1 2024-12-11 02:00:00.052 0 0 0 0 \n 2024-12-11 02:00:00.004 \N 12 +502 0 1 2024-12-11 03:00:00.047 0 0 0 0 \n 2024-12-11 03:00:00.006 \N 12 +503 0 1 2024-12-11 04:00:00.049 0 0 0 0 \n 2024-12-11 04:00:00.005 \N 12 +504 0 1 2024-12-11 05:00:00.049 0 0 0 0 \n 2024-12-11 05:00:00.005 \N 12 +505 0 1 2024-12-11 06:00:00.049 0 0 0 0 \n 2024-12-11 06:00:00.004 \N 12 +506 0 1 2024-12-11 07:00:00.044 0 0 0 0 \n 2024-12-11 07:00:00.004 \N 12 +507 0 1 2024-12-11 08:00:00.048 0 0 0 0 \n 2024-12-11 08:00:00.004 \N 12 +508 0 1 2024-12-11 09:00:00.048 0 0 0 0 \n 2024-12-11 09:00:00.004 \N 12 +509 0 1 2024-12-11 10:00:00.048 0 0 0 0 \n 2024-12-11 10:00:00.005 \N 12 +510 0 1 2024-12-11 11:00:00.046 0 0 0 0 \n 2024-12-11 11:00:00.004 \N 12 +511 0 1 2024-12-11 12:00:00.045 0 0 0 0 \n 2024-12-11 12:00:00.005 \N 12 +512 0 1 2024-12-11 13:00:00.052 0 0 0 0 \n 2024-12-11 13:00:00.005 \N 12 +513 0 1 2024-12-11 14:00:00.045 0 0 0 0 \n 2024-12-11 14:00:00.005 \N 12 +514 0 1 2024-12-11 15:00:00.047 0 0 0 0 \n 2024-12-11 15:00:00.004 \N 12 +515 0 1 2024-12-11 16:00:00.045 0 0 0 0 \n 2024-12-11 16:00:00.006 \N 12 +516 0 1 2024-12-11 17:00:00.045 0 0 0 0 \n 2024-12-11 17:00:00.006 \N 12 +517 0 1 2024-12-11 18:00:00.026 0 0 0 0 \n 2024-12-11 18:00:00.004 \N 12 +518 0 1 2024-12-11 19:00:00.022 0 0 0 0 \n 2024-12-11 19:00:00.004 \N 12 +519 0 1 2024-12-11 20:00:00.015 0 0 0 0 \n 2024-12-11 20:00:00.003 \N 12 +520 0 1 2024-12-11 21:00:00.021 0 0 0 0 \n 2024-12-11 21:00:00.005 \N 12 +521 0 1 2024-12-11 22:00:00.02 0 0 0 0 \n 2024-12-11 22:00:00.004 \N 12 +522 0 1 2024-12-11 23:00:00.018 0 0 0 0 \n 2024-12-11 23:00:00.004 \N 12 +523 0 1 2024-12-11 23:59:59.043 0 0 0 0 \n 2024-12-11 23:59:59.004 \N -27 +524 0 1 2024-12-12 00:00:00.018 0 0 0 0 \n 2024-12-12 00:00:00.004 \N 12 +525 0 1 2024-12-12 01:00:00.023 0 0 0 0 \n 2024-12-12 01:00:00.005 \N 12 +526 0 1 2024-12-12 02:00:00.014 0 0 0 0 \n 2024-12-12 02:00:00.003 \N 12 +527 0 1 2024-12-12 03:00:00.016 0 0 0 0 \n 2024-12-12 03:00:00.003 \N 12 +528 0 1 2024-12-12 04:00:00.018 0 0 0 0 \n 2024-12-12 04:00:00.004 \N 12 +529 0 1 2024-12-12 05:00:00.018 0 0 0 0 \n 2024-12-12 05:00:00.004 \N 12 +530 0 1 2024-12-12 06:00:00.019 0 0 0 0 \n 2024-12-12 06:00:00.005 \N 12 +531 0 1 2024-12-12 07:00:00.018 0 0 0 0 \n 2024-12-12 07:00:00.004 \N 12 +532 0 1 2024-12-12 08:01:44.886 0 0 0 0 \n 2024-12-12 08:01:44.87 \N 12 +533 0 1 2024-12-12 09:00:00.018 0 0 0 0 \n 2024-12-12 09:00:00.005 \N 12 +534 0 1 2024-12-12 10:00:00.017 0 0 0 0 \n 2024-12-12 10:00:00.005 \N 12 +535 0 1 2024-12-12 11:00:00.018 0 0 0 0 \n 2024-12-12 11:00:00.004 \N 12 +536 0 1 2024-12-12 12:00:00.014 0 0 0 0 \n 2024-12-12 12:00:00.003 \N 12 +537 0 1 2024-12-12 13:00:00.018 0 0 0 0 \n 2024-12-12 13:00:00.004 \N 12 +538 0 1 2024-12-12 14:00:10.453 0 0 0 0 \n 2024-12-12 14:00:10.412 \N 12 +539 0 1 2024-12-12 15:00:00.013 0 0 0 0 \n 2024-12-12 15:00:00.003 \N 12 +540 0 1 2024-12-12 16:00:00.018 0 0 0 0 \n 2024-12-12 16:00:00.005 \N 12 +541 0 1 2024-12-12 17:00:00.016 0 0 0 0 \n 2024-12-12 17:00:00.004 \N 12 +542 0 1 2024-12-12 18:00:00.059 0 0 0 0 \n 2024-12-12 18:00:00.004 \N 12 +543 0 1 2024-12-12 19:00:00.05 0 0 0 0 \n 2024-12-12 19:00:00.005 \N 12 +544 0 1 2024-12-12 20:00:00.054 0 0 0 0 \n 2024-12-12 20:00:00.006 \N 12 +545 0 1 2024-12-12 21:00:00.05 0 0 0 0 \n 2024-12-12 21:00:00.004 \N 12 +546 0 1 2024-12-12 22:00:00.045 0 0 0 0 \n 2024-12-12 22:00:00.004 \N 12 +547 0 1 2024-12-12 23:00:00.056 0 0 0 0 \n 2024-12-12 23:00:00.004 \N 12 +548 0 1 2024-12-12 23:59:59.056 0 0 0 0 \n 2024-12-12 23:59:59.005 \N -27 +549 0 1 2024-12-13 00:00:00.029 0 0 0 0 \n 2024-12-13 00:00:00.005 \N 12 +550 0 1 2024-12-13 01:00:00.051 0 0 0 0 \n 2024-12-13 01:00:00.004 \N 12 +551 0 1 2024-12-13 02:00:00.053 0 0 0 0 \n 2024-12-13 02:00:00.005 \N 12 +552 0 1 2024-12-13 03:00:00.046 0 0 0 0 \n 2024-12-13 03:00:00.004 \N 12 +553 0 1 2024-12-13 04:00:00.054 0 0 0 0 \n 2024-12-13 04:00:00.004 \N 12 +554 0 1 2024-12-13 05:00:00.047 0 0 0 0 \n 2024-12-13 05:00:00.005 \N 12 +555 0 1 2024-12-13 06:00:00.046 0 0 0 0 \n 2024-12-13 06:00:00.004 \N 12 +556 0 1 2024-12-13 07:00:00.04 0 0 0 0 \n 2024-12-13 07:00:00.002 \N 12 +557 0 1 2024-12-13 08:00:00.047 0 0 0 0 \n 2024-12-13 08:00:00.004 \N 12 +558 0 1 2024-12-13 09:00:00.052 0 0 0 0 \n 2024-12-13 09:00:00.004 \N 12 +559 0 1 2024-12-13 10:00:00.054 0 0 0 0 \n 2024-12-13 10:00:00.005 \N 12 +560 0 1 2024-12-13 11:00:00.05 0 0 0 0 \n 2024-12-13 11:00:00.004 \N 12 +561 0 1 2024-12-13 12:00:00.048 0 0 0 0 \n 2024-12-13 12:00:00.004 \N 12 +562 0 1 2024-12-13 13:00:00.041 0 0 0 0 \n 2024-12-13 13:00:00.004 \N 12 +563 0 1 2024-12-13 14:00:00.05 0 0 0 0 \n 2024-12-13 14:00:00.004 \N 12 +564 0 1 2024-12-13 15:00:00.048 0 0 0 0 \n 2024-12-13 15:00:00.005 \N 12 +565 0 1 2024-12-13 16:00:00.05 0 0 0 0 \n 2024-12-13 16:00:00.004 \N 12 +566 0 1 2024-12-13 17:00:00.05 0 0 0 0 \n 2024-12-13 17:00:00.004 \N 12 +567 0 1 2024-12-13 18:00:00.049 0 0 0 0 \n 2024-12-13 18:00:00.004 \N 12 +568 0 1 2024-12-13 19:00:00.044 0 0 0 0 \n 2024-12-13 19:00:00.004 \N 12 +569 0 1 2024-12-13 20:00:00.041 0 0 0 0 \n 2024-12-13 20:00:00.003 \N 12 +570 0 1 2024-12-13 21:00:00.051 0 0 0 0 \n 2024-12-13 21:00:00.003 \N 12 +571 0 1 2024-12-13 22:00:00.057 0 0 0 0 \n 2024-12-13 22:00:00.004 \N 12 +572 0 1 2024-12-13 23:00:00.045 0 0 0 0 \n 2024-12-13 23:00:00.004 \N 12 +573 0 1 2024-12-13 23:59:59.067 0 0 0 0 \n 2024-12-13 23:59:59.003 \N -27 +574 0 1 2024-12-14 00:00:00.027 0 0 0 0 \n 2024-12-14 00:00:00.004 \N 12 +575 0 1 2024-12-14 01:00:00.054 0 0 0 0 \n 2024-12-14 01:00:00.004 \N 12 +576 0 1 2024-12-14 02:00:00.052 0 0 0 0 \n 2024-12-14 02:00:00.004 \N 12 +577 0 1 2024-12-14 03:00:00.045 0 0 0 0 \n 2024-12-14 03:00:00.004 \N 12 +578 0 1 2024-12-14 04:00:00.051 0 0 0 0 \n 2024-12-14 04:00:00.004 \N 12 +579 0 1 2024-12-14 05:00:00.045 0 0 0 0 \n 2024-12-14 05:00:00.004 \N 12 +580 0 1 2024-12-14 06:00:00.044 0 0 0 0 \n 2024-12-14 06:00:00.004 \N 12 +581 0 1 2024-12-14 07:00:00.05 0 0 0 0 \n 2024-12-14 07:00:00.004 \N 12 +582 0 1 2024-12-14 08:00:00.046 0 0 0 0 \n 2024-12-14 08:00:00.004 \N 12 +583 0 1 2024-12-14 09:00:00.051 0 0 0 0 \n 2024-12-14 09:00:00.004 \N 12 +584 0 1 2024-12-14 10:00:00.048 0 0 0 0 \n 2024-12-14 10:00:00.004 \N 12 +585 0 1 2024-12-14 11:00:00.052 0 0 0 0 \n 2024-12-14 11:00:00.005 \N 12 +586 0 1 2024-12-14 12:00:00.049 0 0 0 0 \n 2024-12-14 12:00:00.004 \N 12 +587 0 1 2024-12-14 13:00:00.047 0 0 0 0 \n 2024-12-14 13:00:00.003 \N 12 +588 0 1 2024-12-14 14:00:00.046 0 0 0 0 \n 2024-12-14 14:00:00.004 \N 12 +589 0 1 2024-12-14 15:00:00.041 0 0 0 0 \n 2024-12-14 15:00:00.005 \N 12 +590 0 1 2024-12-14 16:00:00.055 0 0 0 0 \n 2024-12-14 16:00:00.003 \N 12 +591 0 1 2024-12-14 17:00:00.052 0 0 0 0 \n 2024-12-14 17:00:00.005 \N 12 +592 0 1 2024-12-14 18:00:00.049 0 0 0 0 \n 2024-12-14 18:00:00.004 \N 12 +593 0 1 2024-12-14 19:00:00.051 0 0 0 0 \n 2024-12-14 19:00:00.004 \N 12 +594 0 1 2024-12-14 20:00:00.049 0 0 0 0 \n 2024-12-14 20:00:00.004 \N 12 +595 0 1 2024-12-14 21:00:00.049 0 0 0 0 \n 2024-12-14 21:00:00.005 \N 12 +596 0 1 2024-12-14 22:00:00.046 0 0 0 0 \n 2024-12-14 22:00:00.004 \N 12 +597 0 1 2024-12-14 23:00:00.04 0 0 0 0 \n 2024-12-14 23:00:00.004 \N 12 +598 0 1 2024-12-14 23:59:59.057 0 0 0 0 \n 2024-12-14 23:59:59.003 \N -27 +599 0 1 2024-12-15 00:00:00.028 0 0 0 0 \n 2024-12-15 00:00:00.006 \N 12 +600 0 1 2024-12-15 01:00:00.048 0 0 0 0 \n 2024-12-15 01:00:00.004 \N 12 +601 0 1 2024-12-15 02:00:00.049 0 0 0 0 \n 2024-12-15 02:00:00.005 \N 12 +602 0 1 2024-12-15 03:00:00.043 0 0 0 0 \n 2024-12-15 03:00:00.004 \N 12 +603 0 1 2024-12-15 04:00:00.05 0 0 0 0 \n 2024-12-15 04:00:00.004 \N 12 +604 0 1 2024-12-15 05:00:00.052 0 0 0 0 \n 2024-12-15 05:00:00.004 \N 12 +605 0 1 2024-12-15 06:00:00.048 0 0 0 0 \n 2024-12-15 06:00:00.004 \N 12 +606 0 1 2024-12-15 07:00:00.05 0 0 0 0 \n 2024-12-15 07:00:00.006 \N 12 +607 0 1 2024-12-15 08:00:00.054 0 0 0 0 \n 2024-12-15 08:00:00.004 \N 12 +608 0 1 2024-12-15 09:00:00.042 0 0 0 0 \n 2024-12-15 09:00:00.004 \N 12 +609 0 1 2024-12-15 10:00:00.047 0 0 0 0 \n 2024-12-15 10:00:00.004 \N 12 +610 0 1 2024-12-15 11:00:00.05 0 0 0 0 \n 2024-12-15 11:00:00.005 \N 12 +611 0 1 2024-12-15 12:00:00.049 0 0 0 0 \n 2024-12-15 12:00:00.005 \N 12 +612 0 1 2024-12-15 13:00:00.05 0 0 0 0 \n 2024-12-15 13:00:00.004 \N 12 +613 0 1 2024-12-15 14:00:00.045 0 0 0 0 \n 2024-12-15 14:00:00.004 \N 12 +614 0 1 2024-12-15 15:00:00.049 0 0 0 0 \n 2024-12-15 15:00:00.005 \N 12 +615 0 1 2024-12-15 16:00:00.047 0 0 0 0 \n 2024-12-15 16:00:00.005 \N 12 +616 0 1 2024-12-15 17:00:00.049 0 0 0 0 \n 2024-12-15 17:00:00.005 \N 12 +617 0 1 2024-12-15 18:00:00.054 0 0 0 0 \n 2024-12-15 18:00:00.003 \N 12 +618 0 1 2024-12-15 19:00:00.042 0 0 0 0 \n 2024-12-15 19:00:00.003 \N 12 +619 0 1 2024-12-15 20:00:00.048 0 0 0 0 \n 2024-12-15 20:00:00.004 \N 12 +620 0 1 2024-12-15 21:00:00.047 0 0 0 0 \n 2024-12-15 21:00:00.004 \N 12 +621 0 1 2024-12-15 22:00:00.043 0 0 0 0 \n 2024-12-15 22:00:00.004 \N 12 +622 0 1 2024-12-15 23:00:00.05 0 0 0 0 \n 2024-12-15 23:00:00.004 \N 12 +623 0 1 2024-12-15 23:59:59.062 0 0 0 0 \n 2024-12-15 23:59:59.004 \N -27 +624 0 1 2024-12-15 23:59:59.068 0 0 0 0 \n 2024-12-15 23:59:59.029 \N -21 +625 0 1 2024-12-16 00:00:00.028 0 0 0 0 \n 2024-12-16 00:00:00.005 \N 12 +626 0 1 2024-12-16 01:00:00.051 0 0 0 0 \n 2024-12-16 01:00:00.004 \N 12 +627 0 1 2024-12-16 02:00:00.042 0 0 0 0 \n 2024-12-16 02:00:00.004 \N 12 +628 0 1 2024-12-16 03:00:00.049 0 0 0 0 \n 2024-12-16 03:00:00.005 \N 12 +629 0 1 2024-12-16 04:00:00.037 0 0 0 0 \n 2024-12-16 04:00:00.003 \N 12 +630 0 1 2024-12-16 05:00:00.045 0 0 0 0 \n 2024-12-16 05:00:00.003 \N 12 +631 0 1 2024-12-16 06:00:00.047 0 0 0 0 \n 2024-12-16 06:00:00.003 \N 12 +632 0 1 2024-12-16 07:00:00.045 0 0 0 0 \n 2024-12-16 07:00:00.004 \N 12 +633 0 1 2024-12-16 08:00:00.044 0 0 0 0 \n 2024-12-16 08:00:00.004 \N 12 +634 0 1 2024-12-16 09:00:00.046 0 0 0 0 \n 2024-12-16 09:00:00.005 \N 12 +635 0 1 2024-12-16 10:00:00.051 0 0 0 0 \n 2024-12-16 10:00:00.004 \N 12 +636 0 1 2024-12-16 11:00:00.052 0 0 0 0 \n 2024-12-16 11:00:00.004 \N 12 +637 0 1 2024-12-16 12:00:00.054 0 0 0 0 \n 2024-12-16 12:00:00.004 \N 12 +638 0 1 2024-12-16 13:00:00.046 0 0 0 0 \n 2024-12-16 13:00:00.004 \N 12 +639 0 1 2024-12-16 14:00:00.066 0 0 0 0 \n 2024-12-16 14:00:00.004 \N 12 +640 0 1 2024-12-16 15:00:00.045 0 0 0 0 \n 2024-12-16 15:00:00.004 \N 12 +641 0 1 2024-12-16 16:00:00.044 0 0 0 0 \n 2024-12-16 16:00:00.004 \N 12 +642 0 1 2024-12-16 17:00:00.048 0 0 0 0 \n 2024-12-16 17:00:00.004 \N 12 +643 0 1 2024-12-16 18:00:00.052 0 0 0 0 \n 2024-12-16 18:00:00.004 \N 12 +644 0 1 2024-12-16 19:00:00.044 0 0 0 0 \n 2024-12-16 19:00:00.004 \N 12 +645 0 1 2024-12-16 20:00:00.05 0 0 0 0 \n 2024-12-16 20:00:00.003 \N 12 +646 0 1 2024-12-16 21:00:00.046 0 0 0 0 \n 2024-12-16 21:00:00.005 \N 12 +647 0 1 2024-12-16 22:00:00.044 0 0 0 0 \n 2024-12-16 22:00:00.004 \N 12 +648 0 1 2024-12-16 23:00:00.045 0 0 0 0 \n 2024-12-16 23:00:00.004 \N 12 +649 0 1 2024-12-16 23:59:59.068 0 0 0 0 \n 2024-12-16 23:59:59.004 \N -27 +650 0 1 2024-12-17 00:00:00.025 0 0 0 0 \n 2024-12-17 00:00:00.004 \N 12 +651 0 1 2024-12-17 01:00:00.052 0 0 0 0 \n 2024-12-17 01:00:00.004 \N 12 +652 0 1 2024-12-17 02:00:00.045 0 0 0 0 \n 2024-12-17 02:00:00.003 \N 12 +653 0 1 2024-12-17 03:00:00.048 0 0 0 0 \n 2024-12-17 03:00:00.004 \N 12 +654 0 1 2024-12-17 04:00:00.049 0 0 0 0 \n 2024-12-17 04:00:00.004 \N 12 +655 0 1 2024-12-17 05:00:00.042 0 0 0 0 \n 2024-12-17 05:00:00.004 \N 12 +656 0 1 2024-12-17 06:00:00.047 0 0 0 0 \n 2024-12-17 06:00:00.004 \N 12 +657 0 1 2024-12-17 07:00:00.05 0 0 0 0 \n 2024-12-17 07:00:00.004 \N 12 +658 0 1 2024-12-17 08:00:00.05 0 0 0 0 \n 2024-12-17 08:00:00.002 \N 12 +659 0 1 2024-12-17 09:00:00.05 0 0 0 0 \n 2024-12-17 09:00:00.004 \N 12 +660 0 1 2024-12-17 10:00:00.051 0 0 0 0 \n 2024-12-17 10:00:00.005 \N 12 +661 0 1 2024-12-17 11:00:00.047 0 0 0 0 \n 2024-12-17 11:00:00.004 \N 12 +662 0 1 2024-12-17 12:00:00.051 0 0 0 0 \n 2024-12-17 12:00:00.004 \N 12 +663 0 1 2024-12-17 13:00:00.05 0 0 0 0 \n 2024-12-17 13:00:00.004 \N 12 +664 0 1 2024-12-17 14:00:00.05 0 0 0 0 \n 2024-12-17 14:00:00.005 \N 12 +665 0 1 2024-12-17 15:00:00.048 0 0 0 0 \n 2024-12-17 15:00:00.004 \N 12 +666 0 1 2024-12-17 16:00:00.049 0 0 0 0 \n 2024-12-17 16:00:00.005 \N 12 +667 0 1 2024-12-17 17:00:00.045 0 0 0 0 \n 2024-12-17 17:00:00.004 \N 12 +668 0 1 2024-12-17 18:00:00.049 0 0 0 0 \n 2024-12-17 18:00:00.004 \N 12 +669 0 1 2024-12-17 19:00:00.04 0 0 0 0 \n 2024-12-17 19:00:00.004 \N 12 +670 0 1 2024-12-17 20:00:00.041 0 0 0 0 \n 2024-12-17 20:00:00.003 \N 12 +671 0 1 2024-12-17 21:00:00.056 0 0 0 0 \n 2024-12-17 21:00:00.004 \N 12 +672 0 1 2024-12-17 22:00:00.044 0 0 0 0 \n 2024-12-17 22:00:00.004 \N 12 +673 0 1 2024-12-17 23:00:00.044 0 0 0 0 \n 2024-12-17 23:00:00.003 \N 12 +674 0 1 2024-12-17 23:59:59.066 0 0 0 0 \n 2024-12-17 23:59:59.004 \N -27 +675 0 1 2024-12-18 00:00:00.025 0 0 0 0 \n 2024-12-18 00:00:00.004 \N 12 +676 0 1 2024-12-18 01:00:00.047 0 0 0 0 \n 2024-12-18 01:00:00.004 \N 12 +677 0 1 2024-12-18 02:00:00.057 0 0 0 0 \n 2024-12-18 02:00:00.005 \N 12 +678 0 1 2024-12-18 03:00:00.05 0 0 0 0 \n 2024-12-18 03:00:00.003 \N 12 +679 0 1 2024-12-18 04:00:00.042 0 0 0 0 \n 2024-12-18 04:00:00.004 \N 12 +680 0 1 2024-12-18 05:00:00.051 0 0 0 0 \n 2024-12-18 05:00:00.004 \N 12 +681 0 1 2024-12-18 06:00:00.055 0 0 0 0 \n 2024-12-18 06:00:00.004 \N 12 +682 0 1 2024-12-18 07:00:00.04 0 0 0 0 \n 2024-12-18 07:00:00.004 \N 12 +683 0 1 2024-12-18 08:00:00.048 0 0 0 0 \n 2024-12-18 08:00:00.004 \N 12 +684 0 1 2024-12-18 09:00:00.052 0 0 0 0 \n 2024-12-18 09:00:00.004 \N 12 +685 0 1 2024-12-18 10:00:00.048 0 0 0 0 \n 2024-12-18 10:00:00.004 \N 12 +686 0 1 2024-12-18 11:00:00.047 0 0 0 0 \n 2024-12-18 11:00:00.002 \N 12 +687 0 1 2024-12-18 12:00:00.044 0 0 0 0 \n 2024-12-18 12:00:00.004 \N 12 +688 0 1 2024-12-18 13:00:00.055 0 0 0 0 \n 2024-12-18 13:00:00.004 \N 12 +689 0 1 2024-12-18 14:00:00.026 0 0 0 0 \n 2024-12-18 14:00:00.004 \N 12 +690 0 1 2024-12-18 15:00:00.05 0 0 0 0 \n 2024-12-18 15:00:00.003 \N 12 +691 0 1 2024-12-18 16:00:00.041 0 0 0 0 \n 2024-12-18 16:00:00.004 \N 12 +692 0 1 2024-12-18 17:00:00.054 0 0 0 0 \n 2024-12-18 17:00:00.006 \N 12 +693 0 1 2024-12-18 18:00:00.047 0 0 0 0 \n 2024-12-18 18:00:00.004 \N 12 +694 0 1 2024-12-18 19:00:00.044 0 0 0 0 \n 2024-12-18 19:00:00.004 \N 12 +695 0 1 2024-12-18 20:00:00.044 0 0 0 0 \n 2024-12-18 20:00:00.004 \N 12 +696 0 1 2024-12-18 21:00:00.056 0 0 0 0 \n 2024-12-18 21:00:00.004 \N 12 +697 0 1 2024-12-18 22:00:00.074 0 0 0 0 \n 2024-12-18 22:00:00.003 \N 12 +698 0 1 2024-12-18 23:00:00.05 0 0 0 0 \n 2024-12-18 23:00:00.004 \N 12 +699 0 1 2024-12-18 23:59:59.056 0 0 0 0 \n 2024-12-18 23:59:59.004 \N -27 +700 0 1 2024-12-19 00:00:00.023 0 0 0 0 \n 2024-12-19 00:00:00.003 \N 12 +701 0 1 2024-12-19 01:00:00.043 0 0 0 0 \n 2024-12-19 01:00:00.003 \N 12 +702 0 1 2024-12-19 02:00:00.048 0 0 0 0 \n 2024-12-19 02:00:00.004 \N 12 +703 0 1 2024-12-19 03:00:00.05 0 0 0 0 \n 2024-12-19 03:00:00.004 \N 12 +704 0 1 2024-12-19 04:00:00.082 0 0 0 0 \n 2024-12-19 04:00:00.004 \N 12 +705 0 1 2024-12-19 05:00:00.046 0 0 0 0 \n 2024-12-19 05:00:00.005 \N 12 +706 0 1 2024-12-19 06:00:00.048 0 0 0 0 \n 2024-12-19 06:00:00.004 \N 12 +707 0 1 2024-12-19 07:00:00.047 0 0 0 0 \n 2024-12-19 07:00:00.004 \N 12 +708 0 1 2024-12-19 08:00:00.064 0 0 0 0 \n 2024-12-19 08:00:00.005 \N 12 +709 0 1 2024-12-19 09:00:00.052 0 0 0 0 \n 2024-12-19 09:00:00.004 \N 12 +710 0 1 2024-12-19 10:00:00.046 0 0 0 0 \n 2024-12-19 10:00:00.004 \N 12 +711 0 1 2024-12-19 11:00:00.045 0 0 0 0 \n 2024-12-19 11:00:00.005 \N 12 +712 0 1 2024-12-19 12:00:00.057 0 0 0 0 \n 2024-12-19 12:00:00.004 \N 12 +713 0 1 2024-12-19 13:00:00.053 0 0 0 0 \n 2024-12-19 13:00:00.005 \N 12 +714 0 1 2024-12-19 14:00:00.052 0 0 0 0 \n 2024-12-19 14:00:00.004 \N 12 +715 0 1 2024-12-19 15:00:00.048 0 0 0 0 \n 2024-12-19 15:00:00.004 \N 12 +716 0 1 2024-12-19 16:00:00.052 0 0 0 0 \n 2024-12-19 16:00:00.004 \N 12 +717 0 1 2024-12-19 17:00:00.045 0 0 0 0 \n 2024-12-19 17:00:00.003 \N 12 +718 0 1 2024-12-19 18:00:00.057 0 0 0 0 \n 2024-12-19 18:00:00.004 \N 12 +719 0 1 2024-12-19 19:00:00.045 0 0 0 0 \n 2024-12-19 19:00:00.004 \N 12 +720 0 1 2024-12-19 20:00:00.05 0 0 0 0 \n 2024-12-19 20:00:00.003 \N 12 +721 0 1 2024-12-19 21:00:00.051 0 0 0 0 \n 2024-12-19 21:00:00.002 \N 12 +722 0 1 2024-12-19 22:00:00.048 0 0 0 0 \n 2024-12-19 22:00:00.004 \N 12 +723 0 1 2024-12-19 23:00:00.059 0 0 0 0 \n 2024-12-19 23:00:00.005 \N 12 +724 0 1 2024-12-19 23:59:59.058 0 0 0 0 \n 2024-12-19 23:59:59.004 \N -27 +725 0 1 2024-12-20 00:00:00.021 0 0 0 0 \n 2024-12-20 00:00:00.003 \N 12 +726 0 1 2024-12-20 01:00:00.045 0 0 0 0 \n 2024-12-20 01:00:00.004 \N 12 +727 0 1 2024-12-20 02:00:00.046 0 0 0 0 \n 2024-12-20 02:00:00.004 \N 12 +728 0 1 2024-12-20 03:00:00.082 0 0 0 0 \n 2024-12-20 03:00:00.004 \N 12 +729 0 1 2024-12-20 04:00:00.042 0 0 0 0 \n 2024-12-20 04:00:00.004 \N 12 +730 0 1 2024-12-20 05:00:00.056 0 0 0 0 \n 2024-12-20 05:00:00.004 \N 12 +731 0 1 2024-12-20 06:00:00.054 0 0 0 0 \n 2024-12-20 06:00:00.004 \N 12 +732 0 1 2024-12-20 07:00:00.045 0 0 0 0 \n 2024-12-20 07:00:00.004 \N 12 +733 0 1 2024-12-20 08:00:00.039 0 0 0 0 \n 2024-12-20 08:00:00.004 \N 12 +734 0 1 2024-12-20 09:00:00.059 0 0 0 0 \n 2024-12-20 09:00:00.006 \N 12 +735 0 1 2024-12-20 10:00:00.048 0 0 0 0 \n 2024-12-20 10:00:00.004 \N 12 +736 0 1 2024-12-20 11:00:00.044 0 0 0 0 \n 2024-12-20 11:00:00.004 \N 12 +737 0 1 2024-12-20 12:00:00.051 0 0 0 0 \n 2024-12-20 12:00:00.004 \N 12 +738 0 1 2024-12-20 13:00:00.045 0 0 0 0 \n 2024-12-20 13:00:00.004 \N 12 +739 0 1 2024-12-20 14:00:00.049 0 0 0 0 \n 2024-12-20 14:00:00.004 \N 12 +740 0 1 2024-12-20 15:00:00.05 0 0 0 0 \n 2024-12-20 15:00:00.004 \N 12 +741 0 1 2024-12-20 16:00:00.047 0 0 0 0 \n 2024-12-20 16:00:00.003 \N 12 +742 0 1 2024-12-20 17:00:00.044 0 0 0 0 \n 2024-12-20 17:00:00.004 \N 12 +743 0 1 2024-12-20 18:00:00.051 0 0 0 0 \n 2024-12-20 18:00:00.004 \N 12 +744 0 1 2024-12-20 19:00:00.049 0 0 0 0 \n 2024-12-20 19:00:00.004 \N 12 +745 0 1 2024-12-20 20:00:00.047 0 0 0 0 \n 2024-12-20 20:00:00.004 \N 12 +746 0 1 2024-12-20 21:00:00.046 0 0 0 0 \n 2024-12-20 21:00:00.004 \N 12 +747 0 1 2024-12-20 22:00:00.06 0 0 0 0 \n 2024-12-20 22:00:00.004 \N 12 +748 0 1 2024-12-20 23:00:00.048 0 0 0 0 \n 2024-12-20 23:00:00.004 \N 12 +749 0 1 2024-12-20 23:59:59.068 0 0 0 0 \n 2024-12-20 23:59:59.004 \N -27 +750 0 1 2024-12-21 00:00:00.03 0 0 0 0 \n 2024-12-21 00:00:00.004 \N 12 +751 0 1 2024-12-21 01:00:00.046 0 0 0 0 \n 2024-12-21 01:00:00.002 \N 12 +752 0 1 2024-12-21 02:00:00.044 0 0 0 0 \n 2024-12-21 02:00:00.003 \N 12 +753 0 1 2024-12-21 03:00:00.049 0 0 0 0 \n 2024-12-21 03:00:00.005 \N 12 +754 0 1 2024-12-21 04:00:00.046 0 0 0 0 \n 2024-12-21 04:00:00.004 \N 12 +755 0 1 2024-12-21 05:00:00.047 0 0 0 0 \n 2024-12-21 05:00:00.004 \N 12 +756 0 1 2024-12-21 06:00:00.048 0 0 0 0 \n 2024-12-21 06:00:00.004 \N 12 +757 0 1 2024-12-21 07:00:00.043 0 0 0 0 \n 2024-12-21 07:00:00.004 \N 12 +758 0 1 2024-12-21 08:00:00.042 0 0 0 0 \n 2024-12-21 08:00:00.005 \N 12 +759 0 1 2024-12-21 09:00:00.056 0 0 0 0 \n 2024-12-21 09:00:00.004 \N 12 +760 0 1 2024-12-21 10:00:00.053 0 0 0 0 \n 2024-12-21 10:00:00.005 \N 12 +761 0 1 2024-12-21 11:00:00.048 0 0 0 0 \n 2024-12-21 11:00:00.004 \N 12 +762 0 1 2024-12-21 12:00:00.062 0 0 0 0 \n 2024-12-21 12:00:00.005 \N 12 +763 0 1 2024-12-21 13:00:00.044 0 0 0 0 \n 2024-12-21 13:00:00.004 \N 12 +764 0 1 2024-12-21 14:00:00.047 0 0 0 0 \n 2024-12-21 14:00:00.004 \N 12 +765 0 1 2024-12-21 15:00:00.055 0 0 0 0 \n 2024-12-21 15:00:00.004 \N 12 +766 0 1 2024-12-21 16:00:00.048 0 0 0 0 \n 2024-12-21 16:00:00.004 \N 12 +767 0 1 2024-12-21 17:00:00.057 0 0 0 0 \n 2024-12-21 17:00:00.005 \N 12 +768 0 1 2024-12-21 18:00:00.047 0 0 0 0 \n 2024-12-21 18:00:00.004 \N 12 +769 0 1 2024-12-21 19:00:00.054 0 0 0 0 \n 2024-12-21 19:00:00.005 \N 12 +770 0 1 2024-12-21 20:00:00.049 0 0 0 0 \n 2024-12-21 20:00:00.004 \N 12 +771 0 1 2024-12-21 21:00:00.058 0 0 0 0 \n 2024-12-21 21:00:00.003 \N 12 +772 0 1 2024-12-21 22:00:00.042 0 0 0 0 \n 2024-12-21 22:00:00.004 \N 12 +773 0 1 2024-12-21 23:00:00.055 0 0 0 0 \n 2024-12-21 23:00:00.005 \N 12 +774 0 1 2024-12-21 23:59:59.064 0 0 0 0 \n 2024-12-21 23:59:59.002 \N -27 +775 0 1 2024-12-22 00:00:00.021 0 0 0 0 \n 2024-12-22 00:00:00.002 \N 12 +776 0 1 2024-12-22 01:00:00.045 0 0 0 0 \n 2024-12-22 01:00:00.004 \N 12 +777 0 1 2024-12-22 02:00:00.045 0 0 0 0 \n 2024-12-22 02:00:00.004 \N 12 +778 0 1 2024-12-22 03:00:00.056 0 0 0 0 \n 2024-12-22 03:00:00.004 \N 12 +779 0 1 2024-12-22 04:00:00.056 0 0 0 0 \n 2024-12-22 04:00:00.004 \N 12 +780 0 1 2024-12-22 05:00:00.042 0 0 0 0 \n 2024-12-22 05:00:00.004 \N 12 +781 0 1 2024-12-22 06:00:00.053 0 0 0 0 \n 2024-12-22 06:00:00.004 \N 12 +782 0 1 2024-12-22 07:00:00.041 0 0 0 0 \n 2024-12-22 07:00:00.003 \N 12 +783 0 1 2024-12-22 08:00:00.048 0 0 0 0 \n 2024-12-22 08:00:00.003 \N 12 +784 0 1 2024-12-22 09:00:00.051 0 0 0 0 \n 2024-12-22 09:00:00.004 \N 12 +785 0 1 2024-12-22 10:00:00.046 0 0 0 0 \n 2024-12-22 10:00:00.004 \N 12 +786 0 1 2024-12-22 11:00:00.049 0 0 0 0 \n 2024-12-22 11:00:00.004 \N 12 +787 0 1 2024-12-22 12:00:00.056 0 0 0 0 \n 2024-12-22 12:00:00.007 \N 12 +788 0 1 2024-12-22 13:00:00.051 0 0 0 0 \n 2024-12-22 13:00:00.002 \N 12 +789 0 1 2024-12-22 14:00:00.042 0 0 0 0 \n 2024-12-22 14:00:00.003 \N 12 +790 0 1 2024-12-22 15:00:00.079 0 0 0 0 \n 2024-12-22 15:00:00.004 \N 12 +791 0 1 2024-12-22 16:00:00.056 0 0 0 0 \n 2024-12-22 16:00:00.004 \N 12 +792 0 1 2024-12-22 17:00:00.053 0 0 0 0 \n 2024-12-22 17:00:00.004 \N 12 +793 0 1 2024-12-22 18:00:00.054 0 0 0 0 \n 2024-12-22 18:00:00.004 \N 12 +794 0 1 2024-12-22 19:00:00.076 0 0 0 0 \n 2024-12-22 19:00:00.004 \N 12 +795 0 1 2024-12-22 20:00:00.077 0 0 0 0 \n 2024-12-22 20:00:00.004 \N 12 +796 0 1 2024-12-22 21:00:00.068 0 0 0 0 \n 2024-12-22 21:00:00.006 \N 12 +797 0 1 2024-12-22 22:00:00.048 0 0 0 0 \n 2024-12-22 22:00:00.004 \N 12 +798 0 1 2024-12-22 23:00:00.054 0 0 0 0 \n 2024-12-22 23:00:00.004 \N 12 +799 0 1 2024-12-22 23:59:59.141 0 0 0 0 \n 2024-12-22 23:59:59.012 \N -21 +800 0 1 2024-12-22 23:59:59.147 0 0 0 0 \n 2024-12-22 23:59:59.004 \N -27 +801 0 1 2024-12-23 00:00:00.061 0 0 0 0 \n 2024-12-23 00:00:00.004 \N 12 +802 0 1 2024-12-23 01:00:00.147 0 0 0 0 \n 2024-12-23 01:00:00.018 \N 12 +803 0 1 2024-12-23 02:00:00.096 0 0 0 0 \n 2024-12-23 02:00:00.004 \N 12 +804 0 1 2024-12-23 03:00:00.125 0 0 0 0 \n 2024-12-23 03:00:00.004 \N 12 +805 0 1 2024-12-23 04:00:00.048 0 0 0 0 \n 2024-12-23 04:00:00.004 \N 12 +806 0 1 2024-12-23 05:00:00.076 0 0 0 0 \n 2024-12-23 05:00:00.004 \N 12 +807 0 1 2024-12-23 06:00:00.055 0 0 0 0 \n 2024-12-23 06:00:00.005 \N 12 +808 0 1 2024-12-23 07:00:00.07 0 0 0 0 \n 2024-12-23 07:00:00.004 \N 12 +809 0 1 2024-12-23 08:00:00.048 0 0 0 0 \n 2024-12-23 08:00:00.004 \N 12 +810 0 1 2024-12-23 09:00:00.045 0 0 0 0 \n 2024-12-23 09:00:00.003 \N 12 +811 0 1 2024-12-23 10:00:00.052 0 0 0 0 \n 2024-12-23 10:00:00.004 \N 12 +812 0 1 2024-12-23 11:00:00.045 0 0 0 0 \n 2024-12-23 11:00:00.004 \N 12 +813 0 1 2024-12-23 12:00:00.048 0 0 0 0 \n 2024-12-23 12:00:00.004 \N 12 +814 0 1 2024-12-23 13:00:00.055 0 0 0 0 \n 2024-12-23 13:00:00.005 \N 12 +815 0 1 2024-12-23 14:00:00.055 0 0 0 0 \n 2024-12-23 14:00:00.004 \N 12 +816 0 1 2024-12-23 15:00:00.049 0 0 0 0 \n 2024-12-23 15:00:00.004 \N 12 +817 0 1 2024-12-23 16:00:00.058 0 0 0 0 \n 2024-12-23 16:00:00.005 \N 12 +818 0 1 2024-12-23 17:00:00.051 0 0 0 0 \n 2024-12-23 17:00:00.004 \N 12 +819 0 1 2024-12-23 18:00:00.047 0 0 0 0 \n 2024-12-23 18:00:00.004 \N 12 +820 0 1 2024-12-23 19:00:00.123 0 0 0 0 \n 2024-12-23 19:00:00.004 \N 12 +821 0 1 2024-12-23 20:00:00.046 0 0 0 0 \n 2024-12-23 20:00:00.005 \N 12 +822 0 1 2024-12-23 21:00:00.056 0 0 0 0 \n 2024-12-23 21:00:00.003 \N 12 +823 0 1 2024-12-23 22:00:00.049 0 0 0 0 \n 2024-12-23 22:00:00.004 \N 12 +824 0 1 2024-12-23 23:00:00.045 0 0 0 0 \n 2024-12-23 23:00:00.004 \N 12 +825 0 1 2024-12-23 23:59:59.061 0 0 0 0 \n 2024-12-23 23:59:59.004 \N -27 +826 0 1 2024-12-24 00:00:00.024 0 0 0 0 \n 2024-12-24 00:00:00.004 \N 12 +827 0 1 2024-12-24 01:00:00.054 0 0 0 0 \n 2024-12-24 01:00:00.004 \N 12 +828 0 1 2024-12-24 02:00:00.044 0 0 0 0 \n 2024-12-24 02:00:00.004 \N 12 +829 0 1 2024-12-24 03:00:00.049 0 0 0 0 \n 2024-12-24 03:00:00.004 \N 12 +830 0 1 2024-12-24 04:00:00.054 0 0 0 0 \n 2024-12-24 04:00:00.004 \N 12 +831 0 1 2024-12-24 05:00:00.045 0 0 0 0 \n 2024-12-24 05:00:00.004 \N 12 +832 0 1 2024-12-24 06:00:00.049 0 0 0 0 \n 2024-12-24 06:00:00.004 \N 12 +833 0 1 2024-12-24 07:00:00.044 0 0 0 0 \n 2024-12-24 07:00:00.004 \N 12 +834 0 1 2024-12-24 08:00:00.048 0 0 0 0 \n 2024-12-24 08:00:00.004 \N 12 +835 0 1 2024-12-24 09:00:00.046 0 0 0 0 \n 2024-12-24 09:00:00.004 \N 12 +836 0 1 2024-12-24 10:00:00.044 0 0 0 0 \n 2024-12-24 10:00:00.004 \N 12 +837 0 1 2024-12-24 11:00:00.08 0 0 0 0 \n 2024-12-24 11:00:00.006 \N 12 +838 0 1 2024-12-24 12:00:00.043 0 0 0 0 \n 2024-12-24 12:00:00.004 \N 12 +839 0 1 2024-12-24 13:00:00.044 0 0 0 0 \n 2024-12-24 13:00:00.004 \N 12 +840 0 1 2024-12-24 14:00:00.047 0 0 0 0 \n 2024-12-24 14:00:00.004 \N 12 +841 0 1 2024-12-24 15:00:00.053 0 0 0 0 \n 2024-12-24 15:00:00.003 \N 12 +842 0 1 2024-12-24 16:00:00.05 0 0 0 0 \n 2024-12-24 16:00:00.005 \N 12 +843 0 1 2024-12-24 17:00:00.043 0 0 0 0 \n 2024-12-24 17:00:00.005 \N 12 +844 0 1 2024-12-24 18:00:00.05 0 0 0 0 \n 2024-12-24 18:00:00.004 \N 12 +845 0 1 2024-12-24 19:00:00.045 0 0 0 0 \n 2024-12-24 19:00:00.004 \N 12 +846 0 1 2024-12-24 20:00:00.048 0 0 0 0 \n 2024-12-24 20:00:00.004 \N 12 +847 0 1 2024-12-24 21:00:00.049 0 0 0 0 \n 2024-12-24 21:00:00.005 \N 12 +848 0 1 2024-12-24 22:00:00.043 0 0 0 0 \n 2024-12-24 22:00:00.004 \N 12 +849 0 1 2024-12-24 23:00:00.044 0 0 0 0 \n 2024-12-24 23:00:00.004 \N 12 +850 0 1 2024-12-24 23:59:59.057 0 0 0 0 \n 2024-12-24 23:59:59.004 \N -27 +851 0 1 2024-12-25 00:00:00.03 0 0 0 0 \n 2024-12-25 00:00:00.004 \N 12 +852 0 1 2024-12-25 01:00:00.052 0 0 0 0 \n 2024-12-25 01:00:00.004 \N 12 +853 0 1 2024-12-25 02:00:00.05 0 0 0 0 \n 2024-12-25 02:00:00.003 \N 12 +854 0 1 2024-12-25 03:00:00.046 0 0 0 0 \n 2024-12-25 03:00:00.003 \N 12 +855 0 1 2024-12-25 04:00:00.051 0 0 0 0 \n 2024-12-25 04:00:00.003 \N 12 +856 0 1 2024-12-25 05:00:00.045 0 0 0 0 \n 2024-12-25 05:00:00.004 \N 12 +857 0 1 2024-12-25 06:00:00.05 0 0 0 0 \n 2024-12-25 06:00:00.004 \N 12 +858 0 1 2024-12-25 07:00:00.045 0 0 0 0 \n 2024-12-25 07:00:00.004 \N 12 +859 0 1 2024-12-25 08:00:00.05 0 0 0 0 \n 2024-12-25 08:00:00.004 \N 12 +860 0 1 2024-12-25 09:00:00.058 0 0 0 0 \n 2024-12-25 09:00:00.004 \N 12 +861 0 1 2024-12-25 10:00:00.042 0 0 0 0 \n 2024-12-25 10:00:00.004 \N 12 +862 0 1 2024-12-25 11:00:00.048 0 0 0 0 \n 2024-12-25 11:00:00.004 \N 12 +863 0 1 2024-12-25 12:00:00.069 0 0 0 0 \n 2024-12-25 12:00:00.004 \N 12 +864 0 1 2024-12-25 13:00:00.048 0 0 0 0 \n 2024-12-25 13:00:00.004 \N 12 +865 0 1 2024-12-25 14:00:00.036 0 0 0 0 \n 2024-12-25 14:00:00.003 \N 12 +866 0 1 2024-12-25 15:00:00.055 0 0 0 0 \n 2024-12-25 15:00:00.003 \N 12 +867 0 1 2024-12-25 16:00:00.045 0 0 0 0 \n 2024-12-25 16:00:00.002 \N 12 +868 0 1 2024-12-25 17:00:00.051 0 0 0 0 \n 2024-12-25 17:00:00.004 \N 12 +869 0 1 2024-12-25 18:00:00.056 0 0 0 0 \n 2024-12-25 18:00:00.004 \N 12 +870 0 1 2024-12-25 19:00:00.053 0 0 0 0 \n 2024-12-25 19:00:00.004 \N 12 +871 0 1 2024-12-25 20:00:00.047 0 0 0 0 \n 2024-12-25 20:00:00.004 \N 12 +872 0 1 2024-12-25 21:00:00.045 0 0 0 0 \n 2024-12-25 21:00:00.005 \N 12 +873 0 1 2024-12-25 22:00:00.048 0 0 0 0 \n 2024-12-25 22:00:00.004 \N 12 +874 0 1 2024-12-25 23:00:00.048 0 0 0 0 \n 2024-12-25 23:00:00.005 \N 12 +875 0 1 2024-12-25 23:59:59.066 0 0 0 0 \n 2024-12-25 23:59:59.004 \N -27 +876 0 1 2024-12-26 00:00:00.028 0 0 0 0 \n 2024-12-26 00:00:00.005 \N 12 +877 0 1 2024-12-26 01:00:00.047 0 0 0 0 \n 2024-12-26 01:00:00.004 \N 12 +878 0 1 2024-12-26 02:00:00.042 0 0 0 0 \n 2024-12-26 02:00:00.004 \N 12 +879 0 1 2024-12-26 03:00:00.05 0 0 0 0 \n 2024-12-26 03:00:00.003 \N 12 +880 0 1 2024-12-26 04:00:00.052 0 0 0 0 \n 2024-12-26 04:00:00.004 \N 12 +881 0 1 2024-12-26 05:00:00.051 0 0 0 0 \n 2024-12-26 05:00:00.004 \N 12 +882 0 1 2024-12-26 06:00:00.049 0 0 0 0 \n 2024-12-26 06:00:00.004 \N 12 +883 0 1 2024-12-26 07:00:00.043 0 0 0 0 \n 2024-12-26 07:00:00.004 \N 12 +884 0 1 2024-12-26 08:00:00.042 0 0 0 0 \n 2024-12-26 08:00:00.004 \N 12 +885 0 1 2024-12-26 09:00:00.057 0 0 0 0 \n 2024-12-26 09:00:00.005 \N 12 +886 0 1 2024-12-26 10:00:00.049 0 0 0 0 \n 2024-12-26 10:00:00.004 \N 12 +887 0 1 2024-12-26 11:00:00.04 0 0 0 0 \n 2024-12-26 11:00:00.004 \N 12 +888 0 1 2024-12-26 12:00:00.048 0 0 0 0 \n 2024-12-26 12:00:00.004 \N 12 +889 0 1 2024-12-26 13:00:00.102 0 0 0 0 \n 2024-12-26 13:00:00.004 \N 12 +890 0 1 2024-12-26 14:00:00.039 0 0 0 0 \n 2024-12-26 14:00:00.003 \N 12 +891 0 1 2024-12-26 15:00:00.052 0 0 0 0 \n 2024-12-26 15:00:00.004 \N 12 +892 0 1 2024-12-26 16:00:00.049 0 0 0 0 \n 2024-12-26 16:00:00.004 \N 12 +893 0 1 2024-12-26 17:00:00.086 0 0 0 0 \n 2024-12-26 17:00:00.005 \N 12 +894 0 1 2024-12-26 18:00:00.055 0 0 0 0 \n 2024-12-26 18:00:00.004 \N 12 +895 0 1 2024-12-26 19:00:00.05 0 0 0 0 \n 2024-12-26 19:00:00.004 \N 12 +896 0 1 2024-12-26 20:00:00.053 0 0 0 0 \n 2024-12-26 20:00:00.005 \N 12 +897 0 1 2024-12-26 21:00:00.051 0 0 0 0 \n 2024-12-26 21:00:00.003 \N 12 +898 0 1 2024-12-26 22:00:00.043 0 0 0 0 \n 2024-12-26 22:00:00.004 \N 12 +899 0 1 2024-12-26 23:00:00.043 0 0 0 0 \n 2024-12-26 23:00:00.003 \N 12 +900 0 1 2024-12-26 23:59:59.057 0 0 0 0 \n 2024-12-26 23:59:59.003 \N -27 +901 0 1 2024-12-27 00:00:00.043 0 0 0 0 \n 2024-12-27 00:00:00.004 \N 12 +902 0 1 2024-12-27 01:00:00.051 0 0 0 0 \n 2024-12-27 01:00:00.004 \N 12 +903 0 1 2024-12-27 02:00:00.044 0 0 0 0 \n 2024-12-27 02:00:00.002 \N 12 +904 0 1 2024-12-27 03:00:00.043 0 0 0 0 \n 2024-12-27 03:00:00.002 \N 12 +905 0 1 2024-12-27 04:00:00.041 0 0 0 0 \n 2024-12-27 04:00:00.003 \N 12 +906 0 1 2024-12-27 05:00:00.048 0 0 0 0 \n 2024-12-27 05:00:00.004 \N 12 +907 0 1 2024-12-27 06:00:00.049 0 0 0 0 \n 2024-12-27 06:00:00.002 \N 12 +908 0 1 2024-12-27 07:00:00.045 0 0 0 0 \n 2024-12-27 07:00:00.004 \N 12 +909 0 1 2024-12-27 08:00:00.054 0 0 0 0 \n 2024-12-27 08:00:00.004 \N 12 +910 0 1 2024-12-27 09:00:00.049 0 0 0 0 \n 2024-12-27 09:00:00.004 \N 12 +911 0 1 2024-12-27 10:00:00.052 0 0 0 0 \n 2024-12-27 10:00:00.004 \N 12 +912 0 1 2024-12-27 11:00:00.047 0 0 0 0 \n 2024-12-27 11:00:00.005 \N 12 +913 0 1 2024-12-27 12:00:00.049 0 0 0 0 \n 2024-12-27 12:00:00.004 \N 12 +914 0 1 2024-12-27 13:00:00.051 0 0 0 0 \n 2024-12-27 13:00:00.004 \N 12 +915 0 1 2024-12-27 14:00:00.087 0 0 0 0 \n 2024-12-27 14:00:00.004 \N 12 +916 0 1 2024-12-27 15:00:00.073 0 0 0 0 \n 2024-12-27 15:00:00.004 \N 12 +917 0 1 2024-12-27 16:00:00.052 0 0 0 0 \n 2024-12-27 16:00:00.005 \N 12 +918 0 1 2024-12-27 17:00:00.044 0 0 0 0 \n 2024-12-27 17:00:00.004 \N 12 +919 0 1 2024-12-27 18:00:00.054 0 0 0 0 \n 2024-12-27 18:00:00.004 \N 12 +920 0 1 2024-12-27 19:00:00.045 0 0 0 0 \n 2024-12-27 19:00:00.004 \N 12 +921 0 1 2024-12-27 20:00:00.049 0 0 0 0 \n 2024-12-27 20:00:00.004 \N 12 +922 0 1 2024-12-27 21:00:00.049 0 0 0 0 \n 2024-12-27 21:00:00.004 \N 12 +923 0 1 2024-12-27 22:00:00.045 0 0 0 0 \n 2024-12-27 22:00:00.004 \N 12 +924 0 1 2024-12-27 23:00:00.046 0 0 0 0 \n 2024-12-27 23:00:00.004 \N 12 +925 0 1 2024-12-27 23:59:59.088 0 0 0 0 \n 2024-12-27 23:59:59.004 \N -27 +926 0 1 2024-12-28 00:00:00.049 0 0 0 0 \n 2024-12-28 00:00:00.003 \N 12 +927 0 1 2024-12-28 01:00:00.047 0 0 0 0 \n 2024-12-28 01:00:00.004 \N 12 +928 0 1 2024-12-28 02:00:00.049 0 0 0 0 \n 2024-12-28 02:00:00.004 \N 12 +929 0 1 2024-12-28 03:00:00.048 0 0 0 0 \n 2024-12-28 03:00:00.003 \N 12 +930 0 1 2024-12-28 04:00:00.045 0 0 0 0 \n 2024-12-28 04:00:00.005 \N 12 +931 0 1 2024-12-28 05:00:00.058 0 0 0 0 \n 2024-12-28 05:00:00.005 \N 12 +932 0 1 2024-12-28 06:00:00.054 0 0 0 0 \n 2024-12-28 06:00:00.005 \N 12 +933 0 1 2024-12-28 07:00:00.054 0 0 0 0 \n 2024-12-28 07:00:00.004 \N 12 +934 0 1 2024-12-28 08:00:00.048 0 0 0 0 \n 2024-12-28 08:00:00.004 \N 12 +935 0 1 2024-12-28 09:00:00.053 0 0 0 0 \n 2024-12-28 09:00:00.004 \N 12 +936 0 1 2024-12-28 10:00:00.059 0 0 0 0 \n 2024-12-28 10:00:00.005 \N 12 +937 0 1 2024-12-28 11:00:00.044 0 0 0 0 \n 2024-12-28 11:00:00.003 \N 12 +938 0 1 2024-12-28 12:00:00.054 0 0 0 0 \n 2024-12-28 12:00:00.004 \N 12 +939 0 1 2024-12-28 13:00:00.047 0 0 0 0 \n 2024-12-28 13:00:00.004 \N 12 +940 0 1 2024-12-28 14:00:00.044 0 0 0 0 \n 2024-12-28 14:00:00.004 \N 12 +941 0 1 2024-12-28 15:00:00.051 0 0 0 0 \n 2024-12-28 15:00:00.004 \N 12 +942 0 1 2024-12-28 16:00:00.052 0 0 0 0 \n 2024-12-28 16:00:00.004 \N 12 +943 0 1 2024-12-28 17:00:00.052 0 0 0 0 \n 2024-12-28 17:00:00.005 \N 12 +944 0 1 2024-12-28 18:00:00.054 0 0 0 0 \n 2024-12-28 18:00:00.004 \N 12 +945 0 1 2024-12-28 19:00:00.046 0 0 0 0 \n 2024-12-28 19:00:00.004 \N 12 +946 0 1 2024-12-28 20:00:00.059 0 0 0 0 \n 2024-12-28 20:00:00.005 \N 12 +947 0 1 2024-12-28 21:00:00.057 0 0 0 0 \n 2024-12-28 21:00:00.004 \N 12 +948 0 1 2024-12-28 22:00:00.05 0 0 0 0 \n 2024-12-28 22:00:00.003 \N 12 +949 0 1 2024-12-28 23:00:00.049 0 0 0 0 \n 2024-12-28 23:00:00.003 \N 12 +950 0 1 2024-12-28 23:59:59.058 0 0 0 0 \n 2024-12-28 23:59:59.003 \N -27 +951 0 1 2024-12-29 00:00:00.034 0 0 0 0 \n 2024-12-29 00:00:00.003 \N 12 +952 0 1 2024-12-29 01:00:00.047 0 0 0 0 \n 2024-12-29 01:00:00.003 \N 12 +953 0 1 2024-12-29 02:00:00.045 0 0 0 0 \n 2024-12-29 02:00:00.003 \N 12 +954 0 1 2024-12-29 03:00:00.047 0 0 0 0 \n 2024-12-29 03:00:00.004 \N 12 +955 0 1 2024-12-29 04:00:00.039 0 0 0 0 \n 2024-12-29 04:00:00.004 \N 12 +956 0 1 2024-12-29 05:00:00.046 0 0 0 0 \n 2024-12-29 05:00:00.004 \N 12 +957 0 1 2024-12-29 06:00:00.051 0 0 0 0 \n 2024-12-29 06:00:00.004 \N 12 +958 0 1 2024-12-29 07:00:00.044 0 0 0 0 \n 2024-12-29 07:00:00.004 \N 12 +959 0 1 2024-12-29 08:00:00.048 0 0 0 0 \n 2024-12-29 08:00:00.005 \N 12 +960 0 1 2024-12-29 09:00:00.048 0 0 0 0 \n 2024-12-29 09:00:00.004 \N 12 +961 0 1 2024-12-29 10:00:00.045 0 0 0 0 \n 2024-12-29 10:00:00.004 \N 12 +962 0 1 2024-12-29 11:00:00.041 0 0 0 0 \n 2024-12-29 11:00:00.003 \N 12 +963 0 1 2024-12-29 12:00:00.057 0 0 0 0 \n 2024-12-29 12:00:00.005 \N 12 +964 0 1 2024-12-29 13:00:00.052 0 0 0 0 \n 2024-12-29 13:00:00.004 \N 12 +965 0 1 2024-12-29 14:00:00.046 0 0 0 0 \n 2024-12-29 14:00:00.003 \N 12 +966 0 1 2024-12-29 15:00:00.046 0 0 0 0 \n 2024-12-29 15:00:00.003 \N 12 +967 0 1 2024-12-29 16:00:00.046 0 0 0 0 \n 2024-12-29 16:00:00.004 \N 12 +968 0 1 2024-12-29 17:00:00.049 0 0 0 0 \n 2024-12-29 17:00:00.004 \N 12 +969 0 1 2024-12-29 18:00:00.047 0 0 0 0 \n 2024-12-29 18:00:00.004 \N 12 +970 0 1 2024-12-29 19:00:00.045 0 0 0 0 \n 2024-12-29 19:00:00.004 \N 12 +971 0 1 2024-12-29 20:00:00.061 0 0 0 0 \n 2024-12-29 20:00:00.005 \N 12 +972 0 1 2024-12-29 21:00:00.043 0 0 0 0 \n 2024-12-29 21:00:00.003 \N 12 +973 0 1 2024-12-29 22:00:00.046 0 0 0 0 \n 2024-12-29 22:00:00.004 \N 12 +974 0 1 2024-12-29 23:00:00.048 0 0 0 0 \n 2024-12-29 23:00:00.004 \N 12 +975 0 1 2024-12-29 23:59:59.057 0 0 0 0 \n 2024-12-29 23:59:59.004 \N -27 +976 0 1 2024-12-29 23:59:59.058 0 0 0 0 \n 2024-12-29 23:59:59.026 \N -21 +977 0 1 2024-12-30 00:00:00.026 0 0 0 0 \n 2024-12-30 00:00:00.004 \N 12 +978 0 1 2024-12-30 01:00:00.039 0 0 0 0 \n 2024-12-30 01:00:00.004 \N 12 +979 0 1 2024-12-30 02:00:00.052 0 0 0 0 \n 2024-12-30 02:00:00.004 \N 12 +980 0 1 2024-12-30 03:00:00.05 0 0 0 0 \n 2024-12-30 03:00:00.004 \N 12 +981 0 1 2024-12-30 04:00:00.051 0 0 0 0 \n 2024-12-30 04:00:00.003 \N 12 +982 0 1 2024-12-30 05:00:00.044 0 0 0 0 \n 2024-12-30 05:00:00.004 \N 12 +983 0 1 2024-12-30 06:00:00.05 0 0 0 0 \n 2024-12-30 06:00:00.004 \N 12 +984 0 1 2024-12-30 07:00:00.062 0 0 0 0 \n 2024-12-30 07:00:00.003 \N 12 +985 0 1 2024-12-30 08:00:00.052 0 0 0 0 \n 2024-12-30 08:00:00.004 \N 12 +986 0 1 2024-12-30 09:00:00.076 0 0 0 0 \n 2024-12-30 09:00:00.004 \N 12 +987 0 1 2024-12-30 10:00:00.066 0 0 0 0 \n 2024-12-30 10:00:00.004 \N 12 +988 0 1 2024-12-30 11:00:00.075 0 0 0 0 \n 2024-12-30 11:00:00.003 \N 12 +989 0 1 2024-12-30 12:00:00.051 0 0 0 0 \n 2024-12-30 12:00:00.004 \N 12 +990 0 1 2024-12-30 13:00:00.056 0 0 0 0 \n 2024-12-30 13:00:00.002 \N 12 +991 0 1 2024-12-30 14:00:00.042 0 0 0 0 \n 2024-12-30 14:00:00.004 \N 12 +992 0 1 2024-12-30 15:00:00.06 0 0 0 0 \n 2024-12-30 15:00:00.004 \N 12 +993 0 1 2024-12-30 16:00:00.049 0 0 0 0 \n 2024-12-30 16:00:00.004 \N 12 +994 0 1 2024-12-30 17:00:00.053 0 0 0 0 \n 2024-12-30 17:00:00.004 \N 12 +995 0 1 2024-12-30 18:00:00.047 0 0 0 0 \n 2024-12-30 18:00:00.004 \N 12 +996 0 1 2024-12-30 19:00:00.05 0 0 0 0 \n 2024-12-30 19:00:00.005 \N 12 +997 0 1 2024-12-30 20:00:00.047 0 0 0 0 \n 2024-12-30 20:00:00.003 \N 12 +998 0 1 2024-12-30 21:00:00.056 0 0 0 0 \n 2024-12-30 21:00:00.005 \N 12 +999 0 1 2024-12-30 22:00:00.05 0 0 0 0 \n 2024-12-30 22:00:00.004 \N 12 +1000 0 1 2024-12-30 23:00:00.043 0 0 0 0 \n 2024-12-30 23:00:00.003 \N 12 +1001 0 1 2024-12-30 23:59:59.06 0 0 0 0 \n 2024-12-30 23:59:59.004 \N -27 +1002 0 1 2024-12-31 00:00:00.028 0 0 0 0 \n 2024-12-31 00:00:00.004 \N 12 +1003 0 1 2024-12-31 01:00:00.043 0 0 0 0 \n 2024-12-31 01:00:00.003 \N 12 +1004 0 1 2024-12-31 02:00:00.048 0 0 0 0 \n 2024-12-31 02:00:00.004 \N 12 +1005 0 1 2024-12-31 03:00:00.05 0 0 0 0 \n 2024-12-31 03:00:00.004 \N 12 +1006 0 1 2024-12-31 04:00:00.048 0 0 0 0 \n 2024-12-31 04:00:00.004 \N 12 +1007 0 1 2024-12-31 05:00:00.054 0 0 0 0 \n 2024-12-31 05:00:00.005 \N 12 +1008 0 1 2024-12-31 06:00:00.053 0 0 0 0 \n 2024-12-31 06:00:00.004 \N 12 +1009 0 1 2024-12-31 07:00:00.057 0 0 0 0 \n 2024-12-31 07:00:00.006 \N 12 +1010 0 1 2024-12-31 08:00:00.044 0 0 0 0 \n 2024-12-31 08:00:00.003 \N 12 +1011 0 1 2024-12-31 09:00:00.054 0 0 0 0 \n 2024-12-31 09:00:00.004 \N 12 +1012 0 1 2024-12-31 10:00:00.048 0 0 0 0 \n 2024-12-31 10:00:00.004 \N 12 +1013 0 1 2024-12-31 11:00:00.038 0 0 0 0 \n 2024-12-31 11:00:00.004 \N 12 +1014 0 1 2024-12-31 12:00:00.049 0 0 0 0 \n 2024-12-31 12:00:00.004 \N 12 +1015 0 1 2024-12-31 13:00:00.054 0 0 0 0 \n 2024-12-31 13:00:00.004 \N 12 +1016 0 1 2024-12-31 14:00:00.049 0 0 0 0 \n 2024-12-31 14:00:00.003 \N 12 +1017 0 1 2024-12-31 15:00:00.058 0 0 0 0 \n 2024-12-31 15:00:00.003 \N 12 +1018 0 1 2024-12-31 16:00:00.045 0 0 0 0 \n 2024-12-31 16:00:00.003 \N 12 +1019 0 1 2024-12-31 17:00:00.047 0 0 0 0 \n 2024-12-31 17:00:00.003 \N 12 +1020 0 1 2024-12-31 18:00:00.048 0 0 0 0 \n 2024-12-31 18:00:00.004 \N 12 +1021 0 1 2024-12-31 19:00:00.053 0 0 0 0 \n 2024-12-31 19:00:00.004 \N 12 +1022 0 1 2024-12-31 20:00:00.045 0 0 0 0 \n 2024-12-31 20:00:00.003 \N 12 +1023 0 1 2024-12-31 21:00:00.06 0 0 0 0 \n 2024-12-31 21:00:00.004 \N 12 +1024 0 1 2024-12-31 22:00:00.051 0 0 0 0 \n 2024-12-31 22:00:00.004 \N 12 +1025 0 1 2024-12-31 23:00:00.047 0 0 0 0 \n 2024-12-31 23:00:00.004 \N 12 +1026 0 1 2024-12-31 23:59:59.053 0 0 0 0 \n 2024-12-31 23:59:59.003 \N -21 +1027 0 1 2024-12-31 23:59:59.075 0 0 0 0 \n 2024-12-31 23:59:59.003 \N -27 +1028 0 1 2025-01-01 00:00:00.018 0 0 0 0 \n 2025-01-01 00:00:00.003 \N 12 +1029 0 1 2025-01-01 01:00:00.049 0 0 0 0 \n 2025-01-01 01:00:00.004 \N 12 +1030 0 1 2025-01-01 02:00:00.046 0 0 0 0 \n 2025-01-01 02:00:00.003 \N 12 +1031 0 1 2025-01-01 03:00:00.053 0 0 0 0 \n 2025-01-01 03:00:00.003 \N 12 +1032 0 1 2025-01-01 04:00:00.055 0 0 0 0 \n 2025-01-01 04:00:00.003 \N 12 +1033 0 1 2025-01-01 05:00:00.051 0 0 0 0 \n 2025-01-01 05:00:00.003 \N 12 +1034 0 1 2025-01-01 06:00:00.047 0 0 0 0 \n 2025-01-01 06:00:00.004 \N 12 +1035 0 1 2025-01-01 07:00:00.047 0 0 0 0 \n 2025-01-01 07:00:00.005 \N 12 +1036 0 1 2025-01-01 08:00:00.054 0 0 0 0 \n 2025-01-01 08:00:00.004 \N 12 +1037 0 1 2025-01-01 09:00:00.059 0 0 0 0 \n 2025-01-01 09:00:00.004 \N 12 +1038 0 1 2025-01-01 10:00:00.049 0 0 0 0 \n 2025-01-01 10:00:00.004 \N 12 +1039 0 1 2025-01-01 11:00:00.052 0 0 0 0 \n 2025-01-01 11:00:00.003 \N 12 +1040 0 1 2025-01-01 12:00:00.054 0 0 0 0 \n 2025-01-01 12:00:00.004 \N 12 +1041 0 1 2025-01-01 13:00:00.049 0 0 0 0 \n 2025-01-01 13:00:00.004 \N 12 +1042 0 1 2025-01-01 14:00:00.044 0 0 0 0 \n 2025-01-01 14:00:00.004 \N 12 +1043 0 1 2025-01-01 15:00:00.056 0 0 0 0 \n 2025-01-01 15:00:00.004 \N 12 +1044 0 1 2025-01-01 16:00:00.044 0 0 0 0 \n 2025-01-01 16:00:00.004 \N 12 +1045 0 1 2025-01-01 17:00:00.05 0 0 0 0 \n 2025-01-01 17:00:00.004 \N 12 +1046 0 1 2025-01-01 18:00:00.059 0 0 0 0 \n 2025-01-01 18:00:00.004 \N 12 +1047 0 1 2025-01-01 19:00:00.052 0 0 0 0 \n 2025-01-01 19:00:00.003 \N 12 +1048 0 1 2025-01-01 20:00:00.048 0 0 0 0 \n 2025-01-01 20:00:00.004 \N 12 +1049 0 1 2025-01-01 21:00:00.048 0 0 0 0 \n 2025-01-01 21:00:00.003 \N 12 +1050 0 1 2025-01-01 22:00:00.05 0 0 0 0 \n 2025-01-01 22:00:00.004 \N 12 +1051 0 1 2025-01-01 23:00:00.046 0 0 0 0 \n 2025-01-01 23:00:00.004 \N 12 +1052 0 1 2025-01-01 23:59:59.06 0 0 0 0 \n 2025-01-01 23:59:59.004 \N -27 +1053 0 1 2025-01-02 00:00:00.048 0 0 0 0 \n 2025-01-02 00:00:00.003 \N 12 +1054 0 1 2025-01-02 01:00:00.041 0 0 0 0 \n 2025-01-02 01:00:00.003 \N 12 +1055 0 1 2025-01-02 02:00:00.047 0 0 0 0 \n 2025-01-02 02:00:00.004 \N 12 +1056 0 1 2025-01-02 03:00:00.05 0 0 0 0 \n 2025-01-02 03:00:00.004 \N 12 +1057 0 1 2025-01-02 04:00:00.048 0 0 0 0 \n 2025-01-02 04:00:00.004 \N 12 +1058 0 1 2025-01-02 05:00:00.052 0 0 0 0 \n 2025-01-02 05:00:00.004 \N 12 +1059 0 1 2025-01-02 06:00:00.048 0 0 0 0 \n 2025-01-02 06:00:00.004 \N 12 +1060 0 1 2025-01-02 07:00:00.052 0 0 0 0 \n 2025-01-02 07:00:00.003 \N 12 +1061 0 1 2025-01-02 08:00:00.052 0 0 0 0 \n 2025-01-02 08:00:00.004 \N 12 +1062 0 1 2025-01-02 09:00:00.053 0 0 0 0 \n 2025-01-02 09:00:00.004 \N 12 +1063 0 1 2025-01-02 10:00:00.049 0 0 0 0 \n 2025-01-02 10:00:00.005 \N 12 +1064 0 1 2025-01-02 11:00:00.04 0 0 0 0 \n 2025-01-02 11:00:00.004 \N 12 +1065 0 1 2025-01-02 12:00:00.053 0 0 0 0 \n 2025-01-02 12:00:00.003 \N 12 +1066 0 1 2025-01-02 13:00:00.054 0 0 0 0 \n 2025-01-02 13:00:00.003 \N 12 +1067 0 1 2025-01-02 14:00:00.052 0 0 0 0 \n 2025-01-02 14:00:00.004 \N 12 +1068 0 1 2025-01-02 15:00:00.057 0 0 0 0 \n 2025-01-02 15:00:00.003 \N 12 +1069 0 1 2025-01-02 16:00:00.048 0 0 0 0 \n 2025-01-02 16:00:00.002 \N 12 +1070 0 1 2025-01-02 17:00:00.054 0 0 0 0 \n 2025-01-02 17:00:00.003 \N 12 +1071 0 1 2025-01-02 18:00:00.047 0 0 0 0 \n 2025-01-02 18:00:00.004 \N 12 +1072 0 1 2025-01-02 19:00:00.052 0 0 0 0 \n 2025-01-02 19:00:00.004 \N 12 +1073 0 1 2025-01-02 20:00:00.055 0 0 0 0 \n 2025-01-02 20:00:00.004 \N 12 +1074 0 1 2025-01-02 21:00:00.091 0 0 0 0 \n 2025-01-02 21:00:00.006 \N 12 +1075 0 1 2025-01-02 22:00:00.047 0 0 0 0 \n 2025-01-02 22:00:00.004 \N 12 +1076 0 1 2025-01-02 23:00:00.049 0 0 0 0 \n 2025-01-02 23:00:00.004 \N 12 +1077 0 1 2025-01-02 23:59:59.057 0 0 0 0 \n 2025-01-02 23:59:59.004 \N -27 +1078 0 1 2025-01-03 00:00:00.02 0 0 0 0 \n 2025-01-03 00:00:00.004 \N 12 +1079 0 1 2025-01-03 01:00:00.04 0 0 0 0 \n 2025-01-03 01:00:00.004 \N 12 +1080 0 1 2025-01-03 02:00:00.045 0 0 0 0 \n 2025-01-03 02:00:00.003 \N 12 +1081 0 1 2025-01-03 03:00:00.05 0 0 0 0 \n 2025-01-03 03:00:00.004 \N 12 +1082 0 1 2025-01-03 04:00:00.047 0 0 0 0 \n 2025-01-03 04:00:00.004 \N 12 +1083 0 1 2025-01-03 05:00:00.041 0 0 0 0 \n 2025-01-03 05:00:00.003 \N 12 +1084 0 1 2025-01-03 06:00:00.053 0 0 0 0 \n 2025-01-03 06:00:00.005 \N 12 +1085 0 1 2025-01-03 07:00:00.048 0 0 0 0 \n 2025-01-03 07:00:00.004 \N 12 +1086 0 1 2025-01-03 08:00:00.05 0 0 0 0 \n 2025-01-03 08:00:00.003 \N 12 +1087 0 1 2025-01-03 09:00:00.05 0 0 0 0 \n 2025-01-03 09:00:00.004 \N 12 +1088 0 1 2025-01-03 10:00:00.049 0 0 0 0 \n 2025-01-03 10:00:00.004 \N 12 +1089 0 1 2025-01-03 11:00:00.053 0 0 0 0 \n 2025-01-03 11:00:00.004 \N 12 +1090 0 1 2025-01-03 12:00:00.051 0 0 0 0 \n 2025-01-03 12:00:00.004 \N 12 +1091 0 1 2025-01-03 13:00:00.053 0 0 0 0 \n 2025-01-03 13:00:00.005 \N 12 +1092 0 1 2025-01-03 14:00:00.046 0 0 0 0 \n 2025-01-03 14:00:00.004 \N 12 +1093 0 1 2025-01-03 15:00:00.055 0 0 0 0 \n 2025-01-03 15:00:00.003 \N 12 +1094 0 1 2025-01-03 16:00:00.067 0 0 0 0 \n 2025-01-03 16:00:00.003 \N 12 +1095 0 1 2025-01-03 17:00:00.044 0 0 0 0 \n 2025-01-03 17:00:00.004 \N 12 +1096 0 1 2025-01-03 18:00:00.055 0 0 0 0 \n 2025-01-03 18:00:00.004 \N 12 +1097 0 1 2025-01-03 19:00:00.046 0 0 0 0 \n 2025-01-03 19:00:00.004 \N 12 +1098 0 1 2025-01-03 20:00:00.145 0 0 0 0 \n 2025-01-03 20:00:00.024 \N 12 +1099 0 1 2025-01-03 21:00:00.069 0 0 0 0 \n 2025-01-03 21:00:00.007 \N 12 +1100 0 1 2025-01-03 22:00:00.071 0 0 0 0 \n 2025-01-03 22:00:00.011 \N 12 +1101 0 1 2025-01-03 23:00:00.06 0 0 0 0 \n 2025-01-03 23:00:00.01 \N 12 +1102 0 1 2025-01-03 23:59:59.268 0 0 0 0 \n 2025-01-03 23:59:59.012 \N -27 +1103 0 1 2025-01-04 00:00:00.035 0 0 0 0 \n 2025-01-04 00:00:00.011 \N 12 +1104 0 1 2025-01-04 01:00:00.15 0 0 0 0 \n 2025-01-04 01:00:00.009 \N 12 +1105 0 1 2025-01-04 02:00:00.074 0 0 0 0 \n 2025-01-04 02:00:00.009 \N 12 +1106 0 1 2025-01-04 03:00:00.068 0 0 0 0 \n 2025-01-04 03:00:00.006 \N 12 +1107 0 1 2025-01-04 04:00:00.075 0 0 0 0 \n 2025-01-04 04:00:00.01 \N 12 +1108 0 1 2025-01-04 05:00:00.062 0 0 0 0 \n 2025-01-04 05:00:00.007 \N 12 +1109 0 1 2025-01-04 06:00:00.051 0 0 0 0 \n 2025-01-04 06:00:00.007 \N 12 +1110 0 1 2025-01-04 07:00:00.062 0 0 0 0 \n 2025-01-04 07:00:00.008 \N 12 +1111 0 1 2025-01-04 08:00:00.063 0 0 0 0 \n 2025-01-04 08:00:00.007 \N 12 +1112 0 1 2025-01-04 09:00:00.058 0 0 0 0 \n 2025-01-04 09:00:00.007 \N 12 +1113 0 1 2025-01-04 10:00:00.058 0 0 0 0 \n 2025-01-04 10:00:00.009 \N 12 +1114 0 1 2025-01-04 11:00:00.055 0 0 0 0 \n 2025-01-04 11:00:00.008 \N 12 +1115 0 1 2025-01-04 12:00:00.057 0 0 0 0 \n 2025-01-04 12:00:00.007 \N 12 +1116 0 1 2025-01-04 13:00:00.06 0 0 0 0 \n 2025-01-04 13:00:00.006 \N 12 +1117 0 1 2025-01-04 14:00:00.053 0 0 0 0 \n 2025-01-04 14:00:00.007 \N 12 +1118 0 1 2025-01-04 15:00:00.051 0 0 0 0 \n 2025-01-04 15:00:00.007 \N 12 +1119 0 1 2025-01-04 16:00:00.065 0 0 0 0 \n 2025-01-04 16:00:00.006 \N 12 +1120 0 1 2025-01-04 17:00:00.066 0 0 0 0 \n 2025-01-04 17:00:00.006 \N 12 +1121 0 1 2025-01-04 18:00:00.05 0 0 0 0 \n 2025-01-04 18:00:00.006 \N 12 +1122 0 1 2025-01-04 19:00:00.063 0 0 0 0 \n 2025-01-04 19:00:00.006 \N 12 +1123 0 1 2025-01-04 20:00:00.066 0 0 0 0 \n 2025-01-04 20:00:00.007 \N 12 +1124 0 1 2025-01-04 21:00:00.064 0 0 0 0 \n 2025-01-04 21:00:00.007 \N 12 +1125 0 1 2025-01-04 22:00:00.053 0 0 0 0 \n 2025-01-04 22:00:00.006 \N 12 +1126 0 1 2025-01-04 23:00:00.052 0 0 0 0 \n 2025-01-04 23:00:00.007 \N 12 +1127 0 1 2025-01-04 23:59:59.066 0 0 0 0 \n 2025-01-04 23:59:59.003 \N -27 +1128 0 1 2025-01-05 00:00:00.03 0 0 0 0 \n 2025-01-05 00:00:00.007 \N 12 +1129 0 1 2025-01-05 01:00:00.054 0 0 0 0 \n 2025-01-05 01:00:00.006 \N 12 +1130 0 1 2025-01-05 02:00:00.054 0 0 0 0 \n 2025-01-05 02:00:00.007 \N 12 +1131 0 1 2025-01-05 03:00:00.052 0 0 0 0 \n 2025-01-05 03:00:00.007 \N 12 +1132 0 1 2025-01-05 04:00:00.051 0 0 0 0 \n 2025-01-05 04:00:00.006 \N 12 +1133 0 1 2025-01-05 05:00:00.059 0 0 0 0 \n 2025-01-05 05:00:00.007 \N 12 +1134 0 1 2025-01-05 06:00:00.048 0 0 0 0 \n 2025-01-05 06:00:00.006 \N 12 +1135 0 1 2025-01-05 07:00:00.066 0 0 0 0 \n 2025-01-05 07:00:00.006 \N 12 +1136 0 1 2025-01-05 08:00:00.059 0 0 0 0 \n 2025-01-05 08:00:00.006 \N 12 +1137 0 1 2025-01-05 09:00:00.046 0 0 0 0 \n 2025-01-05 09:00:00.006 \N 12 +1138 0 1 2025-01-05 10:00:00.043 0 0 0 0 \n 2025-01-05 10:00:00.006 \N 12 +1139 0 1 2025-01-05 11:00:00.057 0 0 0 0 \n 2025-01-05 11:00:00.007 \N 12 +1140 0 1 2025-01-05 12:00:00.052 0 0 0 0 \n 2025-01-05 12:00:00.007 \N 12 +1141 0 1 2025-01-05 13:00:00.052 0 0 0 0 \n 2025-01-05 13:00:00.005 \N 12 +1142 0 1 2025-01-05 14:00:00.06 0 0 0 0 \n 2025-01-05 14:00:00.006 \N 12 +1143 0 1 2025-01-05 15:00:00.099 0 0 0 0 \n 2025-01-05 15:00:00.006 \N 12 +1144 0 1 2025-01-05 16:00:00.081 0 0 0 0 \n 2025-01-05 16:00:00.006 \N 12 +1145 0 1 2025-01-05 17:00:00.057 0 0 0 0 \n 2025-01-05 17:00:00.006 \N 12 +1146 0 1 2025-01-05 18:00:00.054 0 0 0 0 \n 2025-01-05 18:00:00.007 \N 12 +1147 0 1 2025-01-05 19:00:00.053 0 0 0 0 \n 2025-01-05 19:00:00.008 \N 12 +1148 0 1 2025-01-05 20:00:00.066 0 0 0 0 \n 2025-01-05 20:00:00.006 \N 12 +1149 0 1 2025-01-05 21:00:00.058 0 0 0 0 \n 2025-01-05 21:00:00.007 \N 12 +1150 0 1 2025-01-05 22:00:00.059 0 0 0 0 \n 2025-01-05 22:00:00.007 \N 12 +1151 0 1 2025-01-05 23:00:00.048 0 0 0 0 \n 2025-01-05 23:00:00.004 \N 12 +1152 0 1 2025-01-05 23:59:59.07 0 0 0 0 \n 2025-01-05 23:59:59.008 \N -21 +1153 0 1 2025-01-05 23:59:59.076 0 0 0 0 \n 2025-01-05 23:59:59.009 \N -27 +1154 0 1 2025-01-06 00:00:00.043 0 0 0 0 \n 2025-01-06 00:00:00.008 \N 12 +1155 0 1 2025-01-06 01:00:00.05 0 0 0 0 \n 2025-01-06 01:00:00.006 \N 12 +1156 0 1 2025-01-06 02:00:00.059 0 0 0 0 \n 2025-01-06 02:00:00.007 \N 12 +1157 0 1 2025-01-06 03:00:00.058 0 0 0 0 \n 2025-01-06 03:00:00.005 \N 12 +1158 0 1 2025-01-06 04:00:00.061 0 0 0 0 \n 2025-01-06 04:00:00.007 \N 12 +1159 0 1 2025-01-06 05:00:00.055 0 0 0 0 \n 2025-01-06 05:00:00.005 \N 12 +1160 0 1 2025-01-06 06:00:00.06 0 0 0 0 \n 2025-01-06 06:00:00.007 \N 12 +1161 0 1 2025-01-06 07:00:00.052 0 0 0 0 \n 2025-01-06 07:00:00.006 \N 12 +1162 0 1 2025-01-06 08:00:00.059 0 0 0 0 \n 2025-01-06 08:00:00.006 \N 12 +1163 0 1 2025-01-06 09:00:00.053 0 0 0 0 \n 2025-01-06 09:00:00.005 \N 12 +1164 0 1 2025-01-06 10:00:00.054 0 0 0 0 \n 2025-01-06 10:00:00.006 \N 12 +1165 0 1 2025-01-06 11:00:00.047 0 0 0 0 \n 2025-01-06 11:00:00.004 \N 12 +1166 0 1 2025-01-06 12:00:00.06 0 0 0 0 \n 2025-01-06 12:00:00.006 \N 12 +1167 0 1 2025-01-06 13:00:00.056 0 0 0 0 \n 2025-01-06 13:00:00.006 \N 12 +1168 0 1 2025-01-06 14:00:00.052 0 0 0 0 \n 2025-01-06 14:00:00.006 \N 12 +1169 0 1 2025-01-06 15:00:00.052 0 0 0 0 \n 2025-01-06 15:00:00.003 \N 12 +1170 0 1 2025-01-06 16:00:00.06 0 0 0 0 \n 2025-01-06 16:00:00.007 \N 12 +1171 0 1 2025-01-06 17:00:00.048 0 0 0 0 \n 2025-01-06 17:00:00.005 \N 12 +1172 0 1 2025-01-06 18:00:00.065 0 0 0 0 \n 2025-01-06 18:00:00.007 \N 12 +1173 0 1 2025-01-06 19:00:00.056 0 0 0 0 \n 2025-01-06 19:00:00.006 \N 12 +1174 0 1 2025-01-06 20:00:00.051 0 0 0 0 \n 2025-01-06 20:00:00.005 \N 12 +1175 0 1 2025-01-06 21:00:00.06 0 0 0 0 \n 2025-01-06 21:00:00.005 \N 12 +1176 0 1 2025-01-06 22:00:00.061 0 0 0 0 \n 2025-01-06 22:00:00.006 \N 12 +1177 0 1 2025-01-06 23:00:00.05 0 0 0 0 \n 2025-01-06 23:00:00.006 \N 12 +1178 0 1 2025-01-06 23:59:59.057 0 0 0 0 \n 2025-01-06 23:59:59.003 \N -27 +1179 0 1 2025-01-07 00:00:00.083 0 0 0 0 \n 2025-01-07 00:00:00.006 \N 12 +1180 0 1 2025-01-07 01:00:00.058 0 0 0 0 \n 2025-01-07 01:00:00.006 \N 12 +1181 0 1 2025-01-07 02:00:00.06 0 0 0 0 \n 2025-01-07 02:00:00.007 \N 12 +1182 0 1 2025-01-07 03:00:00.047 0 0 0 0 \n 2025-01-07 03:00:00.004 \N 12 +1183 0 1 2025-01-07 04:00:00.056 0 0 0 0 \n 2025-01-07 04:00:00.007 \N 12 +1184 0 1 2025-01-07 05:00:00.079 0 0 0 0 \n 2025-01-07 05:00:00.007 \N 12 +1185 0 1 2025-01-07 06:00:00.055 0 0 0 0 \n 2025-01-07 06:00:00.006 \N 12 +1186 0 1 2025-01-07 07:00:00.05 0 0 0 0 \n 2025-01-07 07:00:00.005 \N 12 +1187 0 1 2025-01-07 08:00:00.043 0 0 0 0 \n 2025-01-07 08:00:00.005 \N 12 +1188 0 1 2025-01-07 09:00:00.066 0 0 0 0 \n 2025-01-07 09:00:00.005 \N 12 +1189 0 1 2025-01-07 10:00:00.092 0 0 0 0 \n 2025-01-07 10:00:00.004 \N 12 +1190 0 1 2025-01-07 11:00:00.105 0 0 0 0 \n 2025-01-07 11:00:00.004 \N 12 +1191 0 1 2025-01-07 12:00:00.073 0 0 0 0 \n 2025-01-07 12:00:00.005 \N 12 +1192 0 1 2025-01-07 13:00:00.047 0 0 0 0 \n 2025-01-07 13:00:00.003 \N 12 +1193 0 1 2025-01-07 14:00:00.049 0 0 0 0 \n 2025-01-07 14:00:00.005 \N 12 +1194 0 1 2025-01-07 15:00:00.053 0 0 0 0 \n 2025-01-07 15:00:00.006 \N 12 +1195 0 1 2025-01-07 16:00:00.044 0 0 0 0 \n 2025-01-07 16:00:00.004 \N 12 +1196 0 1 2025-01-07 17:00:00.049 0 0 0 0 \n 2025-01-07 17:00:00.006 \N 12 +1197 0 1 2025-01-07 18:00:00.057 0 0 0 0 \n 2025-01-07 18:00:00.005 \N 12 +1198 0 1 2025-01-07 19:00:00.053 0 0 0 0 \n 2025-01-07 19:00:00.005 \N 12 +1199 0 1 2025-01-07 20:00:00.05 0 0 0 0 \n 2025-01-07 20:00:00.005 \N 12 +1200 0 1 2025-01-07 21:00:00.053 0 0 0 0 \n 2025-01-07 21:00:00.006 \N 12 +1201 0 1 2025-01-07 22:00:00.056 0 0 0 0 \n 2025-01-07 22:00:00.007 \N 12 +1202 0 1 2025-01-07 23:00:00.039 0 0 0 0 \n 2025-01-07 23:00:00.004 \N 12 +1203 0 1 2025-01-07 23:59:59.056 0 0 0 0 \n 2025-01-07 23:59:59.004 \N -27 +1204 0 1 2025-01-08 00:00:00.028 0 0 0 0 \n 2025-01-08 00:00:00.005 \N 12 +1205 0 1 2025-01-08 01:00:00.055 0 0 0 0 \n 2025-01-08 01:00:00.003 \N 12 +1206 0 1 2025-01-08 02:00:00.048 0 0 0 0 \n 2025-01-08 02:00:00.005 \N 12 +1207 0 1 2025-01-08 03:00:00.072 0 0 0 0 \n 2025-01-08 03:00:00.006 \N 12 +1208 0 1 2025-01-08 04:00:00.052 0 0 0 0 \n 2025-01-08 04:00:00.006 \N 12 +1209 0 1 2025-01-08 05:00:00.046 0 0 0 0 \n 2025-01-08 05:00:00.006 \N 12 +1210 0 1 2025-01-08 06:00:00.05 0 0 0 0 \n 2025-01-08 06:00:00.005 \N 12 +1211 0 1 2025-01-08 07:00:00.059 0 0 0 0 \n 2025-01-08 07:00:00.006 \N 12 +1212 0 1 2025-01-08 08:00:00.047 0 0 0 0 \n 2025-01-08 08:00:00.006 \N 12 +1213 0 1 2025-01-08 09:00:00.057 0 0 0 0 \n 2025-01-08 09:00:00.006 \N 12 +1214 0 1 2025-01-08 10:00:00.054 0 0 0 0 \n 2025-01-08 10:00:00.007 \N 12 +1215 0 1 2025-01-08 11:00:00.056 0 0 0 0 \n 2025-01-08 11:00:00.005 \N 12 +1216 0 1 2025-01-08 12:00:00.048 0 0 0 0 \n 2025-01-08 12:00:00.004 \N 12 +1217 0 1 2025-01-08 13:00:00.05 0 0 0 0 \n 2025-01-08 13:00:00.006 \N 12 +1218 0 1 2025-01-08 14:00:00.054 0 0 0 0 \n 2025-01-08 14:00:00.006 \N 12 +1219 0 1 2025-01-08 15:00:00.048 0 0 0 0 \n 2025-01-08 15:00:00.006 \N 12 +1220 0 1 2025-01-08 16:00:00.051 0 0 0 0 \n 2025-01-08 16:00:00.005 \N 12 +1221 0 1 2025-01-08 17:00:00.051 0 0 0 0 \n 2025-01-08 17:00:00.005 \N 12 +1222 0 1 2025-01-08 18:00:00.044 0 0 0 0 \n 2025-01-08 18:00:00.005 \N 12 +1223 0 1 2025-01-08 19:00:00.052 0 0 0 0 \n 2025-01-08 19:00:00.006 \N 12 +1224 0 1 2025-01-08 20:00:00.06 0 0 0 0 \n 2025-01-08 20:00:00.006 \N 12 +1225 0 1 2025-01-08 21:00:00.06 0 0 0 0 \n 2025-01-08 21:00:00.005 \N 12 +1226 0 1 2025-01-08 22:00:00.047 0 0 0 0 \n 2025-01-08 22:00:00.003 \N 12 +1227 0 1 2025-01-08 23:00:00.051 0 0 0 0 \n 2025-01-08 23:00:00.003 \N 12 +1228 0 1 2025-01-08 23:59:59.078 0 0 0 0 \n 2025-01-08 23:59:59.004 \N -27 +1229 0 1 2025-01-09 00:00:00.034 0 0 0 0 \n 2025-01-09 00:00:00.005 \N 12 +1230 0 1 2025-01-09 01:00:00.064 0 0 0 0 \n 2025-01-09 01:00:00.006 \N 12 +1231 0 1 2025-01-09 02:00:00.059 0 0 0 0 \n 2025-01-09 02:00:00.006 \N 12 +1232 0 1 2025-01-09 03:00:00.056 0 0 0 0 \n 2025-01-09 03:00:00.005 \N 12 +1233 0 1 2025-01-09 04:00:00.047 0 0 0 0 \n 2025-01-09 04:00:00.005 \N 12 +1234 0 1 2025-01-09 05:00:00.049 0 0 0 0 \n 2025-01-09 05:00:00.006 \N 12 +1235 0 1 2025-01-09 06:00:00.056 0 0 0 0 \n 2025-01-09 06:00:00.006 \N 12 +1236 0 1 2025-01-09 07:00:00.053 0 0 0 0 \n 2025-01-09 07:00:00.006 \N 12 +1237 0 1 2025-01-09 08:00:00.064 0 0 0 0 \n 2025-01-09 08:00:00.003 \N 12 +1238 0 1 2025-01-09 09:00:00.048 0 0 0 0 \n 2025-01-09 09:00:00.005 \N 12 +1239 0 1 2025-01-09 10:00:00.051 0 0 0 0 \n 2025-01-09 10:00:00.005 \N 12 +1240 0 1 2025-01-09 11:00:00.057 0 0 0 0 \n 2025-01-09 11:00:00.005 \N 12 +1241 0 1 2025-01-09 12:00:00.052 0 0 0 0 \n 2025-01-09 12:00:00.003 \N 12 +1242 0 1 2025-01-09 13:00:00.062 0 0 0 0 \n 2025-01-09 13:00:00.005 \N 12 +1243 0 1 2025-01-09 14:00:00.052 0 0 0 0 \n 2025-01-09 14:00:00.004 \N 12 +1244 0 1 2025-01-09 15:00:00.051 0 0 0 0 \n 2025-01-09 15:00:00.006 \N 12 +1245 0 1 2025-01-09 16:00:00.054 0 0 0 0 \n 2025-01-09 16:00:00.005 \N 12 +1246 0 1 2025-01-09 17:00:00.056 0 0 0 0 \n 2025-01-09 17:00:00.005 \N 12 +1247 0 1 2025-01-09 18:00:00.047 0 0 0 0 \n 2025-01-09 18:00:00.004 \N 12 +1248 0 1 2025-01-09 19:00:00.05 0 0 0 0 \n 2025-01-09 19:00:00.005 \N 12 +1249 0 1 2025-01-09 20:00:00.048 0 0 0 0 \n 2025-01-09 20:00:00.005 \N 12 +1250 0 1 2025-01-09 21:00:00.045 0 0 0 0 \n 2025-01-09 21:00:00.005 \N 12 +1251 0 1 2025-01-09 22:00:00.051 0 0 0 0 \n 2025-01-09 22:00:00.005 \N 12 +1252 0 1 2025-01-09 23:00:00.042 0 0 0 0 \n 2025-01-09 23:00:00.004 \N 12 +1253 0 1 2025-01-09 23:59:59.075 0 0 0 0 \n 2025-01-09 23:59:59.005 \N -27 +1254 0 1 2025-01-10 00:00:00.028 0 0 0 0 \n 2025-01-10 00:00:00.004 \N 12 +1255 0 1 2025-01-10 01:00:00.051 0 0 0 0 \n 2025-01-10 01:00:00.005 \N 12 +1256 0 1 2025-01-10 02:00:00.059 0 0 0 0 \n 2025-01-10 02:00:00.005 \N 12 +1257 0 1 2025-01-10 03:00:00.048 0 0 0 0 \n 2025-01-10 03:00:00.005 \N 12 +1258 0 1 2025-01-10 04:00:00.063 0 0 0 0 \n 2025-01-10 04:00:00.005 \N 12 +1259 0 1 2025-01-10 05:00:00.054 0 0 0 0 \n 2025-01-10 05:00:00.005 \N 12 +1260 0 1 2025-01-10 06:00:00.062 0 0 0 0 \n 2025-01-10 06:00:00.005 \N 12 +1261 0 1 2025-01-10 07:00:00.062 0 0 0 0 \n 2025-01-10 07:00:00.005 \N 12 +1262 0 1 2025-01-10 08:00:00.043 0 0 0 0 \n 2025-01-10 08:00:00.003 \N 12 +1263 0 1 2025-01-10 09:00:00.053 0 0 0 0 \n 2025-01-10 09:00:00.004 \N 12 +1264 0 1 2025-01-10 10:00:00.052 0 0 0 0 \n 2025-01-10 10:00:00.004 \N 12 +1265 0 1 2025-01-10 11:00:00.044 0 0 0 0 \n 2025-01-10 11:00:00.004 \N 12 +1266 0 1 2025-01-10 12:00:00.048 0 0 0 0 \n 2025-01-10 12:00:00.005 \N 12 +1267 0 1 2025-01-10 13:00:00.055 0 0 0 0 \n 2025-01-10 13:00:00.005 \N 12 +1268 0 1 2025-01-10 14:00:00.051 0 0 0 0 \n 2025-01-10 14:00:00.005 \N 12 +1269 0 1 2025-01-10 15:00:00.06 0 0 0 0 \n 2025-01-10 15:00:00.005 \N 12 +1270 0 1 2025-01-10 16:00:00.046 0 0 0 0 \n 2025-01-10 16:00:00.003 \N 12 +1271 0 1 2025-01-10 17:00:00.05 0 0 0 0 \n 2025-01-10 17:00:00.005 \N 12 +1272 0 1 2025-01-10 18:00:00.074 0 0 0 0 \n 2025-01-10 18:00:00.005 \N 12 +1273 0 1 2025-01-10 19:00:00.058 0 0 0 0 \n 2025-01-10 19:00:00.005 \N 12 +1274 0 1 2025-01-10 20:00:00.061 0 0 0 0 \n 2025-01-10 20:00:00.006 \N 12 +1275 0 1 2025-01-10 21:00:00.048 0 0 0 0 \n 2025-01-10 21:00:00.005 \N 12 +1276 0 1 2025-01-10 22:00:00.05 0 0 0 0 \n 2025-01-10 22:00:00.005 \N 12 +1277 0 1 2025-01-10 23:00:00.052 0 0 0 0 \n 2025-01-10 23:00:00.005 \N 12 +1278 0 1 2025-01-10 23:59:59.059 0 0 0 0 \n 2025-01-10 23:59:59.003 \N -27 +1279 0 1 2025-01-11 00:00:00.027 0 0 0 0 \n 2025-01-11 00:00:00.005 \N 12 +1280 0 1 2025-01-11 01:00:00.05 0 0 0 0 \n 2025-01-11 01:00:00.005 \N 12 +1281 0 1 2025-01-11 02:00:00.053 0 0 0 0 \n 2025-01-11 02:00:00.004 \N 12 +1282 0 1 2025-01-11 03:00:00.058 0 0 0 0 \n 2025-01-11 03:00:00.006 \N 12 +1283 0 1 2025-01-11 04:00:00.051 0 0 0 0 \n 2025-01-11 04:00:00.006 \N 12 +1284 0 1 2025-01-11 05:00:00.05 0 0 0 0 \n 2025-01-11 05:00:00.004 \N 12 +1285 0 1 2025-01-11 06:00:00.049 0 0 0 0 \n 2025-01-11 06:00:00.005 \N 12 +1286 0 1 2025-01-11 07:00:00.06 0 0 0 0 \n 2025-01-11 07:00:00.004 \N 12 +1287 0 1 2025-01-11 08:00:00.054 0 0 0 0 \n 2025-01-11 08:00:00.005 \N 12 +1288 0 1 2025-01-11 09:00:00.055 0 0 0 0 \n 2025-01-11 09:00:00.005 \N 12 +1289 0 1 2025-01-11 10:00:00.044 0 0 0 0 \n 2025-01-11 10:00:00.005 \N 12 +1290 0 1 2025-01-11 11:00:00.048 0 0 0 0 \n 2025-01-11 11:00:00.005 \N 12 +1291 0 1 2025-01-11 12:00:00.051 0 0 0 0 \n 2025-01-11 12:00:00.003 \N 12 +1292 0 1 2025-01-11 13:00:00.047 0 0 0 0 \n 2025-01-11 13:00:00.005 \N 12 +1293 0 1 2025-01-11 14:00:00.063 0 0 0 0 \n 2025-01-11 14:00:00.006 \N 12 +1294 0 1 2025-01-11 15:00:00.045 0 0 0 0 \n 2025-01-11 15:00:00.005 \N 12 +1295 0 1 2025-01-11 16:00:00.049 0 0 0 0 \n 2025-01-11 16:00:00.005 \N 12 +1296 0 1 2025-01-11 17:00:00.064 0 0 0 0 \n 2025-01-11 17:00:00.005 \N 12 +1297 0 1 2025-01-11 18:00:00.067 0 0 0 0 \n 2025-01-11 18:00:00.006 \N 12 +1298 0 1 2025-01-11 19:00:00.052 0 0 0 0 \n 2025-01-11 19:00:00.005 \N 12 +1299 0 1 2025-01-11 20:00:00.044 0 0 0 0 \n 2025-01-11 20:00:00.003 \N 12 +1300 0 1 2025-01-11 21:00:00.053 0 0 0 0 \n 2025-01-11 21:00:00.007 \N 12 +1301 0 1 2025-01-11 22:00:00.05 0 0 0 0 \n 2025-01-11 22:00:00.005 \N 12 +1302 0 1 2025-01-11 23:00:00.056 0 0 0 0 \n 2025-01-11 23:00:00.005 \N 12 +1303 0 1 2025-01-11 23:59:59.066 0 0 0 0 \n 2025-01-11 23:59:59.004 \N -27 +1304 0 1 2025-01-12 00:00:00.024 0 0 0 0 \n 2025-01-12 00:00:00.004 \N 12 +1305 0 1 2025-01-12 01:00:00.058 0 0 0 0 \n 2025-01-12 01:00:00.005 \N 12 +1306 0 1 2025-01-12 02:00:00.048 0 0 0 0 \n 2025-01-12 02:00:00.005 \N 12 +1307 0 1 2025-01-12 03:00:00.055 0 0 0 0 \n 2025-01-12 03:00:00.005 \N 12 +1308 0 1 2025-01-12 04:00:00.054 0 0 0 0 \n 2025-01-12 04:00:00.003 \N 12 +1309 0 1 2025-01-12 05:00:00.049 0 0 0 0 \n 2025-01-12 05:00:00.004 \N 12 +1310 0 1 2025-01-12 06:00:00.05 0 0 0 0 \n 2025-01-12 06:00:00.006 \N 12 +1311 0 1 2025-01-12 07:00:00.046 0 0 0 0 \n 2025-01-12 07:00:00.006 \N 12 +1312 0 1 2025-01-12 08:00:00.048 0 0 0 0 \n 2025-01-12 08:00:00.003 \N 12 +1313 0 1 2025-01-12 09:00:00.049 0 0 0 0 \n 2025-01-12 09:00:00.005 \N 12 +1314 0 1 2025-01-12 10:00:00.048 0 0 0 0 \n 2025-01-12 10:00:00.005 \N 12 +1315 0 1 2025-01-12 11:00:00.046 0 0 0 0 \n 2025-01-12 11:00:00.005 \N 12 +1316 0 1 2025-01-12 12:00:00.055 0 0 0 0 \n 2025-01-12 12:00:00.006 \N 12 +1317 0 1 2025-01-12 13:00:00.059 0 0 0 0 \n 2025-01-12 13:00:00.007 \N 12 +1318 0 1 2025-01-12 14:00:00.052 0 0 0 0 \n 2025-01-12 14:00:00.004 \N 12 +1319 0 1 2025-01-12 15:00:00.048 0 0 0 0 \n 2025-01-12 15:00:00.004 \N 12 +1320 0 1 2025-01-12 16:00:00.059 0 0 0 0 \n 2025-01-12 16:00:00.005 \N 12 +1321 0 1 2025-01-12 17:00:00.052 0 0 0 0 \n 2025-01-12 17:00:00.006 \N 12 +1322 0 1 2025-01-12 18:00:00.041 0 0 0 0 \n 2025-01-12 18:00:00.005 \N 12 +1323 0 1 2025-01-12 19:00:00.057 0 0 0 0 \n 2025-01-12 19:00:00.005 \N 12 +1324 0 1 2025-01-12 20:00:00.047 0 0 0 0 \n 2025-01-12 20:00:00.005 \N 12 +1325 0 1 2025-01-12 21:00:00.054 0 0 0 0 \n 2025-01-12 21:00:00.005 \N 12 +1326 0 1 2025-01-12 22:00:00.094 0 0 0 0 \n 2025-01-12 22:00:00.006 \N 12 +1327 0 1 2025-01-12 23:00:00.049 0 0 0 0 \n 2025-01-12 23:00:00.005 \N 12 +1328 0 1 2025-01-12 23:59:59.075 0 0 0 0 \n 2025-01-12 23:59:59.004 \N -27 +1329 0 1 2025-01-12 23:59:59.08 0 0 0 0 \n 2025-01-12 23:59:59.048 \N -21 +1330 0 1 2025-01-13 00:00:00.028 0 0 0 0 \n 2025-01-13 00:00:00.005 \N 12 +1331 0 1 2025-01-13 01:00:00.049 0 0 0 0 \n 2025-01-13 01:00:00.004 \N 12 +1332 0 1 2025-01-13 02:00:00.059 0 0 0 0 \n 2025-01-13 02:00:00.005 \N 12 +1333 0 1 2025-01-13 03:00:00.053 0 0 0 0 \n 2025-01-13 03:00:00.005 \N 12 +1334 0 1 2025-01-13 04:00:00.072 0 0 0 0 \n 2025-01-13 04:00:00.005 \N 12 +1335 0 1 2025-01-13 05:00:00.075 0 0 0 0 \n 2025-01-13 05:00:00.005 \N 12 +1336 0 1 2025-01-13 06:00:00.056 0 0 0 0 \n 2025-01-13 06:00:00.006 \N 12 +1337 0 1 2025-01-13 07:00:00.053 0 0 0 0 \n 2025-01-13 07:00:00.004 \N 12 +1338 0 1 2025-01-13 08:00:00.076 0 0 0 0 \n 2025-01-13 08:00:00.005 \N 12 +1339 0 1 2025-01-13 09:00:00.058 0 0 0 0 \n 2025-01-13 09:00:00.004 \N 12 +1340 0 1 2025-01-13 10:00:00.051 0 0 0 0 \n 2025-01-13 10:00:00.005 \N 12 +1341 0 1 2025-01-13 11:00:00.052 0 0 0 0 \n 2025-01-13 11:00:00.005 \N 12 +1342 0 1 2025-01-13 12:00:00.059 0 0 0 0 \n 2025-01-13 12:00:00.005 \N 12 +1343 0 1 2025-01-13 13:00:00.052 0 0 0 0 \n 2025-01-13 13:00:00.004 \N 12 +1344 0 1 2025-01-13 14:00:00.051 0 0 0 0 \n 2025-01-13 14:00:00.005 \N 12 +1345 0 1 2025-01-13 15:00:00.052 0 0 0 0 \n 2025-01-13 15:00:00.006 \N 12 +1346 0 1 2025-01-13 16:00:00.048 0 0 0 0 \n 2025-01-13 16:00:00.005 \N 12 +1347 0 1 2025-01-13 17:00:00.052 0 0 0 0 \n 2025-01-13 17:00:00.005 \N 12 +1348 0 1 2025-01-13 18:00:00.054 0 0 0 0 \n 2025-01-13 18:00:00.005 \N 12 +1349 0 1 2025-01-13 19:00:00.056 0 0 0 0 \n 2025-01-13 19:00:00.006 \N 12 +1350 0 1 2025-01-13 20:00:00.045 0 0 0 0 \n 2025-01-13 20:00:00.005 \N 12 +1351 0 1 2025-01-13 21:00:00.05 0 0 0 0 \n 2025-01-13 21:00:00.005 \N 12 +1352 0 1 2025-01-13 22:00:00.074 0 0 0 0 \n 2025-01-13 22:00:00.024 \N 12 +1353 0 1 2025-01-13 23:00:00.05 0 0 0 0 \n 2025-01-13 23:00:00.005 \N 12 +1354 0 1 2025-01-13 23:59:59.088 0 0 0 0 \n 2025-01-13 23:59:59.005 \N -27 +1355 0 1 2025-01-14 00:00:00.024 0 0 0 0 \n 2025-01-14 00:00:00.004 \N 12 +1356 0 1 2025-01-14 01:00:00.054 0 0 0 0 \n 2025-01-14 01:00:00.004 \N 12 +1357 0 1 2025-01-14 02:00:00.051 0 0 0 0 \n 2025-01-14 02:00:00.004 \N 12 +1358 0 1 2025-01-14 03:00:00.049 0 0 0 0 \n 2025-01-14 03:00:00.004 \N 12 +1359 0 1 2025-01-14 04:00:00.045 0 0 0 0 \n 2025-01-14 04:00:00.004 \N 12 +1360 0 1 2025-01-14 05:00:00.048 0 0 0 0 \n 2025-01-14 05:00:00.005 \N 12 +1361 0 1 2025-01-14 06:00:00.054 0 0 0 0 \n 2025-01-14 06:00:00.005 \N 12 +1362 0 1 2025-01-14 07:00:00.045 0 0 0 0 \n 2025-01-14 07:00:00.004 \N 12 +1363 0 1 2025-01-14 08:00:00.055 0 0 0 0 \n 2025-01-14 08:00:00.004 \N 12 +1364 0 1 2025-01-14 09:00:00.046 0 0 0 0 \n 2025-01-14 09:00:00.004 \N 12 +1365 0 1 2025-01-14 10:00:00.065 0 0 0 0 \n 2025-01-14 10:00:00.006 \N 12 +1366 0 1 2025-01-14 11:00:00.055 0 0 0 0 \n 2025-01-14 11:00:00.005 \N 12 +1367 0 1 2025-01-14 12:00:00.052 0 0 0 0 \n 2025-01-14 12:00:00.005 \N 12 +1368 0 1 2025-01-14 13:00:00.055 0 0 0 0 \n 2025-01-14 13:00:00.004 \N 12 +1369 0 1 2025-01-14 14:00:00.055 0 0 0 0 \n 2025-01-14 14:00:00.006 \N 12 +1370 0 1 2025-01-14 15:00:00.051 0 0 0 0 \n 2025-01-14 15:00:00.004 \N 12 +1371 0 1 2025-01-14 16:00:00.054 0 0 0 0 \n 2025-01-14 16:00:00.005 \N 12 +1372 0 1 2025-01-14 17:00:00.052 0 0 0 0 \n 2025-01-14 17:00:00.005 \N 12 +1373 0 1 2025-01-14 18:00:00.052 0 0 0 0 \n 2025-01-14 18:00:00.004 \N 12 +1374 0 1 2025-01-14 19:00:00.063 0 0 0 0 \n 2025-01-14 19:00:00.005 \N 12 +1375 0 1 2025-01-14 20:00:00.059 0 0 0 0 \n 2025-01-14 20:00:00.005 \N 12 +1376 0 1 2025-01-14 21:00:00.044 0 0 0 0 \n 2025-01-14 21:00:00.003 \N 12 +1377 0 1 2025-01-14 22:00:00.053 0 0 0 0 \n 2025-01-14 22:00:00.004 \N 12 +1378 0 1 2025-01-14 23:00:00.048 0 0 0 0 \n 2025-01-14 23:00:00.004 \N 12 +1379 0 1 2025-01-14 23:59:59.059 0 0 0 0 \n 2025-01-14 23:59:59.004 \N -27 +1380 0 1 2025-01-15 00:00:00.029 0 0 0 0 \n 2025-01-15 00:00:00.004 \N 12 +1381 0 1 2025-01-15 01:00:00.049 0 0 0 0 \n 2025-01-15 01:00:00.005 \N 12 +1382 0 1 2025-01-15 02:00:00.049 0 0 0 0 \n 2025-01-15 02:00:00.004 \N 12 +1383 0 1 2025-01-15 03:00:00.05 0 0 0 0 \n 2025-01-15 03:00:00.005 \N 12 +1384 0 1 2025-01-15 04:00:00.046 0 0 0 0 \n 2025-01-15 04:00:00.003 \N 12 +1385 0 1 2025-01-15 05:00:00.057 0 0 0 0 \n 2025-01-15 05:00:00.004 \N 12 +1386 0 1 2025-01-15 06:00:00.057 0 0 0 0 \n 2025-01-15 06:00:00.004 \N 12 +1387 0 1 2025-01-15 07:00:00.063 0 0 0 0 \n 2025-01-15 07:00:00.005 \N 12 +1388 0 1 2025-01-15 08:00:00.056 0 0 0 0 \n 2025-01-15 08:00:00.005 \N 12 +1389 0 1 2025-01-15 09:00:00.054 0 0 0 0 \n 2025-01-15 09:00:00.006 \N 12 +1390 0 1 2025-01-15 10:00:00.046 0 0 0 0 \n 2025-01-15 10:00:00.004 \N 12 +1391 0 1 2025-01-15 11:00:00.057 0 0 0 0 \n 2025-01-15 11:00:00.005 \N 12 +1392 0 1 2025-01-15 12:00:00.053 0 0 0 0 \n 2025-01-15 12:00:00.005 \N 12 +1393 0 1 2025-01-15 13:00:00.048 0 0 0 0 \n 2025-01-15 13:00:00.004 \N 12 +1394 0 1 2025-01-15 14:00:00.059 0 0 0 0 \n 2025-01-15 14:00:00.005 \N 12 +1395 0 1 2025-01-15 15:00:00.046 0 0 0 0 \n 2025-01-15 15:00:00.004 \N 12 +1396 0 1 2025-01-15 16:00:00.043 0 0 0 0 \n 2025-01-15 16:00:00.005 \N 12 +1397 0 1 2025-01-15 17:00:00.056 0 0 0 0 \n 2025-01-15 17:00:00.004 \N 12 +1398 0 1 2025-01-15 18:00:00.055 0 0 0 0 \n 2025-01-15 18:00:00.004 \N 12 +1399 0 1 2025-01-15 19:00:00.053 0 0 0 0 \n 2025-01-15 19:00:00.004 \N 12 +1400 0 1 2025-01-15 20:00:00.054 0 0 0 0 \n 2025-01-15 20:00:00.004 \N 12 +1401 0 1 2025-01-15 21:00:00.064 0 0 0 0 \n 2025-01-15 21:00:00.005 \N 12 +1402 0 1 2025-01-15 22:00:00.053 0 0 0 0 \n 2025-01-15 22:00:00.005 \N 12 +1403 0 1 2025-01-15 23:00:00.068 0 0 0 0 \n 2025-01-15 23:00:00.006 \N 12 +1404 0 1 2025-01-15 23:59:59.06 0 0 0 0 \n 2025-01-15 23:59:59.004 \N -27 +1405 0 1 2025-01-16 00:00:00.025 0 0 0 0 \n 2025-01-16 00:00:00.004 \N 12 +1406 0 1 2025-01-16 01:00:00.061 0 0 0 0 \n 2025-01-16 01:00:00.005 \N 12 +1407 0 1 2025-01-16 02:00:00.052 0 0 0 0 \n 2025-01-16 02:00:00.004 \N 12 +1408 0 1 2025-01-16 03:00:00.048 0 0 0 0 \n 2025-01-16 03:00:00.005 \N 12 +1409 0 1 2025-01-16 04:00:00.043 0 0 0 0 \n 2025-01-16 04:00:00.005 \N 12 +1410 0 1 2025-01-16 05:00:00.046 0 0 0 0 \n 2025-01-16 05:00:00.004 \N 12 +1411 0 1 2025-01-16 06:00:00.075 0 0 0 0 \n 2025-01-16 06:00:00.005 \N 12 +1412 0 1 2025-01-16 07:00:00.049 0 0 0 0 \n 2025-01-16 07:00:00.005 \N 12 +1413 0 1 2025-01-16 08:00:00.053 0 0 0 0 \n 2025-01-16 08:00:00.004 \N 12 +1414 0 1 2025-01-16 09:00:00.07 0 0 0 0 \n 2025-01-16 09:00:00.005 \N 12 +1415 0 1 2025-01-16 10:00:00.084 0 0 0 0 \n 2025-01-16 10:00:00.003 \N 12 +1416 0 1 2025-01-16 11:00:00.069 0 0 0 0 \n 2025-01-16 11:00:00.005 \N 12 +1417 0 1 2025-01-16 12:00:00.049 0 0 0 0 \n 2025-01-16 12:00:00.004 \N 12 +1418 0 1 2025-01-16 13:00:00.047 0 0 0 0 \n 2025-01-16 13:00:00.004 \N 12 +1419 0 1 2025-01-16 14:00:00.046 0 0 0 0 \n 2025-01-16 14:00:00.004 \N 12 +1420 0 1 2025-01-16 15:00:00.046 0 0 0 0 \n 2025-01-16 15:00:00.003 \N 12 +1421 0 1 2025-01-16 16:00:00.049 0 0 0 0 \n 2025-01-16 16:00:00.004 \N 12 +1422 0 1 2025-01-16 17:00:00.062 0 0 0 0 \n 2025-01-16 17:00:00.004 \N 12 +1423 0 1 2025-01-16 18:00:00.055 0 0 0 0 \n 2025-01-16 18:00:00.004 \N 12 +1424 0 1 2025-01-16 19:00:00.048 0 0 0 0 \n 2025-01-16 19:00:00.004 \N 12 +1425 0 1 2025-01-16 20:00:00.053 0 0 0 0 \n 2025-01-16 20:00:00.004 \N 12 +1426 0 1 2025-01-16 21:00:00.041 0 0 0 0 \n 2025-01-16 21:00:00.004 \N 12 +1427 0 1 2025-01-16 22:00:00.049 0 0 0 0 \n 2025-01-16 22:00:00.004 \N 12 +1428 0 1 2025-01-16 23:00:00.06 0 0 0 0 \n 2025-01-16 23:00:00.004 \N 12 +1429 0 1 2025-01-16 23:59:59.06 0 0 0 0 \n 2025-01-16 23:59:59.004 \N -27 +1430 0 1 2025-01-17 00:00:00.021 0 0 0 0 \n 2025-01-17 00:00:00.004 \N 12 +1431 0 1 2025-01-17 01:00:00.048 0 0 0 0 \n 2025-01-17 01:00:00.005 \N 12 +1432 0 1 2025-01-17 02:00:00.05 0 0 0 0 \n 2025-01-17 02:00:00.004 \N 12 +1433 0 1 2025-01-17 03:00:00.047 0 0 0 0 \n 2025-01-17 03:00:00.004 \N 12 +1434 0 1 2025-01-17 04:00:00.05 0 0 0 0 \n 2025-01-17 04:00:00.004 \N 12 +1435 0 1 2025-01-17 05:00:00.053 0 0 0 0 \n 2025-01-17 05:00:00.004 \N 12 +1436 0 1 2025-01-17 06:00:00.048 0 0 0 0 \n 2025-01-17 06:00:00.003 \N 12 +1437 0 1 2025-01-17 07:00:00.05 0 0 0 0 \n 2025-01-17 07:00:00.004 \N 12 +1438 0 1 2025-01-17 08:00:00.047 0 0 0 0 \n 2025-01-17 08:00:00.005 \N 12 +1439 0 1 2025-01-17 09:00:00.053 0 0 0 0 \n 2025-01-17 09:00:00.004 \N 12 +1440 0 1 2025-01-17 10:00:00.049 0 0 0 0 \n 2025-01-17 10:00:00.005 \N 12 +1441 0 1 2025-01-17 11:00:00.046 0 0 0 0 \n 2025-01-17 11:00:00.004 \N 12 +1442 0 1 2025-01-17 12:00:00.047 0 0 0 0 \n 2025-01-17 12:00:00.004 \N 12 +1443 0 1 2025-01-17 13:00:00.053 0 0 0 0 \n 2025-01-17 13:00:00.004 \N 12 +1444 0 1 2025-01-17 14:00:00.049 0 0 0 0 \n 2025-01-17 14:00:00.004 \N 12 +1445 0 1 2025-01-17 15:00:00.047 0 0 0 0 \n 2025-01-17 15:00:00.004 \N 12 +1446 0 1 2025-01-17 16:00:00.049 0 0 0 0 \n 2025-01-17 16:00:00.005 \N 12 +1447 0 1 2025-01-17 17:00:00.045 0 0 0 0 \n 2025-01-17 17:00:00.004 \N 12 +1448 0 1 2025-01-17 18:00:00.047 0 0 0 0 \n 2025-01-17 18:00:00.004 \N 12 +1449 0 1 2025-01-17 19:00:00.05 0 0 0 0 \n 2025-01-17 19:00:00.004 \N 12 +1450 0 1 2025-01-17 20:00:00.048 0 0 0 0 \n 2025-01-17 20:00:00.004 \N 12 +1451 0 1 2025-01-17 21:00:00.054 0 0 0 0 \n 2025-01-17 21:00:00.004 \N 12 +1452 0 1 2025-01-17 22:00:00.048 0 0 0 0 \n 2025-01-17 22:00:00.004 \N 12 +1453 0 1 2025-01-17 23:00:00.048 0 0 0 0 \n 2025-01-17 23:00:00.004 \N 12 +1454 0 1 2025-01-17 23:59:59.063 0 0 0 0 \n 2025-01-17 23:59:59.004 \N -27 +1455 0 1 2025-01-18 00:00:00.029 0 0 0 0 \n 2025-01-18 00:00:00.005 \N 12 +1456 0 1 2025-01-18 01:00:00.061 0 0 0 0 \n 2025-01-18 01:00:00.004 \N 12 +1457 0 1 2025-01-18 02:00:00.047 0 0 0 0 \n 2025-01-18 02:00:00.004 \N 12 +1458 0 1 2025-01-18 03:00:00.055 0 0 0 0 \n 2025-01-18 03:00:00.006 \N 12 +1459 0 1 2025-01-18 04:00:00.053 0 0 0 0 \n 2025-01-18 04:00:00.004 \N 12 +1460 0 1 2025-01-18 05:00:00.06 0 0 0 0 \n 2025-01-18 05:00:00.004 \N 12 +1461 0 1 2025-01-18 06:00:00.056 0 0 0 0 \n 2025-01-18 06:00:00.004 \N 12 +1462 0 1 2025-01-18 07:00:00.054 0 0 0 0 \n 2025-01-18 07:00:00.004 \N 12 +1463 0 1 2025-01-18 08:00:00.051 0 0 0 0 \n 2025-01-18 08:00:00.004 \N 12 +1464 0 1 2025-01-18 09:00:00.051 0 0 0 0 \n 2025-01-18 09:00:00.004 \N 12 +1465 0 1 2025-01-18 10:00:00.058 0 0 0 0 \n 2025-01-18 10:00:00.005 \N 12 +1466 0 1 2025-01-18 11:00:00.046 0 0 0 0 \n 2025-01-18 11:00:00.005 \N 12 +1467 0 1 2025-01-18 12:00:00.058 0 0 0 0 \n 2025-01-18 12:00:00.004 \N 12 +1468 0 1 2025-01-18 13:00:00.063 0 0 0 0 \n 2025-01-18 13:00:00.004 \N 12 +1469 0 1 2025-01-18 14:00:00.043 0 0 0 0 \n 2025-01-18 14:00:00.004 \N 12 +1470 0 1 2025-01-18 15:00:00.051 0 0 0 0 \n 2025-01-18 15:00:00.004 \N 12 +1471 0 1 2025-01-18 16:00:00.056 0 0 0 0 \n 2025-01-18 16:00:00.004 \N 12 +1472 0 1 2025-01-18 17:00:00.049 0 0 0 0 \n 2025-01-18 17:00:00.004 \N 12 +1473 0 1 2025-01-18 18:00:00.044 0 0 0 0 \n 2025-01-18 18:00:00.003 \N 12 +1474 0 1 2025-01-18 19:00:00.053 0 0 0 0 \n 2025-01-18 19:00:00.005 \N 12 +1475 0 1 2025-01-18 20:00:00.051 0 0 0 0 \n 2025-01-18 20:00:00.004 \N 12 +1476 0 1 2025-01-18 21:00:00.047 0 0 0 0 \n 2025-01-18 21:00:00.004 \N 12 +1477 0 1 2025-01-18 22:00:00.058 0 0 0 0 \n 2025-01-18 22:00:00.004 \N 12 +1478 0 1 2025-01-18 23:00:00.051 0 0 0 0 \n 2025-01-18 23:00:00.004 \N 12 +1479 0 1 2025-01-18 23:59:59.272 0 0 0 0 \n 2025-01-18 23:59:59.004 \N -27 +1480 0 1 2025-01-19 00:00:00.019 0 0 0 0 \n 2025-01-19 00:00:00.003 \N 12 +1481 0 1 2025-01-19 01:00:00.044 0 0 0 0 \n 2025-01-19 01:00:00.004 \N 12 +1482 0 1 2025-01-19 02:00:00.049 0 0 0 0 \n 2025-01-19 02:00:00.005 \N 12 +1483 0 1 2025-01-19 03:00:00.048 0 0 0 0 \n 2025-01-19 03:00:00.004 \N 12 +1484 0 1 2025-01-19 04:00:00.046 0 0 0 0 \n 2025-01-19 04:00:00.004 \N 12 +1485 0 1 2025-01-19 05:00:00.046 0 0 0 0 \n 2025-01-19 05:00:00.004 \N 12 +1486 0 1 2025-01-19 06:00:00.046 0 0 0 0 \n 2025-01-19 06:00:00.004 \N 12 +1487 0 1 2025-01-19 07:00:00.058 0 0 0 0 \n 2025-01-19 07:00:00.004 \N 12 +1488 0 1 2025-01-19 08:00:00.046 0 0 0 0 \n 2025-01-19 08:00:00.004 \N 12 +1489 0 1 2025-01-19 09:00:00.045 0 0 0 0 \n 2025-01-19 09:00:00.004 \N 12 +1490 0 1 2025-01-19 10:00:00.051 0 0 0 0 \n 2025-01-19 10:00:00.004 \N 12 +1491 0 1 2025-01-19 11:00:00.05 0 0 0 0 \n 2025-01-19 11:00:00.004 \N 12 +1492 0 1 2025-01-19 12:00:00.052 0 0 0 0 \n 2025-01-19 12:00:00.004 \N 12 +1493 0 1 2025-01-19 13:00:00.201 0 0 0 0 \n 2025-01-19 13:00:00.005 \N 12 +1494 0 1 2025-01-19 14:00:00.053 0 0 0 0 \n 2025-01-19 14:00:00.004 \N 12 +1495 0 1 2025-01-19 15:00:00.047 0 0 0 0 \n 2025-01-19 15:00:00.005 \N 12 +1496 0 1 2025-01-19 16:00:00.047 0 0 0 0 \n 2025-01-19 16:00:00.004 \N 12 +1497 0 1 2025-01-19 17:00:00.043 0 0 0 0 \n 2025-01-19 17:00:00.003 \N 12 +1498 0 1 2025-01-19 18:00:00.051 0 0 0 0 \n 2025-01-19 18:00:00.004 \N 12 +1499 0 1 2025-01-19 19:00:00.045 0 0 0 0 \n 2025-01-19 19:00:00.002 \N 12 +1500 0 1 2025-01-19 20:00:00.049 0 0 0 0 \n 2025-01-19 20:00:00.002 \N 12 +1501 0 1 2025-01-19 21:00:00.056 0 0 0 0 \n 2025-01-19 21:00:00.004 \N 12 +1502 0 1 2025-01-19 22:00:00.047 0 0 0 0 \n 2025-01-19 22:00:00.004 \N 12 +1503 0 1 2025-01-19 23:00:00.058 0 0 0 0 \n 2025-01-19 23:00:00.005 \N 12 +1504 0 1 2025-01-19 23:59:59.104 0 0 0 0 \n 2025-01-19 23:59:59.02 \N -21 +1505 0 1 2025-01-19 23:59:59.129 0 0 0 0 \n 2025-01-19 23:59:59.003 \N -27 +1506 0 1 2025-01-20 00:00:00.025 0 0 0 0 \n 2025-01-20 00:00:00.002 \N 12 +1507 0 1 2025-01-20 01:00:00.054 0 0 0 0 \n 2025-01-20 01:00:00.005 \N 12 +1508 0 1 2025-01-20 02:00:00.051 0 0 0 0 \n 2025-01-20 02:00:00.004 \N 12 +1509 0 1 2025-01-20 03:00:00.053 0 0 0 0 \n 2025-01-20 03:00:00.005 \N 12 +1510 0 1 2025-01-20 04:00:00.051 0 0 0 0 \n 2025-01-20 04:00:00.004 \N 12 +1511 0 1 2025-01-20 05:00:00.054 0 0 0 0 \n 2025-01-20 05:00:00.004 \N 12 +1512 0 1 2025-01-20 06:00:00.042 0 0 0 0 \n 2025-01-20 06:00:00.004 \N 12 +1513 0 1 2025-01-20 07:00:00.046 0 0 0 0 \n 2025-01-20 07:00:00.003 \N 12 +1514 0 1 2025-01-20 08:00:00.048 0 0 0 0 \n 2025-01-20 08:00:00.004 \N 12 +1515 0 1 2025-01-20 09:00:00.045 0 0 0 0 \n 2025-01-20 09:00:00.004 \N 12 +1516 0 1 2025-01-20 10:00:00.052 0 0 0 0 \n 2025-01-20 10:00:00.004 \N 12 +1517 0 1 2025-01-20 11:00:00.053 0 0 0 0 \n 2025-01-20 11:00:00.004 \N 12 +1518 0 1 2025-01-20 12:00:00.056 0 0 0 0 \n 2025-01-20 12:00:00.004 \N 12 +1519 0 1 2025-01-20 13:00:00.051 0 0 0 0 \n 2025-01-20 13:00:00.004 \N 12 +1520 0 1 2025-01-20 14:00:00.05 0 0 0 0 \n 2025-01-20 14:00:00.004 \N 12 +1521 0 1 2025-01-20 15:00:00.047 0 0 0 0 \n 2025-01-20 15:00:00.004 \N 12 +1522 0 1 2025-01-20 16:00:00.048 0 0 0 0 \n 2025-01-20 16:00:00.004 \N 12 +1523 0 1 2025-01-20 17:00:00.047 0 0 0 0 \n 2025-01-20 17:00:00.004 \N 12 +1524 0 1 2025-01-20 18:00:00.052 0 0 0 0 \n 2025-01-20 18:00:00.003 \N 12 +1525 0 1 2025-01-20 19:00:00.05 0 0 0 0 \n 2025-01-20 19:00:00.004 \N 12 +1526 0 1 2025-01-20 20:00:00.055 0 0 0 0 \n 2025-01-20 20:00:00.004 \N 12 +1527 0 1 2025-01-20 21:00:00.046 0 0 0 0 \n 2025-01-20 21:00:00.005 \N 12 +1528 0 1 2025-01-20 22:00:00.049 0 0 0 0 \n 2025-01-20 22:00:00.003 \N 12 +1529 0 1 2025-01-20 23:00:00.047 0 0 0 0 \n 2025-01-20 23:00:00.004 \N 12 +1530 0 1 2025-01-20 23:59:59.073 0 0 0 0 \n 2025-01-20 23:59:59.004 \N -27 +1531 0 1 2025-01-21 00:00:00.028 0 0 0 0 \n 2025-01-21 00:00:00.007 \N 12 +1532 0 1 2025-01-21 01:00:00.05 0 0 0 0 \n 2025-01-21 01:00:00.005 \N 12 +1533 0 1 2025-01-21 02:00:00.046 0 0 0 0 \n 2025-01-21 02:00:00.004 \N 12 +1534 0 1 2025-01-21 03:00:00.053 0 0 0 0 \n 2025-01-21 03:00:00.004 \N 12 +1535 0 1 2025-01-21 04:00:00.047 0 0 0 0 \n 2025-01-21 04:00:00.003 \N 12 +1536 0 1 2025-01-21 05:00:00.047 0 0 0 0 \n 2025-01-21 05:00:00.004 \N 12 +1537 0 1 2025-01-21 06:00:00.052 0 0 0 0 \n 2025-01-21 06:00:00.004 \N 12 +1538 0 1 2025-01-21 07:00:00.05 0 0 0 0 \n 2025-01-21 07:00:00.004 \N 12 +1539 0 1 2025-01-21 08:00:00.054 0 0 0 0 \n 2025-01-21 08:00:00.005 \N 12 +1540 0 1 2025-01-21 09:00:00.051 0 0 0 0 \n 2025-01-21 09:00:00.004 \N 12 +1541 0 1 2025-01-21 10:00:00.054 0 0 0 0 \n 2025-01-21 10:00:00.004 \N 12 +1542 0 1 2025-01-21 11:00:00.046 0 0 0 0 \n 2025-01-21 11:00:00.004 \N 12 +1543 0 1 2025-01-21 12:00:00.042 0 0 0 0 \n 2025-01-21 12:00:00.004 \N 12 +1544 0 1 2025-01-21 13:00:00.068 0 0 0 0 \n 2025-01-21 13:00:00.007 \N 12 +1545 0 1 2025-01-21 14:00:00.048 0 0 0 0 \n 2025-01-21 14:00:00.004 \N 12 +1546 0 1 2025-01-21 15:00:00.049 0 0 0 0 \n 2025-01-21 15:00:00.005 \N 12 +1547 0 1 2025-01-21 16:00:00.046 0 0 0 0 \n 2025-01-21 16:00:00.003 \N 12 +1548 0 1 2025-01-21 17:00:00.045 0 0 0 0 \n 2025-01-21 17:00:00.004 \N 12 +1549 0 1 2025-01-21 18:00:00.054 0 0 0 0 \n 2025-01-21 18:00:00.004 \N 12 +1550 0 1 2025-01-21 19:00:00.046 0 0 0 0 \n 2025-01-21 19:00:00.004 \N 12 +1551 0 1 2025-01-21 20:00:00.056 0 0 0 0 \n 2025-01-21 20:00:00.004 \N 12 +1552 0 1 2025-01-21 21:00:00.052 0 0 0 0 \n 2025-01-21 21:00:00.005 \N 12 +1553 0 1 2025-01-21 22:00:00.048 0 0 0 0 \n 2025-01-21 22:00:00.004 \N 12 +1554 0 1 2025-01-21 23:00:00.045 0 0 0 0 \n 2025-01-21 23:00:00.004 \N 12 +1555 0 1 2025-01-21 23:59:59.063 0 0 0 0 \n 2025-01-21 23:59:59.003 \N -27 +1556 0 1 2025-01-22 00:00:00.04 0 0 0 0 \n 2025-01-22 00:00:00.003 \N 12 +1557 0 1 2025-01-22 01:00:00.047 0 0 0 0 \n 2025-01-22 01:00:00.003 \N 12 +1558 0 1 2025-01-22 02:00:00.048 0 0 0 0 \n 2025-01-22 02:00:00.005 \N 12 +1559 0 1 2025-01-22 03:00:00.052 0 0 0 0 \n 2025-01-22 03:00:00.004 \N 12 +1560 0 1 2025-01-22 04:00:00.052 0 0 0 0 \n 2025-01-22 04:00:00.004 \N 12 +1561 0 1 2025-01-22 05:00:00.053 0 0 0 0 \n 2025-01-22 05:00:00.006 \N 12 +1562 0 1 2025-01-22 06:00:00.053 0 0 0 0 \n 2025-01-22 06:00:00.004 \N 12 +1563 0 1 2025-01-22 07:00:00.054 0 0 0 0 \n 2025-01-22 07:00:00.004 \N 12 +1564 0 1 2025-01-22 08:00:00.054 0 0 0 0 \n 2025-01-22 08:00:00.003 \N 12 +1565 0 1 2025-01-22 09:00:00.046 0 0 0 0 \n 2025-01-22 09:00:00.004 \N 12 +1566 0 1 2025-01-22 10:00:00.046 0 0 0 0 \n 2025-01-22 10:00:00.004 \N 12 +1567 0 1 2025-01-22 11:00:00.048 0 0 0 0 \n 2025-01-22 11:00:00.004 \N 12 +1568 0 1 2025-01-22 12:00:00.054 0 0 0 0 \n 2025-01-22 12:00:00.004 \N 12 +1569 0 1 2025-01-22 13:00:00.058 0 0 0 0 \n 2025-01-22 13:00:00.006 \N 12 +1570 0 1 2025-01-22 14:00:00.053 0 0 0 0 \n 2025-01-22 14:00:00.004 \N 12 +1571 0 1 2025-01-22 15:00:00.054 0 0 0 0 \n 2025-01-22 15:00:00.004 \N 12 +1572 0 1 2025-01-22 16:00:00.079 0 0 0 0 \n 2025-01-22 16:00:00.004 \N 12 +1573 0 1 2025-01-22 17:00:00.048 0 0 0 0 \n 2025-01-22 17:00:00.004 \N 12 +1574 0 1 2025-01-22 18:00:00.051 0 0 0 0 \n 2025-01-22 18:00:00.004 \N 12 +1575 0 1 2025-01-22 19:00:00.052 0 0 0 0 \n 2025-01-22 19:00:00.004 \N 12 +1576 0 1 2025-01-22 20:00:00.044 0 0 0 0 \n 2025-01-22 20:00:00.004 \N 12 +1577 0 1 2025-01-22 21:00:00.054 0 0 0 0 \n 2025-01-22 21:00:00.004 \N 12 +1578 0 1 2025-01-22 22:00:00.053 0 0 0 0 \n 2025-01-22 22:00:00.004 \N 12 +1579 0 1 2025-01-22 23:00:00.049 0 0 0 0 \n 2025-01-22 23:00:00.004 \N 12 +1580 0 1 2025-01-22 23:59:59.057 0 0 0 0 \n 2025-01-22 23:59:59.004 \N -27 +1581 0 1 2025-01-23 00:00:00.024 0 0 0 0 \n 2025-01-23 00:00:00.003 \N 12 +1582 0 1 2025-01-23 01:00:00.045 0 0 0 0 \n 2025-01-23 01:00:00.004 \N 12 +1583 0 1 2025-01-23 02:00:00.046 0 0 0 0 \n 2025-01-23 02:00:00.003 \N 12 +1584 0 1 2025-01-23 03:00:00.046 0 0 0 0 \n 2025-01-23 03:00:00.004 \N 12 +1585 0 1 2025-01-23 04:00:00.05 0 0 0 0 \n 2025-01-23 04:00:00.004 \N 12 +1586 0 1 2025-01-23 05:00:00.056 0 0 0 0 \n 2025-01-23 05:00:00.004 \N 12 +1587 0 1 2025-01-23 06:00:00.047 0 0 0 0 \n 2025-01-23 06:00:00.005 \N 12 +1588 0 1 2025-01-23 07:00:00.048 0 0 0 0 \n 2025-01-23 07:00:00.004 \N 12 +1589 0 1 2025-01-23 08:00:00.053 0 0 0 0 \n 2025-01-23 08:00:00.004 \N 12 +1590 0 1 2025-01-23 09:00:00.047 0 0 0 0 \n 2025-01-23 09:00:00.004 \N 12 +1591 0 1 2025-01-23 10:00:00.092 0 0 0 0 \n 2025-01-23 10:00:00.022 \N 12 +1592 0 1 2025-01-23 11:00:00.063 0 0 0 0 \n 2025-01-23 11:00:00.009 \N 12 +1593 0 1 2025-01-23 12:00:00.066 0 0 0 0 \n 2025-01-23 12:00:00.009 \N 12 +1594 0 1 2025-01-23 13:00:00.064 0 0 0 0 \n 2025-01-23 13:00:00.008 \N 12 +1595 0 1 2025-01-23 14:00:00.075 0 0 0 0 \n 2025-01-23 14:00:00.01 \N 12 +1596 0 1 2025-01-23 15:00:00.057 0 0 0 0 \n 2025-01-23 15:00:00.01 \N 12 +1597 0 1 2025-01-23 16:00:00.054 0 0 0 0 \n 2025-01-23 16:00:00.009 \N 12 +1598 0 1 2025-01-23 17:00:00.06 0 0 0 0 \n 2025-01-23 17:00:00.008 \N 12 +1599 0 1 2025-01-23 18:00:00.077 0 0 0 0 \n 2025-01-23 18:00:00.009 \N 12 +1600 0 1 2025-01-23 19:00:00.053 0 0 0 0 \n 2025-01-23 19:00:00.005 \N 12 +1601 0 1 2025-01-23 20:00:00.06 0 0 0 0 \n 2025-01-23 20:00:00.007 \N 12 +1602 0 1 2025-01-23 21:00:00.062 0 0 0 0 \n 2025-01-23 21:00:00.007 \N 12 +1603 0 1 2025-01-23 22:00:00.057 0 0 0 0 \n 2025-01-23 22:00:00.008 \N 12 +1604 0 1 2025-01-23 23:00:00.06 0 0 0 0 \n 2025-01-23 23:00:00.006 \N 12 +1605 0 1 2025-01-23 23:59:59.075 0 0 0 0 \n 2025-01-23 23:59:59.01 \N -27 +1606 0 1 2025-01-24 00:00:00.041 0 0 0 0 \n 2025-01-24 00:00:00.008 \N 12 +1607 0 1 2025-01-24 01:00:00.059 0 0 0 0 \n 2025-01-24 01:00:00.005 \N 12 +1608 0 1 2025-01-24 02:00:00.062 0 0 0 0 \n 2025-01-24 02:00:00.008 \N 12 +1609 0 1 2025-01-24 03:00:00.057 0 0 0 0 \n 2025-01-24 03:00:00.007 \N 12 +1610 0 1 2025-01-24 04:00:00.048 0 0 0 0 \n 2025-01-24 04:00:00.007 \N 12 +1611 0 1 2025-01-24 05:00:00.053 0 0 0 0 \n 2025-01-24 05:00:00.006 \N 12 +1612 0 1 2025-01-24 06:00:00.063 0 0 0 0 \n 2025-01-24 06:00:00.007 \N 12 +1613 0 1 2025-01-24 07:00:00.066 0 0 0 0 \n 2025-01-24 07:00:00.007 \N 12 +1614 0 1 2025-01-24 08:00:00.022 0 0 0 0 \n 2025-01-24 08:00:00.006 \N 12 +1615 0 1 2025-01-24 09:00:00.052 0 0 0 0 \n 2025-01-24 09:00:00.006 \N 12 +1616 0 1 2025-01-24 10:00:00.054 0 0 0 0 \n 2025-01-24 10:00:00.008 \N 12 +1617 0 1 2025-01-24 11:00:00.053 0 0 0 0 \n 2025-01-24 11:00:00.007 \N 12 +1618 0 1 2025-01-24 12:00:00.064 0 0 0 0 \n 2025-01-24 12:00:00.007 \N 12 +1619 0 1 2025-01-24 13:00:00.056 0 0 0 0 \n 2025-01-24 13:00:00.007 \N 12 +1620 0 1 2025-01-24 14:00:00.06 0 0 0 0 \n 2025-01-24 14:00:00.006 \N 12 +1621 0 1 2025-01-24 15:00:00.064 0 0 0 0 \n 2025-01-24 15:00:00.007 \N 12 +1622 0 1 2025-01-24 16:00:00.054 0 0 0 0 \n 2025-01-24 16:00:00.006 \N 12 +1623 0 1 2025-01-24 17:00:00.068 0 0 0 0 \n 2025-01-24 17:00:00.006 \N 12 +1624 0 1 2025-01-24 18:00:00.05 0 0 0 0 \n 2025-01-24 18:00:00.006 \N 12 +1625 0 1 2025-01-24 19:00:00.065 0 0 0 0 \n 2025-01-24 19:00:00.006 \N 12 +1626 0 1 2025-01-24 20:00:00.048 0 0 0 0 \n 2025-01-24 20:00:00.006 \N 12 +1627 0 1 2025-01-24 21:00:00.053 0 0 0 0 \n 2025-01-24 21:00:00.007 \N 12 +1628 0 1 2025-01-24 22:00:00.053 0 0 0 0 \n 2025-01-24 22:00:00.007 \N 12 +1629 0 1 2025-01-24 23:00:00.055 0 0 0 0 \n 2025-01-24 23:00:00.006 \N 12 +1630 0 1 2025-01-24 23:59:59.064 0 0 0 0 \n 2025-01-24 23:59:59.006 \N -27 +1631 0 1 2025-01-25 00:00:00.03 0 0 0 0 \n 2025-01-25 00:00:00.005 \N 12 +1632 0 1 2025-01-25 01:00:00.057 0 0 0 0 \n 2025-01-25 01:00:00.006 \N 12 +1633 0 1 2025-01-25 02:00:00.047 0 0 0 0 \n 2025-01-25 02:00:00.004 \N 12 +1634 0 1 2025-01-25 03:00:00.056 0 0 0 0 \n 2025-01-25 03:00:00.006 \N 12 +1635 0 1 2025-01-25 04:00:00.048 0 0 0 0 \n 2025-01-25 04:00:00.006 \N 12 +1636 0 1 2025-01-25 05:00:00.06 0 0 0 0 \n 2025-01-25 05:00:00.006 \N 12 +1637 0 1 2025-01-25 06:00:00.04 0 0 0 0 \n 2025-01-25 06:00:00.004 \N 12 +1638 0 1 2025-01-25 07:00:00.053 0 0 0 0 \n 2025-01-25 07:00:00.006 \N 12 +1639 0 1 2025-01-25 08:00:00.051 0 0 0 0 \n 2025-01-25 08:00:00.006 \N 12 +1640 0 1 2025-01-25 09:00:00.052 0 0 0 0 \n 2025-01-25 09:00:00.006 \N 12 +1641 0 1 2025-01-25 10:00:00.055 0 0 0 0 \n 2025-01-25 10:00:00.006 \N 12 +1642 0 1 2025-01-25 11:00:00.052 0 0 0 0 \n 2025-01-25 11:00:00.007 \N 12 +1643 0 1 2025-01-25 12:00:00.061 0 0 0 0 \n 2025-01-25 12:00:00.006 \N 12 +1644 0 1 2025-01-25 13:00:00.048 0 0 0 0 \n 2025-01-25 13:00:00.006 \N 12 +1645 0 1 2025-01-25 14:00:00.044 0 0 0 0 \n 2025-01-25 14:00:00.006 \N 12 +1646 0 1 2025-01-25 15:00:00.055 0 0 0 0 \n 2025-01-25 15:00:00.006 \N 12 +1647 0 1 2025-01-25 16:00:00.056 0 0 0 0 \n 2025-01-25 16:00:00.007 \N 12 +1648 0 1 2025-01-25 17:00:00.054 0 0 0 0 \n 2025-01-25 17:00:00.005 \N 12 +1649 0 1 2025-01-25 18:00:00.053 0 0 0 0 \n 2025-01-25 18:00:00.006 \N 12 +1650 0 1 2025-01-25 19:00:00.052 0 0 0 0 \n 2025-01-25 19:00:00.006 \N 12 +1651 0 1 2025-01-25 20:00:00.051 0 0 0 0 \n 2025-01-25 20:00:00.006 \N 12 +1652 0 1 2025-01-25 21:00:00.048 0 0 0 0 \n 2025-01-25 21:00:00.006 \N 12 +1653 0 1 2025-01-25 22:00:00.058 0 0 0 0 \n 2025-01-25 22:00:00.007 \N 12 +1654 0 1 2025-01-25 23:00:00.054 0 0 0 0 \n 2025-01-25 23:00:00.005 \N 12 +1655 0 1 2025-01-25 23:59:59.063 0 0 0 0 \n 2025-01-25 23:59:59.005 \N -27 +1656 0 1 2025-01-26 00:00:00.029 0 0 0 0 \n 2025-01-26 00:00:00.005 \N 12 +1657 0 1 2025-01-26 01:00:00.051 0 0 0 0 \n 2025-01-26 01:00:00.006 \N 12 +1658 0 1 2025-01-26 02:00:00.055 0 0 0 0 \n 2025-01-26 02:00:00.006 \N 12 +1659 0 1 2025-01-26 03:00:00.06 0 0 0 0 \n 2025-01-26 03:00:00.006 \N 12 +1660 0 1 2025-01-26 04:00:00.05 0 0 0 0 \n 2025-01-26 04:00:00.006 \N 12 +1661 0 1 2025-01-26 05:00:00.053 0 0 0 0 \n 2025-01-26 05:00:00.006 \N 12 +1662 0 1 2025-01-26 06:00:00.052 0 0 0 0 \n 2025-01-26 06:00:00.006 \N 12 +1663 0 1 2025-01-26 07:00:00.065 0 0 0 0 \n 2025-01-26 07:00:00.008 \N 12 +1664 0 1 2025-01-26 08:00:00.059 0 0 0 0 \n 2025-01-26 08:00:00.006 \N 12 +1665 0 1 2025-01-26 09:00:00.054 0 0 0 0 \n 2025-01-26 09:00:00.005 \N 12 +1666 0 1 2025-01-26 10:00:00.053 0 0 0 0 \n 2025-01-26 10:00:00.005 \N 12 +1667 0 1 2025-01-26 11:00:00.061 0 0 0 0 \n 2025-01-26 11:00:00.005 \N 12 +1668 0 1 2025-01-26 12:00:00.05 0 0 0 0 \n 2025-01-26 12:00:00.006 \N 12 +1669 0 1 2025-01-26 13:00:00.049 0 0 0 0 \n 2025-01-26 13:00:00.003 \N 12 +1670 0 1 2025-01-26 14:00:00.059 0 0 0 0 \n 2025-01-26 14:00:00.006 \N 12 +1671 0 1 2025-01-26 15:00:00.058 0 0 0 0 \n 2025-01-26 15:00:00.005 \N 12 +1672 0 1 2025-01-26 16:00:00.057 0 0 0 0 \n 2025-01-26 16:00:00.006 \N 12 +1673 0 1 2025-01-26 17:00:00.063 0 0 0 0 \n 2025-01-26 17:00:00.01 \N 12 +1674 0 1 2025-01-26 18:00:00.052 0 0 0 0 \n 2025-01-26 18:00:00.005 \N 12 +1675 0 1 2025-01-26 19:00:00.047 0 0 0 0 \n 2025-01-26 19:00:00.003 \N 12 +1676 0 1 2025-01-26 20:00:00.044 0 0 0 0 \n 2025-01-26 20:00:00.003 \N 12 +1677 0 1 2025-01-26 21:00:00.061 0 0 0 0 \n 2025-01-26 21:00:00.007 \N 12 +1678 0 1 2025-01-26 22:00:00.053 0 0 0 0 \n 2025-01-26 22:00:00.006 \N 12 +1679 0 1 2025-01-26 23:00:00.053 0 0 0 0 \n 2025-01-26 23:00:00.005 \N 12 +1680 0 1 2025-01-26 23:59:59.072 0 0 0 0 \n 2025-01-26 23:59:59.006 \N -27 +1681 0 1 2025-01-26 23:59:59.075 0 0 0 0 \n 2025-01-26 23:59:59.025 \N -21 +1682 0 1 2025-01-27 00:00:00.035 0 0 0 0 \n 2025-01-27 00:00:00.003 \N 12 +1683 0 1 2025-01-27 01:00:00.066 0 0 0 0 \n 2025-01-27 01:00:00.007 \N 12 +1684 0 1 2025-01-27 02:00:00.059 0 0 0 0 \n 2025-01-27 02:00:00.006 \N 12 +1685 0 1 2025-01-27 03:00:00.053 0 0 0 0 \n 2025-01-27 03:00:00.007 \N 12 +1686 0 1 2025-01-27 04:00:00.056 0 0 0 0 \n 2025-01-27 04:00:00.006 \N 12 +1687 0 1 2025-01-27 05:00:00.055 0 0 0 0 \n 2025-01-27 05:00:00.006 \N 12 +1688 0 1 2025-01-27 06:00:00.053 0 0 0 0 \n 2025-01-27 06:00:00.005 \N 12 +1689 0 1 2025-01-27 07:00:00.049 0 0 0 0 \n 2025-01-27 07:00:00.005 \N 12 +1690 0 1 2025-01-27 08:00:00.048 0 0 0 0 \n 2025-01-27 08:00:00.006 \N 12 +1691 0 1 2025-01-27 09:00:00.068 0 0 0 0 \n 2025-01-27 09:00:00.006 \N 12 +1692 0 1 2025-01-27 10:00:00.058 0 0 0 0 \n 2025-01-27 10:00:00.005 \N 12 +1693 0 1 2025-01-27 11:00:00.051 0 0 0 0 \n 2025-01-27 11:00:00.005 \N 12 +1694 0 1 2025-01-27 12:00:00.06 0 0 0 0 \n 2025-01-27 12:00:00.006 \N 12 +1695 0 1 2025-01-27 13:00:00.051 0 0 0 0 \n 2025-01-27 13:00:00.006 \N 12 +1696 0 1 2025-01-27 14:00:00.056 0 0 0 0 \n 2025-01-27 14:00:00.005 \N 12 +1697 0 1 2025-01-27 15:00:00.052 0 0 0 0 \n 2025-01-27 15:00:00.005 \N 12 +1698 0 1 2025-01-27 16:00:00.049 0 0 0 0 \n 2025-01-27 16:00:00.006 \N 12 +1699 0 1 2025-01-27 17:00:00.049 0 0 0 0 \n 2025-01-27 17:00:00.006 \N 12 +1700 0 1 2025-01-27 18:00:00.051 0 0 0 0 \n 2025-01-27 18:00:00.005 \N 12 +1701 0 1 2025-01-27 19:00:00.05 0 0 0 0 \n 2025-01-27 19:00:00.005 \N 12 +1702 0 1 2025-01-27 20:00:00.05 0 0 0 0 \n 2025-01-27 20:00:00.006 \N 12 +1703 0 1 2025-01-27 21:00:00.06 0 0 0 0 \n 2025-01-27 21:00:00.006 \N 12 +1704 0 1 2025-01-27 22:00:00.052 0 0 0 0 \n 2025-01-27 22:00:00.006 \N 12 +1705 0 1 2025-01-27 23:00:00.054 0 0 0 0 \n 2025-01-27 23:00:00.005 \N 12 +1706 0 1 2025-01-27 23:59:59.06 0 0 0 0 \n 2025-01-27 23:59:59.005 \N -27 +1707 0 1 2025-01-28 00:00:00.02 0 0 0 0 \n 2025-01-28 00:00:00.003 \N 12 +1708 0 1 2025-01-28 01:00:00.049 0 0 0 0 \n 2025-01-28 01:00:00.006 \N 12 +1709 0 1 2025-01-28 02:00:00.054 0 0 0 0 \n 2025-01-28 02:00:00.006 \N 12 +1710 0 1 2025-01-28 03:00:00.046 0 0 0 0 \n 2025-01-28 03:00:00.005 \N 12 +1711 0 1 2025-01-28 04:00:00.061 0 0 0 0 \n 2025-01-28 04:00:00.006 \N 12 +1712 0 1 2025-01-28 05:00:00.048 0 0 0 0 \n 2025-01-28 05:00:00.005 \N 12 +1713 0 1 2025-01-28 06:00:00.053 0 0 0 0 \n 2025-01-28 06:00:00.004 \N 12 +1714 0 1 2025-01-28 07:00:00.048 0 0 0 0 \n 2025-01-28 07:00:00.005 \N 12 +1715 0 1 2025-01-28 08:00:00.053 0 0 0 0 \n 2025-01-28 08:00:00.006 \N 12 +1716 0 1 2025-01-28 09:00:00.046 0 0 0 0 \n 2025-01-28 09:00:00.005 \N 12 +1717 0 1 2025-01-28 10:00:00.049 0 0 0 0 \n 2025-01-28 10:00:00.006 \N 12 +1718 0 1 2025-01-28 11:00:00.032 0 0 0 0 \n 2025-01-28 11:00:00.006 \N 12 +1719 0 1 2025-01-28 12:00:00.044 0 0 0 0 \n 2025-01-28 12:00:00.006 \N 12 +1720 0 1 2025-01-28 13:00:00.06 0 0 0 0 \n 2025-01-28 13:00:00.004 \N 12 +1721 0 1 2025-01-28 14:00:00.052 0 0 0 0 \n 2025-01-28 14:00:00.005 \N 12 +1722 0 1 2025-01-28 15:00:00.059 0 0 0 0 \n 2025-01-28 15:00:00.006 \N 12 +1723 0 1 2025-01-28 16:00:00.045 0 0 0 0 \n 2025-01-28 16:00:00.004 \N 12 +1724 0 1 2025-01-28 17:00:00.053 0 0 0 0 \n 2025-01-28 17:00:00.006 \N 12 +1725 0 1 2025-01-28 18:00:00.056 0 0 0 0 \n 2025-01-28 18:00:00.006 \N 12 +1726 0 1 2025-01-28 19:00:00.042 0 0 0 0 \n 2025-01-28 19:00:00.006 \N 12 +1727 0 1 2025-01-28 20:00:00.06 0 0 0 0 \n 2025-01-28 20:00:00.006 \N 12 +1728 0 1 2025-01-28 21:00:00.053 0 0 0 0 \n 2025-01-28 21:00:00.005 \N 12 +1729 0 1 2025-01-28 22:00:00.053 0 0 0 0 \n 2025-01-28 22:00:00.007 \N 12 +1730 0 1 2025-01-28 23:00:00.053 0 0 0 0 \n 2025-01-28 23:00:00.004 \N 12 +1731 0 1 2025-01-28 23:59:59.058 0 0 0 0 \n 2025-01-28 23:59:59.005 \N -27 +1732 0 1 2025-01-29 00:00:00.03 0 0 0 0 \n 2025-01-29 00:00:00.007 \N 12 +1733 0 1 2025-01-29 01:00:00.05 0 0 0 0 \n 2025-01-29 01:00:00.005 \N 12 +1734 0 1 2025-01-29 02:00:00.051 0 0 0 0 \n 2025-01-29 02:00:00.005 \N 12 +1735 0 1 2025-01-29 03:00:00.05 0 0 0 0 \n 2025-01-29 03:00:00.006 \N 12 +1736 0 1 2025-01-29 04:00:00.055 0 0 0 0 \n 2025-01-29 04:00:00.006 \N 12 +1737 0 1 2025-01-29 05:00:00.062 0 0 0 0 \n 2025-01-29 05:00:00.007 \N 12 +1738 0 1 2025-01-29 06:00:00.047 0 0 0 0 \n 2025-01-29 06:00:00.005 \N 12 +\. + + +-- +-- Data for Name: medina_access; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.medina_access (id, version, disabled, acces_user_id, end_date, start_date, subscription_id, uuid, creator, updater, created, updated, cf_values, cf_values_accum) FROM stdin; +1 1 0 268069223012541 \N 2024-11-27 00:00:00 1 cc74fc4d-7a11-419d-8698-28824398cb8e development@simfony.com development@simfony.com 2024-11-27 09:12:39.551 2024-11-27 09:13:21.454 \N \N +\. + + +-- +-- Data for Name: meveo_and_composite_filter_condition; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.meveo_and_composite_filter_condition (id, version) FROM stdin; +\. + + +-- +-- Data for Name: meveo_filter; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.meveo_filter (id, version, disabled, created, updated, code, description, creator, updater, filter_condition_id, order_condition_id, primary_selector_id, input_xml, shared, uuid, cf_values, cf_values_accum) FROM stdin; +\. + + +-- +-- Data for Name: meveo_filter_condition; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.meveo_filter_condition (id, version, composite_and_filter_condition_id, composite_or_filter_condition_id, filter_condition_type) FROM stdin; +\. + + +-- +-- Data for Name: meveo_filter_oc_field_names; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.meveo_filter_oc_field_names (field_name, order_condition_id) FROM stdin; +\. + + +-- +-- Data for Name: meveo_filter_order_condition; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.meveo_filter_order_condition (id, version, ascending) FROM stdin; +\. + + +-- +-- Data for Name: meveo_filter_selector; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.meveo_filter_selector (id, version, target_entity, alias, filter_id) FROM stdin; +\. + + +-- +-- Data for Name: meveo_filter_selector_display_fields; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.meveo_filter_selector_display_fields (filter_selector_id, display_field) FROM stdin; +\. + + +-- +-- Data for Name: meveo_filter_selector_export_fields; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.meveo_filter_selector_export_fields (filter_selector_id, export_field) FROM stdin; +\. + + +-- +-- Data for Name: meveo_filter_selector_ignore_fields; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.meveo_filter_selector_ignore_fields (filter_selector_id, ignored_field) FROM stdin; +\. + + +-- +-- Data for Name: meveo_job_instance; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.meveo_job_instance (id, version, disabled, created, updated, code, description, job_category, job_template, parametres, creator, updater, timerentity_id, following_job_id, uuid, run_on_nodes, single_node, cf_values, cf_values_accum, exclude_inv_without_amount, verbose_report) FROM stdin; +-16 6 0 2024-01-26 14:02:20.625557 2024-01-26 14:02:20.625557 PaymentCard_Job \N PAYMENT PaymentJob \N opencell.admin opencell.admin \N \N 2c72550b-4e79-4dab-a8bd-df8499abd25b \N 1 {"PaymentJob_creditOrDebit":[{"string":"Credit"}],"waitingMillis":[{"long":0}],"PaymentJob_matchingAO":[{"string":"YES"}],"PaymentJob_cardOrDD":[{"string":"CARD"}],"PaymentJob_createAO":[{"string":"YES"}],"nbRuns":[{"long":1}],"PaymentJob_AOorCA":[{"string":"CA"}]} \N 0 1 +-17 3 0 2024-01-26 14:02:20.625557 2024-01-26 14:02:20.625557 RefundCard_Job \N PAYMENT PaymentJob \N opencell.admin opencell.admin \N \N a4bb9554-85f3-4c0a-8f62-438fec7bdac2 \N 1 {"PaymentJob_creditOrDebit":[{"string":"Debit"}],"waitingMillis":[{"long":0}],"PaymentJob_matchingAO":[{"string":"YES"}],"PaymentJob_cardOrDD":[{"string":"CARD"}],"PaymentJob_createAO":[{"string":"YES"}],"nbRuns":[{"long":1}],"PaymentJob_AOorCA":[{"string":"CA"}]} \N 0 1 +-1 0 0 2015-03-19 00:04:19.913 \N Rerate_Job \N RATING ReRatingJob \N OPENCELL.ADMIN \N \N \N Rerate_Job \N 1 \N \N 0 1 +-2 0 0 2015-03-19 00:04:19.913 \N Cust_Job \N IMPORT_HIERARCHY ImportCustomersJob \N OPENCELL.ADMIN \N \N \N Cust_Job \N 1 \N \N 0 1 +-3 0 0 2015-03-19 00:04:19.913 \N M_Job \N MEDIATION MediationJob \N OPENCELL.ADMIN \N \N \N M_Job \N 1 \N \N 0 1 +-4 0 0 2015-03-19 00:04:19.913 \N U_Job \N RATING UsageRatingJob \N OPENCELL.ADMIN \N \N \N U_Job \N 1 \N \N 0 1 +-5 0 0 2015-03-19 00:04:19.913 \N RR_Job \N RATING RecurringRatingJob \N OPENCELL.ADMIN \N \N \N RR_Job \N 1 \N \N 0 1 +-6 0 0 2015-03-19 00:04:19.913 \N RT_Job \N INVOICING RatedTransactionsJob \N OPENCELL.ADMIN \N \N \N RT_Job \N 1 \N \N 0 1 +-7 0 0 2015-03-19 00:04:19.913 \N XML_Job \N INVOICING XMLInvoiceGenerationJob \N OPENCELL.ADMIN \N \N \N XML_Job \N 1 \N \N 0 1 +-8 0 0 2015-03-19 00:04:19.913 \N PDF_Job \N INVOICING PDFInvoiceGenerationJob \N OPENCELL.ADMIN \N \N \N PDF_Job \N 1 \N \N 0 1 +-9 0 0 2015-03-19 00:04:19.913 \N Acco_Job \N IMPORT_HIERARCHY ImportAccountsJob \N OPENCELL.ADMIN \N \N \N Acco_Job \N 1 \N \N 0 1 +-10 0 0 2015-03-19 00:04:19.913 \N Subs_Job \N IMPORT_HIERARCHY ImportSubscriptionsJob \N OPENCELL.ADMIN \N \N \N Subs_Job \N 1 \N \N 0 1 +-11 0 0 2015-03-19 00:04:19.913 \N Inv_Job \N INVOICING InvoicingJob \N OPENCELL.ADMIN \N \N \N Inv_Job \N 1 \N \N 0 1 +-12 0 0 2016-09-14 00:00:00 \N DWH_Job_MRR \N DWH DWHQueryJob MRR OPENCELL.ADMIN \N \N \N DWH_Job_MRR \N 1 \N \N 0 1 +-13 0 0 2016-09-14 00:00:00 \N DWH_Job_CHURN \N DWH DWHQueryJob CHURN OPENCELL.ADMIN \N \N \N DWH_Job_CHURN \N 1 \N \N 0 1 +-14 0 0 2017-06-19 00:00:00 \N AO_Job \N ACCOUNT_RECEIVABLES AccountOperationsGenerationJob \N OPENCELL.ADMIN \N \N \N ACC_REC_Job \N 1 \N \N 0 1 +-15 0 0 2017-07-29 00:00:00 \N Sub_Status_Job \N UTILS SubscriptionStatusJob \N OPENCELL.ADMIN \N \N \N Sub_Status_Job \N 1 \N \N 0 1 +-18 0 0 2019-01-10 00:00:00 \N SendInvoice_Job \N INVOICING SendInvoiceJob \N OPENCELL.ADMIN \N \N \N JOB_SendInvoiceJob \N 1 \N \N 0 1 +-19 0 0 2015-03-19 00:04:19.913 \N Custom_table_data_import_Job \N UTILS CustomTableImportJob \N OPENCELL.ADMIN \N \N \N Custom_table_data_import_Job \N 1 \N \N 0 1 +-26 0 0 2024-01-26 14:03:25.745507 2024-01-26 14:03:25.745507 DeleteCustomersScript_JOB DeleteCustomersScript_JOB MEDIATION FlatFileProcessingJob \N opencell.admin opencell.admin \N \N DeleteCustomersScript_JOB \N 1 {"FlatFileProcessingJob_mappingConf":[{"string":"\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n "}]\n\t\t\t\t\t\t,"FlatFileProcessingJob_recordVariableName":[{"string":"RECORD"}]\n\t\t\t\t\t\t,"FlatFileProcessingJob_errorAction":[{"string":"CONTINUE"}]\n\t\t\t\t\t\t,"FlatFileProcessingJob_fileNameExtension":[{"string":"csv"}]\n\t\t\t\t\t\t,"FlatFileProcessingJob_scriptsFlow":[{"string":"org.meveo.service.script.DeleteCustomersScript"}]\n\t\t\t\t\t\t,"FlatFileProcessingJob_inputDir":[{"string":"/batch/customer/delete"}]} {"FlatFileProcessingJob_mappingConf":[{"string":"\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n "}]\n\t\t\t\t\t\t,"FlatFileProcessingJob_recordVariableName":[{"string":"RECORD"}]\n\t\t\t\t\t\t,"FlatFileProcessingJob_errorAction":[{"string":"CONTINUE"}]\n\t\t\t\t\t\t,"FlatFileProcessingJob_fileNameExtension":[{"string":"csv"}]\n\t\t\t\t\t\t,"FlatFileProcessingJob_scriptsFlow":[{"string":"org.meveo.service.script.DeleteCustomersScript"}]\n\t\t\t\t\t\t,"FlatFileProcessingJob_inputDir":[{"string":"/batch/customer/delete"}]} 0 1 +-21 0 0 2019-02-25 00:00:00 \N BillingRunJob \N INVOICING BillingRunJob \N OPENCELL.ADMIN \N -2 \N JOB_BillingRunJob \N 1 \N \N 0 1 +-22 0 0 2019-06-25 00:00:00 \N ValidateBR_Job Validates *all* Billing Runs MEDIATION ScriptingJob \N opencell.admin \N \N -11 ValidateBR_Job \N 1 {"ScriptingJob_script":[{"entity":{"classname":"org.meveo.model.scripts.ScriptInstance","code":"org.meveo.service.script.ValidateBRScript"}}]} \N 0 1 +-25 0 0 2019-07-01 00:00:00 \N ImportMediationEntityJob Import open EDR, WO, RTx IMPORT_HIERARCHY ImportMediationEntityJob \N opencell.admin \N \N \N ImportMediationEntityJob \N 1 \N \N 0 1 +-27 0 0 2019-07-01 00:00:00 \N UpdateUnpaidInvoiceStatusJob Update Status of Unpaid Invoices INVOICING UpdateUnpaidInvoiceStatusJob \N opencell.admin \N -3 \N UpdateUnpaidInvoiceStatusJob \N 1 \N \N 0 1 +-23 0 0 2019-07-01 00:00:00 \N ExportMediationEntityJob Export open EDR, WO, RTx IMPORT_HIERARCHY ExportMediationEntityJob \N opencell.admin \N \N \N ExportMediationEntityJob \N 1 { "ExportMediationEntityJob_rtStatusCf": [ { "listString": [ "BILLED", "CANCELED", "OPEN", "REJECTED", "RERATED" ] } ], "ExportMediationEntityJob_maxResult": [ { "long": 1000 } ], "ExportMediationEntityJob_edrStatusCf": [ { "listString": [ "AGGREGATED", "MEDIATING", "OPEN", "RATED", "REJECTED" ] } ], "ExportMediationEntityJob_woStatusCf": [ { "listString": [ "CANCELED", "OPEN", "RERATED", "RESERVED", "SCHEDULED", "TO_RERATE", "TREATED" ] } ], "ExportMediationEntityJob_firstTransactionDate": [ { "date": "2017-12-01T00:00:00Z" } ] } \N 0 1 +-24 0 0 2019-07-01 00:00:00 \N PurgeMediationDataJob Purge not open EDR, WO, RTx UTILS PurgeMediationDataJob \N opencell.admin \N \N \N PurgeMediationDataJob \N 1 {"PurgeMediationDataJob_edrStatusCf":[ { "listString":[ "AGGREGATED", "MEDIATING", "OPEN", "RATED", "REJECTED" ] } ], "PurgeMediationDataJob_firstTransactionDate":[ { "date":"2017-12-01T00:00:00Z" } ], "PurgeMediationDataJob_woStatusCf":[ { "listString":[ "CANCELED", "OPEN", "RERATED", "RESERVED", "SCHEDULED", "TO_RERATE", "TREATED" ] } ], "PurgeMediationDataJob_rtStatusCf":[ { "listString":[ "BILLED", "CANCELED", "OPEN", "REJECTED", "RERATED" ] } ] } \N 0 1 +-28 0 0 2019-02-18 00:00:00 \N PurgeMediationDataJobV2 Purge not open EDR, WO, RTx MEDIATION PurgeMediationDataJobV2 \N opencell.admin \N \N \N PurgeMediationDataJobV2 \N 1 {"PurgeMediationDataJobV2_firstTransactionDate":[{"date":"2017-01-01T00:00:00Z"}]} \N 0 1 +12 4 0 2024-01-31 10:24:18.33 \N WALLET_RESERVATION_JOB WALLET_RESERVATION_JOB WALLET WalletReservationJob \N public.superadmin \N 2 \N f811dc89-f733-45b0-b544-68062a963fd3 \N 1 {"waitingMillis":[{"long":0}],"nbRuns":[{"long":-1}]} \N 0 1 +13 4 0 2024-01-31 10:36:11.528 \N RESET_WALLET_JOB \N UTILS NotificationJob \N public.superadmin \N \N \N 69f15b19-fe16-4b94-b923-ffd6073b8cc4 \N 1 {"notification":[{"entity":{"classname":"org.meveo.model.notification.WebHook","code":"WALLET_RESET"}}],"waitingMillis":[{"long":0}],"numberOfRetry":[{"long":0}],"retryInterval":[{"long":5}],"nbRuns":[{"long":-1}]} \N 0 1 +\. + + +-- +-- Data for Name: meveo_metrics_config; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.meveo_metrics_config (id, code, description, full_path, method, metrics_type, metrics_unit, version, updated, created, creator, updater) FROM stdin; +\. + + +-- +-- Data for Name: meveo_module; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.meveo_module (id, version, disabled, created, updated, creator, updater, code, description, module_license, logo_picture, script_instance_id, installed, module_source) FROM stdin; +-1 0 0 2024-01-26 14:03:24.239422 \N applicationInitializer \N AddAccessModule AddAccessModule GPL \N -20 0 \n\t\t\t\t\n\t\t\t\t \n\t\t\t\t \n\t\t\t\t \n\t\t\t\t org.meveo.model.billing.Subscription\n\t\t\t\t CREATED\n\t\t\t\t \n\t\t\t\t org.meveo.service.script.selfcare.CreateAccess\n\t\t\t\t \n\t\t\t\t \n\t\t\t\t subscription\n\t\t\t\t #{event}\n\t\t\t\t \n\t\t\t\t \n\t\t\t\t 0\n\t\t\t\t \n\t\t\t\t \n\t\t\t\t\n\t \t +-2 0 0 2024-01-26 14:03:24.239422 \N applicationInitializer \N Client Individual customer GPL \N -21 0 \n\t\t\t\t\n\t\t\t\t \n\t\t\t\t \n\t\t\t\t \n\t\t\t\t org.meveo.model.admin.User\n\t\t\t\t CREATED\n\t\t\t\t \n\t\t\t\t 0\n\t\t\t\t bot@opencellsoft.com\n\t\t\t\t #{event.email}\n\t\t\t\t Account creation confirmation\n\t\t\t\t Hello,\n\t\t\t\t Your login has been created:\n\t\t\t\t user name : #{event.userName}\n\t\t\t\t access url : http://opencell_url/frontend/DEMO/cc/index.html\n\t\t\t\t\t\t\t\t\n\t\t\t\t \n\t\t\t\t \n\t\t\t\t org.meveo.model.notification.InboundRequest\n\t\t\t\t INBOUND_REQ\n\t\t\t\t #{event.pathInfo.startsWith("/DEMO/registration")}\n\t\t\t\t org.meveo.service.script.selfcare.RegisterHierarchy\n\t\t\t\t \n\t\t\t\t \n\t\t\t\t body\n\t\t\t\t #{event.getBody()}\n\t\t\t\t \n\t\t\t\t \n\t\t\t\t 0\n\t\t\t\t \n\t\t\t\t \n\t\t\t\t \n\t\t\t\t \n\t\t\t\t C_UA\n\t\t\t\t\n\t \t +\. + + +-- +-- Data for Name: meveo_module_item; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.meveo_module_item (id, version, module_id, applies_to, item_type, item_code, valid_from, valid_to) FROM stdin; +\. + + +-- +-- Data for Name: meveo_native_filter_condition; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.meveo_native_filter_condition (id, version, el, jpql) FROM stdin; +\. + + +-- +-- Data for Name: meveo_or_composite_filter_condition; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.meveo_or_composite_filter_condition (id, version) FROM stdin; +\. + + +-- +-- Data for Name: meveo_primitive_filter_condition; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.meveo_primitive_filter_condition (id, version, field_name, operator, operand) FROM stdin; +\. + + +-- +-- Data for Name: meveo_script_instance; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.meveo_script_instance (id, version, disabled, created, updated, code, description, script, script_instance_cat_id, creator, updater, src_type, is_error, reuse) FROM stdin; +-10 0 0 2024-01-26 14:02:20.021235 \N org.meveo.service.script.demo.CustomGatewayPaymentScript CustomGatewayPaymentScript \n package org.meveo.service.script.demo;\n\nimport java.io.StringReader;\nimport java.util.Map;\n\nimport javax.xml.xpath.XPath;\nimport javax.xml.xpath.XPathExpressionException;\nimport javax.xml.xpath.XPathFactory;\n\nimport org.meveo.admin.exception.BusinessException;\nimport org.meveo.model.payments.CardPaymentMethod;\nimport org.meveo.model.payments.PaymentStatusEnum;\nimport org.meveo.service.script.payment.PaymentScript;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\nimport org.xml.sax.InputSource;\n\n/**\n * \n * @author anasseh\n *\n */\n\npublic class CustomGatewayPaymentScript extends PaymentScript{\n\n private static final Logger log = LoggerFactory.getLogger(CustomGatewayPaymentScript.class);\n\n @Override\n public void createCardToken(Map methodContext) throws BusinessException { \n methodContext.put(PaymentScript.RESULT_TOKEN, "7ced0000-3ab2-000d-6a50-08d4b8a6"+(int )(Math.random() * 1000 + 1));\n }\n\n @Override\n public void doPaymentToken(Map methodContext) throws BusinessException {\n doIt(methodContext, "PAL");\n } \n \n @Override\n public void doRefundToken(Map methodContext) throws BusinessException {\n doIt(methodContext, "RFD");\n }\n \n \n \n private void doIt(Map methodContext,String operationType) throws BusinessException {\n try{\n log.debug("EXECUTE methodContext {} ", methodContext);\n Long amountCts = (Long)methodContext.get(PaymentScript.CONTEXT_AMOUNT_CTS);\n if(amountCts == null){\n throw new BusinessException("amountCts is null");\n }\n CardPaymentMethod paymentToken = (CardPaymentMethod)methodContext.get(PaymentScript.CONTEXT_TOKEN);\n if(paymentToken == null){\n throw new BusinessException("paymentMethod is null");\n }\n\n String body = "{";\n body += " \\"PSPID\\" : \\"PSPID\\" ,";\n body += " \\"USERID\\" : \\"USERID\\" ,";\n body += " \\"PSWD\\" : \\"PSWD\\" ,";\n body += " \\"REFKIND\\" : \\"PSPID\\" ,";\n body += " \\"REFID\\" : \\"PSPID\\" ,";\n body += " \\"OPERATION\\" : \\""+operationType +"\\" ,";\n body += " \\"AMOUNT\\" : \\""+amountCts.longValue()+"\\" ,";\n body += " \\"CURRENCY\\" : \\""+paymentToken.getCustomerAccount().getTradingCurrency().getCurrencyCode()+"\\" ,";\n body += " \\"TRANSACTIONID\\" : \\""+paymentToken.getTokenId()+"\\" ,";\n body += " \\"SHASIGN\\" : \\"SHASIGN\\" ,";\n body += " }";\n log.debug("request body {} ", body);\n/* invoke here the real webService. \n \n*/\n String paymentResponse = ""; \n paymentResponse += "92";\n paymentResponse += ""+((int )(Math.random() * 100000 + 1))+""; \n paymentResponse += "92";\n paymentResponse += "clientSide"; \n paymentResponse += "VISA";\n paymentResponse += "bankRef"; \n paymentResponse += "";\n methodContext.put(PaymentScript.RESULT_PAYMENT_STATUS, PaymentStatusEnum.PENDING);\n methodContext.put(PaymentScript.RESULT_PAYMENT_ID, getValue(paymentResponse,"/root/PAYID"));\n methodContext.put(PaymentScript.RESULT_TRANSACTION_ID, getValue(paymentResponse,"/root/TRANSACTIONID"));\n methodContext.put(PaymentScript.RESULT_CODE_CLIENT_SIDE, getValue(paymentResponse,"/root/CRMTOKEN"));\n methodContext.put(PaymentScript.RESULT_PAYMENT_BRAND, getValue(paymentResponse,"/root/BRAND"));\n methodContext.put(PaymentScript.RESULT_BANK_REFERENCE, getValue(paymentResponse,"/root/ACCEPTENCE")); \n } catch (Exception e) {\n e.printStackTrace();\n throw new BusinessException(e.getMessage());\n }\n } \n\n private String getValue(String sourceXML,String expression) throws XPathExpressionException{ \n InputSource iSource = new InputSource(new StringReader(sourceXML));\n XPathFactory xpathFactory = XPathFactory.newInstance();\n XPath xpath = xpathFactory.newXPath(); \n return xpath.evaluate(expression, iSource); \n }\n}\n \N \N \N JAVA 0 0 +-11 0 0 2024-01-26 14:02:20.021235 \N org.meveo.service.script.demo.PaymentCallBackScript PaymentCallBackScript \n package org.meveo.service.script.smoove;\n\nimport java.util.Map;\n\nimport org.meveo.admin.exception.BusinessException;\nimport org.meveo.model.payments.PaymentStatusEnum;\nimport org.meveo.service.payments.impl.PaymentService;\nimport org.meveo.service.script.Script;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\n\n/**\n * \n * @author anasseh\n *\n * Script executed after a payment callBack (inbound request), if the payment is rejected , the invoice matching is removed and a new is created with a the new reject\n * payment account operation\n *\n */\n\npublic class PaymentCallBackScript extends Script {\n\n private static final Logger log = LoggerFactory.getLogger(PaymentCallBackScript.class);\n private PaymentService paymentService = (PaymentService) getServiceInterface("PaymentService");\n\n @Override\n public void execute(Map methodContext) throws BusinessException {\n log.debug("EXECUTE methodContext {} ", methodContext);\n @SuppressWarnings("unchecked")\n Map params = (Map) methodContext.get("params");\n log.info("params:" + params);\n if (params.get("STATUS") == null) {\n throw new BusinessException("Parameter STATUS is required");\n }\n if (params.get("PAYID") == null) {\n throw new BusinessException("Parameter PAYID is required");\n }\n PaymentStatusEnum paymentStatus = PaymentStatusEnum.ACCEPTED;\n if (!"9".equals(params.get("STATUS"))) {\n paymentStatus = PaymentStatusEnum.REJECTED;\n }\n paymentService.paymentCallback(params.get("PAYID"), paymentStatus, params.get("NCERROR"), params.get("NCERROR"));\n }\n\n}\n \N \N \N JAVA 0 0 +-1 0 0 2024-01-26 14:02:21.183234 \N ACCOUNT_OPS Export account operations \n package org.meveo.service.script.export;\n\nimport java.io.File;\nimport java.io.FileWriter;\nimport java.text.DateFormat;\nimport java.text.SimpleDateFormat;\nimport java.util.List;\nimport java.util.Map;\n\nimport org.meveo.admin.exception.BusinessException;\nimport org.meveo.model.payments.AccountOperation;\nimport org.meveo.model.payments.CustomerAccount;\nimport org.meveo.model.payments.RecordedInvoice;\nimport org.meveo.service.payments.impl.AccountOperationService;\nimport org.meveo.service.script.Script;\nimport org.meveo.service.script.finance.ReportExtractScript;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\nimport java.util.Date;\n\npublic class ExportAccountOperationScript extends ReportExtractScript {\n\n private static final Logger LOGGER = LoggerFactory.getLogger(ExportAccountOperationScript.class);\n\n private AccountOperationService accountOperationService = (AccountOperationService) getServiceInterface(AccountOperationService.class.getSimpleName());\n\n\n @Override\n public void execute(Map initContext) throws BusinessException {\n try {\n LOGGER.debug("#####################Starting of script ExportAccountOperationScript");\n\n Date startDate = (Date) initContext.get(ReportExtractScript.START_DATE);\n Date endDate = (Date) initContext.get(ReportExtractScript.END_DATE);\n DateFormat df = new SimpleDateFormat("yyyy-MM-dd");\n\n List accountOperations = accountOperationService.list();\n initContext.put(ReportExtractScript.LINE_COUNT, accountOperations.size());\n \n String exportDir = String.valueOf(initContext.get(ReportExtractScript.DIR));\n File dir = new File(exportDir);\n if (!dir.exists()) {\n dir.mkdirs();\n }\n CustomerAccount customerAccount = null;\n StringBuilder sb =new StringBuilder();\n sb.append("Transaction Date;Transaction Type;Amount;Due Date;Reference;Transaction Category;Invoice Date;"\n + "Customer Account Code;Customer Account Description\\n");\n for (AccountOperation accountOperation : accountOperations) {\n if(accountOperation.getTransactionDate().equals(startDate) || accountOperation.getTransactionDate().equals(endDate)\n || (accountOperation.getTransactionDate().after(startDate) && accountOperation.getTransactionDate().before(endDate))) {\n\n customerAccount = accountOperation.getCustomerAccount();\n sb.append(nil(accountOperation.getTransactionDate().toString())+ ";");\n sb.append(nil(accountOperation.getType()) + ";");\n sb.append(nil(accountOperation.getAmount().toString()) + ";");\n sb.append(isNull(accountOperation.getDueDate()) + ";");\n sb.append(nil(accountOperation.getReference()) + ";");\n sb.append(nil(accountOperation.getTransactionCategory().toString()) + ";");\n if(accountOperation instanceof RecordedInvoice) {\n RecordedInvoice invoice = (RecordedInvoice) accountOperation;\n sb.append(invoice.getInvoiceDate().toString() + ";");\n } else {\n sb.append(";");\n }\n sb.append(nil(customerAccount.getCode()) + ";");\n sb.append(nil(customerAccount.getDescriptionOrCode()) + ";\\n");\n\n\n }\n }\n String strFilename = String.valueOf(initContext.get(ReportExtractScript.FILENAME));\n LOGGER.debug("output={}", strFilename);\n File file = new File(dir + File.separator + strFilename);\n file.createNewFile();\n FileWriter fileWriter = new FileWriter(file);\n fileWriter.write(sb.toString());\n fileWriter.close();\n\n LOGGER.debug("#####################Ending of script ExportAccountOperationScript");\n } catch (Exception e) {\n initContext.put(ReportExtractScript.ERROR_MESSAGE, e.getMessage());\n LOGGER.error("Exception:", e);\n throw new BusinessException(e.getMessage());\n }\n\n }\n\n private String isNull(Object obj) {\n if(obj == null) {\n return "";\n } else {\n return obj.toString();\n }\n }\n\n private String nil(String word) {\n if (word == null || "null".equalsIgnoreCase(word)) {\n return "";\n } else {\n return word;\n }\n }\n} \n \N \N \N JAVA 0 0 +-12 0 0 2024-01-26 14:02:21.183234 \N org.meveo.service.script.presale.AgedBalanceReporting Aged Balance Reporting Script \npackage org.meveo.service.script.presale;\n\nimport java.io.File;\nimport java.math.BigDecimal;\nimport java.math.RoundingMode;\nimport java.util.Date;\nimport java.util.HashMap;\nimport java.util.List;\nimport java.util.Map;\n\nimport org.apache.commons.lang.time.DateUtils;\nimport org.meveo.admin.exception.BusinessException;\nimport org.meveo.commons.utils.CsvBuilder;\nimport org.meveo.model.payments.CustomerAccount;\nimport org.meveo.service.payments.impl.CustomerAccountService;\nimport org.meveo.service.script.finance.ReportExtractScript;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\n\n/**\n * @author anasseh\n * @corrector jpviegas\n */\npublic class AgedBalanceReporting extends ReportExtractScript {\n\n private static final Logger log = LoggerFactory.getLogger(AgedBalanceReporting.class);\n\n private CustomerAccountService customerAccountService = (CustomerAccountService) getServiceInterface(CustomerAccountService.class.getSimpleName());\n\n @Override\n public void execute(Map executeContext) throws BusinessException {\n try {\n log.debug("execute executeContext:{}", executeContext);\n \n Map params = new HashMap();\n params.put("sysdate30", DateUtils.addDays(new Date(), -30));\n params.put("sysdate60", DateUtils.addDays(new Date(), -60));\n params.put("sysdate90", DateUtils.addDays(new Date(), -90));\n \n String query = "Select ao.customerAccount.id , "\n + "sum (case when ao.dueDate <= current_date() and ao.dueDate >:sysdate30 then ao.amount else 0 end ) as sum_0_30, "\n + "sum (case when ao.dueDate <=:sysdate30 and ao.dueDate >:sysdate60 then ao.amount else 0 end ) as sum_30_60, "\n + "sum (case when ao.dueDate <=:sysdate60 and ao.dueDate >:sysdate90 then ao.amount else 0 end ) as sum_60_90, "\n + "sum (case when ao.dueDate <=:sysdate90 then ao.amount else 0 end ) as sum_90_up "\n + "from AccountOperation ao where ao.transactionCategory = 'DEBIT' group by ao.customerAccount";\n \n List rows = (List) customerAccountService.executeSelectQuery(query,params);\n log.debug("execute rows size:{}", rows == null ? null : rows.size());\n String dirOutput = String.valueOf(executeContext.get(ReportExtractScript.DIR));\n String filename = String.valueOf(executeContext.get(ReportExtractScript.FILENAME));\n\n CsvBuilder csvBuilder = new CsvBuilder(";", false); \n String[] header = { "CA_DESC", "C_DESC","DEBT_TIER_0_30_DAYS","DEBT_TIER_30_60_DAYS","DEBT_TIER_60_90_DAYS","DEBT_TIER_90_DAYS" };\n csvBuilder.appendValues(header);\n csvBuilder.startNewLine();\n for (Object[] row : rows) {\n CustomerAccount ca = customerAccountService.findById(((Long)row[0]));\n csvBuilder.appendValue(ca.getDescription());\n csvBuilder.appendValue(ca.getCustomer().getDescription());\n csvBuilder.appendValue(round((BigDecimal)row[1])); \n csvBuilder.appendValue(round((BigDecimal)row[2])); \n csvBuilder.appendValue(round((BigDecimal)row[3])); \n csvBuilder.appendValue(round((BigDecimal)row[4])); \n csvBuilder.startNewLine();\n }\n csvBuilder.toFile(dirOutput + File.separator + filename);\n log.debug("execute file generated:{}", dirOutput + File.separator + filename);\n\n } catch (Exception e) {\n log.error("Error on AgedBalanceReporting:", e);\n throw new BusinessException(e.getMessage());\n }\n }\n\n private String round(BigDecimal amount) {\n if(amount == null) {\n return "";\n }\n if (amount.scale() > 4) {\n String amountAsString = "" + amount; \n amount = new BigDecimal(amount.longValue() + "." + amountAsString.substring(amountAsString.indexOf(".") + 1).substring(0, 4));\n }\n amount = amount.setScale(2, RoundingMode.UP);\n return amount.toPlainString();\n }\n}\n \N \N \N JAVA 0 0 +-13 0 0 2024-01-26 14:02:21.183234 \N org.meveo.service.script.presale.CustomerRevenuReporting Customer Revenu Reporting Script \n package org.meveo.service.script.presale;\n\nimport java.io.File;\nimport java.math.BigDecimal;\nimport java.math.RoundingMode;\nimport java.util.Date;\nimport java.util.HashMap;\nimport java.util.List;\nimport java.util.Map;\n\nimport org.meveo.admin.exception.BusinessException;\nimport org.meveo.commons.utils.CsvBuilder;\nimport org.meveo.model.payments.CustomerAccount;\nimport org.meveo.service.payments.impl.AccountOperationService;\nimport org.meveo.service.payments.impl.CustomerAccountService;\nimport org.meveo.service.script.finance.ReportExtractScript;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\n\n/**\n * @author anasseh\n *\n */\npublic class CustomerRevenuReporting extends ReportExtractScript {\n\n private static final Logger log = LoggerFactory.getLogger(CustomerRevenuReporting.class);\n\n private CustomerAccountService customerAccountService = (CustomerAccountService) getServiceInterface(CustomerAccountService.class.getSimpleName());\n\n @Override\n public void execute(Map executeContext) throws BusinessException {\n try {\n log.debug("execute executeContext:{}", executeContext);\n\n Date startDate = (Date) executeContext.get(ReportExtractScript.START_DATE);\n Date endDate = (Date) executeContext.get(ReportExtractScript.END_DATE);\n \n Map params = new HashMap();\n params.put("startDateIN", startDate);\n params.put("endDateIN", endDate);\n String query = "Select ao.customerAccount.id , sum (ao.amount) as sum_amount from AccountOperation ao where ao.transactionCategory = 'DEBIT' and ao.dueDate >=:startDateIN "\n + "and ao.dueDate <:endDateIN group by ao.customerAccount order by sum_amount desc";\n \n \n List aos = (List) customerAccountService.executeSelectQuery(query,params);\n log.debug("execute aos size:{}", aos == null ? null : aos.size());\n String dirOutput = String.valueOf(executeContext.get(ReportExtractScript.DIR));\n String filename = String.valueOf(executeContext.get(CustomerRevenuReporting.FILENAME));\n\n CsvBuilder csvBuilder = new CsvBuilder(";", false); \n String[] header = { "CA_DESC", "C_DESC","SUM_REVENUE" };\n csvBuilder.appendValues(header);\n csvBuilder.startNewLine();\n for (Object[] ao : aos) {\n CustomerAccount ca = customerAccountService.findById(((Long)ao[0]));\n csvBuilder.appendValue(ca.getDescription());\n csvBuilder.appendValue(ca.getCustomer().getDescription());\n csvBuilder.appendValue(round((BigDecimal)ao[1])); \n csvBuilder.startNewLine();\n }\n csvBuilder.toFile(dirOutput + File.separator + filename);\n log.debug("execute file generated:{}", dirOutput + File.separator + filename);\n\n } catch (Exception e) {\n log.error("Error on CustomerRevenuReporting:", e);\n throw new BusinessException(e.getMessage());\n }\n }\n\n private String round(BigDecimal amount) {\n if(amount == null) {\n return "";\n }\n if (amount.scale() > 4) {\n String amountAsString = "" + amount; \n amount = new BigDecimal(amount.longValue() + "." + amountAsString.substring(amountAsString.indexOf(".") + 1).substring(0, 4));\n }\n amount = amount.setScale(2, RoundingMode.UP);\n return amount.toPlainString();\n }\n}\n \N \N \N JAVA 0 0 +-14 0 0 2024-01-26 14:02:21.183234 \N org.meveo.service.script.presale.CustomerPerDunningReporting Customer Per Dunnning Reporting Script \n package org.meveo.service.script.presale;\n\nimport java.io.File;\nimport java.util.List;\nimport java.util.Map;\n\nimport org.meveo.admin.exception.BusinessException;\nimport org.meveo.commons.utils.CsvBuilder;\nimport org.meveo.model.payments.CustomerAccount;\nimport org.meveo.service.payments.impl.CustomerAccountService;\nimport org.meveo.service.script.finance.ReportExtractScript;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\n\n/**\n * @author anasseh\n *\n */\npublic class CustomerPerDunningReporting extends ReportExtractScript {\n\n private static final Logger log = LoggerFactory.getLogger(CustomerPerDunningReporting.class);\n\n private CustomerAccountService customerAccountService = (CustomerAccountService) getServiceInterface(CustomerAccountService.class.getSimpleName());\n\n @Override\n public void execute(Map executeContext) throws BusinessException {\n try {\n log.debug("execute executeContext:{}", executeContext);\n List rows = (List) customerAccountService.executeSelectQuery("from CustomerAccount ca order by ca.dunningLevel", null);\n log.debug("execute rows size:{}", rows == null ? null : rows.size());\n String dirOutput = String.valueOf(executeContext.get(ReportExtractScript.DIR));\n String filename = String.valueOf(executeContext.get(CustomerPerDunningReporting.FILENAME));\n\n CsvBuilder csvBuilder = new CsvBuilder(";", false);\n String[] header = { "CA_DESC", "C_DESC", "LEVEL" };\n csvBuilder.appendValues(header);\n csvBuilder.startNewLine();\n for (CustomerAccount ca : rows) {\n csvBuilder.appendValue(ca.getDescription());\n csvBuilder.appendValue(ca.getCustomer().getDescription());\n csvBuilder.appendValue("" + ca.getDunningLevel());\n csvBuilder.startNewLine();\n }\n csvBuilder.toFile(dirOutput + File.separator + filename);\n log.debug("execute file generated:{}", dirOutput + File.separator + filename);\n\n } catch (Exception e) {\n log.error("Error on CustomerPerDunningReporting:", e);\n throw new BusinessException(e.getMessage());\n }\n }\n}\n \N \N \N JAVA 0 0 +-15 0 0 2024-01-26 14:02:21.183234 \N org.meveo.service.script.presale.CustomerPerOfferReporting Customer Per Offer Reporting Script \n package org.meveo.service.script.presale;\n\nimport java.io.File;\nimport java.util.Date;\nimport java.util.HashMap;\nimport java.util.List;\nimport java.util.Map;\n\nimport org.meveo.admin.exception.BusinessException;\nimport org.meveo.commons.utils.CsvBuilder;\nimport org.meveo.commons.utils.StringUtils;\nimport org.meveo.model.billing.UserAccount;\nimport org.meveo.model.catalog.OfferTemplate;\nimport org.meveo.service.billing.impl.SubscriptionService;\nimport org.meveo.service.script.finance.ReportExtractScript;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\n\n/**\n * @author anasseh\n *\n */\npublic class CustomerPerOfferReporting extends ReportExtractScript {\n\n private static final Logger log = LoggerFactory.getLogger(CustomerPerOfferReporting.class);\n\n private SubscriptionService subscriptionService = (SubscriptionService) getServiceInterface(SubscriptionService.class.getSimpleName());\n\n @Override\n public void execute(Map executeContext) throws BusinessException {\n try {\n log.debug("execute executeContext:{}", executeContext);\n\n Date startDate = (Date) executeContext.get(ReportExtractScript.START_DATE);\n String offerCode = (String) executeContext.get("OFFER_CODE");\n\n Map params = new HashMap();\n params.put("subDateIN", startDate);\n String query = "Select distinct sub.offer, sub.userAccount from Subscription sub where sub.subscriptionDate >:subDateIN ";\n if (!StringUtils.isBlank(offerCode)) {\n query += " and sub.offer.code =:offCodeIN ";\n params.put("offCodeIN", offerCode);\n }\n \n List rows = (List) subscriptionService.executeSelectQuery(query + "order by sub.offer.code",params);\n log.debug("execute rows size:{}", rows == null ? null : rows.size());\n String dirOutput = String.valueOf(executeContext.get(ReportExtractScript.DIR));\n String filename = String.valueOf(executeContext.get(CustomerPerOfferReporting.FILENAME));\n\n CsvBuilder csvBuilder = new CsvBuilder(";", false); \n String[] header = { "OFF_CODE", "OFF_DESC", "UA_DESC", "BA_DESC", "CA_DESC", "C_DESC" };\n csvBuilder.appendValues(header);\n csvBuilder.startNewLine();\n for (Object[] row : rows) {\n csvBuilder.appendValue(((OfferTemplate)row[0]).getCode());\n csvBuilder.appendValue(((OfferTemplate)row[0]).getDescription());\n csvBuilder.appendValue(((UserAccount)row[1]).getDescription());\n csvBuilder.appendValue(((UserAccount)row[1]).getBillingAccount().getDescription());\n csvBuilder.appendValue(((UserAccount)row[1]).getBillingAccount().getCustomerAccount().getDescription());\n csvBuilder.appendValue(((UserAccount)row[1]).getBillingAccount().getCustomerAccount().getCustomer().getDescription());\n csvBuilder.startNewLine();\n }\n csvBuilder.toFile(dirOutput + File.separator + filename);\n log.debug("execute file generated:{}", dirOutput + File.separator + filename);\n\n } catch (Exception e) {\n log.error("Error on CustomerPerOfferReporting:", e);\n throw new BusinessException(e.getMessage());\n }\n }\n}\n \N \N \N JAVA 0 0 +-16 0 0 2024-01-26 14:02:21.183234 \N org.meveo.service.script.presale.KPIAgedBalanceReporting KPI Aged Balance Reporting Script \n package org.meveo.service.script.presale;\n\nimport java.io.File;\nimport java.util.Date;\nimport java.util.HashMap;\nimport java.util.List;\nimport java.util.Map;\n\nimport org.apache.commons.lang.time.DateUtils;\nimport org.meveo.admin.exception.BusinessException;\nimport org.meveo.commons.utils.CsvBuilder;\nimport org.meveo.service.payments.impl.CustomerAccountService;\nimport org.meveo.service.script.finance.ReportExtractScript;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\n\n/**\n * @author anasseh\n */\npublic class KPIAgedBalanceReporting extends ReportExtractScript {\n\n private static final Logger log = LoggerFactory.getLogger(KPIAgedBalanceReporting.class);\n\n private CustomerAccountService customerAccountService = (CustomerAccountService) getServiceInterface(CustomerAccountService.class.getSimpleName());\n\n @Override\n public void execute(Map executeContext) throws BusinessException {\n try {\n log.debug("execute executeContext:{}", executeContext);\n String query = "Select count(distinct ao.customerAccount.id) "\n + "from AccountOperation ao where ao.transactionCategory = 'DEBIT' and ao.dueDate <=:dateTo and ao.dueDate >:dateFrom ";\n \n Map params = new HashMap();\n\n params.put("dateFrom", DateUtils.addDays(new Date(), -30));\n params.put("dateTo", new Date());\n List count_now_30 = (List) customerAccountService.executeSelectQuery(query, params);\n\n params.put("dateFrom", DateUtils.addDays(new Date(), -60));\n params.put("dateTo", DateUtils.addDays(new Date(), -30));\n List count_30_60 = (List) customerAccountService.executeSelectQuery(query, params);\n\n params.put("dateFrom", DateUtils.addDays(new Date(), -90));\n params.put("dateTo", DateUtils.addDays(new Date(), -60));\n List count_60_90 = (List) customerAccountService.executeSelectQuery(query, params);\n\n params.put("dateFrom", new Date(1));\n params.put("dateTo", DateUtils.addDays(new Date(), -90));\n List count_90_up = (List) customerAccountService.executeSelectQuery(query, params);\n\n String dirOutput = String.valueOf(executeContext.get(ReportExtractScript.DIR));\n String filename = String.valueOf(executeContext.get(ReportExtractScript.FILENAME));\n\n CsvBuilder csvBuilder = new CsvBuilder(";", false);\n String[] header = { "DEBT_TIER", "Number of accounts" };\n csvBuilder.appendValues(header);\n csvBuilder.startNewLine();\n\n csvBuilder.appendValue("0_30_days");\n csvBuilder.appendValue("" + count_now_30.get(0));\n csvBuilder.startNewLine();\n\n csvBuilder.appendValue("30_60_days");\n csvBuilder.appendValue("" + count_30_60.get(0));\n csvBuilder.startNewLine();\n\n csvBuilder.appendValue("60_90_days");\n csvBuilder.appendValue("" + count_60_90.get(0));\n csvBuilder.startNewLine();\n\n csvBuilder.appendValue("90_days_up");\n csvBuilder.appendValue("" + count_90_up.get(0));\n csvBuilder.startNewLine();\n\n csvBuilder.toFile(dirOutput + File.separator + filename);\n log.debug("execute file generated:{}", dirOutput + File.separator + filename);\n\n } catch (Exception e) {\n log.error("Error on AgedBalanceReporting:", e);\n throw new BusinessException(e.getMessage());\n }\n }\n}\n \N \N \N JAVA 0 0 +-17 0 0 2024-01-26 14:02:21.183234 \N org.meveo.service.script.presale.KPICustomerRevenuReporting KPI Customer Revenu Report Script \n package org.meveo.service.script.presale;\n\nimport java.io.File;\nimport java.math.BigDecimal;\nimport java.math.RoundingMode;\nimport java.util.Date;\nimport java.util.HashMap;\nimport java.util.List;\nimport java.util.Map;\n\nimport org.meveo.admin.exception.BusinessException;\nimport org.meveo.commons.utils.CsvBuilder;\nimport org.meveo.service.payments.impl.CustomerAccountService;\nimport org.meveo.service.script.finance.ReportExtractScript;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\n\n/**\n * @author anasseh\n *\n */\npublic class KPICustomerRevenuReporting extends ReportExtractScript {\n\n private static final Logger log = LoggerFactory.getLogger(KPICustomerRevenuReporting.class);\n\n private CustomerAccountService customerAccountService = (CustomerAccountService) getServiceInterface(CustomerAccountService.class.getSimpleName());\n\n @Override\n public void execute(Map executeContext) throws BusinessException {\n try {\n log.debug("execute executeContext:{}", executeContext);\n\n Date startDate = (Date) executeContext.get(ReportExtractScript.START_DATE);\n Date endDate = (Date) executeContext.get(ReportExtractScript.END_DATE);\n\n Map params = new HashMap();\n params.put("startDateIN", startDate);\n params.put("endDateIN", endDate);\n String query = "Select ao.customerAccount.id , sum (ao.amount) as sum_amount from AccountOperation ao where ao.transactionCategory = 'DEBIT' and ao.dueDate >=:startDateIN "\n + "and ao.dueDate <:endDateIN group by ao.customerAccount order by sum_amount ";\n\n List rows = (List) customerAccountService.executeSelectQuery(query, params);\n log.debug("execute columns size:{}", rows == null ? null : rows.size());\n String dirOutput = String.valueOf(executeContext.get(ReportExtractScript.DIR));\n String filename = String.valueOf(executeContext.get(KPICustomerRevenuReporting.FILENAME));\n long cpt0_50000 = 0;\n long cpt50000_100000 = 0;\n long cpt100000_500000 = 0;\n long cpt500000_1000000 = 0;\n long cpt1000000Up = 0;\n CsvBuilder csvBuilder = new CsvBuilder(";", false);\n String[] header = { "RANGE", "NB_CUSTOMERS" };\n csvBuilder.appendValues(header);\n csvBuilder.startNewLine();\n\n for (Object[] row : rows) {\n log.info("(BigDecimal) row[1]:"+(BigDecimal) row[1]);\n if (((BigDecimal) row[1]).compareTo(new BigDecimal(50000)) < 0) {\n cpt0_50000++;\n continue;\n }\n if (((BigDecimal) row[1]).compareTo(new BigDecimal(100000)) < 0) {\n cpt50000_100000++;\n continue;\n }\n if (((BigDecimal) row[1]).compareTo(new BigDecimal(500000)) < 0) {\n cpt100000_500000++;\n continue;\n }\n if (((BigDecimal) row[1]).compareTo(new BigDecimal(1000000)) < 0) {\n cpt500000_1000000++;\n continue;\n }\n if (((BigDecimal) row[1]).compareTo(new BigDecimal(1000000)) >= 0) {\n cpt1000000Up++;\n continue;\n }\n\n }\n csvBuilder.appendValue("0<50000");\n csvBuilder.appendValue("" + cpt0_50000);\n csvBuilder.startNewLine();\n csvBuilder.appendValue("50000<100000");\n csvBuilder.appendValue("" + cpt50000_100000);\n csvBuilder.startNewLine();\n csvBuilder.appendValue("100000<500000");\n csvBuilder.appendValue("" + cpt100000_500000);\n csvBuilder.startNewLine();\n csvBuilder.appendValue("500000<1000000");\n csvBuilder.appendValue("" + cpt500000_1000000);\n csvBuilder.startNewLine();\n csvBuilder.appendValue("1000000<");\n csvBuilder.appendValue("" + cpt1000000Up);\n csvBuilder.startNewLine();\n\n csvBuilder.toFile(dirOutput + File.separator + filename);\n log.debug("execute file generated:{}", dirOutput + File.separator + filename);\n\n } catch (Exception e) {\n log.error("Error on KPICustomerRevenuReporting:", e);\n throw new BusinessException(e.getMessage());\n }\n }\n\n private String round(BigDecimal amount) {\n if (amount == null) {\n return "";\n }\n if (amount.scale() > 4) {\n String amountAsString = "" + amount;\n amount = new BigDecimal(amount.longValue() + "." + amountAsString.substring(amountAsString.indexOf(".") + 1).substring(0, 4));\n }\n amount = amount.setScale(2, RoundingMode.UP);\n return amount.toPlainString();\n }\n}\n \N \N \N JAVA 0 0 +-18 0 0 2024-01-26 14:02:21.183234 \N org.meveo.service.script.presale.KPICustomerPerDunningReporting KPI Customer Per Dunning Reporting Script \n /**\n * \n */\npackage org.meveo.service.script.presale;\n\nimport java.io.File;\nimport java.util.List;\nimport java.util.Map;\n\nimport org.meveo.admin.exception.BusinessException;\nimport org.meveo.commons.utils.CsvBuilder;\nimport org.meveo.model.payments.CustomerAccount;\nimport org.meveo.service.payments.impl.CustomerAccountService;\nimport org.meveo.service.script.finance.ReportExtractScript;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\n\n/**\n * @author anasseh\n *\n */\npublic class KPICustomerPerDunningReporting extends ReportExtractScript {\n\n private static final Logger log = LoggerFactory.getLogger(KPICustomerPerDunningReporting.class);\n\n private CustomerAccountService customerAccountService = (CustomerAccountService) getServiceInterface(CustomerAccountService.class.getSimpleName());\n\n @Override\n public void execute(Map executeContext) throws BusinessException {\n try {\n log.debug("execute executeContext:{}", executeContext);\n List rows = (List) customerAccountService.executeSelectQuery("Select ca.dunningLevel , count(ca) from CustomerAccount ca group by ca.dunningLevel order by ca.dunningLevel", null);\n log.debug("execute rows size:{}", rows == null ? null : rows.size());\n String dirOutput = String.valueOf(executeContext.get(ReportExtractScript.DIR));\n String filename = String.valueOf(executeContext.get(KPICustomerPerDunningReporting.FILENAME));\n\n CsvBuilder csvBuilder = new CsvBuilder(";", false);\n String[] header = { "DUNNING_LEVEL", "Number of accounts" };\n csvBuilder.appendValues(header);\n csvBuilder.startNewLine();\n for (Object[] row : rows) {\n csvBuilder.appendValue(""+row[0]);\n csvBuilder.appendValue(""+row[1]);\n csvBuilder.startNewLine();\n }\n csvBuilder.toFile(dirOutput + File.separator + filename);\n log.debug("execute file generated:{}", dirOutput + File.separator + filename);\n\n } catch (Exception e) {\n log.error("Error on KPICustomerPerDunningReporting:", e);\n throw new BusinessException(e.getMessage());\n }\n }\n}\n \N \N \N JAVA 0 0 +-19 0 0 2024-01-26 14:02:21.183234 \N org.meveo.service.script.presale.KPICustomerPerOfferReporting KPI Customer Per Offer Reporting Script \n /**\n * \n */\npackage org.meveo.service.script.presale;\n\nimport java.io.File;\nimport java.util.Date;\nimport java.util.HashMap;\nimport java.util.List;\nimport java.util.Map;\n\nimport org.meveo.admin.exception.BusinessException;\nimport org.meveo.commons.utils.CsvBuilder;\nimport org.meveo.commons.utils.StringUtils;\nimport org.meveo.model.catalog.OfferTemplate;\nimport org.meveo.service.billing.impl.SubscriptionService;\nimport org.meveo.service.script.finance.ReportExtractScript;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\n\n/**\n * @author anasseh\n *\n */\npublic class KPICustomerPerOfferReporting extends ReportExtractScript {\n\n private static final Logger log = LoggerFactory.getLogger(KPICustomerPerOfferReporting.class);\n\n private SubscriptionService subscriptionService = (SubscriptionService) getServiceInterface(SubscriptionService.class.getSimpleName());\n\n @Override\n public void execute(Map executeContext) throws BusinessException {\n try {\n log.debug("execute executeContext:{}", executeContext);\n\n Date startDate = (Date) executeContext.get(ReportExtractScript.START_DATE);\n String offerCode = (String) executeContext.get("OFFER_CODE");\n\n Map params = new HashMap();\n params.put("subDateIN", startDate);\n String query = "Select offer, count(sub) from Subscription sub,OfferTemplate offer where sub.subscriptionDate >:subDateIN " + " and sub.offer = offer";\n if (!StringUtils.isBlank(offerCode)) {\n query += " and offer.code =:offCodeIN ";\n params.put("offCodeIN", offerCode);\n }\n List subs = (List) subscriptionService.executeSelectQuery(query +" group by offer", params);\n log.debug("execute subs size:{}", subs == null ? null : subs.size());\n String dirOutput = String.valueOf(executeContext.get(ReportExtractScript.DIR));\n String filename = String.valueOf(executeContext.get(KPICustomerPerOfferReporting.FILENAME));\n\n CsvBuilder csvBuilder = new CsvBuilder(";", false);\n String[] header = { "OFF_CODE", "OFF_DESC", "Nb of user accounts" };\n csvBuilder.appendValues(header);\n csvBuilder.startNewLine();\n for (Object[] sub : subs) {\n csvBuilder.appendValue(((OfferTemplate) sub[0]).getCode());\n csvBuilder.appendValue(((OfferTemplate) sub[0]).getDescription());\n csvBuilder.appendValue("" + (Long) sub[1]);\n csvBuilder.startNewLine();\n }\n csvBuilder.toFile(dirOutput + File.separator + filename);\n log.debug("execute file generated:{}", dirOutput + File.separator + filename);\n\n } catch (Exception e) {\n log.error("Error on KPICustomerPerOfferReporting:", e);\n throw new BusinessException(e.getMessage());\n }\n }\n}\n \N \N \N JAVA 0 0 +-20 0 0 2024-01-26 14:03:24.239422 \N org.meveo.service.script.selfcare.CreateAccess AddAccess \n\t\t\tpackage org.meveo.service.script.selfcare;\n\t\t\t\n\t\t\timport java.util.Date;\n\t\t\timport java.util.Map;\n\t\t\t\n\t\t\timport org.meveo.admin.exception.BusinessException;\n\t\t\timport org.meveo.model.admin.User;\n\t\t\timport org.meveo.model.billing.Subscription;\n\t\t\timport org.meveo.service.medina.impl.AccessService;\n\t\t\timport org.meveo.service.script.module.ModuleScript;\n\t\t\timport org.slf4j.Logger;\n\t\t\timport org.slf4j.LoggerFactory;\n\t\t\t\n\t\t\tpublic class CreateAccess extends ModuleScript {\t\n\t\t\t\tprivate static final Logger log = LoggerFactory.getLogger(CreateAccess.class);\t\t\n\t\t\t\t\n\t\t\t\t@Override\n\t\t\t public void execute(Map methodContext) throws BusinessException {\n\t\t\t\t\tAccessService accessService = (AccessService) getServiceInterface("AccessService");\n\t\t\t\t\tSubscription subscription = (Subscription) methodContext.get("subscription");\n\t\t\t\t\tif(subscription == null){\n\t\t\t\t\t\tthrow new BusinessException("subscription is null");\n\t\t\t\t\t}\n\t\t\t\t\tlog.debug("subscription.getCode() : "+subscription.getCode());\t\t\n\t\t\t\t\torg.meveo.model.mediation.Access access = new org.meveo.model.mediation.Access();\n\t\t\t\t\taccess.setSubscription(subscription);\n\t\t\t\t\taccess.setAccessUserId("ACC_"+subscription.getCode());\n\t\t\t\t\taccess.setStartDate(new Date());\n\t\t\t\t\taccess.setEndDate(null);\n\t\t\t\t\taccessService.create(access);\n\t\t\t }\t\n\t\t\t}\n \N \N \N JAVA 0 0 +-21 0 0 2024-01-26 14:03:24.239422 \N org.meveo.service.script.SelfcareAccountScript Script BAM for selfcare accounts \n\t\t\tpackage org.meveo.service.script;\n\t\t\timport java.math.BigDecimal;\n\t\t\timport java.nio.charset.Charset;\n\t\t\timport java.security.MessageDigest;\n\t\t\timport java.security.NoSuchAlgorithmException; \n\t\t\timport java.util.List;\n\t\t\timport java.util.HashSet;\n\t\t\timport java.util.Map;\n\t\t\timport org.meveo.admin.exception.BusinessException;\n\t\t\timport org.meveo.api.dto.account.CRMAccountHierarchyDto; \n\t\t\timport org.meveo.api.dto.UserDto; \n\t\t\timport org.meveo.api.exception.MeveoApiException;\n\t\t\timport org.meveo.commons.utils.StringUtils;\n\t\t\timport org.meveo.model.admin.User; \n\t\t\timport org.meveo.service.script.account.AccountScript;\n\t\t\timport org.meveo.model.AccountEntity;\n\t\t\timport org.slf4j.Logger;\n\t\t\timport java.util.Set;\n\t\t\timport java.util.ArrayList;\n\t\t\timport org.meveo.model.security.Role;\n\t\t\timport org.meveo.service.crm.impl.CustomerService;\n\t\t\timport org.slf4j.LoggerFactory;\n\t\t\timport org.meveo.model.crm.Customer;\n\t\t\timport org.meveo.service.crm.impl.CustomFieldInstanceService;\n\t\t\timport org.meveo.api.UserApi;\n\t\t\t\n\t\t\tpublic class SelfcareAccountScript extends AccountScript {\n\t\t\t\n\t\t\t\tprivate static final Logger log = LoggerFactory.getLogger(SelfcareAccountScript.class);\n\t\t\t\tprivate Map initContext = null;\n\t\t\t\n\t\t\t\tstatic MessageDigest messageDigest = null;\n\t\t\t\tstatic {\n\t\t\t\t\ttry {\n\t\t\t\t\t\tmessageDigest = MessageDigest.getInstance("MD5");\n\t\t\t\t\t} \n\t\t\t\t\tcatch (NoSuchAlgorithmException e) {\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tCustomFieldInstanceService customFieldInstanceService = (CustomFieldInstanceService) getServiceInterface("CustomFieldInstanceService");\n\t\t\t\tCustomerService customerService = (CustomerService) getServiceInterface("CustomerService");\n\t\t\t\tUserApi userApi = (UserApi) getServiceInterface("UserApi");\n\t\t\t\n\t\t\t\t@Override\n\t\t\t\tpublic void createAccount(Map methodContext) throws BusinessException { \n\t\t\t\t\tAccountEntity account = (AccountEntity) methodContext.get(Script.CONTEXT_ENTITY);\n\t\t\t\t\tUserDto user = new UserDto();\n\t\t\t\t\tCRMAccountHierarchyDto accountDto = (CRMAccountHierarchyDto) methodContext.get(AccountScript.CONTEXT_ACCOUNT_HIERARCHY_DTO);\n\t\t\t\t\tCustomer customer = customerService.findByCode(accountDto.getCode());\n\t\t\t\n\t\t\t\t\tlog.debug("accountCode : "+accountDto.getCode(), " crmAccountType :"+accountDto.getCrmAccountType());\n\t\t\t\t\t \n\t\t\t\t\tString email = accountDto.getContactInformation().getEmail(); \n\t\t\t\t\tuser.setEmail(email);\n\t\t\t\t\tif(accountDto.getName()!=null){\n\t\t\t\t\t\tuser.setFirstName(accountDto.getName().getFirstName());\n\t\t\t\t\t\tuser.setLastName(accountDto.getName().getLastName());\n\t\t\t\t\t}\n\t\t\t\t\tuser.setUsername(accountDto.getCode());\n\t\t\t\n\t\t\t\t\t/*\n\t\t\t\t\tString password =(String) customFieldInstanceService.getCFValue(customer, "password");\n\t\t\t\t\tif( password != null )\n\t\t\t\t\t{\n\t\t\t\t\t\tuser.setPassword(password);\n\t\t\t\t\t}\n\t\t\t\t\telse\n\t\t\t\t\t{\n\t\t\t\t\t\tlog.warn("password CF is null, using username");\n\t\t\t\t\t\tuser.setPassword(user.getUsername());\n\t\t\t\t\t}\n\t\t\t\t\t*/ \n\t\t\t\n\t\t\t\t\tList roles = new ArrayList();\n\t\t\t\t\troles.add("selfcareDefault");\n\t\t\t\t\tuser.setRoles(roles);\n\t\t\t\t\tlog.debug("lastName :"+user.getLastName() + " firstName : "+user.getFirstName() + " email : "+user.getEmail());\n\t\t\t\t\ttry{\n\t\t\t\t\t\tuserApi.createOrUpdate(user);\n\t\t\t\t\t}\n\t\t\t\t\tcatch(MeveoApiException e){\n\t\t\t\t\t\tlog.error("failed to create user ",e); \n\t\t\t\t\t\te.printStackTrace();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n \N \N \N JAVA 0 0 +-22 0 0 2024-01-26 14:03:24.239422 \N org.meveo.service.script.selfcare.RegisterHierarchy Register crm hierarchy \n\t\t\tpackage org.meveo.service.script.selfcare;\n\n\t\t\timport java.util.Map;\n\t\t\t\n\t\t\timport org.meveo.admin.exception.BusinessException;\n\t\t\timport org.meveo.api.account.AccountHierarchyApi;\n\t\t\timport org.meveo.api.dto.account.CRMAccountHierarchyDto;\n\t\t\timport org.meveo.api.exception.MeveoApiException;\n\t\t\timport org.meveo.commons.utils.JsonUtils;\n\t\t\timport org.meveo.model.admin.User;\n\t\t\timport org.slf4j.Logger;\n\t\t\timport org.slf4j.LoggerFactory;\n\t\t\t\n\t\t\tpublic class RegisterHierarchy extends org.meveo.service.script.Script {\t\n\t\t\t\tprivate static final Logger log = LoggerFactory.getLogger(RegisterHierarchy.class);\t\t\t\n\t\t\t\tpublic void execute(Map initContext) throws BusinessException {\t\t\n\t\t\t\t\tlog.info("Execute...");\n\t\t\t\t\tAccountHierarchyApi accountHierarchyApi = (AccountHierarchyApi) getServiceInterface("AccountHierarchyApi");\n\t\t\t\t\tString body = (String) initContext.get("body");\n\t\t\t\t\tlog.info("body:"+body);\n\t\t\t\t\tCRMAccountHierarchyDto crmAccountHierarchyDto = JsonUtils.toObject(body, CRMAccountHierarchyDto.class);\n\t\t\t\t\tlog.info("crmAccountHierarchyDto"+crmAccountHierarchyDto);\t\n\t\t\t\t\t\t\n\t\t\t\t\ttry {\n\t\t\t\t\t\taccountHierarchyApi.createCRMAccountHierarchy(crmAccountHierarchyDto);\n\t\t\t\t\t} catch (MeveoApiException e) {\t\t\t\n\t\t\t\t\t\te.printStackTrace();\n\t\t\t\t\t}\t\n\t\t\t\t}\n\t\t\t}\n \N \N \N JAVA 0 0 +-23 0 0 2024-01-26 14:03:25.745507 \N org.meveo.service.script.DeleteCustomersScript DeleteCustomersScript \npackage org.meveo.service.script;\n\nimport static org.apache.commons.lang3.StringUtils.isNotBlank;\n\nimport java.util.Arrays;\nimport java.util.Collection;\nimport java.util.Collections;\nimport java.util.HashMap;\nimport java.util.List;\nimport java.util.Map;\n\nimport org.apache.commons.collections4.MapUtils;\nimport org.meveo.admin.exception.BusinessException;\nimport org.meveo.model.billing.WalletInstance;\nimport org.meveo.model.crm.Customer;\nimport org.meveo.service.base.BusinessEntityService;\nimport org.meveo.service.billing.impl.ChargeInstanceService;\nimport org.meveo.service.billing.impl.CounterInstanceService;\nimport org.meveo.service.billing.impl.CounterPeriodService;\nimport org.meveo.service.billing.impl.EdrService;\nimport org.meveo.service.billing.impl.InvoiceService;\nimport org.meveo.service.billing.impl.ProductInstanceService;\nimport org.meveo.service.billing.impl.RatedTransactionService;\nimport org.meveo.service.billing.impl.RejectedBillingAccountService;\nimport org.meveo.service.billing.impl.ServiceInstanceService;\nimport org.meveo.service.billing.impl.SubscriptionService;\nimport org.meveo.service.billing.impl.WalletOperationService;\nimport org.meveo.service.billing.impl.WalletService;\nimport org.meveo.service.crm.impl.CustomerService;\nimport org.meveo.service.medina.impl.AccessService;\nimport org.meveo.service.order.OrderItemService;\nimport org.meveo.service.payments.impl.AccountOperationService;\nimport org.meveo.service.payments.impl.MatchingAmountService;\n\n/**\n * \n * @author Said Ramli\n */\n@SuppressWarnings({ "unchecked", "unused" })\npublic class DeleteCustomersScript extends Script {\n\n\tprivate final AccountOperationService accountOperationService = (AccountOperationService) getServiceInterface(\n\t\t\tAccountOperationService.class.getSimpleName());\n\tprivate final CustomerService customerService = (CustomerService) getServiceInterface(\n\t\t\tCustomerService.class.getSimpleName());\n\tprivate final InvoiceService invoiceService = (InvoiceService) getServiceInterface(\n\t\t\tInvoiceService.class.getSimpleName());\n\tprivate final SubscriptionService subscriptionService = (SubscriptionService) getServiceInterface(\n\t\t\tSubscriptionService.class.getSimpleName());\n\tprivate final RatedTransactionService ratedTransactionService = (RatedTransactionService) getServiceInterface(\n\t\t\tRatedTransactionService.class.getSimpleName());\n\tprivate final WalletService walletService = (WalletService) getServiceInterface(\n\t\t\tWalletService.class.getSimpleName());\n\tprivate final RejectedBillingAccountService rejectedBillingAccountService = (RejectedBillingAccountService) getServiceInterface(\n\t\t\tRejectedBillingAccountService.class.getSimpleName());\n\tprivate final CounterInstanceService counterInstanceService = (CounterInstanceService) getServiceInterface(\n\t\t\tCounterInstanceService.class.getSimpleName());\n\tprivate final CounterPeriodService counterPeriodService = (CounterPeriodService) getServiceInterface(\n\t\t\tCounterPeriodService.class.getSimpleName());\n\tprivate final OrderItemService orderItemService = (OrderItemService) getServiceInterface(\n\t\t\tOrderItemService.class.getSimpleName());\n\tprivate final ProductInstanceService productInstanceService = (ProductInstanceService) getServiceInterface(\n\t\t\tProductInstanceService.class.getSimpleName());\n\tprivate final BusinessEntityService businessEntityService = (BusinessEntityService) getServiceInterface(\n\t\t\tBusinessEntityService.class.getSimpleName());\n\tprivate final WalletOperationService walletOperationService = (WalletOperationService) getServiceInterface(\n\t\t\tWalletOperationService.class.getSimpleName());\n\tprivate final ServiceInstanceService serviceInstanceService = (ServiceInstanceService) getServiceInterface(\n\t\t\tServiceInstanceService.class.getSimpleName());\n\n\tprivate final EdrService edrService = (EdrService) getServiceInterface(EdrService.class.getSimpleName());\n\t\n\t@SuppressWarnings("rawtypes")\n\tprivate final ChargeInstanceService chargeInstanceService = (ChargeInstanceService) getServiceInterface(\n\t\t\tChargeInstanceService.class.getSimpleName());\n\n\tprivate static final List noCheckAllowedValues = Arrays.asList("0", "1");\n\n\t@Override\n\tpublic void execute(Map methodContext) throws BusinessException {\n\n\t\tlog.debug(" >>> execute {} ", methodContext.entrySet());\n\n\t\ttry {\n\n\t\t\tMap record = (Map) methodContext.get("RECORD");\n\t\t\tif (MapUtils.isEmpty(record)) {\n\t\t\t\tthrow new BusinessException(String.format("Parameter RECORD is missing"));\n\t\t\t}\n\n\t\t\tfinal String customerCode = record.get("customerCode");\n\t\t\tCustomer customer = customerService.findByCode(customerCode);\n\t\t\tif (customer == null) {\n\t\t\t\tthrow new BusinessException(String.format("No customer found having code = %s ", customerCode));\n\t\t\t}\n\n\t\t\tString noCheckVal = record.get("noCheck");\n\t\t\tif (isNotBlank(noCheckVal) && !noCheckAllowedValues.contains(noCheckVal)) {\n\t\t\t\tthrow new BusinessException(\n\t\t\t\t\t\tString.format("Invalid 'noCheck' value = %s , allowed values are [0,1]", noCheckVal));\n\t\t\t}\n\t\t\tboolean noCheck = "1".contentEquals(noCheckVal);\n\n\t\t\tif (!noCheck) {\n\t\t\t\t// If noCheck is 0 then the following conditions must be met in order to allow\n\t\t\t\t// deletion:\n\t\t\t\t// No unmatched AO\n\t\t\t\t// No open EDR/WO/RT\n\n\t\t\t\tthis.checkUnmatchedAOs(customer);\n\t\t\t\tthis.checkOpenEDRs(customer);\n\t\t\t\tthis.checkOpenWOs(customer);\n\t\t\t\tthis.checkOpenRTs(customer);\n\t\t\t}\n\n\t\t\tthis.removeCustomerHirarchy(customer);\n\n\t\t} catch (BusinessException be) {\n\t\t\tthrow be;\n\t\t} catch (Exception e) {\n\t\t\tlog.error(" Error executing DeleteCustomersScript ", e);\n\t\t\tthrow new BusinessException(e.getMessage());\n\t\t}\n\t}\n\n\tprivate void checkOpenEDRs(Customer customer) throws BusinessException {\n\t\ttry {\n\t\t\tlog.debug(" Start checkOpenEDRs for customer = {} ", customer);\n\t\t\tString query = "select count(edr.id) from EDR edr where edr.status = 'OPEN' and edr.subscription.userAccount.billingAccount.customerAccount.customer.id =:customerId ";\n\t\t\t\n\t\t\tObject count = edrService.getEntityManager().createQuery(query).setParameter("customerId", customer.getId())\n\t\t\t\t\t.getSingleResult();\n\t\t\tlog.debug(" count of open EDRs = {} ", count);\n\t\t\tlog.debug(" End checkOpenEDRs for customer = {} ", customer);\n\n\t\t\tif (((Long) count).intValue() > 0) {\n\t\t\t\tthrow new BusinessException(" Customer has [" + count + "] open EDRs ");\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\tlog.error(" Error on checkOpenEDRs : [{}] ", e.getMessage(), e);\n\t\t\tthrow new BusinessException(e);\n\t\t}\n\t}\n\n\tprivate void checkOpenWOs(Customer customer) throws BusinessException {\n\t\ttry {\n\t\t\tlog.debug(" Start checkOpenWOs for customer = {} ", customer);\n\t\t\tString query = "select count(wo.id) from WalletOperation wo where wo.status = 'OPEN' and wo.chargeInstance.userAccount.billingAccount.customerAccount.customer.id =:customerId ";\n\t\t\tfinal WalletOperationService walletOperationService = (WalletOperationService) getServiceInterface(\n\t\t\t\t\tWalletOperationService.class.getSimpleName());\n\n\t\t\tObject count = walletOperationService.getEntityManager().createQuery(query)\n\t\t\t\t\t.setParameter("customerId", customer.getId()).getSingleResult();\n\t\t\tlog.debug(" count of open WOs = {} ", count);\n\t\t\tlog.debug(" End checkOpenWOs for customer = {} ", customer);\n\n\t\t\tif (((Long) count).intValue() > 0) {\n\t\t\t\tthrow new BusinessException(" Customer has [" + count + "] open WOs ");\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\tlog.error(" Error on checkOpenWOs : [{}] ", e.getMessage(), e);\n\t\t\tthrow new BusinessException(e);\n\t\t}\n\t}\n\n\tprivate void checkOpenRTs(Customer customer) throws BusinessException {\n\t\ttry {\n\n\t\t\tlog.debug(" Start checkOpenRTs for customer = {} ", customer);\n\t\t\tString query = "select count(rt.id) from RatedTransaction rt where rt.status = 'OPEN' and rt.billingAccount.customerAccount.customer.id =:customerId ";\n\t\t\tObject count = this.ratedTransactionService.getEntityManager().createQuery(query)\n\t\t\t\t\t.setParameter("customerId", customer.getId()).getSingleResult();\n\t\t\tlog.debug(" count of open RTs = {} ", count);\n\t\t\tlog.debug(" End checkOpenRTs for customer = {} ", customer);\n\n\t\t\tif (((Long) count).intValue() > 0) {\n\t\t\t\tthrow new BusinessException(" Customer has [" + count + "] open RTs ");\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\tlog.error(" Error on checkOpenRTs : [{}] ", e.getMessage(), e);\n\t\t\tthrow new BusinessException(e);\n\t\t}\n\t}\n\n\tprivate void checkUnmatchedAOs(Customer customer) throws BusinessException {\n\t\ttry {\n\n\t\t\tlog.debug(" Start checkUnmatchedAOs for customer = {} ", customer);\n\t\t\tString query = "select count(ao.id) from AccountOperation ao where ao.matchingStatus = 'O' and ao.customerAccount.customer.id =:customerId ";\n\t\t\tfinal AccountOperationService accountOperationService = (AccountOperationService) getServiceInterface(\n\t\t\t\t\tAccountOperationService.class.getSimpleName());\n\t\t\tObject count = accountOperationService.getEntityManager().createQuery(query)\n\t\t\t\t\t.setParameter("customerId", customer.getId()).getSingleResult();\n\t\t\tlog.debug(" count of unmatched AOs = {} ", count);\n\t\t\tlog.debug(" End checkUnmatchedAOs for customer = {} ", customer);\n\n\t\t\tif (((Long) count).intValue() > 0) {\n\t\t\t\tthrow new BusinessException(" Customer has [" + count + "] unmatched AOs ");\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\tlog.error(" Error on checkUnmatchedAOs : [{}] ", e.getMessage(), e);\n\t\t\tthrow new BusinessException(e);\n\t\t}\n\t}\n\n\tprivate void removeCustomerHirarchy(Customer customer) throws BusinessException {\n\t\tlog.debug(" Start removeCustomerHirarchy for customer = {} ", customer);\n\n\t\t//\n\t\t// A workaround for #4134 , no need for this method if #4134 is fixed (only\n\t\t// 6.1.X is concerned)!\n\t\tthis.nullifyAOsSeller(customer);\n \n \tthis.removeWalletOperations(customer);\n\t\tthis.removeChargeInstances(customer);\n\t\t// the relationship [SubCategoryInvoiceAgregate <=> WalletInstance] should be broke fisrt\n\t\tthis.nullifySubCategoryInvoiceAgregatesWallet(customer);\n\t\tthis.removeWalletInstances(customer);\n\t\t\n\t\tthis.removePaymentHistory(customer);\n\t\tthis.removeRatedTransactions(customer);\n\t\tthis.removeInvoices(customer);\n\n\n\t\tthis.removeServiceInstances(customer);\n\t\tthis.removeAccess(customer);\n\t\tthis.removeEDRs(customer);\n\t\tthis.removeSubscriptions(customer);\n\n\t\tthis.removeRejectedBAs(customer);\n\n\t\tthis.removeCounterPeriods(customer);\n\t\tthis.removeCounterInstances(customer);\n\t\tthis.removeOrderItems(customer);\n\t\tthis.removeProductInstances(customer);\n\t\tthis.removeMatchingAmounts(customer);\n\n\t\tthis.customerService.remove(customer);\n\n\t\tlog.debug(" End removeCustomerHirarchy for customer = {} ", customer);\n\t}\n\n\tprivate void removeEDRs(Customer customer) throws BusinessException {\n\t\ttry {\n\t\t\tlog.debug(" Start removeEDRs for customer = {} ", customer);\n\n\t\t\tString query = "select edr.id from EDR edr where edr.subscription.userAccount.billingAccount.customerAccount.customer.id =:customerId ";\n\n\t\t\tMap queryParams = new HashMap<>();\n\t\t\tqueryParams.put("customerId", customer.getId());\n\t\t\tObject result = edrService.executeSelectQuery(query.toString(), queryParams);\n\n\t\t\tCollection ids = safe(result != null ? ((List) result) : null);\n\t\t\tlog.debug(" {} EDR to delete ", ids.size());\n\n\t\t\tfor (Long id : ids) {\n\t\t\t\tedrService.remove(id);\n\t\t\t}\n\n\t\t\tlog.debug(" End removeEDRs for customer = {} ", customer);\n\t\t} catch (Exception e) {\n\t\t\tlog.error(" Error on removeEDRs : [{}] ", e.getMessage(), e);\n\t\t\tthrow new BusinessException(e);\n\t\t}\n\t}\n\n\tprivate void removeMatchingAmounts(Customer customer) throws BusinessException {\n\t\ttry {\n\t\t\tlog.debug(" Start removeMatchingAmounts for customer = {} ", customer);\n\n\t\t\tfinal MatchingAmountService matchingAmountService = (MatchingAmountService) getServiceInterface(MatchingAmountService.class.getSimpleName());\n\t\t\tfinal String query = "select ma.id from MatchingAmount ma where ma.accountOperation.customerAccount.customer.id =:customerId ";\n\n\t\t\tMap queryParams = new HashMap<>();\n\t\t\tqueryParams.put("customerId", customer.getId());\n\t\t\tObject result = matchingAmountService.executeSelectQuery(query.toString(), queryParams);\n\n\t\t\tCollection ids = safe(result != null ? ((List) result) : null);\n\t\t\tlog.debug(" {} MatchingAmount to delete ", ids.size());\n\n\t\t\tfor (Long id : ids) {\n\t\t\t\tmatchingAmountService.remove(id);\n\t\t\t}\n\n\t\t\tlog.debug(" End removeMatchingAmounts for customer = {} ", customer);\n\t\t} catch (Exception e) {\n\t\t\tlog.error(" Error on removeMatchingAmounts : [{}] ", e.getMessage(), e);\n\t\t\tthrow new BusinessException(e);\n\t\t}\n\t}\n\n\tprivate void removeAccess(Customer customer) throws BusinessException {\n\t\ttry {\n\t\t\tlog.debug(" Start removeAccess for customer = {} ", customer);\n\n\t\t\tfinal AccessService accessService = (AccessService) getServiceInterface(\n\t\t\t\t\tAccessService.class.getSimpleName());\n\n\t\t\tfinal String query = "select a.id from Access a where a.subscription.userAccount.billingAccount.customerAccount.customer.id =:customerId ";\n\n\t\t\tMap queryParams = new HashMap<>();\n\t\t\tqueryParams.put("customerId", customer.getId());\n\t\t\tObject result = accessService.executeSelectQuery(query.toString(), queryParams);\n\n\t\t\tCollection ids = safe(result != null ? ((List) result) : null);\n\t\t\tlog.debug(" {} Access to delete ", ids.size());\n\n\t\t\tfor (Long id : ids) {\n\t\t\t\taccessService.remove(id);\n\t\t\t}\n\n\t\t\tlog.debug(" End removeAccess for customer = {} ", customer);\n\t\t} catch (Exception e) {\n\t\t\tlog.error(" Error on removeAccess : [{}] ", e.getMessage(), e);\n\t\t\tthrow new BusinessException(e);\n\t\t}\n\t}\n\n\tprivate void removeServiceInstances(Customer customer) throws BusinessException {\n\t\ttry {\n\t\t\tlog.debug(" Start removeServiceInstances for customer = {} ", customer);\n\n\t\t\tCollection ids = safe(this.findServiceInstances(customer));\n\t\t\tlog.debug(" {} ServiceInstance to delete ", ids.size());\n\n\t\t\tfor (Long id : ids) {\n\t\t\t\tthis.serviceInstanceService.remove(id);\n\t\t\t}\n\n\t\t\tlog.debug(" End removeServiceInstances for customer = {} ", customer);\n\t\t} catch (Exception e) {\n\t\t\tlog.error(" Error on removeServiceInstances : [{}] ", e.getMessage(), e);\n\t\t\tthrow new BusinessException(e);\n\t\t}\n\t}\n\n\tprivate List findServiceInstances(Customer customer) {\n\t\ttry {\n\t\t\tlog.debug(" findServiceInstances for customer={} ", customer);\n\t\t\tString query = "select si.id from ServiceInstance si where si.subscription.userAccount.billingAccount.customerAccount.customer.id =:customerId ";\n\n\t\t\tMap queryParams = new HashMap<>();\n\t\t\tqueryParams.put("customerId", customer.getId());\n\t\t\tObject ids = this.serviceInstanceService.executeSelectQuery(query.toString(), queryParams);\n\n\t\t\treturn ids != null ? ((List) ids) : null;\n\t\t} catch (Exception e) {\n\t\t\tlog.error(" Error on findServiceInstances : [{}] ", e.getMessage(), e);\n\t\t\treturn null;\n\t\t}\n\t}\n\n\tprivate void removeWalletOperations(Customer customer) throws BusinessException {\n\t\ttry {\n\t\t\tlog.debug(" Start removeWalletOperations for customer = {} ", customer);\n\n\t\t\tCollection ids = safe(this.findWalletOperations(customer));\n\t\t\tlog.debug(" {} WalletOperation to delete ", ids.size());\n\n\t\t\tfor (Long id : ids) {\n\t\t\t\tthis.walletOperationService.remove(id);\n\t\t\t}\n\n\t\t\tlog.debug(" End removeWalletOperations for customer = {} ", customer);\n\t\t} catch (Exception e) {\n\t\t\tlog.error(" Error on removeWalletOperations : [{}] ", e.getMessage(), e);\n\t\t\tthrow new BusinessException(e);\n\t\t}\n\t}\n\n\tprivate List findWalletOperations(Customer customer) {\n\t\ttry {\n\t\t\tlog.debug(" findWalletOperations for customer={} ", customer);\n\t\t\tString query = "select wo.id from WalletOperation wo where wo.chargeInstance.userAccount.billingAccount.customerAccount.customer.id =:customerId ";\n\n\t\t\tMap queryParams = new HashMap<>();\n\t\t\tqueryParams.put("customerId", customer.getId());\n\t\t\tObject ids = this.walletOperationService.executeSelectQuery(query.toString(), queryParams);\n\n\t\t\treturn ids != null ? ((List) ids) : null;\n\t\t} catch (Exception e) {\n\t\t\tlog.error(" Error on findWalletOperations : [{}] ", e.getMessage(), e);\n\t\t\treturn null;\n\t\t}\n\t}\n\n\t/**\n\t * using Sub-queries to Resolve Error: ERROR: syntax error at or near "cross"\n\t * \n\t * @param customer\n\t * @throws BusinessException\n\t */\n\tprivate void removePaymentHistory(Customer customer) throws BusinessException {\n\t\ttry {\n\t\t\tlog.debug(" Start removePaymentHistory for customer = {} ", customer);\n\n\t\t\tString query = "delete from PaymentHistory ph1 where ph1.id in (select ph2.id from PaymentHistory ph2 where ph2.customerCode=:customerCode) ";\n\t\t\tint count = this.businessEntityService.getEntityManager().createQuery(query)\n\t\t\t\t\t.setParameter("customerCode", customer.getCode()).executeUpdate();\n\n\t\t\tlog.debug(" {} PaymentHistory to delete ", count);\n\t\t\tlog.debug(" End removePaymentHistory for customer = {} ", customer);\n\t\t} catch (Exception e) {\n\t\t\tlog.error(" Error on removePaymentHistory : [{}] ", e.getMessage(), e);\n\t\t\tthrow new BusinessException(e);\n\t\t}\n\t}\n\n\t/**\n\t * using Sub-queries to Resolve Error: ERROR: syntax error at or near "cross"\n\t * \n\t * @param customer\n\t * @throws BusinessException\n\t */\n\tprivate void nullifyAOsSeller(Customer customer) throws BusinessException {\n\t\ttry {\n\t\t\tlog.debug(" Start nullifyAOsSeller for customer = {} ", customer);\n\n\t\t\tString query = "UPDATE AccountOperation ao1 SET ao1.seller = null where ao1.id in (select ao2.id from AccountOperation ao2 where ao2.customerAccount.customer.id =:customerId) ";\n\t\t\tint count = this.accountOperationService.getEntityManager().createQuery(query)\n\t\t\t\t\t.setParameter("customerId", customer.getId()).executeUpdate();\n\n\t\t\tlog.debug(" seller to nullify for {} AOs ", count);\n\t\t\tlog.debug(" End nullifyAOsSeller for customer = {} ", customer);\n\t\t} catch (Exception e) {\n\t\t\tlog.error(" Error on nullifyAOsSeller : [{}] ", e.getMessage(), e);\n\t\t\tthrow new BusinessException(e);\n\t\t}\n\t}\n\t\n\tprivate void nullifySubCategoryInvoiceAgregatesWallet(Customer customer) throws BusinessException {\n\t\ttry {\n\t\t\tlog.debug(" Start nullifySubCategoryInvoiceAgregatesWallet for customer = {} ", customer);\n\n\t\t\tStringBuilder query = new StringBuilder( "UPDATE SubCategoryInvoiceAgregate subCat SET subCat.wallet = null ")\n\t\t\t\t\t.append(" where subCat.id in (select subCatIn.id from SubCategoryInvoiceAgregate subCatIn where subCatIn.wallet.userAccount.billingAccount.customerAccount.customer.id =:customerId) ");\n\t\t\t\n\t\t\tint count = this.accountOperationService.getEntityManager().createQuery(query.toString()).setParameter("customerId", customer.getId()).executeUpdate();\n\n\t\t\tlog.debug(" wallet to nullify for {} SubCategoryInvoiceAgregate ", count);\n\t\t\tlog.debug(" End nullifySubCategoryInvoiceAgregatesWallet for customer = {} ", customer);\n\t\t} catch (Exception e) {\n\t\t\tlog.error(" Error on nullifySubCategoryInvoiceAgregatesWallet : [{}] ", e.getMessage(), e);\n\t\t\tthrow new BusinessException(e);\n\t\t}\n\t\t\n\t}\n\n\n\tprivate void removeProductInstances(Customer customer) throws BusinessException {\n\t\ttry {\n\t\t\tlog.debug(" Start removeProductInstances for customer = {} ", customer);\n\n\t\t\tCollection ids = safe(this.findProductInstances(customer));\n\t\t\tlog.debug(" {} ProductInstance to delete ", ids.size());\n\n\t\t\tfor (Long id : ids) {\n\t\t\t\tthis.productInstanceService.remove(id);\n\t\t\t}\n\n\t\t\tlog.debug(" End removeProductInstances for customer = {} ", customer);\n\t\t} catch (Exception e) {\n\t\t\tlog.error(" Error on removeProductInstances : [{}] ", e.getMessage(), e);\n\t\t\tthrow new BusinessException(e);\n\t\t}\n\t}\n\n\tprivate List findProductInstances(Customer customer) {\n\t\ttry {\n\t\t\tlog.debug(" findProductInstances for customer={} ", customer);\n\t\t\tString query = "select p.id from ProductInstance p where p.userAccount.billingAccount.customerAccount.customer.id =:customerId ";\n\n\t\t\tMap queryParams = new HashMap<>();\n\t\t\tqueryParams.put("customerId", customer.getId());\n\t\t\tObject ids = this.productInstanceService.executeSelectQuery(query.toString(), queryParams);\n\n\t\t\treturn ids != null ? ((List) ids) : null;\n\t\t} catch (Exception e) {\n\t\t\tlog.error(" Error on findProductInstances : [{}] ", e.getMessage(), e);\n\t\t\treturn null;\n\t\t}\n\t}\n\n\tprivate void removeOrderItems(Customer customer) throws BusinessException {\n\t\ttry {\n\t\t\tlog.debug(" Start removeOrderItem for customer = {} ", customer);\n\n\t\t\tCollection ids = safe(this.findOrderItems(customer));\n\t\t\tlog.debug(" {} OrderItem to delete ", ids.size());\n\n\t\t\tfor (Long id : ids) {\n\t\t\t\tthis.orderItemService.remove(id);\n\t\t\t}\n\n\t\t\tlog.debug(" End removeOrderItem for customer = {} ", customer);\n\t\t} catch (Exception e) {\n\t\t\tlog.error(" Error on removeOrderItem : [{}] ", e.getMessage(), e);\n\t\t\tthrow new BusinessException(e);\n\t\t}\n\t}\n\n\tprivate List findOrderItems(Customer customer) {\n\t\ttry {\n\t\t\tlog.debug(" findOrderItems for customer={} ", customer);\n\t\t\tString query = "select p.id from OrderItem p where p.userAccount.billingAccount.customerAccount.customer.id =:customerId ";\n\n\t\t\tMap queryParams = new HashMap<>();\n\t\t\tqueryParams.put("customerId", customer.getId());\n\t\t\tObject ids = this.orderItemService.executeSelectQuery(query.toString(), queryParams);\n\n\t\t\treturn ids != null ? ((List) ids) : null;\n\t\t} catch (Exception e) {\n\t\t\tlog.error(" Error on findCounterPeriods : [{}] ", e.getMessage(), e);\n\t\t\treturn null;\n\t\t}\n\t}\n\n\tprivate void removeCounterPeriods(Customer customer) throws BusinessException {\n\t\ttry {\n\t\t\tlog.debug(" Start removeCounterPeriods for customer = {} ", customer);\n\n\t\t\tCollection ids = safe(this.findCounterPeriods(customer));\n\t\t\tlog.debug(" {} CounterPeriod to delete ", ids.size());\n\n\t\t\tfor (Long id : ids) {\n\t\t\t\tthis.counterPeriodService.remove(id);\n\t\t\t}\n\n\t\t\tlog.debug(" End removeCounterPeriods for customer = {} ", customer);\n\t\t} catch (Exception e) {\n\t\t\tlog.error(" Error on removeCounterPeriods : [{}] ", e.getMessage(), e);\n\t\t\tthrow new BusinessException(e);\n\t\t}\n\t}\n\n\tprivate List findCounterPeriods(Customer customer) {\n\t\ttry {\n\t\t\tlog.debug(" findCounterPeriods for customer={} ", customer);\n\t\t\tString query = "select c.id from CounterPeriod c where c.counterInstance.userAccount.billingAccount.customerAccount.customer.id =:customerId ";\n\n\t\t\tMap queryParams = new HashMap<>();\n\t\t\tqueryParams.put("customerId", customer.getId());\n\t\t\tObject ids = this.counterPeriodService.executeSelectQuery(query.toString(), queryParams);\n\n\t\t\treturn ids != null ? ((List) ids) : null;\n\t\t} catch (Exception e) {\n\t\t\tlog.error(" Error on findCounterPeriods : [{}] ", e.getMessage(), e);\n\t\t\treturn null;\n\t\t}\n\t}\n\n\tprivate void removeCounterInstances(Customer customer) throws BusinessException {\n\t\ttry {\n\t\t\tlog.debug(" Start removeCounterInstances for customer = {} ", customer);\n\n\t\t\tCollection ids = safe(this.findCounterInstances(customer));\n\t\t\tlog.debug(" {} CounterInstance to delete ", ids.size());\n\n\t\t\tfor (Long id : ids) {\n\t\t\t\tthis.counterInstanceService.remove(id);\n\t\t\t}\n\n\t\t\tlog.debug(" End removeCounterInstances for customer = {} ", customer);\n\t\t} catch (Exception e) {\n\t\t\tlog.error(" Error on removeCounterInstances : [{}] ", e.getMessage(), e);\n\t\t\tthrow new BusinessException(e);\n\t\t}\n\t}\n\n\tprivate List findCounterInstances(Customer customer) {\n\t\ttry {\n\t\t\tlog.debug(" findCounterInstances for customer={} ", customer);\n\t\t\tString query = "select c.id from CounterInstance c where c.userAccount.billingAccount.customerAccount.customer.id =:customerId ";\n\n\t\t\tMap queryParams = new HashMap<>();\n\t\t\tqueryParams.put("customerId", customer.getId());\n\t\t\tObject ids = this.counterInstanceService.executeSelectQuery(query.toString(), queryParams);\n\n\t\t\treturn ids != null ? ((List) ids) : null;\n\t\t} catch (Exception e) {\n\t\t\tlog.error(" Error on findCounterInstances : [{}] ", e.getMessage(), e);\n\t\t\treturn null;\n\t\t}\n\t}\n\n\tprivate void removeRejectedBAs(Customer customer) throws BusinessException {\n\t\ttry {\n\t\t\tlog.debug(" Start removeRejectedBAs for customer = {} ", customer);\n\n\t\t\tCollection ids = safe(this.findRejectedBillingAccounts(customer));\n\t\t\tlog.debug(" {} RejectedBillingAccount to delete ", ids.size());\n\n\t\t\tfor (Long id : ids) {\n\t\t\t\tthis.rejectedBillingAccountService.remove(id);\n\t\t\t}\n\n\t\t\tlog.debug(" End removeRejectedBAs for customer = {} ", customer);\n\t\t} catch (Exception e) {\n\t\t\tlog.error(" Error on removeRejectedBAs : [{}] ", e.getMessage(), e);\n\t\t\tthrow new BusinessException(e);\n\t\t}\n\t}\n\n\tprivate List findRejectedBillingAccounts(Customer customer) {\n\t\ttry {\n\t\t\tlog.debug(" findRejectedBillingAccounts for customer={} ", customer);\n\t\t\tString query = "select rba.id from RejectedBillingAccount rba where rba.billingAccount.customerAccount.customer.id =:customerId ";\n\n\t\t\tMap queryParams = new HashMap<>();\n\t\t\tqueryParams.put("customerId", customer.getId());\n\t\t\tObject ids = this.rejectedBillingAccountService.executeSelectQuery(query.toString(), queryParams);\n\n\t\t\treturn ids != null ? ((List) ids) : null;\n\t\t} catch (Exception e) {\n\t\t\tlog.error(" Error on findRejectedBillingAccounts : [{}] ", e.getMessage(), e);\n\t\t\treturn null;\n\t\t}\n\t}\n\n\tprivate void removeInvoices(Customer customer) throws BusinessException {\n\t\ttry {\n\t\t\tlog.debug(" Start removeInvoices for customer = {} ", customer);\n\n\t\t\tCollection ids = safe(this.findInvoicesIds(customer));\n\t\t\tlog.debug(" {} Invoices to delete ", ids.size());\n\n\t\t\tfor (Long id : ids) {\n\t\t\t\tthis.invoiceService.remove(id);\n\t\t\t}\n\n\t\t\tlog.debug(" End removeInvoices for customer = {} ", customer);\n\t\t} catch (Exception e) {\n\t\t\tlog.error(" Error on removeInvoices : [{}] ", e.getMessage(), e);\n\t\t\tthrow new BusinessException(e);\n\t\t}\n\t}\n\n\tprivate void removeWalletInstances(Customer customer) throws BusinessException {\n\t\ttry {\n\t\t\tlog.debug(" Start removeWalletInstances for customer = {} ", customer);\n\n\t\t\tCollection ids = safe(this.findWalletInstances(customer));\n\t\t\tlog.debug(" {} WalletInstance to delete ", ids.size());\n\n\t\t\tfor (Long id : ids) {\n\t\t\t\t// a workaround for #4132\n\t\t\t\tWalletInstance wallet = this.walletService.findById(id);\n\t\t\t\twallet.getUserAccount().setWallet(null);\n\n\t\t\t\tthis.walletService.remove(id);\n\t\t\t}\n\n\t\t\tlog.debug(" End removeWalletInstances for customer = {} ", customer);\n\t\t} catch (Exception e) {\n\t\t\tlog.error(" Error on removeWalletInstances : [{}] ", e.getMessage(), e);\n\t\t\tthrow new BusinessException(e);\n\t\t}\n\t}\n\n\tprivate List findWalletInstances(Customer customer) {\n\t\ttry {\n\t\t\tlog.debug(" findWalletInstances for customer={} ", customer);\n\t\t\tString query = "select wi.id from WalletInstance wi where wi.userAccount.billingAccount.customerAccount.customer.id =:customerId ";\n\n\t\t\tMap queryParams = new HashMap<>();\n\t\t\tqueryParams.put("customerId", customer.getId());\n\t\t\tObject ids = this.walletService.executeSelectQuery(query.toString(), queryParams);\n\n\t\t\treturn ids != null ? ((List) ids) : null;\n\t\t} catch (Exception e) {\n\t\t\tlog.error(" Error on findWalletInstances : [{}] ", e.getMessage(), e);\n\t\t\treturn null;\n\t\t}\n\t}\n\n\tprivate void removeRatedTransactions(Customer customer) throws BusinessException {\n\t\ttry {\n\t\t\tlog.debug(" Start removeRatedTransactions for customer = {} ", customer);\n\n\t\t\tCollection ids = safe(this.findRatedTransactions(customer));\n\t\t\tlog.debug(" {} RTs to delete ", ids.size());\n\n\t\t\tfor (Long id : ids) {\n\t\t\t\tthis.ratedTransactionService.remove(id);\n\t\t\t}\n\n\t\t\tlog.debug(" End removeRatedTransactions for customer = {} ", customer);\n\t\t} catch (Exception e) {\n\t\t\tlog.error(" Error on removeRatedTransactions : [{}] ", e.getMessage(), e);\n\t\t\tthrow new BusinessException(e);\n\t\t}\n\n\t}\n\n\tprivate List findRatedTransactions(Customer customer) {\n\t\ttry {\n\t\t\tlog.debug(" findRatedTransactions for customer={} ", customer);\n\t\t\tString query = "select rt.id from RatedTransaction rt where rt.billingAccount.customerAccount.customer.id =:customerId ";\n\n\t\t\tMap queryParams = new HashMap<>();\n\t\t\tqueryParams.put("customerId", customer.getId());\n\t\t\tObject ids = this.ratedTransactionService.executeSelectQuery(query, queryParams);\n\n\t\t\treturn ids != null ? ((List) ids) : null;\n\t\t} catch (Exception e) {\n\t\t\tlog.error(" Error on findRatedTransactions : [{}] ", e.getMessage(), e);\n\t\t\treturn null;\n\t\t}\n\t}\n\n\tprivate void removeChargeInstances(Customer customer) throws BusinessException {\n\t\ttry {\n\t\t\tlog.debug(" Start removeChargeInstances for customer = {} ", customer);\n\n\t\t\tCollection ids = safe(this.findChargeInstances(customer));\n\t\t\tlog.debug(" {} ChargeInstance to delete ", ids.size());\n\t\t\tfor (Long ciId : ids) {\n\t\t\t\tthis.chargeInstanceService.remove(ciId);\n\t\t\t}\n\t\t\tlog.debug(" End removeChargeInstances for customer = {} ", customer);\n\t\t} catch (Exception e) {\n\t\t\tlog.error(" Error on removeChargeInstances : [{}] ", e.getMessage(), e);\n\t\t\tthrow new BusinessException(e);\n\t\t}\n\t}\n\n\tprivate List findChargeInstances(Customer customer) {\n\t\ttry {\n\t\t\tlog.debug(" findChargeInstances for customer={} ", customer);\n\t\t\tString query = "select ci.id from ChargeInstance ci where ci.userAccount.billingAccount.customerAccount.customer.id =:customerId ";\n\n\t\t\tMap queryParams = new HashMap<>();\n\t\t\tqueryParams.put("customerId", customer.getId());\n\t\t\tObject ids = this.chargeInstanceService.executeSelectQuery(query, queryParams);\n\n\t\t\treturn ids != null ? ((List) ids) : null;\n\t\t} catch (Exception e) {\n\t\t\tlog.error(" Error on findChargeInstances : [{}] ", e.getMessage(), e);\n\t\t\treturn null;\n\t\t}\n\t}\n\n\tprivate void removeSubscriptions(Customer customer) throws BusinessException {\n\t\ttry {\n\t\t\tlog.debug(" Start removeSubscriptions for customer = {} ", customer);\n\t\t\tCollection ids = safe(this.findSubscriptions(customer));\n\t\t\tlog.debug(" {} Subscription to delete ", ids.size());\n\n\t\t\tfor (Long subscriptionId : ids) {\n\t\t\t\tthis.subscriptionService.remove(subscriptionId);\n\t\t\t}\n\t\t\tlog.debug(" End removeSubscriptions for customer = {} ", customer);\n\t\t} catch (Exception e) {\n\t\t\tlog.error(" Error on removeSubscriptions : [{}] ", e.getMessage(), e);\n\t\t\tthrow new BusinessException(e);\n\t\t}\n\t}\n\n\tprivate List findSubscriptions(Customer customer) {\n\t\ttry {\n\t\t\tlog.debug(" findSubscriptions for customer={} ", customer);\n\t\t\tStringBuffer query = new StringBuffer(\n\t\t\t\t\t"select s.id from Subscription s where s.userAccount.billingAccount.customerAccount.customer =:customer ");\n\n\t\t\tMap queryParams = new HashMap<>();\n\t\t\tqueryParams.put("customer", customer);\n\t\t\tObject ids = this.subscriptionService.executeSelectQuery(query.toString(), queryParams);\n\n\t\t\treturn ids != null ? ((List) ids) : null;\n\t\t} catch (Exception e) {\n\t\t\tlog.error(" Error on findSubscriptions : [{}] ", e.getMessage(), e);\n\t\t\treturn null;\n\t\t}\n\t}\n\n\tprivate List findInvoicesIds(Customer customer) {\n\t\ttry {\n\t\t\tlog.debug(" findInvoicesIds for customer={} ", customer);\n\t\t\tStringBuffer query = new StringBuffer(\n\t\t\t\t\t"select inv.id from Invoice inv where inv.billingAccount.customerAccount.customer =:customer ");\n\n\t\t\tMap queryParams = new HashMap<>();\n\t\t\tqueryParams.put("customer", customer);\n\t\t\tObject ids = this.invoiceService.executeSelectQuery(query.toString(), queryParams);\n\n\t\t\treturn ids != null ? ((List) ids) : null;\n\t\t} catch (Exception e) {\n\t\t\tlog.error(" Error on getSubscription : [{}] ", e.getMessage(), e);\n\t\t\treturn null;\n\t\t}\n\t}\n\n\tprivate Collection safe(Collection collection) {\n\t\treturn collection == null ? Collections.EMPTY_LIST : collection;\n\t}\n} \N \N \N JAVA 0 0 +-24 0 0 2024-01-26 14:03:26.561984 \N org.meveo.service.script.ValidateBRScript Validate Billing Runs \n\t\t\tpackage org.meveo.service.script;\n\nimport java.util.List;\nimport java.util.Map;\n\nimport org.meveo.admin.exception.BusinessException;\nimport org.meveo.model.billing.BillingRun;\nimport org.meveo.model.billing.BillingRunStatusEnum;\nimport org.meveo.service.billing.impl.BillingRunExtensionService;\nimport org.meveo.service.billing.impl.BillingRunService;\n\n/**\n * @author phung\n *\n */\npublic class ValidateBRScript extends Script {\n\n\t@Override\n\tpublic void execute(Map methodContext) throws BusinessException {\n\n\t\tBillingRunService billingRunService = (BillingRunService) getServiceInterface("BillingRunService");\n\n\t\tBillingRunExtensionService billingRunExtensionService = (BillingRunExtensionService) getServiceInterface(\n\t\t\t\t"BillingRunExtensionService");\n\n\t\tif (billingRunService != null) {\n\t\t\tList billingRuns = billingRunService.getbillingRuns(BillingRunStatusEnum.PREINVOICED, BillingRunStatusEnum.POSTINVOICED);\n\n\t\t\tfor (BillingRun billingRun : billingRuns) {\n\n\t\t\t\ttry {\n\t\t\t\t\tbillingRunExtensionService.updateBillingRun(billingRun.getId(), null, null,\n\t\t\t\t\t\t\tBillingRunStatusEnum.POSTVALIDATED, null);\n\t\t\t\t} catch (Exception e) {\n\t\t\t\t\tSystem.err.println("Error " + e.getMessage());\n\t\t\t\t}\n\t\t\t}\n\n\t\t}\n\n\t}\n}\n\n \N \N \N JAVA 0 0 +\. + + +-- +-- Data for Name: meveo_script_instance_cat; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.meveo_script_instance_cat (id, version, disabled, created, updated, code, description, creator, updater) FROM stdin; +-1 0 0 2024-01-26 14:02:20.931378 \N REPORT_EXTRACT Report Extract \N \N +\. + + +-- +-- Data for Name: meveo_timer; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.meveo_timer (id, version, sc_d_o_month, sc_d_o_week, sc_end, sc_hour, sc_min, sc_month, sc_sec, sc_start, sc_year, code, description, created, creator, updated, updater, disabled) FROM stdin; +-1 0 * * \N * 0 * 0 \N * Hourly \N 2015-03-19 00:04:19.913 \N \N \N 0 +-2 0 Last 0 \N 23 59 * 59 \N * Monthly \N 2015-03-19 00:04:19.913 \N \N \N 0 +-3 0 * * \N 23 59 * 59 \N * Daily-midnight \N 2017-06-29 00:04:19.913 \N \N \N 0 +2 0 * * \N * */60 * 0 \N * Every-16-minutes the packet gateway timeout is 15 min, so every 16 min we clean expired reservations 2024-01-31 10:21:49.294 public.superadmin \N \N 0 +\. + + +-- +-- Data for Name: ord_item_offerings; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.ord_item_offerings (order_item_id, prd_offering_id, id, item_order) FROM stdin; +\. + + +-- +-- Data for Name: ord_item_prd_instance; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.ord_item_prd_instance (order_item_id, prd_instance_id) FROM stdin; +\. + + +-- +-- Data for Name: ord_order; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.ord_order (id, version, created, updated, creator, updater, code, description, external_id, delivery_instructions, order_date, req_start_date, req_completion_date, exp_completion_date, completion_date, priority, category, status, status_message, routed_to_user_group_id, received_from, start_date, uuid, due_date_delay_el, due_date_delay_el_sp, payment_method_id, cf_values, cf_values_accum, quote_id, billing_cycle, billing_run, order_number, mailing_type, cced_emails, email, electronic_billing, email_template_id) FROM stdin; +\. + + +-- +-- Data for Name: ord_order_history; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.ord_order_history (id, version, order_item_id, service_instance_id, action, event_date, order_number) FROM stdin; +\. + + +-- +-- Data for Name: ord_order_item; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.ord_order_item (id, version, order_id, item_id, action, user_account_id, source, status, subscription_id, description, address_1, address_2, address_3, address_city, address_country_id, address_state, address_zipcode, code, created, updated, creator, updater, uuid, cf_values, cf_values_accum) FROM stdin; +\. + + +-- +-- Data for Name: ord_quot_item_offerings; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.ord_quot_item_offerings (quote_item_id, prd_offering_id, id, item_order) FROM stdin; +\. + + +-- +-- Data for Name: ord_quote; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.ord_quote (id, version, created, updated, creator, updater, code, description, external_id, quote_version, contact, quote_date, valid_from, valid_to, req_completion_date, order_start_date, completion_date, category, status, status_message, routed_to_user_group_id, received_from, uuid, user_account_id, cf_values, cf_values_accum) FROM stdin; +\. + + +-- +-- Data for Name: ord_quote_item; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.ord_quote_item (id, version, quote_id, item_id, source, status, user_account_id) FROM stdin; +\. + + +-- +-- Data for Name: rating_cdr; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.rating_cdr (id, version, created, event_date, last_updated, origin_batch, origin_record, quantity, reject_reason, status, status_date, parameter_1, parameter_2, parameter_3, parameter_4, parameter_5, parameter_6, parameter_7, parameter_8, parameter_9, date_parameter_1, date_parameter_2, date_parameter_3, date_parameter_4, date_parameter_5, decimal_parameter_1, decimal_parameter_2, decimal_parameter_3, decimal_parameter_4, decimal_parameter_5, access_code, header_edr_id, extra_parameter) FROM stdin; +\. + + +-- +-- Data for Name: rating_edr_open; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.rating_edr_open (id, version, created, event_date, last_updated, origin_batch, origin_record, parameter_1, parameter_2, parameter_3, parameter_4, quantity, reject_reason, status, subscription_id, parameter_5, parameter_6, parameter_7, parameter_8, parameter_9, date_parameter_1, date_parameter_2, date_parameter_3, date_parameter_4, date_parameter_5, decimal_parameter_1, decimal_parameter_2, decimal_parameter_3, decimal_parameter_4, decimal_parameter_5, access_code, header_edr_id, extra_parameter) FROM stdin; +\. + + +-- +-- Data for Name: rating_edr_other; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.rating_edr_other (id, version, created, event_date, last_updated, origin_batch, origin_record, parameter_1, parameter_2, parameter_3, parameter_4, quantity, reject_reason, status, subscription_id, parameter_5, parameter_6, parameter_7, parameter_8, parameter_9, date_parameter_1, date_parameter_2, date_parameter_3, date_parameter_4, date_parameter_5, decimal_parameter_1, decimal_parameter_2, decimal_parameter_3, decimal_parameter_4, decimal_parameter_5, access_code, header_edr_id, extra_parameter) FROM stdin; +1 2 2024-11-27 14:16:28.369 2024-11-27 14:16:29.082 2024-11-27 14:16:35.667 API_10.5.82.141 development@simfony.com_1732716988356 MODATA ROMMF ROMANIA TEST_ROMANIA 0.000000000000 \N RATED 1 \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N 268069223012541 \N \N +2 2 2024-11-27 14:16:36.107 2024-11-27 14:16:36.111 2024-11-27 14:17:30.546 API_10.5.82.141 development@simfony.com_1732716996104 MODATA ROMMF ROMANIA TEST_ROMANIA 0.000000000000 \N RATED 1 \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N 268069223012541 \N \N +3 2 2024-11-27 14:17:30.968 2024-11-27 14:17:30.972 2024-11-27 14:17:38.547 API_10.5.82.141 development@simfony.com_1732717050966 MODATA ROMMF ROMANIA TEST_ROMANIA 0.000000000000 \N RATED 1 \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N 268069223012541 \N \N +4 2 2024-11-27 14:17:38.982 2024-11-27 14:17:38.985 2024-11-27 14:18:44.321 API_10.5.82.141 development@simfony.com_1732717058980 MODATA ROMMF ROMANIA TEST_ROMANIA 0.000000000000 \N RATED 1 \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N 268069223012541 \N \N +5 2 2024-11-27 14:18:44.759 2024-11-27 14:18:44.764 2024-11-27 14:18:52.299 API_10.5.82.141 development@simfony.com_1732717124753 MODATA ROMMF ROMANIA TEST_ROMANIA 0.000000000000 \N RATED 1 \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N 268069223012541 \N \N +6 2 2024-11-27 14:18:52.718 2024-11-27 14:18:52.722 2024-11-27 14:19:26.375 API_10.5.82.141 development@simfony.com_1732717132716 MODATA ROMMF ROMANIA TEST_ROMANIA 0.000000000000 \N RATED 1 \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N 268069223012541 \N \N +7 2 2024-11-27 14:19:26.844 2024-11-27 14:19:26.847 2024-11-27 14:19:34.398 API_10.5.82.141 development@simfony.com_1732717166841 MODATA ROMMF ROMANIA TEST_ROMANIA 0.000000000000 \N RATED 1 \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N 268069223012541 \N \N +8 2 2024-11-27 14:19:34.857 2024-11-27 14:19:34.861 2024-11-27 14:20:24.984 API_10.5.82.141 development@simfony.com_1732717174853 MODATA ROMMF ROMANIA TEST_ROMANIA 0.000000000000 \N RATED 1 \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N 268069223012541 \N \N +9 2 2024-11-27 14:20:25.473 2024-11-27 14:20:25.476 2024-11-27 14:20:33.007 API_10.5.82.141 development@simfony.com_1732717225470 MODATA ROMMF ROMANIA TEST_ROMANIA 0.000000000000 \N RATED 1 \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N 268069223012541 \N \N +10 2 2024-11-27 14:20:33.447 2024-11-27 14:20:33.45 2024-11-27 14:21:00.297 API_10.5.82.141 development@simfony.com_1732717233445 MODATA ROMMF ROMANIA TEST_ROMANIA 0.000000000000 \N RATED 1 \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N 268069223012541 \N \N +11 2 2024-11-27 14:21:00.747 2024-11-27 14:21:00.75 2024-11-27 14:21:08.305 API_10.5.82.141 development@simfony.com_1732717260744 MODATA ROMMF ROMANIA TEST_ROMANIA 0.000000000000 \N RATED 1 \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N 268069223012541 \N \N +12 2 2024-11-27 14:21:08.739 2024-11-27 14:21:08.742 2024-11-27 14:24:19.092 API_10.5.82.141 development@simfony.com_1732717268737 MODATA ROMMF ROMANIA TEST_ROMANIA 0.000000000000 \N RATED 1 \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N 268069223012541 \N \N +13 2 2024-11-27 14:28:39.186 2024-11-27 14:28:39.187 2024-11-27 14:28:47.073 API_10.5.82.141 development@simfony.com_1732717719183 MODATA ROMMF ROMANIA TEST_ROMANIA 0.000000000000 \N RATED 1 \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N 268069223012541 \N \N +14 2 2024-11-27 14:28:47.479 2024-11-27 14:28:47.482 2024-11-27 14:29:35.804 API_10.5.82.141 development@simfony.com_1732717727477 MODATA ROMMF ROMANIA TEST_ROMANIA 0.000000000000 \N RATED 1 \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N 268069223012541 \N \N +15 2 2024-11-27 14:29:36.228 2024-11-27 14:29:36.23 2024-11-27 14:29:43.816 API_10.5.82.141 development@simfony.com_1732717776225 MODATA ROMMF ROMANIA TEST_ROMANIA 0.000000000000 \N RATED 1 \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N 268069223012541 \N \N +16 2 2024-11-27 14:29:44.228 2024-11-27 14:29:44.23 2024-11-27 14:30:15.306 API_10.5.82.141 development@simfony.com_1732717784225 MODATA ROMMF ROMANIA TEST_ROMANIA 0.000000000000 \N RATED 1 \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N 268069223012541 \N \N +17 2 2024-11-27 14:30:15.72 2024-11-27 14:30:15.723 2024-11-27 14:30:23.319 API_10.5.82.141 development@simfony.com_1732717815718 MODATA ROMMF ROMANIA TEST_ROMANIA 0.000000000000 \N RATED 1 \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N 268069223012541 \N \N +18 2 2024-11-27 14:30:23.736 2024-11-27 14:30:23.739 2024-11-27 14:33:34.141 API_10.5.82.141 development@simfony.com_1732717823734 MODATA ROMMF ROMANIA TEST_ROMANIA 0.000000000000 \N RATED 1 \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N 268069223012541 \N \N +19 2 2024-11-27 14:34:09.021 2024-11-27 14:34:09.022 2024-11-27 14:34:16.398 API_10.5.82.141 development@simfony.com_1732718049017 MODATA ROMMR ROMANIA TEST_ROMANIA 24.000000000000 \N RATED 1 \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N 268069223012541 \N \N +20 2 2024-11-27 14:34:16.317 2024-11-27 14:34:16.32 2024-11-27 14:34:33.972 API_10.5.82.141 development@simfony.com_1732718056315 MODATA ROMMR ROMANIA TEST_ROMANIA 1024.000000000000 \N RATED 1 \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N 268069223012541 \N \N +21 2 2024-11-27 14:34:34.111 2024-11-27 14:34:34.114 2024-11-27 14:34:38.706 API_10.5.82.141 development@simfony.com_1732718074109 MODATA ROMMR ROMANIA TEST_ROMANIA 1024.000000000000 \N RATED 1 \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N 268069223012541 \N \N +22 2 2024-11-27 14:34:38.846 2024-11-27 14:34:38.848 2024-11-27 14:34:43.943 API_10.5.82.141 development@simfony.com_1732718078844 MODATA ROMMR ROMANIA TEST_ROMANIA 1024.000000000000 \N RATED 1 \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N 268069223012541 \N \N +23 2 2024-11-27 14:34:44.091 2024-11-27 14:34:44.095 2024-11-27 14:34:49.707 API_10.5.82.141 development@simfony.com_1732718084088 MODATA ROMMR ROMANIA TEST_ROMANIA 1024.000000000000 \N RATED 1 \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N 268069223012541 \N \N +24 2 2024-11-27 14:34:49.848 2024-11-27 14:34:49.85 2024-11-27 14:35:00.475 API_10.5.82.141 development@simfony.com_1732718089846 MODATA ROMMR ROMANIA TEST_ROMANIA 1024.000000000000 \N RATED 1 \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N 268069223012541 \N \N +25 2 2024-11-27 14:35:00.616 2024-11-27 14:35:00.618 2024-11-27 14:35:04.157 API_10.5.82.141 development@simfony.com_1732718100614 MODATA ROMMR ROMANIA TEST_ROMANIA 1024.000000000000 \N RATED 1 \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N 268069223012541 \N \N +26 2 2024-11-27 14:35:04.3 2024-11-27 14:35:04.303 2024-11-27 14:35:06.761 API_10.5.82.141 development@simfony.com_1732718104299 MODATA ROMMR ROMANIA TEST_ROMANIA 44.000000000000 \N RATED 1 \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N 268069223012541 \N \N +27 2 2024-11-27 14:35:45.1 2024-11-27 14:35:45.102 2024-11-27 14:35:52.509 API_10.5.82.141 development@simfony.com_1732718145097 MODATA ROMMR ROMANIA TEST_ROMANIA 1024.000000000000 \N RATED 1 \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N 268069223012541 \N \N +28 2 2024-11-27 14:35:52.643 2024-11-27 14:35:52.645 2024-11-27 14:35:56.523 API_10.5.82.141 development@simfony.com_1732718152641 MODATA ROMMR ROMANIA TEST_ROMANIA 1024.000000000000 \N RATED 1 \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N 268069223012541 \N \N +29 2 2024-11-27 14:35:56.661 2024-11-27 14:35:56.663 2024-11-27 14:36:22.685 API_10.5.82.141 development@simfony.com_1732718156659 MODATA ROMMR ROMANIA TEST_ROMANIA 1024.000000000000 \N RATED 1 \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N 268069223012541 \N \N +30 2 2024-11-27 14:36:22.818 2024-11-27 14:36:22.822 2024-11-27 14:36:25.329 API_10.5.82.141 development@simfony.com_1732718182816 MODATA ROMMR ROMANIA TEST_ROMANIA 1024.000000000000 \N RATED 1 \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N 268069223012541 \N \N +31 2 2024-11-27 14:36:25.468 2024-11-27 14:36:25.471 2024-11-27 14:36:27.136 API_10.5.82.141 development@simfony.com_1732718185466 MODATA ROMMR ROMANIA TEST_ROMANIA 1024.000000000000 \N RATED 1 \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N 268069223012541 \N \N +32 1 2024-11-27 14:36:27.278 2024-11-27 14:36:27.281 2024-11-27 14:36:27.292 API_10.5.82.141 development@simfony.com_1732718187276 MODATA ROMMR ROMANIA TEST_ROMANIA 1024.000000000000 \N RATED 1 \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N 268069223012541 \N \N +33 2 2024-11-27 14:36:30.987 2024-11-27 14:36:30.992 2024-11-27 14:36:34.984 API_10.5.82.141 development@simfony.com_1732718190985 MODATA ROMMR ROMANIA TEST_ROMANIA 1024.000000000000 \N RATED 1 \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N 268069223012541 \N \N +34 2 2024-11-27 14:36:35.114 2024-11-27 14:36:35.117 2024-11-27 14:36:38.802 API_10.5.82.141 development@simfony.com_1732718195112 MODATA ROMMR ROMANIA TEST_ROMANIA 1024.000000000000 \N RATED 1 \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N 268069223012541 \N \N +35 2 2024-11-27 14:36:38.941 2024-11-27 14:36:38.943 2024-11-27 14:36:41.792 API_10.5.82.141 development@simfony.com_1732718198939 MODATA ROMMR ROMANIA TEST_ROMANIA 240.269000000000 \N RATED 1 \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N 268069223012541 \N \N +36 2 2024-11-27 14:42:55.639 2024-11-27 14:42:55.64 2024-11-27 14:43:00.799 API_10.5.82.141 development@simfony.com_1732718575636 MODATA ROMMR ROMANIA TEST_ROMANIA 1024.000000000000 \N RATED 1 \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N 268069223012541 \N \N +37 2 2024-11-27 14:43:00.941 2024-11-27 14:43:00.945 2024-11-27 14:43:03.38 API_10.5.82.141 development@simfony.com_1732718580939 MODATA ROMMR ROMANIA TEST_ROMANIA 1024.000000000000 \N RATED 1 \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N 268069223012541 \N \N +38 2 2024-11-27 14:43:03.544 2024-11-27 14:43:03.548 2024-11-27 14:43:05.264 API_10.5.82.141 development@simfony.com_1732718583542 MODATA ROMMR ROMANIA TEST_ROMANIA 1024.000000000000 \N RATED 1 \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N 268069223012541 \N \N +39 2 2024-11-27 14:43:05.404 2024-11-27 14:43:05.406 2024-11-27 14:43:10.577 API_10.5.82.141 development@simfony.com_1732718585402 MODATA ROMMR ROMANIA TEST_ROMANIA 1024.000000000000 \N RATED 1 \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N 268069223012541 \N \N +40 2 2024-11-27 14:43:10.712 2024-11-27 14:43:10.714 2024-11-27 14:43:15.939 API_10.5.82.141 development@simfony.com_1732718590710 MODATA ROMMR ROMANIA TEST_ROMANIA 1024.000000000000 \N RATED 1 \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N 268069223012541 \N \N +43 1 2024-11-27 14:43:26.662 2024-11-27 14:43:26.508 2024-11-27 14:43:26.7 API_10.5.82.141 development@simfony.com_1732718606659 MODATA ROMMR ROMANIA TEST_ROMANIA 3.561000000000 \N RATED 1 \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N 268069223012541 \N \N +44 2 2024-11-27 14:43:27.299 2024-11-27 14:43:27.302 2024-11-27 14:43:29.55 API_10.5.82.141 development@simfony.com_1732718607297 MODATA ROMMR ROMANIA TEST_ROMANIA 0.000000000000 \N RATED 1 \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N 268069223012541 \N \N +41 2 2024-11-27 14:43:16.078 2024-11-27 14:43:16.08 2024-11-27 14:43:17.678 API_10.5.82.141 development@simfony.com_1732718596075 MODATA ROMMR ROMANIA TEST_ROMANIA 1024.000000000000 \N RATED 1 \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N 268069223012541 \N \N +42 2 2024-11-27 14:43:17.821 2024-11-27 14:43:17.823 2024-11-27 14:45:28.863 API_10.5.82.141 development@simfony.com_1732718597819 MODATA ROMMR ROMANIA TEST_ROMANIA 1024.000000000000 \N RATED 1 \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N 268069223012541 \N \N +45 2 2024-12-11 17:20:36.087 2024-12-11 17:20:36.091 2024-12-11 17:20:41.931 API_10.5.82.141 development@simfony.com_1733937636078 MODATA ROMMR ROMANIA TEST_ROMANIA 0.000000000000 \N RATED 1 \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N 268069223012541 \N \N +46 2 2024-12-11 17:20:42.436 2024-12-11 17:20:42.439 2024-12-11 17:20:56.396 API_10.5.82.141 development@simfony.com_1733937642434 MODATA ROMMR ROMANIA TEST_ROMANIA 0.000000000000 \N RATED 1 \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N 268069223012541 \N \N +47 2 2024-12-11 17:21:03.576 2024-12-11 17:21:03.58 2024-12-11 17:21:33.649 API_10.5.82.141 development@simfony.com_1733937663573 MODATA ROMMR ROMANIA TEST_ROMANIA 277.000000000000 \N RATED 1 \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N 268069223012541 \N \N +48 2 2024-12-11 17:21:43.871 2024-12-11 17:21:43.874 2024-12-11 17:51:43.584 API_10.5.82.141 development@simfony.com_1733937703868 MODATA ROMMR ROMANIA TEST_ROMANIA 0.000000000000 \N RATED 1 \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N 268069223012541 \N \N +49 2 2024-12-11 17:51:43.733 2024-12-11 17:51:43.735 2024-12-11 18:21:43.193 API_10.5.82.141 development@simfony.com_1733939503729 MODATA ROMMR ROMANIA TEST_ROMANIA 0.000000000000 \N RATED 1 \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N 268069223012541 \N \N +50 2 2024-12-11 18:21:43.338 2024-12-11 18:21:43.34 2024-12-11 18:51:43.799 API_10.5.82.141 development@simfony.com_1733941303334 MODATA ROMMR ROMANIA TEST_ROMANIA 30.530000000000 \N RATED 1 \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N 268069223012541 \N \N +51 2 2024-12-11 18:51:43.942 2024-12-11 18:51:43.943 2024-12-11 19:21:44.396 API_10.5.82.141 development@simfony.com_1733943103939 MODATA ROMMR ROMANIA TEST_ROMANIA 0.000000000000 \N RATED 1 \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N 268069223012541 \N \N +52 2 2024-12-11 19:21:44.553 2024-12-11 19:21:44.555 2024-12-11 19:51:44.011 API_10.5.82.141 development@simfony.com_1733944904541 MODATA ROMMR ROMANIA TEST_ROMANIA 0.000000000000 \N RATED 1 \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N 268069223012541 \N \N +53 2 2024-12-11 19:51:44.155 2024-12-11 19:51:44.156 2024-12-11 20:21:44.623 API_10.5.82.141 development@simfony.com_1733946704152 MODATA ROMMR ROMANIA TEST_ROMANIA 0.000000000000 \N RATED 1 \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N 268069223012541 \N \N +54 2 2024-12-11 20:21:44.773 2024-12-11 20:21:44.775 2024-12-11 20:52:50.048 API_10.5.82.141 development@simfony.com_1733948504770 MODATA ROMMR ROMANIA TEST_ROMANIA 0.000000000000 \N RATED 1 \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N 268069223012541 \N \N +55 2 2024-12-11 20:52:50.252 2024-12-11 20:52:50.256 2024-12-11 20:52:55.366 API_10.5.82.141 development@simfony.com_1733950370239 MODATA ROMMR ROMANIA TEST_ROMANIA 0.470000000000 \N RATED 1 \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N 268069223012541 \N \N +56 2 2024-12-11 20:52:55.858 2024-12-11 20:52:55.863 2024-12-11 20:53:02.517 API_10.5.82.141 development@simfony.com_1733950375856 MODATA ROMMR ROMANIA TEST_ROMANIA 0.000000000000 \N RATED 1 \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N 268069223012541 \N \N +57 2 2024-12-11 20:53:03.05 2024-12-11 20:53:03.054 2024-12-11 21:23:02.882 API_10.5.82.141 development@simfony.com_1733950383048 MODATA ROMMR ROMANIA TEST_ROMANIA 0.000000000000 \N RATED 1 \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N 268069223012541 \N \N +58 2 2024-12-11 21:23:03.03 2024-12-11 21:23:03.032 2024-12-11 21:53:03.453 API_10.5.82.141 development@simfony.com_1733952183027 MODATA ROMMR ROMANIA TEST_ROMANIA 0.000000000000 \N RATED 1 \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N 268069223012541 \N \N +59 2 2024-12-11 21:53:03.6 2024-12-11 21:53:03.603 2024-12-11 22:23:03.085 API_10.5.82.141 development@simfony.com_1733953983597 MODATA ROMMR ROMANIA TEST_ROMANIA 0.000000000000 \N RATED 1 \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N 268069223012541 \N \N +60 2 2024-12-11 22:23:03.222 2024-12-11 22:23:03.223 2024-12-11 22:53:03.662 API_10.5.82.141 development@simfony.com_1733955783219 MODATA ROMMR ROMANIA TEST_ROMANIA 0.000000000000 \N RATED 1 \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N 268069223012541 \N \N +61 2 2024-12-11 22:53:03.804 2024-12-11 22:53:03.806 2024-12-11 23:23:03.279 API_10.5.82.141 development@simfony.com_1733957583801 MODATA ROMMR ROMANIA TEST_ROMANIA 0.000000000000 \N RATED 1 \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N 268069223012541 \N \N +62 2 2024-12-11 23:23:03.415 2024-12-11 23:23:03.417 2024-12-11 23:53:02.887 API_10.5.82.141 development@simfony.com_1733959383413 MODATA ROMMR ROMANIA TEST_ROMANIA 0.000000000000 \N RATED 1 \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N 268069223012541 \N \N +63 2 2024-12-11 23:53:03.024 2024-12-11 23:53:03.025 2024-12-12 00:23:03.515 API_10.5.82.141 development@simfony.com_1733961183022 MODATA ROMMR ROMANIA TEST_ROMANIA 0.000000000000 \N RATED 1 \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N 268069223012541 \N \N +64 2 2024-12-12 00:23:03.661 2024-12-12 00:23:03.663 2024-12-12 00:53:03.089 API_10.5.82.141 development@simfony.com_1733962983659 MODATA ROMMR ROMANIA TEST_ROMANIA 0.000000000000 \N RATED 1 \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N 268069223012541 \N \N +65 2 2024-12-12 00:53:03.229 2024-12-12 00:53:03.231 2024-12-12 01:23:03.689 API_10.5.82.141 development@simfony.com_1733964783227 MODATA ROMMR ROMANIA TEST_ROMANIA 0.000000000000 \N RATED 1 \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N 268069223012541 \N \N +66 2 2024-12-12 01:23:03.83 2024-12-12 01:23:03.832 2024-12-12 01:53:03.284 API_10.5.82.141 development@simfony.com_1733966583828 MODATA ROMMR ROMANIA TEST_ROMANIA 0.000000000000 \N RATED 1 \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N 268069223012541 \N \N +67 2 2024-12-12 01:53:03.428 2024-12-12 01:53:03.43 2024-12-12 02:23:02.877 API_10.5.82.141 development@simfony.com_1733968383426 MODATA ROMMR ROMANIA TEST_ROMANIA 0.000000000000 \N RATED 1 \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N 268069223012541 \N \N +68 2 2024-12-12 02:23:03.009 2024-12-12 02:23:03.01 2024-12-12 02:53:03.477 API_10.5.82.141 development@simfony.com_1733970183007 MODATA ROMMR ROMANIA TEST_ROMANIA 0.000000000000 \N RATED 1 \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N 268069223012541 \N \N +69 2 2024-12-12 02:53:03.611 2024-12-12 02:53:03.613 2024-12-12 03:23:03.079 API_10.5.82.141 development@simfony.com_1733971983609 MODATA ROMMR ROMANIA TEST_ROMANIA 0.000000000000 \N RATED 1 \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N 268069223012541 \N \N +70 2 2024-12-12 03:23:03.225 2024-12-12 03:23:03.227 2024-12-12 03:53:03.701 API_10.5.82.141 development@simfony.com_1733973783223 MODATA ROMMR ROMANIA TEST_ROMANIA 0.000000000000 \N RATED 1 \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N 268069223012541 \N \N +71 2 2024-12-12 03:53:03.84 2024-12-12 03:53:03.842 2024-12-12 04:23:03.308 API_10.5.82.141 development@simfony.com_1733975583838 MODATA ROMMR ROMANIA TEST_ROMANIA 0.000000000000 \N RATED 1 \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N 268069223012541 \N \N +72 2 2024-12-12 04:23:03.452 2024-12-12 04:23:03.454 2024-12-12 04:53:02.905 API_10.5.82.141 development@simfony.com_1733977383450 MODATA ROMMR ROMANIA TEST_ROMANIA 0.000000000000 \N RATED 1 \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N 268069223012541 \N \N +73 2 2024-12-12 04:53:03.044 2024-12-12 04:53:03.046 2024-12-12 05:23:03.522 API_10.5.82.141 development@simfony.com_1733979183041 MODATA ROMMR ROMANIA TEST_ROMANIA 0.000000000000 \N RATED 1 \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N 268069223012541 \N \N +74 2 2024-12-12 05:23:03.659 2024-12-12 05:23:03.661 2024-12-12 05:53:03.106 API_10.5.82.141 development@simfony.com_1733980983657 MODATA ROMMR ROMANIA TEST_ROMANIA 0.000000000000 \N RATED 1 \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N 268069223012541 \N \N +98 1 2024-12-12 16:30:14.944 2024-12-12 16:30:14.798 2024-12-12 16:30:15.022 API_10.5.82.141 development@simfony.com_1734021014943 MODATA ROMMR ROMANIA TEST_ROMANIA 0.000000000000 \N RATED 1 \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N 268069223012541 \N \N +101 1 2024-12-18 13:51:21.029 2024-12-18 13:51:20.881 2024-12-18 13:51:21.079 API_10.5.82.141 development@simfony.com_1734529881026 MODATA ROMMR ROMANIA TEST_ROMANIA 0.000000000000 \N RATED 1 \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N 268069223012541 \N \N +104 1 2024-12-18 13:55:27.454 2024-12-18 13:55:27.315 2024-12-18 13:55:27.525 API_10.5.82.141 development@simfony.com_1734530127451 MODATA ROMMR ROMANIA TEST_ROMANIA 0.000000000000 \N RATED 1 \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N 268069223012541 \N \N +\. + + +-- +-- Data for Name: report_emails; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.report_emails (email_id, report_id) FROM stdin; +\. + + +-- +-- Data for Name: rm_service_param_template; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.rm_service_param_template (id, version, created, updated, code, description, cumulative_periods, default_value, name, value, creator, updater) FROM stdin; +\. + + +-- +-- Data for Name: wf_action; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.wf_action (id, version, action_el, condition_el, priority, wf_transition_id, uuid) FROM stdin; +\. + + +-- +-- Data for Name: wf_decision_rule; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.wf_decision_rule (id, version, condition_el, name, value, type, model) FROM stdin; +1 0 #{mv:getCFValue(entity,'Territory')==_VALUE_} Territory Other STRING 1 +2 0 #{mv:getCFValue(entity,'Territory')==_VALUE_} Territory south STRING 0 +3 0 #{mv:getCFValue(entity,'Territory')==_VALUE_} Territory west STRING 1 +4 0 #{mv:getCFValue(entity,'Territory')==_VALUE_} Territory north STRING 0 +5 0 #{mv:getCFValue(entity,'SalesAmount')==_VALUE_} Sales amount Other STRING 1 +6 0 #{mv:getCFValue(entity,'AccountType')==_VALUE_} Account Type Other STRING 1 +\. + + +-- +-- Data for Name: wf_generic_transition; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.wf_generic_transition (id, uuid, version, from_status, to_status, priority, description, generic_wf_id, action_script_id, condition_el) FROM stdin; +\. + + +-- +-- Data for Name: wf_generic_workflow; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.wf_generic_workflow (id, version, disabled, created, updated, creator, updater, code, description, target_entity_class, enable_history, init_status, target_cet_code, filter_id, cf_values_accum, cf_values, uuid) FROM stdin; +\. + + +-- +-- Data for Name: wf_history; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.wf_history (id, version, created, updated, creator, updater, entity_instance_code, from_status, to_status, transition_name, action_date, workflow_id) FROM stdin; +\. + + +-- +-- Data for Name: wf_history_action; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.wf_history_action (id, version, action, result, wf_history_id) FROM stdin; +\. + + +-- +-- Data for Name: wf_instance; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.wf_instance (id, version, target_entity_class, generic_wf_id, current_wf_status_id, entity_instance_code, target_cet_code, entity_instance_id) FROM stdin; +\. + + +-- +-- Data for Name: wf_instance_history; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.wf_instance_history (id, version, action_date, from_status, to_status, transition_name, wf_instance_id) FROM stdin; +\. + + +-- +-- Data for Name: wf_status; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.wf_status (id, version, created, updated, creator, updater, code, description, uuid, generic_wf_id) FROM stdin; +\. + + +-- +-- Data for Name: wf_transition; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.wf_transition (id, version, condition_el, from_status, to_status, workflow_id, priority, description, uuid) FROM stdin; +\. + + +-- +-- Data for Name: wf_transition_decision_rule; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.wf_transition_decision_rule (transition_id, decision_rule_id) FROM stdin; +\. + + +-- +-- Data for Name: wf_workflow; Type: TABLE DATA; Schema: public; Owner: uat_postgres +-- + +COPY public.wf_workflow (id, version, disabled, created, updated, code, description, enable_history, wf_type, creator, updater) FROM stdin; +\. + + +-- +-- Name: account_entity_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.account_entity_seq', 8, true); + + +-- +-- Name: adm_country_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.adm_country_seq', 238, false); + + +-- +-- Name: adm_currency_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.adm_currency_seq', 169, false); + + +-- +-- Name: adm_custom_generic_entity_code_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.adm_custom_generic_entity_code_seq', 3, false); + + +-- +-- Name: adm_file_format_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.adm_file_format_seq', 1, false); + + +-- +-- Name: adm_file_type_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.adm_file_type_seq', 1, false); + + +-- +-- Name: adm_gdpr_configuration_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.adm_gdpr_configuration_seq', 1, true); + + +-- +-- Name: adm_inbound_request_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.adm_inbound_request_seq', 1, false); + + +-- +-- Name: adm_input_history_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.adm_input_history_seq', 1, false); + + +-- +-- Name: adm_language_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.adm_language_seq', 34, false); + + +-- +-- Name: adm_notif_history_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.adm_notif_history_seq', 1, true); + + +-- +-- Name: adm_notification_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.adm_notification_seq', 2, true); + + +-- +-- Name: adm_permission_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.adm_permission_seq', 18, false); + + +-- +-- Name: adm_role_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.adm_role_seq', 5, false); + + +-- +-- Name: adm_title_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.adm_title_seq', 38, false); + + +-- +-- Name: adm_user_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.adm_user_seq', 6, true); + + +-- +-- Name: ar_account_operation_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.ar_account_operation_seq', 1, false); + + +-- +-- Name: ar_accounting_writing_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.ar_accounting_writing_seq', 1, false); + + +-- +-- Name: ar_action_dunning_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.ar_action_dunning_seq', 1, false); + + +-- +-- Name: ar_bank_operation_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.ar_bank_operation_seq', 1, false); + + +-- +-- Name: ar_credit_category_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.ar_credit_category_seq', 6, false); + + +-- +-- Name: ar_ddrequest_builder_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.ar_ddrequest_builder_seq', 1, false); + + +-- +-- Name: ar_ddrequest_item_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.ar_ddrequest_item_seq', 1, false); + + +-- +-- Name: ar_ddrequest_lot_op_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.ar_ddrequest_lot_op_seq', 1, false); + + +-- +-- Name: ar_ddrequest_lot_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.ar_ddrequest_lot_seq', 1, false); + + +-- +-- Name: ar_due_date_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.ar_due_date_seq', 1, false); + + +-- +-- Name: ar_dunning_lot_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.ar_dunning_lot_seq', 1, false); + + +-- +-- Name: ar_matching_amount_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.ar_matching_amount_seq', 1, false); + + +-- +-- Name: ar_matching_code_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.ar_matching_code_seq', 1, false); + + +-- +-- Name: ar_occ_template_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.ar_occ_template_seq', 26, false); + + +-- +-- Name: ar_other_transaction_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.ar_other_transaction_seq', 1, false); + + +-- +-- Name: ar_payment_gateway_rum_sequence_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.ar_payment_gateway_rum_sequence_seq', 1, false); + + +-- +-- Name: ar_payment_gateway_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.ar_payment_gateway_seq', 1, false); + + +-- +-- Name: ar_payment_history_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.ar_payment_history_seq', 1, false); + + +-- +-- Name: ar_payment_schedule_inst_item_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.ar_payment_schedule_inst_item_seq', 1, false); + + +-- +-- Name: ar_payment_schedule_inst_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.ar_payment_schedule_inst_seq', 1, false); + + +-- +-- Name: ar_payment_schedule_tmpl_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.ar_payment_schedule_tmpl_seq', 1, false); + + +-- +-- Name: ar_payment_token_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.ar_payment_token_seq', 2, true); + + +-- +-- Name: ar_payment_ventilation_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.ar_payment_ventilation_seq', 1, false); + + +-- +-- Name: ar_revenue_recog_rule_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.ar_revenue_recog_rule_seq', 1, false); + + +-- +-- Name: ar_revenue_schedule_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.ar_revenue_schedule_seq', 1, false); + + +-- +-- Name: audit_field_changes_history_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.audit_field_changes_history_seq', 4, true); + + +-- +-- Name: audit_log_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.audit_log_seq', 1, false); + + +-- +-- Name: bi_job_history_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.bi_job_history_seq', 1, false); + + +-- +-- Name: bi_job_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.bi_job_seq', 1, false); + + +-- +-- Name: bi_report_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.bi_report_seq', 1, false); + + +-- +-- Name: bill_seq_invoice_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.bill_seq_invoice_seq', 1, true); + + +-- +-- Name: bill_seq_it_sell_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.bill_seq_it_sell_seq', 1, false); + + +-- +-- Name: billing_accounting_code_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.billing_accounting_code_seq', 1, false); + + +-- +-- Name: billing_billing_run_list_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.billing_billing_run_list_seq', 1, false); + + +-- +-- Name: billing_billing_run_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.billing_billing_run_seq', 1, false); + + +-- +-- Name: billing_charge_instance_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.billing_charge_instance_seq', 3, true); + + +-- +-- Name: billing_counter_instance_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.billing_counter_instance_seq', 1, false); + + +-- +-- Name: billing_counter_period_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.billing_counter_period_seq', 1, false); + + +-- +-- Name: billing_cycle_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.billing_cycle_seq', 3, false); + + +-- +-- Name: billing_disc_inst_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.billing_disc_inst_seq', 1, false); + + +-- +-- Name: billing_discount_language_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.billing_discount_language_seq', 1, false); + + +-- +-- Name: billing_discount_plan_instance_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.billing_discount_plan_instance_seq', 1, false); + + +-- +-- Name: billing_discount_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.billing_discount_seq', 1, false); + + +-- +-- Name: billing_finance_segment_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.billing_finance_segment_seq', 1, false); + + +-- +-- Name: billing_general_ledger_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.billing_general_ledger_seq', 1, false); + + +-- +-- Name: billing_inv_sub_cat_country_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.billing_inv_sub_cat_country_seq', 5, false); + + +-- +-- Name: billing_invoice_agregate_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.billing_invoice_agregate_seq', 1, false); + + +-- +-- Name: billing_invoice_cat_lang_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.billing_invoice_cat_lang_seq', 1, false); + + +-- +-- Name: billing_invoice_cat_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.billing_invoice_cat_seq', 8, true); + + +-- +-- Name: billing_invoice_configuration_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.billing_invoice_configuration_seq', 2, false); + + +-- +-- Name: billing_invoice_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.billing_invoice_seq', 1, false); + + +-- +-- Name: billing_invoice_sub_cat_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.billing_invoice_sub_cat_seq', 21, true); + + +-- +-- Name: billing_invoice_template_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.billing_invoice_template_seq', 1, false); + + +-- +-- Name: billing_invoice_type_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.billing_invoice_type_seq', 3, true); + + +-- +-- Name: billing_product_chrg_inst_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.billing_product_chrg_inst_seq', 1, false); + + +-- +-- Name: billing_product_instance_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.billing_product_instance_seq', 1, false); + + +-- +-- Name: billing_rated_transaction_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.billing_rated_transaction_seq', 1, false); + + +-- +-- Name: billing_rejected_ba_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.billing_rejected_ba_seq', 1, false); + + +-- +-- Name: billing_reservation_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.billing_reservation_seq', 100, true); + + +-- +-- Name: billing_service_instance_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.billing_service_instance_seq', 1, true); + + +-- +-- Name: billing_sub_term_reason_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.billing_sub_term_reason_seq', 4, false); + + +-- +-- Name: billing_subscription_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.billing_subscription_seq', 1, true); + + +-- +-- Name: billing_tax_category_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.billing_tax_category_seq', 3, true); + + +-- +-- Name: billing_tax_class_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.billing_tax_class_seq', 2, true); + + +-- +-- Name: billing_tax_language_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.billing_tax_language_seq', 1, false); + + +-- +-- Name: billing_tax_mapping_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.billing_tax_mapping_seq', 16, true); + + +-- +-- Name: billing_tax_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.billing_tax_seq', 4, false); + + +-- +-- Name: billing_trading_country_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.billing_trading_country_seq', 3, false); + + +-- +-- Name: billing_trading_currency_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.billing_trading_currency_seq', 3, false); + + +-- +-- Name: billing_trading_language_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.billing_trading_language_seq', 3, false); + + +-- +-- Name: billing_wallet_operation_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.billing_wallet_operation_seq', 150, true); + + +-- +-- Name: billing_wallet_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.billing_wallet_seq', 2, true); + + +-- +-- Name: cat_bundle_product_template_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.cat_bundle_product_template_seq', 1, false); + + +-- +-- Name: cat_calendar_holiday_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.cat_calendar_holiday_seq', 1, false); + + +-- +-- Name: cat_calendar_interval_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.cat_calendar_interval_seq', 1, false); + + +-- +-- Name: cat_calendar_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.cat_calendar_seq', 4, true); + + +-- +-- Name: cat_channel_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.cat_channel_seq', 1, false); + + +-- +-- Name: cat_charge_template_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.cat_charge_template_seq', 13, true); + + +-- +-- Name: cat_counter_template_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.cat_counter_template_seq', 1, false); + + +-- +-- Name: cat_day_in_year_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.cat_day_in_year_seq', 367, false); + + +-- +-- Name: cat_digital_resource_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.cat_digital_resource_seq', 1, false); + + +-- +-- Name: cat_discount_plan_item_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.cat_discount_plan_item_seq', 1, false); + + +-- +-- Name: cat_discount_plan_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.cat_discount_plan_seq', 1, false); + + +-- +-- Name: cat_hour_in_day_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.cat_hour_in_day_seq', 1, false); + + +-- +-- Name: cat_offer_product_template_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.cat_offer_product_template_seq', 1, false); + + +-- +-- Name: cat_offer_serv_templt_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.cat_offer_serv_templt_seq', 1, true); + + +-- +-- Name: cat_offer_template_category_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.cat_offer_template_category_seq', 1, false); + + +-- +-- Name: cat_offer_template_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.cat_offer_template_seq', 1, true); + + +-- +-- Name: cat_price_plan_matrix_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.cat_price_plan_matrix_seq', 13, true); + + +-- +-- Name: cat_serv_recchrg_templt_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.cat_serv_recchrg_templt_seq', 4, true); + + +-- +-- Name: cat_serv_subchrg_templt_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.cat_serv_subchrg_templt_seq', 1, false); + + +-- +-- Name: cat_serv_trmchrg_templt_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.cat_serv_trmchrg_templt_seq', 1, false); + + +-- +-- Name: cat_serv_usagechrg_templt_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.cat_serv_usagechrg_templt_seq', 3, true); + + +-- +-- Name: cat_service_template_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.cat_service_template_seq', 2, true); + + +-- +-- Name: cat_triggered_edr_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.cat_triggered_edr_seq', 1, false); + + +-- +-- Name: cat_unit_of_measure_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.cat_unit_of_measure_seq', 1, false); + + +-- +-- Name: cat_wallet_template_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.cat_wallet_template_seq', 2, true); + + +-- +-- Name: com_campaign_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.com_campaign_seq', 1, false); + + +-- +-- Name: com_communication_entity_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.com_communication_entity_seq', 1, false); + + +-- +-- Name: com_contact_coords_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.com_contact_coords_seq', 1, false); + + +-- +-- Name: com_contact_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.com_contact_seq', 1, false); + + +-- +-- Name: com_message_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.com_message_seq', 1, false); + + +-- +-- Name: com_meveo_instance_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.com_meveo_instance_seq', 1, false); + + +-- +-- Name: com_msg_tmpl_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.com_msg_tmpl_seq', 1, false); + + +-- +-- Name: com_msg_tmpl_var_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.com_msg_tmpl_var_seq', 1, false); + + +-- +-- Name: com_msg_var_val_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.com_msg_var_val_seq', 1, false); + + +-- +-- Name: com_prov_pol_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.com_prov_pol_seq', 1, false); + + +-- +-- Name: com_sndr_conf_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.com_sndr_conf_seq', 1, false); + + +-- +-- Name: crm_additional_details_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.crm_additional_details_seq', 2, true); + + +-- +-- Name: crm_address_book_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.crm_address_book_seq', 4, true); + + +-- +-- Name: crm_custom_action_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.crm_custom_action_seq', 1, false); + + +-- +-- Name: crm_custom_fld_tmp_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.crm_custom_fld_tmp_seq', 162, true); + + +-- +-- Name: crm_customer_brand_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.crm_customer_brand_seq', 2, false); + + +-- +-- Name: crm_customer_category_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.crm_customer_category_seq', 3, false); + + +-- +-- Name: crm_customer_sequence_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.crm_customer_sequence_seq', 1, false); + + +-- +-- Name: crm_email_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.crm_email_seq', 1, false); + + +-- +-- Name: crm_provider_contact_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.crm_provider_contact_seq', 2, false); + + +-- +-- Name: crm_provider_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.crm_provider_seq', 2, false); + + +-- +-- Name: crm_seller_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.crm_seller_seq', 4, false); + + +-- +-- Name: cust_cei_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.cust_cei_seq', 1, false); + + +-- +-- Name: cust_cet_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.cust_cet_seq', 1, false); + + +-- +-- Name: dunning_document_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.dunning_document_seq', 1, false); + + +-- +-- Name: dwh_account_operation_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.dwh_account_operation_seq', 1, false); + + +-- +-- Name: dwh_chart_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.dwh_chart_seq', 1, false); + + +-- +-- Name: dwh_journal_entries_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.dwh_journal_entries_seq', 1, false); + + +-- +-- Name: dwh_measurable_quant_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.dwh_measurable_quant_seq', 1, false); + + +-- +-- Name: dwh_measured_value_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.dwh_measured_value_seq', 1, false); + + +-- +-- Name: dwh_report_extract_execution_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.dwh_report_extract_execution_seq', 1, false); + + +-- +-- Name: dwh_report_extract_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.dwh_report_extract_seq', 1, false); + + +-- +-- Name: flat_file_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.flat_file_seq', 1, false); + + +-- +-- Name: ftp_transferred_file_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.ftp_transferred_file_seq', 1, false); + + +-- +-- Name: hierarchy_entity_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.hierarchy_entity_seq', 1, false); + + +-- +-- Name: job_execution_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.job_execution_seq', 1738, true); + + +-- +-- Name: medina_access_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.medina_access_seq', 1, true); + + +-- +-- Name: meveo_filter_condition_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.meveo_filter_condition_seq', 1, false); + + +-- +-- Name: meveo_filter_order_condition_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.meveo_filter_order_condition_seq', 1, false); + + +-- +-- Name: meveo_filter_selector_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.meveo_filter_selector_seq', 1, false); + + +-- +-- Name: meveo_filter_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.meveo_filter_seq', 1, false); + + +-- +-- Name: meveo_job_instance_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.meveo_job_instance_seq', 13, true); + + +-- +-- Name: meveo_metrics_config_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.meveo_metrics_config_seq', 1, false); + + +-- +-- Name: meveo_module_item_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.meveo_module_item_seq', 1, false); + + +-- +-- Name: meveo_module_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.meveo_module_seq', 1, false); + + +-- +-- Name: meveo_native_filter_condition_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.meveo_native_filter_condition_seq', 1, false); + + +-- +-- Name: meveo_primitive_filter_condition_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.meveo_primitive_filter_condition_seq', 1, false); + + +-- +-- Name: meveo_script_instance_cat_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.meveo_script_instance_cat_seq', 1, false); + + +-- +-- Name: meveo_script_instance_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.meveo_script_instance_seq', 1, false); + + +-- +-- Name: meveo_timer_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.meveo_timer_seq', 2, true); + + +-- +-- Name: ord_item_offerings_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.ord_item_offerings_seq', 1, false); + + +-- +-- Name: ord_order_history_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.ord_order_history_seq', 1, false); + + +-- +-- Name: ord_order_item_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.ord_order_item_seq', 1, false); + + +-- +-- Name: ord_order_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.ord_order_seq', 1, false); + + +-- +-- Name: ord_quot_item_offerings_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.ord_quot_item_offerings_seq', 1, false); + + +-- +-- Name: ord_quote_item_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.ord_quote_item_seq', 1, false); + + +-- +-- Name: ord_quote_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.ord_quote_seq', 1, false); + + +-- +-- Name: rating_cdr_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.rating_cdr_seq', 1, false); + + +-- +-- Name: rating_edr_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.rating_edr_seq', 104, true); + + +-- +-- Name: rm_service_param_template_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.rm_service_param_template_seq', 1, false); + + +-- +-- Name: wf_action_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.wf_action_seq', 1, false); + + +-- +-- Name: wf_decision_rule_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.wf_decision_rule_seq', 10, false); + + +-- +-- Name: wf_generic_transition_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.wf_generic_transition_seq', 1, false); + + +-- +-- Name: wf_generic_workflow_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.wf_generic_workflow_seq', 1, false); + + +-- +-- Name: wf_history_action_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.wf_history_action_seq', 1, false); + + +-- +-- Name: wf_history_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.wf_history_seq', 1, false); + + +-- +-- Name: wf_instance_history_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.wf_instance_history_seq', 1, false); + + +-- +-- Name: wf_instance_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.wf_instance_seq', 1, false); + + +-- +-- Name: wf_status_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.wf_status_seq', 1, false); + + +-- +-- Name: wf_transition_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.wf_transition_seq', 1, false); + + +-- +-- Name: wf_workflow_seq; Type: SEQUENCE SET; Schema: public; Owner: uat_postgres +-- + +SELECT pg_catalog.setval('public.wf_workflow_seq', 1, false); + + +-- +-- Name: adm_language UniqueConstraint_adm__language_code; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.adm_language + ADD CONSTRAINT "UniqueConstraint_adm__language_code" UNIQUE (language_code); + + +-- +-- Name: adm_currency UniqueConstraint_adm_currency__description_en; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.adm_currency + ADD CONSTRAINT "UniqueConstraint_adm_currency__description_en" UNIQUE (description_en); + + +-- +-- Name: adm_language UniqueConstraint_adm_language__description_en; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.adm_language + ADD CONSTRAINT "UniqueConstraint_adm_language__description_en" UNIQUE (description_en); + + +-- +-- Name: account_entity account_entity_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.account_entity + ADD CONSTRAINT account_entity_pkey PRIMARY KEY (id); + + +-- +-- Name: adm_country adm_country_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.adm_country + ADD CONSTRAINT adm_country_pkey PRIMARY KEY (id); + + +-- +-- Name: adm_currency adm_currency_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.adm_currency + ADD CONSTRAINT adm_currency_pkey PRIMARY KEY (id); + + +-- +-- Name: adm_custom_generic_entity_code adm_custom_generic_entity_code_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.adm_custom_generic_entity_code + ADD CONSTRAINT adm_custom_generic_entity_code_pkey PRIMARY KEY (id); + + +-- +-- Name: adm_file_format_file_type adm_file_format_file_type_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.adm_file_format_file_type + ADD CONSTRAINT adm_file_format_file_type_pkey PRIMARY KEY (file_format_id, file_type_id); + + +-- +-- Name: adm_file_format adm_file_format_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.adm_file_format + ADD CONSTRAINT adm_file_format_pkey PRIMARY KEY (id); + + +-- +-- Name: adm_file_type adm_file_type_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.adm_file_type + ADD CONSTRAINT adm_file_type_pkey PRIMARY KEY (id); + + +-- +-- Name: adm_inbound_req_cookies adm_inbound_req_cookies_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.adm_inbound_req_cookies + ADD CONSTRAINT adm_inbound_req_cookies_pkey PRIMARY KEY (inboundrequest_id, coockies_key); + + +-- +-- Name: adm_inbound_req_headers adm_inbound_req_headers_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.adm_inbound_req_headers + ADD CONSTRAINT adm_inbound_req_headers_pkey PRIMARY KEY (inboundrequest_id, headers_key); + + +-- +-- Name: adm_inbound_req_params adm_inbound_req_params_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.adm_inbound_req_params + ADD CONSTRAINT adm_inbound_req_params_pkey PRIMARY KEY (inboundrequest_id, parameters_key); + + +-- +-- Name: adm_inbound_request adm_inbound_request_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.adm_inbound_request + ADD CONSTRAINT adm_inbound_request_pkey PRIMARY KEY (id); + + +-- +-- Name: adm_inbound_resp_cookies adm_inbound_resp_cookies_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.adm_inbound_resp_cookies + ADD CONSTRAINT adm_inbound_resp_cookies_pkey PRIMARY KEY (inboundrequest_id, responsecoockies_key); + + +-- +-- Name: adm_inbound_resp_headers adm_inbound_resp_headers_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.adm_inbound_resp_headers + ADD CONSTRAINT adm_inbound_resp_headers_pkey PRIMARY KEY (inboundrequest_id, responseheaders_key); + + +-- +-- Name: adm_input_history adm_input_history_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.adm_input_history + ADD CONSTRAINT adm_input_history_pkey PRIMARY KEY (id); + + +-- +-- Name: adm_language adm_language_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.adm_language + ADD CONSTRAINT adm_language_pkey PRIMARY KEY (id); + + +-- +-- Name: adm_notif_email_attach adm_notif_email_attach_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.adm_notif_email_attach + ADD CONSTRAINT adm_notif_email_attach_pkey PRIMARY KEY (emailnotification_id, attachmentexpressions); + + +-- +-- Name: adm_notif_email_list adm_notif_email_list_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.adm_notif_email_list + ADD CONSTRAINT adm_notif_email_list_pkey PRIMARY KEY (emailnotification_id, emails); + + +-- +-- Name: adm_notif_email adm_notif_email_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.adm_notif_email + ADD CONSTRAINT adm_notif_email_pkey PRIMARY KEY (id); + + +-- +-- Name: adm_notif_email_user adm_notif_email_user_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.adm_notif_email_user + ADD CONSTRAINT adm_notif_email_user_pkey PRIMARY KEY (emailnotification_id, users_id); + + +-- +-- Name: adm_notif_history adm_notif_history_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.adm_notif_history + ADD CONSTRAINT adm_notif_history_pkey PRIMARY KEY (id); + + +-- +-- Name: adm_notif_im_list adm_notif_im_list_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.adm_notif_im_list + ADD CONSTRAINT adm_notif_im_list_pkey PRIMARY KEY (instantmessagingnotification_id, ids); + + +-- +-- Name: adm_notif_im adm_notif_im_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.adm_notif_im + ADD CONSTRAINT adm_notif_im_pkey PRIMARY KEY (id); + + +-- +-- Name: adm_notif_im_user adm_notif_im_user_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.adm_notif_im_user + ADD CONSTRAINT adm_notif_im_user_pkey PRIMARY KEY (instantmessagingnotification_id, users_id); + + +-- +-- Name: adm_notif_job adm_notif_job_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.adm_notif_job + ADD CONSTRAINT adm_notif_job_pkey PRIMARY KEY (id); + + +-- +-- Name: adm_notif_webhook_header adm_notif_webhook_header_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.adm_notif_webhook_header + ADD CONSTRAINT adm_notif_webhook_header_pkey PRIMARY KEY (webhook_id, headers_key); + + +-- +-- Name: adm_notif_webhook_param adm_notif_webhookparam_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.adm_notif_webhook_param + ADD CONSTRAINT adm_notif_webhookparam_pkey PRIMARY KEY (webhook_id, webhookparams_key); + + +-- +-- Name: adm_notif_webhooks adm_notif_webhooks_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.adm_notif_webhooks + ADD CONSTRAINT adm_notif_webhooks_pkey PRIMARY KEY (id); + + +-- +-- Name: adm_notification adm_notification_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.adm_notification + ADD CONSTRAINT adm_notification_pkey PRIMARY KEY (id); + + +-- +-- Name: adm_permission adm_permission_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.adm_permission + ADD CONSTRAINT adm_permission_pkey PRIMARY KEY (id); + + +-- +-- Name: adm_role_permission adm_role_permission_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.adm_role_permission + ADD CONSTRAINT adm_role_permission_pkey PRIMARY KEY (role_id, permission_id); + + +-- +-- Name: adm_role adm_role_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.adm_role + ADD CONSTRAINT adm_role_pkey PRIMARY KEY (id); + + +-- +-- Name: adm_role_role adm_role_role_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.adm_role_role + ADD CONSTRAINT adm_role_role_pkey PRIMARY KEY (role_id, child_role_id); + + +-- +-- Name: adm_role_secured_entity adm_role_secured_entity_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.adm_role_secured_entity + ADD CONSTRAINT adm_role_secured_entity_pkey PRIMARY KEY (role_id, code, entity_class); + + +-- +-- Name: adm_script_exec_role adm_script_exec_role_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.adm_script_exec_role + ADD CONSTRAINT adm_script_exec_role_pkey PRIMARY KEY (script_instance_id, role_id); + + +-- +-- Name: adm_script_notification adm_script_notification_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.adm_script_notification + ADD CONSTRAINT adm_script_notification_pkey PRIMARY KEY (id); + + +-- +-- Name: adm_script_sourc_role adm_script_sourc_role_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.adm_script_sourc_role + ADD CONSTRAINT adm_script_sourc_role_pkey PRIMARY KEY (script_instance_id, role_id); + + +-- +-- Name: adm_secured_entity adm_secured_entity_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.adm_secured_entity + ADD CONSTRAINT adm_secured_entity_pkey PRIMARY KEY (user_id, code, entity_class); + + +-- +-- Name: adm_title adm_title_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.adm_title + ADD CONSTRAINT adm_title_pkey PRIMARY KEY (id); + + +-- +-- Name: adm_user adm_user_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.adm_user + ADD CONSTRAINT adm_user_pkey PRIMARY KEY (id); + + +-- +-- Name: adm_user_role adm_user_role_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.adm_user_role + ADD CONSTRAINT adm_user_role_pkey PRIMARY KEY (user_id, role_id); + + +-- +-- Name: ar_account_operation ar_account_operation_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.ar_account_operation + ADD CONSTRAINT ar_account_operation_pkey PRIMARY KEY (id); + + +-- +-- Name: ar_accounting_writing_acc_operations ar_accounting_writing_acc_operations_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.ar_accounting_writing_acc_operations + ADD CONSTRAINT ar_accounting_writing_acc_operations_pkey PRIMARY KEY (accounting_writing_id, account_operation_id); + + +-- +-- Name: ar_action_dunning ar_action_dunning_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.ar_action_dunning + ADD CONSTRAINT ar_action_dunning_pkey PRIMARY KEY (id); + + +-- +-- Name: ar_bank_operation ar_bank_operation_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.ar_bank_operation + ADD CONSTRAINT ar_bank_operation_pkey PRIMARY KEY (id); + + +-- +-- Name: ar_credit_category ar_credit_category_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.ar_credit_category + ADD CONSTRAINT ar_credit_category_pkey PRIMARY KEY (id); + + +-- +-- Name: ar_customer_account ar_customer_account_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.ar_customer_account + ADD CONSTRAINT ar_customer_account_pkey PRIMARY KEY (id); + + +-- +-- Name: ar_ddrequest_builder ar_ddrequest_builder_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.ar_ddrequest_builder + ADD CONSTRAINT ar_ddrequest_builder_pkey PRIMARY KEY (id); + + +-- +-- Name: ar_ddrequest_item ar_ddrequest_item_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.ar_ddrequest_item + ADD CONSTRAINT ar_ddrequest_item_pkey PRIMARY KEY (id); + + +-- +-- Name: ar_ddrequest_lot_op ar_ddrequest_lot_op_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.ar_ddrequest_lot_op + ADD CONSTRAINT ar_ddrequest_lot_op_pkey PRIMARY KEY (id); + + +-- +-- Name: ar_ddrequest_lot ar_ddrequest_lot_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.ar_ddrequest_lot + ADD CONSTRAINT ar_ddrequest_lot_pkey PRIMARY KEY (id); + + +-- +-- Name: ar_due_date ar_due_date_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.ar_due_date + ADD CONSTRAINT ar_due_date_pkey PRIMARY KEY (id); + + +-- +-- Name: ar_dunning_lot ar_dunning_lot_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.ar_dunning_lot + ADD CONSTRAINT ar_dunning_lot_pkey PRIMARY KEY (id); + + +-- +-- Name: ar_matching_amount ar_matching_amount_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.ar_matching_amount + ADD CONSTRAINT ar_matching_amount_pkey PRIMARY KEY (id); + + +-- +-- Name: ar_matching_code ar_matching_code_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.ar_matching_code + ADD CONSTRAINT ar_matching_code_pkey PRIMARY KEY (id); + + +-- +-- Name: ar_occ_template ar_occ_template_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.ar_occ_template + ADD CONSTRAINT ar_occ_template_pkey PRIMARY KEY (id); + + +-- +-- Name: ar_other_transaction ar_other_transaction_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.ar_other_transaction + ADD CONSTRAINT ar_other_transaction_pkey PRIMARY KEY (id); + + +-- +-- Name: ar_payment_schedule_inst_item ar_pay_schdl_inst_item_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.ar_payment_schedule_inst_item + ADD CONSTRAINT ar_pay_schdl_inst_item_pkey PRIMARY KEY (id); + + +-- +-- Name: ar_payment_gateway ar_payment_gateway_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.ar_payment_gateway + ADD CONSTRAINT ar_payment_gateway_pkey PRIMARY KEY (id); + + +-- +-- Name: ar_payment_history ar_payment_history_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.ar_payment_history + ADD CONSTRAINT ar_payment_history_pkey PRIMARY KEY (id); + + +-- +-- Name: ar_payment_schedule_inst ar_payment_schedule_inst_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.ar_payment_schedule_inst + ADD CONSTRAINT ar_payment_schedule_inst_pkey PRIMARY KEY (id); + + +-- +-- Name: ar_payment_schedule_tmpl ar_payment_schedule_tmpl_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.ar_payment_schedule_tmpl + ADD CONSTRAINT ar_payment_schedule_tmpl_pkey PRIMARY KEY (id); + + +-- +-- Name: ar_payment_token ar_payment_token_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.ar_payment_token + ADD CONSTRAINT ar_payment_token_pkey PRIMARY KEY (id); + + +-- +-- Name: ar_payment_ventilation ar_payment_ventilation_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.ar_payment_ventilation + ADD CONSTRAINT ar_payment_ventilation_pkey PRIMARY KEY (id); + + +-- +-- Name: ar_revenue_recog_rule ar_revenue_recog_rule_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.ar_revenue_recog_rule + ADD CONSTRAINT ar_revenue_recog_rule_pkey PRIMARY KEY (id); + + +-- +-- Name: ar_revenue_schedule ar_revenue_schedule_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.ar_revenue_schedule + ADD CONSTRAINT ar_revenue_schedule_pkey PRIMARY KEY (id); + + +-- +-- Name: audit_field_changes_history audit_field_changes_history_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.audit_field_changes_history + ADD CONSTRAINT audit_field_changes_history_pkey PRIMARY KEY (id); + + +-- +-- Name: audit_log audit_log_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.audit_log + ADD CONSTRAINT audit_log_pkey PRIMARY KEY (id); + + +-- +-- Name: bi_job_history bi_job_history_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.bi_job_history + ADD CONSTRAINT bi_job_history_pkey PRIMARY KEY (id); + + +-- +-- Name: bi_job bi_job_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.bi_job + ADD CONSTRAINT bi_job_pkey PRIMARY KEY (id); + + +-- +-- Name: bi_report_emails bi_report_emails_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.bi_report_emails + ADD CONSTRAINT bi_report_emails_pkey PRIMARY KEY (report_id, email_id); + + +-- +-- Name: bi_report bi_report_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.bi_report + ADD CONSTRAINT bi_report_pkey PRIMARY KEY (id); + + +-- +-- Name: billing_seq_invtyp_sell bill_seq_it_sell_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_seq_invtyp_sell + ADD CONSTRAINT bill_seq_it_sell_pkey PRIMARY KEY (id); + + +-- +-- Name: billing_accounting_code billing_accounting_code_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_accounting_code + ADD CONSTRAINT billing_accounting_code_pkey PRIMARY KEY (id); + + +-- +-- Name: billing_billing_account billing_billing_account_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_billing_account + ADD CONSTRAINT billing_billing_account_pkey PRIMARY KEY (id); + + +-- +-- Name: billing_billing_run_list billing_billing_run_list_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_billing_run_list + ADD CONSTRAINT billing_billing_run_list_pkey PRIMARY KEY (id); + + +-- +-- Name: billing_billing_run billing_billing_run_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_billing_run + ADD CONSTRAINT billing_billing_run_pkey PRIMARY KEY (id); + + +-- +-- Name: billing_charge_instance billing_charge_instance_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_charge_instance + ADD CONSTRAINT billing_charge_instance_pkey PRIMARY KEY (id); + + +-- +-- Name: billing_chrg_inst_counter billing_chrg_inst_counter_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_chrg_inst_counter + ADD CONSTRAINT billing_chrg_inst_counter_pkey PRIMARY KEY (chrg_instance_id, indx); + + +-- +-- Name: billing_chrginst_wallet billing_chrginst_wallet_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_chrginst_wallet + ADD CONSTRAINT billing_chrginst_wallet_pkey PRIMARY KEY (chrg_instance_id, indx); + + +-- +-- Name: billing_counter_period billing_counter_period_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_counter_period + ADD CONSTRAINT billing_counter_period_pkey PRIMARY KEY (id); + + +-- +-- Name: billing_counter_period_values billing_counter_period_values_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_counter_period_values + ADD CONSTRAINT billing_counter_period_values_pkey PRIMARY KEY (counterperiod_id, counter_key); + + +-- +-- Name: billing_counter billing_counter_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_counter + ADD CONSTRAINT billing_counter_pkey PRIMARY KEY (id); + + +-- +-- Name: billing_cycle billing_cycle_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_cycle + ADD CONSTRAINT billing_cycle_pkey PRIMARY KEY (id); + + +-- +-- Name: billing_discount_language billing_discount_language_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_discount_language + ADD CONSTRAINT billing_discount_language_pkey PRIMARY KEY (id); + + +-- +-- Name: billing_discount billing_discount_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_discount + ADD CONSTRAINT billing_discount_pkey PRIMARY KEY (id); + + +-- +-- Name: billing_discount_plan_instance billing_discount_plan_instance_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_discount_plan_instance + ADD CONSTRAINT billing_discount_plan_instance_pkey PRIMARY KEY (id); + + +-- +-- Name: billing_discplan_inst billing_discplan_inst_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_discplan_inst + ADD CONSTRAINT billing_discplan_inst_pkey PRIMARY KEY (id); + + +-- +-- Name: billing_finance_segment billing_finance_segment_code_key; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_finance_segment + ADD CONSTRAINT billing_finance_segment_code_key UNIQUE (code); + + +-- +-- Name: billing_general_ledger billing_general_ledger_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_general_ledger + ADD CONSTRAINT billing_general_ledger_pkey PRIMARY KEY (id); + + +-- +-- Name: billing_invoice_agregate billing_invoice_agregate_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_invoice_agregate + ADD CONSTRAINT billing_invoice_agregate_pkey PRIMARY KEY (id); + + +-- +-- Name: billing_invoice_cat_lang billing_invoice_cat_lang_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_invoice_cat_lang + ADD CONSTRAINT billing_invoice_cat_lang_pkey PRIMARY KEY (id); + + +-- +-- Name: billing_invoice_cat billing_invoice_cat_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_invoice_cat + ADD CONSTRAINT billing_invoice_cat_pkey PRIMARY KEY (id); + + +-- +-- Name: billing_invoice_configuration billing_invoice_configuration_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_invoice_configuration + ADD CONSTRAINT billing_invoice_configuration_pkey PRIMARY KEY (id); + + +-- +-- Name: billing_invoice billing_invoice_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_invoice + ADD CONSTRAINT billing_invoice_pkey PRIMARY KEY (id); + + +-- +-- Name: billing_invoice_sub_cat billing_invoice_sub_cat_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_invoice_sub_cat + ADD CONSTRAINT billing_invoice_sub_cat_pkey PRIMARY KEY (id); + + +-- +-- Name: billing_invoice_template billing_invoice_template_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_invoice_template + ADD CONSTRAINT billing_invoice_template_pkey PRIMARY KEY (id); + + +-- +-- Name: billing_invoice_type_applies_to billing_invoice_type_applies_to_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_invoice_type_applies_to + ADD CONSTRAINT billing_invoice_type_applies_to_pkey PRIMARY KEY (invoice_type_id, applies_to_id); + + +-- +-- Name: billing_invoice_type billing_invoice_type_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_invoice_type + ADD CONSTRAINT billing_invoice_type_pkey PRIMARY KEY (id); + + +-- +-- Name: billing_invoices_orders billing_invoices_orders_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_invoices_orders + ADD CONSTRAINT billing_invoices_orders_pkey PRIMARY KEY (invoice_id, order_id); + + +-- +-- Name: billing_linked_invoices billing_linked_invoices_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_linked_invoices + ADD CONSTRAINT billing_linked_invoices_pkey PRIMARY KEY (id, linked_invoice_id); + + +-- +-- Name: billing_priceplan_inst billing_priceplan_inst_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_priceplan_inst + ADD CONSTRAINT billing_priceplan_inst_pkey PRIMARY KEY (id); + + +-- +-- Name: billing_product_instance billing_product_instance_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_product_instance + ADD CONSTRAINT billing_product_instance_pkey PRIMARY KEY (id); + + +-- +-- Name: billing_rated_transaction billing_rated_transaction_p_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_rated_transaction + ADD CONSTRAINT billing_rated_transaction_p_pkey PRIMARY KEY (id, status); + + +-- +-- Name: billing_rated_transaction_open billing_rated_transaction_open_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_rated_transaction_open + ADD CONSTRAINT billing_rated_transaction_open_pkey PRIMARY KEY (id, status); + + +-- +-- Name: billing_rated_transaction_other billing_rated_transaction_other_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_rated_transaction_other + ADD CONSTRAINT billing_rated_transaction_other_pkey PRIMARY KEY (id, status); + + +-- +-- Name: billing_rejected_billing_accounts billing_rejected_billing_accounts_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_rejected_billing_accounts + ADD CONSTRAINT billing_rejected_billing_accounts_pkey PRIMARY KEY (id); + + +-- +-- Name: billing_reservation billing_reservation_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_reservation + ADD CONSTRAINT billing_reservation_pkey PRIMARY KEY (id); + + +-- +-- Name: billing_resrv_countid billing_resrv_countid_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_resrv_countid + ADD CONSTRAINT billing_resrv_countid_pkey PRIMARY KEY (reservation_id, counterperiodvalues_key); + + +-- +-- Name: billing_service_instance billing_service_instance_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_service_instance + ADD CONSTRAINT billing_service_instance_pkey PRIMARY KEY (id); + + +-- +-- Name: billing_subscrip_termin_reason billing_subscrip_termin_reason_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_subscrip_termin_reason + ADD CONSTRAINT billing_subscrip_termin_reason_pkey PRIMARY KEY (id); + + +-- +-- Name: billing_subscription billing_subscription_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_subscription + ADD CONSTRAINT billing_subscription_pkey PRIMARY KEY (id); + + +-- +-- Name: billing_tax_category billing_tax_category_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_tax_category + ADD CONSTRAINT billing_tax_category_pkey PRIMARY KEY (id); + + +-- +-- Name: billing_tax_class billing_tax_class_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_tax_class + ADD CONSTRAINT billing_tax_class_pkey PRIMARY KEY (id); + + +-- +-- Name: billing_tax_language billing_tax_language_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_tax_language + ADD CONSTRAINT billing_tax_language_pkey PRIMARY KEY (id); + + +-- +-- Name: billing_tax_mapping billing_tax_mapping_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_tax_mapping + ADD CONSTRAINT billing_tax_mapping_pkey PRIMARY KEY (id); + + +-- +-- Name: billing_tax billing_tax_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_tax + ADD CONSTRAINT billing_tax_pkey PRIMARY KEY (id); + + +-- +-- Name: billing_trading_country billing_trading_country_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_trading_country + ADD CONSTRAINT billing_trading_country_pkey PRIMARY KEY (id); + + +-- +-- Name: billing_trading_currency billing_trading_currency_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_trading_currency + ADD CONSTRAINT billing_trading_currency_pkey PRIMARY KEY (id); + + +-- +-- Name: billing_trading_language billing_trading_language_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_trading_language + ADD CONSTRAINT billing_trading_language_pkey PRIMARY KEY (id); + + +-- +-- Name: billing_user_account billing_user_account_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_user_account + ADD CONSTRAINT billing_user_account_pkey PRIMARY KEY (id); + + +-- +-- Name: billing_wallet_operation billing_wallet_operation_p_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_wallet_operation + ADD CONSTRAINT billing_wallet_operation_p_pkey PRIMARY KEY (id, status); + + +-- +-- Name: billing_wallet_operation_open billing_wallet_operation_open_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_wallet_operation_open + ADD CONSTRAINT billing_wallet_operation_open_pkey PRIMARY KEY (id, status); + + +-- +-- Name: billing_wallet_operation_other billing_wallet_operation_other_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_wallet_operation_other + ADD CONSTRAINT billing_wallet_operation_other_pkey PRIMARY KEY (id, status); + + +-- +-- Name: billing_wallet billing_wallet_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_wallet + ADD CONSTRAINT billing_wallet_pkey PRIMARY KEY (id); + + +-- +-- Name: cat_bundle_product_template cat_bundle_prod_tpl_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_bundle_product_template + ADD CONSTRAINT cat_bundle_prod_tpl_pkey PRIMARY KEY (id); + + +-- +-- Name: cat_calendar_days cat_calendar_days_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_calendar_days + ADD CONSTRAINT cat_calendar_days_pkey PRIMARY KEY (calendar_id, day_id); + + +-- +-- Name: cat_calendar_holiday cat_calendar_holiday_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_calendar_holiday + ADD CONSTRAINT cat_calendar_holiday_pkey PRIMARY KEY (id); + + +-- +-- Name: cat_calendar_hours cat_calendar_hours_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_calendar_hours + ADD CONSTRAINT cat_calendar_hours_pkey PRIMARY KEY (calendar_id, hour_id); + + +-- +-- Name: cat_calendar_interval cat_calendar_interval_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_calendar_interval + ADD CONSTRAINT cat_calendar_interval_pkey PRIMARY KEY (id); + + +-- +-- Name: cat_calendar cat_calendar_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_calendar + ADD CONSTRAINT cat_calendar_pkey PRIMARY KEY (id); + + +-- +-- Name: cat_channel cat_channel_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_channel + ADD CONSTRAINT cat_channel_pkey PRIMARY KEY (id); + + +-- +-- Name: cat_charge_template cat_charge_template_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_charge_template + ADD CONSTRAINT cat_charge_template_pkey PRIMARY KEY (id); + + +-- +-- Name: cat_chrg_edr cat_chrg_edr_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_chrg_edr + ADD CONSTRAINT cat_chrg_edr_pkey PRIMARY KEY (charge_tmpl_id, trigg_edr_id); + + +-- +-- Name: cat_counter_template cat_counter_template_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_counter_template + ADD CONSTRAINT cat_counter_template_pkey PRIMARY KEY (id); + + +-- +-- Name: cat_day_in_year cat_day_in_year_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_day_in_year + ADD CONSTRAINT cat_day_in_year_pkey PRIMARY KEY (id); + + +-- +-- Name: cat_digital_resource cat_digital_resource_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_digital_resource + ADD CONSTRAINT cat_digital_resource_pkey PRIMARY KEY (id); + + +-- +-- Name: cat_discount_plan_item cat_discount_plan_item_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_discount_plan_item + ADD CONSTRAINT cat_discount_plan_item_pkey PRIMARY KEY (id); + + +-- +-- Name: cat_discount_plan cat_discount_plan_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_discount_plan + ADD CONSTRAINT cat_discount_plan_pkey PRIMARY KEY (id); + + +-- +-- Name: cat_hour_in_day cat_hour_in_day_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_hour_in_day + ADD CONSTRAINT cat_hour_in_day_pkey PRIMARY KEY (id); + + +-- +-- Name: cat_offer_product_template cat_offer_product_template_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_offer_product_template + ADD CONSTRAINT cat_offer_product_template_pkey PRIMARY KEY (id); + + +-- +-- Name: cat_offer_template cat_offer_template_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_offer_template + ADD CONSTRAINT cat_offer_template_pkey PRIMARY KEY (id); + + +-- +-- Name: cat_offer_template cat_offer_template_uk; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_offer_template + ADD CONSTRAINT cat_offer_template_uk UNIQUE (code, valid_from, valid_to); + + +-- +-- Name: cat_offer_tmpl_discount_plan cat_offer_tmpl_discount_plan_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_offer_tmpl_discount_plan + ADD CONSTRAINT cat_offer_tmpl_discount_plan_pkey PRIMARY KEY (offer_tmpl_id, discount_plan_id); + + +-- +-- Name: cat_price_plan_matrix cat_price_plan_matrix_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_price_plan_matrix + ADD CONSTRAINT cat_price_plan_matrix_pkey PRIMARY KEY (id); + + +-- +-- Name: cat_product_offer_channels cat_prod_off_channels_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_product_offer_channels + ADD CONSTRAINT cat_prod_off_channels_pkey PRIMARY KEY (product_id, channel_id); + + +-- +-- Name: cat_product_offer_bam cat_product_offer_bam_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_product_offer_bam + ADD CONSTRAINT cat_product_offer_bam_pkey PRIMARY KEY (product_id, bam_id); + + +-- +-- Name: cat_product_offer_customer_category cat_product_offer_customer_category_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_product_offer_customer_category + ADD CONSTRAINT cat_product_offer_customer_category_pkey PRIMARY KEY (product_id, customer_category_id); + + +-- +-- Name: cat_product_offer_digital_res cat_product_offer_digital_res_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_product_offer_digital_res + ADD CONSTRAINT cat_product_offer_digital_res_pkey PRIMARY KEY (product_id, digital_resource_id); + + +-- +-- Name: cat_product_offer_seller cat_product_offer_seller_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_product_offer_seller + ADD CONSTRAINT cat_product_offer_seller_pkey PRIMARY KEY (product_id, seller_id); + + +-- +-- Name: cat_product_offer_tmpl_cat cat_product_offer_tmpl_cat_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_product_offer_tmpl_cat + ADD CONSTRAINT cat_product_offer_tmpl_cat_pkey PRIMARY KEY (product_id, offer_template_cat_id); + + +-- +-- Name: cat_product_templ_charge_templ cat_product_templ_charge_templ_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_product_templ_charge_templ + ADD CONSTRAINT cat_product_templ_charge_templ_pkey PRIMARY KEY (product_charge_template_id, product_template_id); + + +-- +-- Name: cat_product_wallet_template cat_product_wallet_template_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_product_wallet_template + ADD CONSTRAINT cat_product_wallet_template_pkey PRIMARY KEY (product_template_id, wallet_template_id); + + +-- +-- Name: cat_serv_rec_charge_template cat_serv_rec_charge_template_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_serv_rec_charge_template + ADD CONSTRAINT cat_serv_rec_charge_template_pkey PRIMARY KEY (id); + + +-- +-- Name: cat_serv_rec_counter_template cat_serv_rec_counter_template_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_serv_rec_counter_template + ADD CONSTRAINT cat_serv_rec_counter_template_pkey PRIMARY KEY (service_rec_templt_id, indx); + + +-- +-- Name: cat_serv_rec_wallet_template cat_serv_rec_wallet_template_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_serv_rec_wallet_template + ADD CONSTRAINT cat_serv_rec_wallet_template_pkey PRIMARY KEY (service_rec_templt_id, indx); + + +-- +-- Name: cat_serv_sub_charge_template cat_serv_sub_charge_template_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_serv_sub_charge_template + ADD CONSTRAINT cat_serv_sub_charge_template_pkey PRIMARY KEY (id); + + +-- +-- Name: cat_serv_sub_counter_template cat_serv_sub_counter_template_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_serv_sub_counter_template + ADD CONSTRAINT cat_serv_sub_counter_template_pkey PRIMARY KEY (service_sub_templt_id, indx); + + +-- +-- Name: cat_serv_sub_wallet_template cat_serv_sub_wallet_template_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_serv_sub_wallet_template + ADD CONSTRAINT cat_serv_sub_wallet_template_pkey PRIMARY KEY (service_sub_templt_id, indx); + + +-- +-- Name: cat_serv_trm_charge_template cat_serv_trm_charge_template_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_serv_trm_charge_template + ADD CONSTRAINT cat_serv_trm_charge_template_pkey PRIMARY KEY (id); + + +-- +-- Name: cat_serv_trm_counter_template cat_serv_trm_counter_template_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_serv_trm_counter_template + ADD CONSTRAINT cat_serv_trm_counter_template_pkey PRIMARY KEY (service_trm_templt_id, indx); + + +-- +-- Name: cat_serv_trm_wallet_template cat_serv_trm_wallet_template_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_serv_trm_wallet_template + ADD CONSTRAINT cat_serv_trm_wallet_template_pkey PRIMARY KEY (service_trm_templt_id, indx); + + +-- +-- Name: cat_serv_usage_charge_template cat_serv_usage_charge_template_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_serv_usage_charge_template + ADD CONSTRAINT cat_serv_usage_charge_template_pkey PRIMARY KEY (id); + + +-- +-- Name: cat_serv_usage_counter_template cat_serv_usage_counter_template_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_serv_usage_counter_template + ADD CONSTRAINT cat_serv_usage_counter_template_pkey PRIMARY KEY (service_usage_templt_id, indx); + + +-- +-- Name: cat_serv_usage_wallet_template cat_serv_usage_wallet_template_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_serv_usage_wallet_template + ADD CONSTRAINT cat_serv_usage_wallet_template_pkey PRIMARY KEY (service_usage_templt_id, indx); + + +-- +-- Name: cat_service_template cat_service_template_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_service_template + ADD CONSTRAINT cat_service_template_pkey PRIMARY KEY (id); + + +-- +-- Name: cat_triggered_edr cat_triggered_edr_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_triggered_edr + ADD CONSTRAINT cat_triggered_edr_pkey PRIMARY KEY (id); + + +-- +-- Name: cat_unit_of_measure cat_unit_of_measure_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_unit_of_measure + ADD CONSTRAINT cat_unit_of_measure_pkey PRIMARY KEY (id); + + +-- +-- Name: cat_wallet_template cat_wallet_template_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_wallet_template + ADD CONSTRAINT cat_wallet_template_pkey PRIMARY KEY (id); + + +-- +-- Name: com_campaign_crm_contact_tag com_campaign_crm_contact_tag_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.com_campaign_crm_contact_tag + ADD CONSTRAINT com_campaign_crm_contact_tag_pkey PRIMARY KEY (campaign_id, tag); + + +-- +-- Name: com_campaign com_campaign_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.com_campaign + ADD CONSTRAINT com_campaign_pkey PRIMARY KEY (id); + + +-- +-- Name: com_communication_entity com_communication_entity_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.com_communication_entity + ADD CONSTRAINT com_communication_entity_pkey PRIMARY KEY (id); + + +-- +-- Name: com_contact_com_message com_contact_com_message_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.com_contact_com_message + ADD CONSTRAINT com_contact_com_message_pkey PRIMARY KEY (com_contact_id, messages_id); + + +-- +-- Name: com_contact_coords com_contact_coords_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.com_contact_coords + ADD CONSTRAINT com_contact_coords_pkey PRIMARY KEY (id); + + +-- +-- Name: com_contact com_contact_email; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.com_contact + ADD CONSTRAINT com_contact_email UNIQUE (email); + + +-- +-- Name: com_contact com_contact_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.com_contact + ADD CONSTRAINT com_contact_pkey PRIMARY KEY (id); + + +-- +-- Name: com_contact_tag com_contact_tag_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.com_contact_tag + ADD CONSTRAINT com_contact_tag_pkey PRIMARY KEY (contact_id, tag); + + +-- +-- Name: com_message com_message_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.com_message + ADD CONSTRAINT com_message_pkey PRIMARY KEY (id); + + +-- +-- Name: com_message_template com_message_template_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.com_message_template + ADD CONSTRAINT com_message_template_pkey PRIMARY KEY (id); + + +-- +-- Name: com_meveo_instance com_meveo_instance_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.com_meveo_instance + ADD CONSTRAINT com_meveo_instance_pkey PRIMARY KEY (id); + + +-- +-- Name: com_msg_tmpl_variable com_msg_tmpl_variable_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.com_msg_tmpl_variable + ADD CONSTRAINT com_msg_tmpl_variable_pkey PRIMARY KEY (id); + + +-- +-- Name: com_msg_var_value com_msg_var_value_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.com_msg_var_value + ADD CONSTRAINT com_msg_var_value_pkey PRIMARY KEY (id); + + +-- +-- Name: com_provider_policy com_provider_policy_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.com_provider_policy + ADD CONSTRAINT com_provider_policy_pkey PRIMARY KEY (id); + + +-- +-- Name: com_sender_config com_sender_config_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.com_sender_config + ADD CONSTRAINT com_sender_config_pkey PRIMARY KEY (id); + + +-- +-- Name: crm_additional_details crm_additional_details_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.crm_additional_details + ADD CONSTRAINT crm_additional_details_pkey PRIMARY KEY (id); + + +-- +-- Name: crm_address_book crm_address_book_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.crm_address_book + ADD CONSTRAINT crm_address_book_pkey PRIMARY KEY (id); + + +-- +-- Name: crm_business_account_model crm_bam_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.crm_business_account_model + ADD CONSTRAINT crm_bam_pkey PRIMARY KEY (id); + + +-- +-- Name: cust_cei crm_cust_cei_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cust_cei + ADD CONSTRAINT crm_cust_cei_pkey PRIMARY KEY (id); + + +-- +-- Name: crm_custom_action crm_custom_action_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.crm_custom_action + ADD CONSTRAINT crm_custom_action_pkey PRIMARY KEY (id); + + +-- +-- Name: crm_custom_field_tmpl_mcols crm_custom_field_tmpl_mcols_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.crm_custom_field_tmpl_mcols + ADD CONSTRAINT crm_custom_field_tmpl_mcols_pkey PRIMARY KEY (cft_id, code); + + +-- +-- Name: crm_custom_field_tmpl crm_custom_field_tmpl_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.crm_custom_field_tmpl + ADD CONSTRAINT crm_custom_field_tmpl_pkey PRIMARY KEY (id); + + +-- +-- Name: crm_custom_field_tmpl_val crm_custom_field_tmpl_val_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.crm_custom_field_tmpl_val + ADD CONSTRAINT crm_custom_field_tmpl_val_pkey PRIMARY KEY (customfieldtemplate_id, listvalues_key); + + +-- +-- Name: crm_customer_brand crm_customer_brand_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.crm_customer_brand + ADD CONSTRAINT crm_customer_brand_pkey PRIMARY KEY (id); + + +-- +-- Name: crm_customer_category crm_customer_category_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.crm_customer_category + ADD CONSTRAINT crm_customer_category_pkey PRIMARY KEY (id); + + +-- +-- Name: crm_customer crm_customer_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.crm_customer + ADD CONSTRAINT crm_customer_pkey PRIMARY KEY (id); + + +-- +-- Name: crm_email crm_email_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.crm_email + ADD CONSTRAINT crm_email_pkey PRIMARY KEY (id); + + +-- +-- Name: crm_provider_contact crm_provider_contact_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.crm_provider_contact + ADD CONSTRAINT crm_provider_contact_pkey PRIMARY KEY (id); + + +-- +-- Name: crm_provider crm_provider_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.crm_provider + ADD CONSTRAINT crm_provider_pkey PRIMARY KEY (id); + + +-- +-- Name: crm_seller crm_seller_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.crm_seller + ADD CONSTRAINT crm_seller_pkey PRIMARY KEY (id); + + +-- +-- Name: cust_cet cust_cet_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cust_cet + ADD CONSTRAINT cust_cet_pkey PRIMARY KEY (id); + + +-- +-- Name: databasechangeloglock databasechangeloglock_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.databasechangeloglock + ADD CONSTRAINT databasechangeloglock_pkey PRIMARY KEY (id); + + +-- +-- Name: dwh_account_operation dwh_account_operation_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.dwh_account_operation + ADD CONSTRAINT dwh_account_operation_pkey PRIMARY KEY (id); + + +-- +-- Name: dwh_chart_bar dwh_chart_bar_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.dwh_chart_bar + ADD CONSTRAINT dwh_chart_bar_pkey PRIMARY KEY (id); + + +-- +-- Name: dwh_chart_line dwh_chart_line_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.dwh_chart_line + ADD CONSTRAINT dwh_chart_line_pkey PRIMARY KEY (id); + + +-- +-- Name: dwh_chart_pie dwh_chart_pie_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.dwh_chart_pie + ADD CONSTRAINT dwh_chart_pie_pkey PRIMARY KEY (id); + + +-- +-- Name: dwh_chart dwh_chart_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.dwh_chart + ADD CONSTRAINT dwh_chart_pkey PRIMARY KEY (id); + + +-- +-- Name: dwh_journal_entries dwh_journal_entries_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.dwh_journal_entries + ADD CONSTRAINT dwh_journal_entries_pkey PRIMARY KEY (id); + + +-- +-- Name: dwh_measurable_quant dwh_measurable_quant_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.dwh_measurable_quant + ADD CONSTRAINT dwh_measurable_quant_pkey PRIMARY KEY (id); + + +-- +-- Name: dwh_measured_value dwh_measured_value_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.dwh_measured_value + ADD CONSTRAINT dwh_measured_value_pkey PRIMARY KEY (id); + + +-- +-- Name: dwh_report_extract_execution dwh_report_extract_execution_pk; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.dwh_report_extract_execution + ADD CONSTRAINT dwh_report_extract_execution_pk PRIMARY KEY (id); + + +-- +-- Name: dwh_report_extract dwh_report_extract_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.dwh_report_extract + ADD CONSTRAINT dwh_report_extract_pkey PRIMARY KEY (id); + + +-- +-- Name: flat_file flat_file_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.flat_file + ADD CONSTRAINT flat_file_pkey PRIMARY KEY (id); + + +-- +-- Name: ftp_transferred_file ftp_transferred_file_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.ftp_transferred_file + ADD CONSTRAINT ftp_transferred_file_pkey PRIMARY KEY (id); + + +-- +-- Name: hierarchy_entity hierarchy_entity_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.hierarchy_entity + ADD CONSTRAINT hierarchy_entity_pkey PRIMARY KEY (id); + + +-- +-- Name: job_execution job_execution_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.job_execution + ADD CONSTRAINT job_execution_pkey PRIMARY KEY (id); + + +-- +-- Name: medina_access medina_access_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.medina_access + ADD CONSTRAINT medina_access_pkey PRIMARY KEY (id); + + +-- +-- Name: meveo_and_composite_filter_condition meveo_and_composite_filter_condition_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.meveo_and_composite_filter_condition + ADD CONSTRAINT meveo_and_composite_filter_condition_pkey PRIMARY KEY (id); + + +-- +-- Name: meveo_filter_condition meveo_filter_condition_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.meveo_filter_condition + ADD CONSTRAINT meveo_filter_condition_pkey PRIMARY KEY (id); + + +-- +-- Name: meveo_filter_oc_field_names meveo_filter_oc_field_names_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.meveo_filter_oc_field_names + ADD CONSTRAINT meveo_filter_oc_field_names_pkey PRIMARY KEY (field_name, order_condition_id); + + +-- +-- Name: meveo_filter_order_condition meveo_filter_order_condition_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.meveo_filter_order_condition + ADD CONSTRAINT meveo_filter_order_condition_pkey PRIMARY KEY (id); + + +-- +-- Name: meveo_filter meveo_filter_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.meveo_filter + ADD CONSTRAINT meveo_filter_pkey PRIMARY KEY (id); + + +-- +-- Name: meveo_filter_selector_display_fields meveo_filter_selector_display_fields_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.meveo_filter_selector_display_fields + ADD CONSTRAINT meveo_filter_selector_display_fields_pkey PRIMARY KEY (filter_selector_id, display_field); + + +-- +-- Name: meveo_filter_selector_export_fields meveo_filter_selector_export_fields_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.meveo_filter_selector_export_fields + ADD CONSTRAINT meveo_filter_selector_export_fields_pkey PRIMARY KEY (filter_selector_id, export_field); + + +-- +-- Name: meveo_filter_selector_ignore_fields meveo_filter_selector_ignore_fields_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.meveo_filter_selector_ignore_fields + ADD CONSTRAINT meveo_filter_selector_ignore_fields_pkey PRIMARY KEY (filter_selector_id, ignored_field); + + +-- +-- Name: meveo_filter_selector meveo_filter_selector_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.meveo_filter_selector + ADD CONSTRAINT meveo_filter_selector_pkey PRIMARY KEY (id); + + +-- +-- Name: meveo_job_instance meveo_job_instance_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.meveo_job_instance + ADD CONSTRAINT meveo_job_instance_pkey PRIMARY KEY (id); + + +-- +-- Name: meveo_metrics_config meveo_metrics_config_code_unique; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.meveo_metrics_config + ADD CONSTRAINT meveo_metrics_config_code_unique UNIQUE (code); + + +-- +-- Name: meveo_metrics_config meveo_metrics_config_id_pk; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.meveo_metrics_config + ADD CONSTRAINT meveo_metrics_config_id_pk PRIMARY KEY (id); + + +-- +-- Name: meveo_module_item meveo_module_item_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.meveo_module_item + ADD CONSTRAINT meveo_module_item_pkey PRIMARY KEY (id); + + +-- +-- Name: meveo_module meveo_module_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.meveo_module + ADD CONSTRAINT meveo_module_pkey PRIMARY KEY (id); + + +-- +-- Name: meveo_native_filter_condition meveo_native_filter_condition_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.meveo_native_filter_condition + ADD CONSTRAINT meveo_native_filter_condition_pkey PRIMARY KEY (id); + + +-- +-- Name: meveo_or_composite_filter_condition meveo_or_composite_filter_condition_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.meveo_or_composite_filter_condition + ADD CONSTRAINT meveo_or_composite_filter_condition_pkey PRIMARY KEY (id); + + +-- +-- Name: meveo_primitive_filter_condition meveo_primitive_filter_condition_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.meveo_primitive_filter_condition + ADD CONSTRAINT meveo_primitive_filter_condition_pkey PRIMARY KEY (id); + + +-- +-- Name: meveo_script_instance_cat meveo_script_instance_cat_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.meveo_script_instance_cat + ADD CONSTRAINT meveo_script_instance_cat_pkey PRIMARY KEY (id); + + +-- +-- Name: meveo_script_instance meveo_script_instance_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.meveo_script_instance + ADD CONSTRAINT meveo_script_instance_pkey PRIMARY KEY (id); + + +-- +-- Name: meveo_timer meveo_timer_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.meveo_timer + ADD CONSTRAINT meveo_timer_pkey PRIMARY KEY (id); + + +-- +-- Name: ord_item_offerings ord_item_offer_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.ord_item_offerings + ADD CONSTRAINT ord_item_offer_pkey PRIMARY KEY (id); + + +-- +-- Name: ord_item_prd_instance ord_item_prd_instance_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.ord_item_prd_instance + ADD CONSTRAINT ord_item_prd_instance_pkey PRIMARY KEY (order_item_id, prd_instance_id); + + +-- +-- Name: ord_order_history ord_order_history_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.ord_order_history + ADD CONSTRAINT ord_order_history_pkey PRIMARY KEY (id); + + +-- +-- Name: ord_order_item ord_order_item_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.ord_order_item + ADD CONSTRAINT ord_order_item_pkey PRIMARY KEY (id); + + +-- +-- Name: ord_order ord_order_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.ord_order + ADD CONSTRAINT ord_order_pkey PRIMARY KEY (id); + + +-- +-- Name: ord_quot_item_offerings ord_quot_item_offer_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.ord_quot_item_offerings + ADD CONSTRAINT ord_quot_item_offer_pkey PRIMARY KEY (id); + + +-- +-- Name: ord_quote_item ord_quote_item_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.ord_quote_item + ADD CONSTRAINT ord_quote_item_pkey PRIMARY KEY (id); + + +-- +-- Name: ord_quote ord_quote_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.ord_quote + ADD CONSTRAINT ord_quote_pkey PRIMARY KEY (id); + + +-- +-- Name: adm_gdpr_configuration pk_adm_gdpr_configuration; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.adm_gdpr_configuration + ADD CONSTRAINT pk_adm_gdpr_configuration PRIMARY KEY (id); + + +-- +-- Name: adm_notif_job_params pk_adm_notif_job_params; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.adm_notif_job_params + ADD CONSTRAINT pk_adm_notif_job_params PRIMARY KEY (jobtrigger_id, jobparams_key); + + +-- +-- Name: adm_notification_params pk_adm_notification_params; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.adm_notification_params + ADD CONSTRAINT pk_adm_notification_params PRIMARY KEY (notification_id, params_key); + + +-- +-- Name: ar_accounting_writing pk_ar_accounting_writing_seq; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.ar_accounting_writing + ADD CONSTRAINT pk_ar_accounting_writing_seq PRIMARY KEY (id); + + +-- +-- Name: ar_payment_gateway_rum_sequence pk_ar_payment_gateway_rum_sequence; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.ar_payment_gateway_rum_sequence + ADD CONSTRAINT pk_ar_payment_gateway_rum_sequence PRIMARY KEY (id); + + +-- +-- Name: billing_finance_segment pk_billing_finance_segment; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_finance_segment + ADD CONSTRAINT pk_billing_finance_segment PRIMARY KEY (id); + + +-- +-- Name: billing_seq_invoice pk_billing_seq_invoice; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_seq_invoice + ADD CONSTRAINT pk_billing_seq_invoice PRIMARY KEY (id); + + +-- +-- Name: cat_business_offer_model pk_cat_bom; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_business_offer_model + ADD CONSTRAINT pk_cat_bom PRIMARY KEY (id); + + +-- +-- Name: cat_business_serv_model pk_cat_bsm; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_business_serv_model + ADD CONSTRAINT pk_cat_bsm PRIMARY KEY (id); + + +-- +-- Name: cat_business_product_model pk_cat_business_product_model; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_business_product_model + ADD CONSTRAINT pk_cat_business_product_model PRIMARY KEY (id); + + +-- +-- Name: cat_offer_serv_incomp pk_cat_offer_serv_incomp; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_offer_serv_incomp + ADD CONSTRAINT pk_cat_offer_serv_incomp PRIMARY KEY (offer_service_template_id, service_template_id); + + +-- +-- Name: cat_offer_serv_templates pk_cat_offer_serv_templates; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_offer_serv_templates + ADD CONSTRAINT pk_cat_offer_serv_templates PRIMARY KEY (id); + + +-- +-- Name: cat_offer_template_category pk_cat_offer_template_category; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_offer_template_category + ADD CONSTRAINT pk_cat_offer_template_category PRIMARY KEY (id); + + +-- +-- Name: crm_customer_sequence pk_crm_customer_sequence; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.crm_customer_sequence + ADD CONSTRAINT pk_crm_customer_sequence PRIMARY KEY (id); + + +-- +-- Name: dunning_document pk_dunning_document_sequence; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.dunning_document + ADD CONSTRAINT pk_dunning_document_sequence PRIMARY KEY (id); + + +-- +-- Name: dwh_report_extract_params pk_report_extract_params; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.dwh_report_extract_params + ADD CONSTRAINT pk_report_extract_params PRIMARY KEY (reportextract_id, params_key); + + +-- +-- Name: rating_cdr rating_cdr_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.rating_cdr + ADD CONSTRAINT rating_cdr_pkey PRIMARY KEY (id); + + +-- +-- Name: rating_edr rating_edr_p_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.rating_edr + ADD CONSTRAINT rating_edr_p_pkey PRIMARY KEY (id, status); + + +-- +-- Name: rating_edr_open rating_edr_open_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.rating_edr_open + ADD CONSTRAINT rating_edr_open_pkey PRIMARY KEY (id, status); + + +-- +-- Name: rating_edr_other rating_edr_other_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.rating_edr_other + ADD CONSTRAINT rating_edr_other_pkey PRIMARY KEY (id, status); + + +-- +-- Name: report_emails report_emails_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.report_emails + ADD CONSTRAINT report_emails_pkey PRIMARY KEY (email_id, report_id); + + +-- +-- Name: rm_service_param_template rm_service_param_template_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.rm_service_param_template + ADD CONSTRAINT rm_service_param_template_pkey PRIMARY KEY (id); + + +-- +-- Name: cat_discount_plan_item uk_1q0ayvmttpoo254r1v8hl0kjn; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_discount_plan_item + ADD CONSTRAINT uk_1q0ayvmttpoo254r1v8hl0kjn UNIQUE (discount_plan_id, code); + + +-- +-- Name: billing_invoice_template uk_23jasgq9b22ry02e4tl773c8i; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_invoice_template + ADD CONSTRAINT uk_23jasgq9b22ry02e4tl773c8i UNIQUE (file_name); + + +-- +-- Name: adm_notification uk_3ycqdueceguo8a0s21h1gkcqw; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.adm_notification + ADD CONSTRAINT uk_3ycqdueceguo8a0s21h1gkcqw UNIQUE (code); + + +-- +-- Name: cat_hour_in_day uk_46j9b2xyivfvbibad362o1dlr; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_hour_in_day + ADD CONSTRAINT uk_46j9b2xyivfvbibad362o1dlr UNIQUE (hour, min); + + +-- +-- Name: cat_discount_plan uk_4qps24of1qada6uyq7lh5ua0t; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_discount_plan + ADD CONSTRAINT uk_4qps24of1qada6uyq7lh5ua0t UNIQUE (code); + + +-- +-- Name: cat_price_plan_matrix uk_52v1uwefc75bgqrj5encpyd9w; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_price_plan_matrix + ADD CONSTRAINT uk_52v1uwefc75bgqrj5encpyd9w UNIQUE (code); + + +-- +-- Name: adm_notif_im_user uk_6g7agb8u5whyi5ukj627l2qc9; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.adm_notif_im_user + ADD CONSTRAINT uk_6g7agb8u5whyi5ukj627l2qc9 UNIQUE (users_id); + + +-- +-- Name: com_contact_coords uk_6lkh6xsel27sl2bp1vgdhj0hm; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.com_contact_coords + ADD CONSTRAINT uk_6lkh6xsel27sl2bp1vgdhj0hm UNIQUE (code); + + +-- +-- Name: cat_service_template uk_6u1l58s8u672jj9sqb9tgqdbu; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_service_template + ADD CONSTRAINT uk_6u1l58s8u672jj9sqb9tgqdbu UNIQUE (code); + + +-- +-- Name: billing_subscription uk_9fnf93rp352nkw2kpd4oq5xp9; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_subscription + ADD CONSTRAINT uk_9fnf93rp352nkw2kpd4oq5xp9 UNIQUE (code); + + +-- +-- Name: adm_file_format uk_9fnf93rp352nkw2kpdbari4xp9; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.adm_file_format + ADD CONSTRAINT uk_9fnf93rp352nkw2kpdbari4xp9 UNIQUE (code); + + +-- +-- Name: adm_file_type uk_9fnf93rp352nkw2kpdbari5yr8; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.adm_file_type + ADD CONSTRAINT uk_9fnf93rp352nkw2kpdbari5yr8 UNIQUE (code); + + +-- +-- Name: flat_file uk_9fnf93rp352nkw2kpdbari6yr9; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.flat_file + ADD CONSTRAINT uk_9fnf93rp352nkw2kpdbari6yr9 UNIQUE (code); + + +-- +-- Name: crm_custom_field_tmpl uk_abfci88fr16lqf19cf961b08d; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.crm_custom_field_tmpl + ADD CONSTRAINT uk_abfci88fr16lqf19cf961b08d UNIQUE (code, applies_to); + + +-- +-- Name: account_entity uk_account_entity; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.account_entity + ADD CONSTRAINT uk_account_entity UNIQUE (code, account_type); + + +-- +-- Name: adm_custom_generic_entity_code uk_adm_custom_generic_entity_code_class; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.adm_custom_generic_entity_code + ADD CONSTRAINT uk_adm_custom_generic_entity_code_class UNIQUE (entity_class); + + +-- +-- Name: ar_credit_category uk_ar_credit_category; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.ar_credit_category + ADD CONSTRAINT uk_ar_credit_category UNIQUE (code); + + +-- +-- Name: crm_customer_brand uk_bf0bq2sqe9fefsoud50t0fbjp; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.crm_customer_brand + ADD CONSTRAINT uk_bf0bq2sqe9fefsoud50t0fbjp UNIQUE (code); + + +-- +-- Name: billing_seq_invtyp_sell uk_bill_seq_it_sell; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_seq_invtyp_sell + ADD CONSTRAINT uk_bill_seq_it_sell UNIQUE (seller_id, invoicetype_id); + + +-- +-- Name: billing_accounting_code uk_billing_accounting_code; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_accounting_code + ADD CONSTRAINT uk_billing_accounting_code UNIQUE (code); + + +-- +-- Name: billing_general_ledger uk_billing_general_ledger_code; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_general_ledger + ADD CONSTRAINT uk_billing_general_ledger_code UNIQUE (code); + + +-- +-- Name: billing_invoice uk_billing_invoice; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_invoice + ADD CONSTRAINT uk_billing_invoice UNIQUE (invoice_number, invoice_type_id); + + +-- +-- Name: billing_invoice_type uk_billing_invoice_type; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_invoice_type + ADD CONSTRAINT uk_billing_invoice_type UNIQUE (code); + + +-- +-- Name: billing_tax_category uk_billing_tax_category_code; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_tax_category + ADD CONSTRAINT uk_billing_tax_category_code UNIQUE (code); + + +-- +-- Name: billing_tax_class uk_billing_tax_class_code; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_tax_class + ADD CONSTRAINT uk_billing_tax_class_code UNIQUE (code); + + +-- +-- Name: billing_wallet uk_billing_wallet; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_wallet + ADD CONSTRAINT uk_billing_wallet UNIQUE (code, user_account_id); + + +-- +-- Name: cat_bundle_product_template uk_cat_bundle_prod_tpl; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_bundle_product_template + ADD CONSTRAINT uk_cat_bundle_prod_tpl UNIQUE (product_template_id, bundle_template_id); + + +-- +-- Name: cat_channel uk_cat_channel; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_channel + ADD CONSTRAINT uk_cat_channel UNIQUE (code); + + +-- +-- Name: cat_offer_serv_templates uk_cat_offer_serv_templates; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_offer_serv_templates + ADD CONSTRAINT uk_cat_offer_serv_templates UNIQUE (offer_template_id, service_template_id); + + +-- +-- Name: cat_offer_template_category uk_cat_offer_template_category; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_offer_template_category + ADD CONSTRAINT uk_cat_offer_template_category UNIQUE (code); + + +-- +-- Name: hierarchy_entity uk_code_hierarchy; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.hierarchy_entity + ADD CONSTRAINT uk_code_hierarchy UNIQUE (code, hierarchy_type); + + +-- +-- Name: crm_provider uk_crm_provider; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.crm_provider + ADD CONSTRAINT uk_crm_provider UNIQUE (code); + + +-- +-- Name: cust_cei uk_cust_cei; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cust_cei + ADD CONSTRAINT uk_cust_cei UNIQUE (code, cet_code); + + +-- +-- Name: cust_cet uk_cust_cet; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cust_cet + ADD CONSTRAINT uk_cust_cet UNIQUE (code); + + +-- +-- Name: billing_subscrip_termin_reason uk_cygiejvomk5mi5v4o04hf4uny; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_subscrip_termin_reason + ADD CONSTRAINT uk_cygiejvomk5mi5v4o04hf4uny UNIQUE (code); + + +-- +-- Name: billing_cycle uk_cyq7rhfwc1wqvxbj2tukw34f2; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_cycle + ADD CONSTRAINT uk_cyq7rhfwc1wqvxbj2tukw34f2 UNIQUE (code); + + +-- +-- Name: wf_decision_rule uk_decision_rule_name_value; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.wf_decision_rule + ADD CONSTRAINT uk_decision_rule_name_value UNIQUE (name, value); + + +-- +-- Name: cat_digital_resource uk_digital_resource; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_digital_resource + ADD CONSTRAINT uk_digital_resource UNIQUE (code); + + +-- +-- Name: adm_currency uk_dqcyys6yxxl4onj137n9c1nwu; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.adm_currency + ADD CONSTRAINT uk_dqcyys6yxxl4onj137n9c1nwu UNIQUE (currency_code); + + +-- +-- Name: com_contact_com_message uk_e1trke21afbfr3v8wqnsks2is; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.com_contact_com_message + ADD CONSTRAINT uk_e1trke21afbfr3v8wqnsks2is UNIQUE (messages_id); + + +-- +-- Name: cat_triggered_edr uk_e5epl6nn8r6uyegu6ytx0c3op; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_triggered_edr + ADD CONSTRAINT uk_e5epl6nn8r6uyegu6ytx0c3op UNIQUE (code); + + +-- +-- Name: com_sender_config uk_e9tdxu2w5ebts1p1nr1ejqbgp; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.com_sender_config + ADD CONSTRAINT uk_e9tdxu2w5ebts1p1nr1ejqbgp UNIQUE (code); + + +-- +-- Name: billing_tax uk_ej17p1cs8977u8njoppj4ebug; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_tax + ADD CONSTRAINT uk_ej17p1cs8977u8njoppj4ebug UNIQUE (code); + + +-- +-- Name: adm_inbound_request uk_fg8lvusnsfih36f76coxmh8qi; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.adm_inbound_request + ADD CONSTRAINT uk_fg8lvusnsfih36f76coxmh8qi UNIQUE (code); + + +-- +-- Name: wf_status uk_generic_wf_id_code_status; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.wf_status + ADD CONSTRAINT uk_generic_wf_id_code_status UNIQUE (generic_wf_id, code); + + +-- +-- Name: cat_day_in_year uk_gm4w28fbb5i1t0403tjbjyjrq; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_day_in_year + ADD CONSTRAINT uk_gm4w28fbb5i1t0403tjbjyjrq UNIQUE (day, month); + + +-- +-- Name: com_campaign uk_h1vbmdpl6hby6wefd9isqht8; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.com_campaign + ADD CONSTRAINT uk_h1vbmdpl6hby6wefd9isqht8 UNIQUE (code); + + +-- +-- Name: com_msg_var_value uk_i4iy89rb3qcvhd7qivhjvw2mo; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.com_msg_var_value + ADD CONSTRAINT uk_i4iy89rb3qcvhd7qivhjvw2mo UNIQUE (code); + + +-- +-- Name: com_msg_tmpl_variable uk_ie5npbxx0nxnpogq73fdsi9fp; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.com_msg_tmpl_variable + ADD CONSTRAINT uk_ie5npbxx0nxnpogq73fdsi9fp UNIQUE (code); + + +-- +-- Name: crm_customer_category uk_ila682ivfyhhi6dfk9yfuahr; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.crm_customer_category + ADD CONSTRAINT uk_ila682ivfyhhi6dfk9yfuahr UNIQUE (code); + + +-- +-- Name: wf_workflow uk_j8v4x5olh5um1g7y5vnsayrka; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.wf_workflow + ADD CONSTRAINT uk_j8v4x5olh5um1g7y5vnsayrka UNIQUE (code); + + +-- +-- Name: billing_invoice_template uk_k9ha8me5f8rka8uqrgempqwuo; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_invoice_template + ADD CONSTRAINT uk_k9ha8me5f8rka8uqrgempqwuo UNIQUE (code); + + +-- +-- Name: medina_access uk_lca62y5gn9qo1e6jr84i9w3lr; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.medina_access + ADD CONSTRAINT uk_lca62y5gn9qo1e6jr84i9w3lr UNIQUE (acces_user_id, subscription_id, start_date, end_date); + + +-- +-- Name: adm_title uk_lqvhsn08tpoq8kiy1qdc8j6ms; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.adm_title + ADD CONSTRAINT uk_lqvhsn08tpoq8kiy1qdc8j6ms UNIQUE (code); + + +-- +-- Name: cat_wallet_template uk_m7m3ix32qoai9fv3xncoys8c9; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_wallet_template + ADD CONSTRAINT uk_m7m3ix32qoai9fv3xncoys8c9 UNIQUE (code); + + +-- +-- Name: meveo_filter uk_meveo_filter; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.meveo_filter + ADD CONSTRAINT uk_meveo_filter UNIQUE (code); + + +-- +-- Name: meveo_job_instance uk_meveo_job_instance; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.meveo_job_instance + ADD CONSTRAINT uk_meveo_job_instance UNIQUE (code); + + +-- +-- Name: meveo_module uk_meveo_module; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.meveo_module + ADD CONSTRAINT uk_meveo_module UNIQUE (code); + + +-- +-- Name: meveo_script_instance uk_meveo_script_instance; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.meveo_script_instance + ADD CONSTRAINT uk_meveo_script_instance UNIQUE (code); + + +-- +-- Name: billing_counter_period uk_mns6ldfxmurbo0j4y890h4ipe; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_counter_period + ADD CONSTRAINT uk_mns6ldfxmurbo0j4y890h4ipe UNIQUE (counter_instance_id, period_start_date); + + +-- +-- Name: adm_notif_email_user uk_mp4h7biod5wtjo1x3yp80q3um; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.adm_notif_email_user + ADD CONSTRAINT uk_mp4h7biod5wtjo1x3yp80q3um UNIQUE (users_id); + + +-- +-- Name: cat_calendar uk_my3lp1lx5r0jeftgekg48nf89; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_calendar + ADD CONSTRAINT uk_my3lp1lx5r0jeftgekg48nf89 UNIQUE (code); + + +-- +-- Name: cat_charge_template uk_n2bbtllrbgypse7qh9h3w6uy8; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_charge_template + ADD CONSTRAINT uk_n2bbtllrbgypse7qh9h3w6uy8 UNIQUE (code); + + +-- +-- Name: adm_user uk_n9pt70038bt2ufk8x4pc7gr3l; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.adm_user + ADD CONSTRAINT uk_n9pt70038bt2ufk8x4pc7gr3l UNIQUE (username); + + +-- +-- Name: crm_provider_contact uk_o5gj61ogdrv2lqs68uxkswvn2; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.crm_provider_contact + ADD CONSTRAINT uk_o5gj61ogdrv2lqs68uxkswvn2 UNIQUE (code); + + +-- +-- Name: rm_service_param_template uk_ojqvlgvkqu3rnvm79bekf7k0b; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.rm_service_param_template + ADD CONSTRAINT uk_ojqvlgvkqu3rnvm79bekf7k0b UNIQUE (code); + + +-- +-- Name: billing_invoice uk_olfbcf2pmj73v5xdhnbp5i5gn; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_invoice + ADD CONSTRAINT uk_olfbcf2pmj73v5xdhnbp5i5gn UNIQUE (temporary_invoice_number); + + +-- +-- Name: ord_order uk_ord_order; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.ord_order + ADD CONSTRAINT uk_ord_order UNIQUE (code); + + +-- +-- Name: ord_quote uk_ord_quote; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.ord_quote + ADD CONSTRAINT uk_ord_quote UNIQUE (code); + + +-- +-- Name: ord_order_item uk_order_item_code; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.ord_order_item + ADD CONSTRAINT uk_order_item_code UNIQUE (code); + + +-- +-- Name: dwh_journal_entries uk_orinvacid; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.dwh_journal_entries + ADD CONSTRAINT uk_orinvacid UNIQUE (origin_id, invoice_number, accounting_code_id); + + +-- +-- Name: cat_counter_template uk_p12oo75s9gryyvaw53y06xoh3; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_counter_template + ADD CONSTRAINT uk_p12oo75s9gryyvaw53y06xoh3 UNIQUE (code); + + +-- +-- Name: ar_occ_template uk_p2nr7j9ik6ri37gmd8o1hojhb; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.ar_occ_template + ADD CONSTRAINT uk_p2nr7j9ik6ri37gmd8o1hojhb UNIQUE (code); + + +-- +-- Name: com_meveo_instance uk_p7r8cy3d1w7g8pir7rxq17071; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.com_meveo_instance + ADD CONSTRAINT uk_p7r8cy3d1w7g8pir7rxq17071 UNIQUE (code); + + +-- +-- Name: dwh_chart uk_pehkecunepva2oq9dx9faajhg; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.dwh_chart + ADD CONSTRAINT uk_pehkecunepva2oq9dx9faajhg UNIQUE (code); + + +-- +-- Name: crm_provider_pay_methods uk_prov_pay_meth; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.crm_provider_pay_methods + ADD CONSTRAINT uk_prov_pay_meth UNIQUE (provider_id, payment_method); + + +-- +-- Name: billing_invoice_sub_cat uk_pxj2js3rc3kkeo9bqewgai3yl; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_invoice_sub_cat + ADD CONSTRAINT uk_pxj2js3rc3kkeo9bqewgai3yl UNIQUE (code); + + +-- +-- Name: meveo_timer uk_q4ys10jgsw0px36rcvwdajh47; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.meveo_timer + ADD CONSTRAINT uk_q4ys10jgsw0px36rcvwdajh47 UNIQUE (code); + + +-- +-- Name: billing_invoice_cat uk_qck1376ll09l9itat2bcomhpl; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_invoice_cat + ADD CONSTRAINT uk_qck1376ll09l9itat2bcomhpl UNIQUE (code); + + +-- +-- Name: com_message_template uk_r0shu06cdbx57w86f2h57t66p; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.com_message_template + ADD CONSTRAINT uk_r0shu06cdbx57w86f2h57t66p UNIQUE (code); + + +-- +-- Name: dwh_measurable_quant uk_r7ba8gp6uk4ncc8q1a7rrt3fi; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.dwh_measurable_quant + ADD CONSTRAINT uk_r7ba8gp6uk4ncc8q1a7rrt3fi UNIQUE (code); + + +-- +-- Name: bi_job uk_stegw04bvx8bxued1pkncywxl; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.bi_job + ADD CONSTRAINT uk_stegw04bvx8bxued1pkncywxl UNIQUE (name); + + +-- +-- Name: wf_action uk_wf_action_uuid; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.wf_action + ADD CONSTRAINT uk_wf_action_uuid UNIQUE (uuid); + + +-- +-- Name: wf_generic_workflow uk_wf_generic_workflow_code; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.wf_generic_workflow + ADD CONSTRAINT uk_wf_generic_workflow_code UNIQUE (code); + + +-- +-- Name: wf_instance uk_wf_instance_code_gwf_id_cet_code; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.wf_instance + ADD CONSTRAINT uk_wf_instance_code_gwf_id_cet_code UNIQUE (entity_instance_code, generic_wf_id, target_cet_code); + + +-- +-- Name: wf_transition uk_wf_transition_uuid; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.wf_transition + ADD CONSTRAINT uk_wf_transition_uuid UNIQUE (uuid); + + +-- +-- Name: wf_action wf_action_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.wf_action + ADD CONSTRAINT wf_action_pkey PRIMARY KEY (id); + + +-- +-- Name: wf_generic_transition wf_generic_transition_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.wf_generic_transition + ADD CONSTRAINT wf_generic_transition_pkey PRIMARY KEY (id); + + +-- +-- Name: wf_generic_workflow wf_generic_workflow_pk; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.wf_generic_workflow + ADD CONSTRAINT wf_generic_workflow_pk PRIMARY KEY (id); + + +-- +-- Name: wf_history_action wf_history_action_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.wf_history_action + ADD CONSTRAINT wf_history_action_pkey PRIMARY KEY (id); + + +-- +-- Name: wf_history wf_history_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.wf_history + ADD CONSTRAINT wf_history_pkey PRIMARY KEY (id); + + +-- +-- Name: wf_instance_history wf_instance_history_pk; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.wf_instance_history + ADD CONSTRAINT wf_instance_history_pk PRIMARY KEY (id); + + +-- +-- Name: wf_instance wf_instance_pk; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.wf_instance + ADD CONSTRAINT wf_instance_pk PRIMARY KEY (id); + + +-- +-- Name: wf_status wf_status_pk; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.wf_status + ADD CONSTRAINT wf_status_pk PRIMARY KEY (id); + + +-- +-- Name: wf_transition_decision_rule wf_transition_decision_rule_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.wf_transition_decision_rule + ADD CONSTRAINT wf_transition_decision_rule_pkey PRIMARY KEY (transition_id, decision_rule_id); + + +-- +-- Name: wf_transition wf_transition_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.wf_transition + ADD CONSTRAINT wf_transition_pkey PRIMARY KEY (id); + + +-- +-- Name: wf_decision_rule wf_wf_decision_rule_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.wf_decision_rule + ADD CONSTRAINT wf_wf_decision_rule_pkey PRIMARY KEY (id); + + +-- +-- Name: wf_workflow wf_workflow_pkey; Type: CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.wf_workflow + ADD CONSTRAINT wf_workflow_pkey PRIMARY KEY (id); + + +-- +-- Name: account_entity_bam_id_index; Type: INDEX; Schema: public; Owner: uat_postgres +-- + +CREATE INDEX account_entity_bam_id_index ON public.account_entity USING btree (bam_id); + + +-- +-- Name: account_entity_index; Type: INDEX; Schema: public; Owner: uat_postgres +-- + +CREATE INDEX account_entity_index ON public.account_entity USING btree (primary_contact, title_id, bam_id); + + +-- +-- Name: account_entity_primary_contact_index; Type: INDEX; Schema: public; Owner: uat_postgres +-- + +CREATE INDEX account_entity_primary_contact_index ON public.account_entity USING btree (primary_contact); + + +-- +-- Name: account_entity_title_id_index; Type: INDEX; Schema: public; Owner: uat_postgres +-- + +CREATE INDEX account_entity_title_id_index ON public.account_entity USING btree (title_id); + + +-- +-- Name: account_entity_upper_code; Type: INDEX; Schema: public; Owner: uat_postgres +-- + +CREATE INDEX account_entity_upper_code ON public.account_entity USING btree (upper((code)::text)); + + +-- +-- Name: adm_file_type_code_index; Type: INDEX; Schema: public; Owner: uat_postgres +-- + +CREATE INDEX adm_file_type_code_index ON public.adm_file_type USING btree (code); + + +-- +-- Name: adm_sc_instance_id_index; Type: INDEX; Schema: public; Owner: uat_postgres +-- + +CREATE INDEX adm_sc_instance_id_index ON public.adm_script_sourc_role USING btree (script_instance_id); + + +-- +-- Name: adm_sc_role_id_index; Type: INDEX; Schema: public; Owner: uat_postgres +-- + +CREATE INDEX adm_sc_role_id_index ON public.adm_script_sourc_role USING btree (role_id); + + +-- +-- Name: adm_title_index; Type: INDEX; Schema: public; Owner: uat_postgres +-- + +CREATE INDEX adm_title_index ON public.adm_title USING btree (lower((code)::text)); + + +-- +-- Name: adm_user_title_index; Type: INDEX; Schema: public; Owner: uat_postgres +-- + +CREATE INDEX adm_user_title_index ON public.adm_user USING btree (title_id); + + +-- +-- Name: ao_inv_idx; Type: INDEX; Schema: public; Owner: uat_postgres +-- + +CREATE INDEX ao_inv_idx ON public.ar_account_operation USING btree (invoice_id); + + +-- +-- Name: ar_account_operation_cat_inv_agregate_id_idx; Type: INDEX; Schema: public; Owner: uat_postgres +-- + +CREATE INDEX ar_account_operation_cat_inv_agregate_id_idx ON public.ar_account_operation USING btree (cat_inv_agregate_id); + + +-- +-- Name: ar_account_operation_index; Type: INDEX; Schema: public; Owner: uat_postgres +-- + +CREATE INDEX ar_account_operation_index ON public.ar_account_operation USING btree (customer_account_id); + + +-- +-- Name: ar_account_operation_sub_cat_inv_agregate_id_idx; Type: INDEX; Schema: public; Owner: uat_postgres +-- + +CREATE INDEX ar_account_operation_sub_cat_inv_agregate_id_idx ON public.ar_account_operation USING btree (sub_cat_inv_agregate_id); + + +-- +-- Name: ar_customer_account_index; Type: INDEX; Schema: public; Owner: uat_postgres +-- + +CREATE INDEX ar_customer_account_index ON public.ar_customer_account USING btree (credit_category_id); + + +-- +-- Name: ar_payment_customer_index; Type: INDEX; Schema: public; Owner: uat_postgres +-- + +CREATE INDEX ar_payment_customer_index ON public.ar_payment_token USING btree (customer_account_id); + + +-- +-- Name: bc_instance_inv_cal_id; Type: INDEX; Schema: public; Owner: uat_postgres +-- + +CREATE INDEX bc_instance_inv_cal_id ON public.billing_charge_instance USING btree (invoicing_calendar_id); + + +-- +-- Name: bc_instance_sub_id; Type: INDEX; Schema: public; Owner: uat_postgres +-- + +CREATE INDEX bc_instance_sub_id ON public.billing_charge_instance USING btree (subscription_id); + + +-- +-- Name: billing_billing_account_index; Type: INDEX; Schema: public; Owner: uat_postgres +-- + +CREATE INDEX billing_billing_account_index ON public.billing_billing_account USING btree (customer_account_id); + + +-- +-- Name: billing_charge_instance_code_index; Type: INDEX; Schema: public; Owner: uat_postgres +-- + +CREATE INDEX billing_charge_instance_code_index ON public.billing_charge_instance USING btree (lower((code)::text)); + + +-- +-- Name: billing_charge_instance_index; Type: INDEX; Schema: public; Owner: uat_postgres +-- + +CREATE INDEX billing_charge_instance_index ON public.billing_charge_instance USING btree (invoicing_calendar_id, lower((code)::text), charge_template_id); + + +-- +-- Name: billing_charge_serv_inst_index; Type: INDEX; Schema: public; Owner: uat_postgres +-- + +CREATE INDEX billing_charge_serv_inst_index ON public.billing_charge_instance USING btree (service_instance_id); + + +-- +-- Name: billing_chrginst_wallet_index; Type: INDEX; Schema: public; Owner: uat_postgres +-- + +CREATE INDEX billing_chrginst_wallet_index ON public.billing_chrginst_wallet USING btree (wallet_instance_id); + + +-- +-- Name: billing_invoice_agregate_category_inv_agg; Type: INDEX; Schema: public; Owner: uat_postgres +-- + +CREATE INDEX billing_invoice_agregate_category_inv_agg ON public.billing_invoice_agregate USING btree (category_invoice_agregate); + + +-- +-- Name: billing_invoice_agregate_sub_cat_invoice_agregate_id_idx; Type: INDEX; Schema: public; Owner: uat_postgres +-- + +CREATE INDEX billing_invoice_agregate_sub_cat_invoice_agregate_id_idx ON public.billing_invoice_agregate USING btree (sub_cat_invoice_agregate_id); + + +-- +-- Name: billing_invoice_agregate_tax_invoice_agregate_idx; Type: INDEX; Schema: public; Owner: uat_postgres +-- + +CREATE INDEX billing_invoice_agregate_tax_invoice_agregate_idx ON public.billing_invoice_agregate USING btree (tax_invoice_agregate); + + +-- +-- Name: billing_invoice_billing_account_id; Type: INDEX; Schema: public; Owner: uat_postgres +-- + +CREATE INDEX billing_invoice_billing_account_id ON public.billing_invoice USING btree (billing_account_id); + + +-- +-- Name: billing_invoice_index; Type: INDEX; Schema: public; Owner: uat_postgres +-- + +CREATE INDEX billing_invoice_index ON public.billing_invoice USING btree (invoice_id, invoice_type_id); + + +-- +-- Name: billing_invoice_quote_id; Type: INDEX; Schema: public; Owner: uat_postgres +-- + +CREATE INDEX billing_invoice_quote_id ON public.billing_invoice USING btree (quote_id); + + +-- +-- Name: billing_invoice_version_index; Type: INDEX; Schema: public; Owner: uat_postgres +-- + +CREATE INDEX billing_invoice_version_index ON public.billing_invoice USING btree (version); + + +-- +-- Name: rt_adjusted_rated_tx; Type: INDEX; Schema: public; Owner: uat_postgres +-- + +CREATE INDEX rt_adjusted_rated_tx ON ONLY public.billing_rated_transaction USING btree (adjusted_rated_tx); + + +-- +-- Name: billing_rated_transaction_open_adjusted_rated_tx_idx; Type: INDEX; Schema: public; Owner: uat_postgres +-- + +CREATE INDEX billing_rated_transaction_open_adjusted_rated_tx_idx ON public.billing_rated_transaction_open USING btree (adjusted_rated_tx); + + +-- +-- Name: rt_argr_f_idx; Type: INDEX; Schema: public; Owner: uat_postgres +-- + +CREATE INDEX rt_argr_f_idx ON ONLY public.billing_rated_transaction USING btree (aggregate_id_f); + + +-- +-- Name: billing_rated_transaction_open_aggregate_id_f_idx; Type: INDEX; Schema: public; Owner: uat_postgres +-- + +CREATE INDEX billing_rated_transaction_open_aggregate_id_f_idx ON public.billing_rated_transaction_open USING btree (aggregate_id_f); + + +-- +-- Name: rt_edr_id; Type: INDEX; Schema: public; Owner: uat_postgres +-- + +CREATE INDEX rt_edr_id ON ONLY public.billing_rated_transaction USING btree (edr_id); + + +-- +-- Name: billing_rated_transaction_open_edr_id_idx; Type: INDEX; Schema: public; Owner: uat_postgres +-- + +CREATE INDEX billing_rated_transaction_open_edr_id_idx ON public.billing_rated_transaction_open USING btree (edr_id); + + +-- +-- Name: rt_order_index; Type: INDEX; Schema: public; Owner: uat_postgres +-- + +CREATE INDEX rt_order_index ON ONLY public.billing_rated_transaction USING btree (order_number) WHERE (order_number IS NOT NULL); + + +-- +-- Name: billing_rated_transaction_open_order_number_idx; Type: INDEX; Schema: public; Owner: uat_postgres +-- + +CREATE INDEX billing_rated_transaction_open_order_number_idx ON public.billing_rated_transaction_open USING btree (order_number) WHERE (order_number IS NOT NULL); + + +-- +-- Name: rt_usage_date_index; Type: INDEX; Schema: public; Owner: uat_postgres +-- + +CREATE INDEX rt_usage_date_index ON ONLY public.billing_rated_transaction USING btree (((usage_date)::date)); + + +-- +-- Name: billing_rated_transaction_open_usage_date_idx; Type: INDEX; Schema: public; Owner: uat_postgres +-- + +CREATE INDEX billing_rated_transaction_open_usage_date_idx ON public.billing_rated_transaction_open USING btree (((usage_date)::date)); + + +-- +-- Name: billing_rated_transaction_other_adjusted_rated_tx_idx; Type: INDEX; Schema: public; Owner: uat_postgres +-- + +CREATE INDEX billing_rated_transaction_other_adjusted_rated_tx_idx ON public.billing_rated_transaction_other USING btree (adjusted_rated_tx); + + +-- +-- Name: billing_rated_transaction_other_aggregate_id_f_idx; Type: INDEX; Schema: public; Owner: uat_postgres +-- + +CREATE INDEX billing_rated_transaction_other_aggregate_id_f_idx ON public.billing_rated_transaction_other USING btree (aggregate_id_f); + + +-- +-- Name: billing_rated_transaction_other_edr_id_idx; Type: INDEX; Schema: public; Owner: uat_postgres +-- + +CREATE INDEX billing_rated_transaction_other_edr_id_idx ON public.billing_rated_transaction_other USING btree (edr_id); + + +-- +-- Name: billing_rated_transaction_other_order_number_idx; Type: INDEX; Schema: public; Owner: uat_postgres +-- + +CREATE INDEX billing_rated_transaction_other_order_number_idx ON public.billing_rated_transaction_other USING btree (order_number) WHERE (order_number IS NOT NULL); + + +-- +-- Name: billing_rated_transaction_other_usage_date_idx; Type: INDEX; Schema: public; Owner: uat_postgres +-- + +CREATE INDEX billing_rated_transaction_other_usage_date_idx ON public.billing_rated_transaction_other USING btree (((usage_date)::date)); + + +-- +-- Name: billing_reservation_index; Type: INDEX; Schema: public; Owner: uat_postgres +-- + +CREATE INDEX billing_reservation_index ON public.billing_reservation USING btree (subscription_id, user_account_id, wallet_id); + + +-- +-- Name: billing_service_instance_code_index; Type: INDEX; Schema: public; Owner: uat_postgres +-- + +CREATE INDEX billing_service_instance_code_index ON public.billing_service_instance USING btree (lower((code)::text)); + + +-- +-- Name: billing_service_instance_index; Type: INDEX; Schema: public; Owner: uat_postgres +-- + +CREATE INDEX billing_service_instance_index ON public.billing_service_instance USING btree (subscription_id); + + +-- +-- Name: billing_subscription_code_index; Type: INDEX; Schema: public; Owner: uat_postgres +-- + +CREATE INDEX billing_subscription_code_index ON public.billing_subscription USING btree (lower((code)::text)); + + +-- +-- Name: billing_subscription_index; Type: INDEX; Schema: public; Owner: uat_postgres +-- + +CREATE INDEX billing_subscription_index ON public.billing_subscription USING btree (user_account_id); + + +-- +-- Name: billing_user_account_id_index; Type: INDEX; Schema: public; Owner: uat_postgres +-- + +CREATE INDEX billing_user_account_id_index ON public.billing_user_account USING btree (id); + + +-- +-- Name: billing_user_account_index; Type: INDEX; Schema: public; Owner: uat_postgres +-- + +CREATE INDEX billing_user_account_index ON public.billing_user_account USING btree (billing_account_id); + + +-- +-- Name: billing_wallet_index; Type: INDEX; Schema: public; Owner: uat_postgres +-- + +CREATE INDEX billing_wallet_index ON public.billing_wallet USING btree (user_account_id, cat_wallet_template_id); + + +-- +-- Name: billing_wallet_operation_index; Type: INDEX; Schema: public; Owner: uat_postgres +-- + +CREATE INDEX billing_wallet_operation_index ON ONLY public.billing_wallet_operation USING btree (wallet_id, charge_instance_id); + + +-- +-- Name: wo_edr_id; Type: INDEX; Schema: public; Owner: uat_postgres +-- + +CREATE INDEX wo_edr_id ON ONLY public.billing_wallet_operation USING btree (edr_id); + + +-- +-- Name: billing_wallet_operation_open_edr_id_idx; Type: INDEX; Schema: public; Owner: uat_postgres +-- + +CREATE INDEX billing_wallet_operation_open_edr_id_idx ON public.billing_wallet_operation_open USING btree (edr_id); + + +-- +-- Name: wo_operation_date_index; Type: INDEX; Schema: public; Owner: uat_postgres +-- + +CREATE INDEX wo_operation_date_index ON ONLY public.billing_wallet_operation USING btree (((operation_date)::date)); + + +-- +-- Name: billing_wallet_operation_open_operation_date_idx; Type: INDEX; Schema: public; Owner: uat_postgres +-- + +CREATE INDEX billing_wallet_operation_open_operation_date_idx ON public.billing_wallet_operation_open USING btree (((operation_date)::date)); + + +-- +-- Name: wo_rt_id; Type: INDEX; Schema: public; Owner: uat_postgres +-- + +CREATE INDEX wo_rt_id ON ONLY public.billing_wallet_operation USING btree (rated_transaction_id); + + +-- +-- Name: billing_wallet_operation_open_rated_transaction_id_idx; Type: INDEX; Schema: public; Owner: uat_postgres +-- + +CREATE INDEX billing_wallet_operation_open_rated_transaction_id_idx ON public.billing_wallet_operation_open USING btree (rated_transaction_id); + + +-- +-- Name: wo_rerated_wo; Type: INDEX; Schema: public; Owner: uat_postgres +-- + +CREATE INDEX wo_rerated_wo ON ONLY public.billing_wallet_operation USING btree (reratedwalletoperation_id); + + +-- +-- Name: billing_wallet_operation_open_reratedwalletoperation_id_idx; Type: INDEX; Schema: public; Owner: uat_postgres +-- + +CREATE INDEX billing_wallet_operation_open_reratedwalletoperation_id_idx ON public.billing_wallet_operation_open USING btree (reratedwalletoperation_id); + + +-- +-- Name: billing_wallet_operation_open_wallet_id_charge_instance_id_idx; Type: INDEX; Schema: public; Owner: uat_postgres +-- + +CREATE INDEX billing_wallet_operation_open_wallet_id_charge_instance_id_idx ON public.billing_wallet_operation_open USING btree (wallet_id, charge_instance_id); + + +-- +-- Name: billing_wallet_operation_other_edr_id_idx; Type: INDEX; Schema: public; Owner: uat_postgres +-- + +CREATE INDEX billing_wallet_operation_other_edr_id_idx ON public.billing_wallet_operation_other USING btree (edr_id); + + +-- +-- Name: billing_wallet_operation_other_operation_date_idx; Type: INDEX; Schema: public; Owner: uat_postgres +-- + +CREATE INDEX billing_wallet_operation_other_operation_date_idx ON public.billing_wallet_operation_other USING btree (((operation_date)::date)); + + +-- +-- Name: billing_wallet_operation_other_rated_transaction_id_idx; Type: INDEX; Schema: public; Owner: uat_postgres +-- + +CREATE INDEX billing_wallet_operation_other_rated_transaction_id_idx ON public.billing_wallet_operation_other USING btree (rated_transaction_id); + + +-- +-- Name: billing_wallet_operation_other_reratedwalletoperation_id_idx; Type: INDEX; Schema: public; Owner: uat_postgres +-- + +CREATE INDEX billing_wallet_operation_other_reratedwalletoperation_id_idx ON public.billing_wallet_operation_other USING btree (reratedwalletoperation_id); + + +-- +-- Name: billing_wallet_operation_other_wallet_id_charge_instance_id_idx; Type: INDEX; Schema: public; Owner: uat_postgres +-- + +CREATE INDEX billing_wallet_operation_other_wallet_id_charge_instance_id_idx ON public.billing_wallet_operation_other USING btree (wallet_id, charge_instance_id); + + +-- +-- Name: billing_wallet_ua_index; Type: INDEX; Schema: public; Owner: uat_postgres +-- + +CREATE INDEX billing_wallet_ua_index ON public.billing_wallet USING btree (user_account_id); + + +-- +-- Name: cat_bsm_st_id_index; Type: INDEX; Schema: public; Owner: uat_postgres +-- + +CREATE INDEX cat_bsm_st_id_index ON public.cat_business_serv_model USING btree (service_template_id); + + +-- +-- Name: cat_calendar_days_index; Type: INDEX; Schema: public; Owner: uat_postgres +-- + +CREATE INDEX cat_calendar_days_index ON public.cat_calendar_days USING btree (calendar_id); + + +-- +-- Name: cat_calendar_join_cal_1_id; Type: INDEX; Schema: public; Owner: uat_postgres +-- + +CREATE INDEX cat_calendar_join_cal_1_id ON public.cat_calendar USING btree (join_cal_1_id); + + +-- +-- Name: cat_calendar_join_cal_2_id; Type: INDEX; Schema: public; Owner: uat_postgres +-- + +CREATE INDEX cat_calendar_join_cal_2_id ON public.cat_calendar USING btree (join_cal_2_id); + + +-- +-- Name: cat_charge_template_code_index; Type: INDEX; Schema: public; Owner: uat_postgres +-- + +CREATE INDEX cat_charge_template_code_index ON public.cat_charge_template USING btree (lower((code)::text)); + + +-- +-- Name: cat_chrg_edr_chtmpl_index; Type: INDEX; Schema: public; Owner: uat_postgres +-- + +CREATE INDEX cat_chrg_edr_chtmpl_index ON public.cat_chrg_edr USING btree (charge_tmpl_id); + + +-- +-- Name: cat_chrg_edr_index; Type: INDEX; Schema: public; Owner: uat_postgres +-- + +CREATE INDEX cat_chrg_edr_index ON public.cat_chrg_edr USING btree (charge_tmpl_id, trigg_edr_id); + + +-- +-- Name: cat_chrg_edr_trigg_edr_index; Type: INDEX; Schema: public; Owner: uat_postgres +-- + +CREATE INDEX cat_chrg_edr_trigg_edr_index ON public.cat_chrg_edr USING btree (trigg_edr_id); + + +-- +-- Name: cat_offer_serv_templates_svtmpte_index; Type: INDEX; Schema: public; Owner: uat_postgres +-- + +CREATE INDEX cat_offer_serv_templates_svtmpte_index ON public.cat_offer_serv_templates USING btree (service_template_id); + + +-- +-- Name: cat_ofr_srv_tmpl_ofrtmpl_id_index; Type: INDEX; Schema: public; Owner: uat_postgres +-- + +CREATE INDEX cat_ofr_srv_tmpl_ofrtmpl_id_index ON public.cat_offer_serv_templates USING btree (offer_template_id); + + +-- +-- Name: cat_ofrpt_ofr_template_index; Type: INDEX; Schema: public; Owner: uat_postgres +-- + +CREATE INDEX cat_ofrpt_ofr_template_index ON public.cat_offer_product_template USING btree (offer_template_id); + + +-- +-- Name: cat_ofrpt_pr_template_index; Type: INDEX; Schema: public; Owner: uat_postgres +-- + +CREATE INDEX cat_ofrpt_pr_template_index ON public.cat_offer_product_template USING btree (product_template_id); + + +-- +-- Name: cat_ofrt_bp_model_index; Type: INDEX; Schema: public; Owner: uat_postgres +-- + +CREATE INDEX cat_ofrt_bp_model_index ON public.cat_offer_template USING btree (business_product_model_id); + + +-- +-- Name: cat_ofrt_code_index; Type: INDEX; Schema: public; Owner: uat_postgres +-- + +CREATE INDEX cat_ofrt_code_index ON public.cat_offer_template USING btree (lower((code)::text)); + + +-- +-- Name: cat_ofrt_valid_from_index; Type: INDEX; Schema: public; Owner: uat_postgres +-- + +CREATE INDEX cat_ofrt_valid_from_index ON public.cat_offer_template USING btree (valid_from); + + +-- +-- Name: cat_ofrt_valid_to_index; Type: INDEX; Schema: public; Owner: uat_postgres +-- + +CREATE INDEX cat_ofrt_valid_to_index ON public.cat_offer_template USING btree (valid_to); + + +-- +-- Name: cat_price_plan_event_c_index; Type: INDEX; Schema: public; Owner: uat_postgres +-- + +CREATE INDEX cat_price_plan_event_c_index ON public.cat_price_plan_matrix USING btree (event_code); + + +-- +-- Name: cat_product_wallet_template_id_index; Type: INDEX; Schema: public; Owner: uat_postgres +-- + +CREATE INDEX cat_product_wallet_template_id_index ON public.cat_product_wallet_template USING btree (wallet_template_id); + + +-- +-- Name: cat_rct_service_template_index; Type: INDEX; Schema: public; Owner: uat_postgres +-- + +CREATE INDEX cat_rct_service_template_index ON public.cat_serv_rec_charge_template USING btree (service_template_id); + + +-- +-- Name: cat_rwt_wallet_template_index; Type: INDEX; Schema: public; Owner: uat_postgres +-- + +CREATE INDEX cat_rwt_wallet_template_index ON public.cat_serv_rec_wallet_template USING btree (wallet_template_id); + + +-- +-- Name: cat_serv_sub_wallet_template_srvsubtmp_index; Type: INDEX; Schema: public; Owner: uat_postgres +-- + +CREATE INDEX cat_serv_sub_wallet_template_srvsubtmp_index ON public.cat_serv_sub_wallet_template USING btree (service_sub_templt_id); + + +-- +-- Name: cat_serv_trm_charge_template_index; Type: INDEX; Schema: public; Owner: uat_postgres +-- + +CREATE INDEX cat_serv_trm_charge_template_index ON public.cat_serv_trm_charge_template USING btree (service_template_id); + + +-- +-- Name: cat_serv_usage_charge_template_index; Type: INDEX; Schema: public; Owner: uat_postgres +-- + +CREATE INDEX cat_serv_usage_charge_template_index ON public.cat_serv_usage_charge_template USING btree (service_template_id); + + +-- +-- Name: cat_serv_usage_wallet_template_index; Type: INDEX; Schema: public; Owner: uat_postgres +-- + +CREATE INDEX cat_serv_usage_wallet_template_index ON public.cat_serv_usage_wallet_template USING btree (service_usage_templt_id); + + +-- +-- Name: cat_service_template_bsm_index; Type: INDEX; Schema: public; Owner: uat_postgres +-- + +CREATE INDEX cat_service_template_bsm_index ON public.cat_service_template USING btree (business_service_model_id); + + +-- +-- Name: cat_service_template_code_index; Type: INDEX; Schema: public; Owner: uat_postgres +-- + +CREATE INDEX cat_service_template_code_index ON public.cat_service_template USING btree (lower((code)::text)); + + +-- +-- Name: cat_st_inv_cal_id_index; Type: INDEX; Schema: public; Owner: uat_postgres +-- + +CREATE INDEX cat_st_inv_cal_id_index ON public.cat_service_template USING btree (invoicing_calendar_id); + + +-- +-- Name: cat_st_serv_mod_id_index; Type: INDEX; Schema: public; Owner: uat_postgres +-- + +CREATE INDEX cat_st_serv_mod_id_index ON public.cat_service_template USING btree (business_service_model_id); + + +-- +-- Name: cat_su_wallet_template_index; Type: INDEX; Schema: public; Owner: uat_postgres +-- + +CREATE INDEX cat_su_wallet_template_index ON public.cat_serv_usage_wallet_template USING btree (wallet_template_id); + + +-- +-- Name: cat_triggered_edr_index; Type: INDEX; Schema: public; Owner: uat_postgres +-- + +CREATE INDEX cat_triggered_edr_index ON public.cat_triggered_edr USING btree (meveo_instance_id); + + +-- +-- Name: cb_product_template_id_index; Type: INDEX; Schema: public; Owner: uat_postgres +-- + +CREATE INDEX cb_product_template_id_index ON public.cat_business_product_model USING btree (product_template_id); + + +-- +-- Name: cdr_header_edr_id; Type: INDEX; Schema: public; Owner: uat_postgres +-- + +CREATE INDEX cdr_header_edr_id ON public.rating_cdr USING btree (header_edr_id); + + +-- +-- Name: counter_period_ci_id; Type: INDEX; Schema: public; Owner: uat_postgres +-- + +CREATE INDEX counter_period_ci_id ON public.billing_counter_period USING btree (counter_instance_id); + + +-- +-- Name: crm_customer_brand_index; Type: INDEX; Schema: public; Owner: uat_postgres +-- + +CREATE INDEX crm_customer_brand_index ON public.crm_customer_brand USING btree (lower((code)::text)); + + +-- +-- Name: crm_customer_category_index; Type: INDEX; Schema: public; Owner: uat_postgres +-- + +CREATE INDEX crm_customer_category_index ON public.crm_customer_category USING btree (lower((code)::text)); + + +-- +-- Name: crm_customer_index; Type: INDEX; Schema: public; Owner: uat_postgres +-- + +CREATE INDEX crm_customer_index ON public.crm_customer USING btree (customer_brand_id); + + +-- +-- Name: crm_customer_primary_contact_index; Type: INDEX; Schema: public; Owner: uat_postgres +-- + +CREATE INDEX crm_customer_primary_contact_index ON public.crm_customer USING btree (customer_category_id); + + +-- +-- Name: cust_cei_cet_and_code_index; Type: INDEX; Schema: public; Owner: uat_postgres +-- + +CREATE INDEX cust_cei_cet_and_code_index ON public.cust_cei USING btree (lower((cet_code)::text), lower((code)::text)); + + +-- +-- Name: customer_code; Type: INDEX; Schema: public; Owner: uat_postgres +-- + +CREATE INDEX customer_code ON public.account_entity USING btree (lower((code)::text)); + + +-- +-- Name: edr_event_date_index; Type: INDEX; Schema: public; Owner: uat_postgres +-- + +CREATE INDEX edr_event_date_index ON ONLY public.rating_edr USING btree (((event_date)::date)); + + +-- +-- Name: edr_header_edr_id; Type: INDEX; Schema: public; Owner: uat_postgres +-- + +CREATE INDEX edr_header_edr_id ON ONLY public.rating_edr USING btree (header_edr_id); + + +-- +-- Name: flat_file_code_index; Type: INDEX; Schema: public; Owner: uat_postgres +-- + +CREATE INDEX flat_file_code_index ON public.flat_file USING btree (lower((code)::text)); + + +-- +-- Name: idx_subscription_rating_group; Type: INDEX; Schema: public; Owner: uat_postgres +-- + +CREATE INDEX idx_subscription_rating_group ON public.billing_subscription USING btree (rating_group); + + +-- +-- Name: invoice_agre_index; Type: INDEX; Schema: public; Owner: uat_postgres +-- + +CREATE INDEX invoice_agre_index ON public.billing_invoice_agregate USING btree (invoice_id); + + +-- +-- Name: invoice_billing_run_index; Type: INDEX; Schema: public; Owner: uat_postgres +-- + +CREATE INDEX invoice_billing_run_index ON public.billing_invoice_agregate USING btree (billing_run_id); + + +-- +-- Name: invoicing_calendar_id_index; Type: INDEX; Schema: public; Owner: uat_postgres +-- + +CREATE INDEX invoicing_calendar_id_index ON public.cat_offer_template USING btree (invoicing_calendar_id); + + +-- +-- Name: medina_access_subscription_id; Type: INDEX; Schema: public; Owner: uat_postgres +-- + +CREATE INDEX medina_access_subscription_id ON public.medina_access USING btree (subscription_id); + + +-- +-- Name: medina_access_user_id_index; Type: INDEX; Schema: public; Owner: uat_postgres +-- + +CREATE INDEX medina_access_user_id_index ON public.medina_access USING btree (acces_user_id); + + +-- +-- Name: meveo_module_index; Type: INDEX; Schema: public; Owner: uat_postgres +-- + +CREATE INDEX meveo_module_index ON public.meveo_module USING btree (script_instance_id); + + +-- +-- Name: meveo_module_item_index; Type: INDEX; Schema: public; Owner: uat_postgres +-- + +CREATE INDEX meveo_module_item_index ON public.meveo_module_item USING btree (module_id); + + +-- +-- Name: ord_order_item_order_index; Type: INDEX; Schema: public; Owner: uat_postgres +-- + +CREATE INDEX ord_order_item_order_index ON public.ord_order_item USING btree (order_id); + + +-- +-- Name: ord_order_item_sub_index; Type: INDEX; Schema: public; Owner: uat_postgres +-- + +CREATE INDEX ord_order_item_sub_index ON public.ord_order_item USING btree (subscription_id); + + +-- +-- Name: ord_order_item_ua_index; Type: INDEX; Schema: public; Owner: uat_postgres +-- + +CREATE INDEX ord_order_item_ua_index ON public.ord_order_item USING btree (user_account_id); + + +-- +-- Name: ord_order_payment_index; Type: INDEX; Schema: public; Owner: uat_postgres +-- + +CREATE INDEX ord_order_payment_index ON public.ord_order USING btree (payment_method_id); + + +-- +-- Name: ord_order_quote_index; Type: INDEX; Schema: public; Owner: uat_postgres +-- + +CREATE INDEX ord_order_quote_index ON public.ord_order USING btree (quote_id); + + +-- +-- Name: ord_quote_version_index; Type: INDEX; Schema: public; Owner: uat_postgres +-- + +CREATE INDEX ord_quote_version_index ON public.ord_quote USING btree (version); + + +-- +-- Name: rating_cdr_index; Type: INDEX; Schema: public; Owner: uat_postgres +-- + +CREATE INDEX rating_cdr_index ON public.rating_cdr USING btree (origin_batch, origin_record); + + +-- +-- Name: rating_cdr_status; Type: INDEX; Schema: public; Owner: uat_postgres +-- + +CREATE INDEX rating_cdr_status ON public.rating_cdr USING btree (status); + + +-- +-- Name: rating_edr_index; Type: INDEX; Schema: public; Owner: uat_postgres +-- + +CREATE INDEX rating_edr_index ON ONLY public.rating_edr USING btree (origin_batch, origin_record); + + +-- +-- Name: rating_edr_open_event_date_idx; Type: INDEX; Schema: public; Owner: uat_postgres +-- + +CREATE INDEX rating_edr_open_event_date_idx ON public.rating_edr_open USING btree (((event_date)::date)); + + +-- +-- Name: rating_edr_open_header_edr_id_idx; Type: INDEX; Schema: public; Owner: uat_postgres +-- + +CREATE INDEX rating_edr_open_header_edr_id_idx ON public.rating_edr_open USING btree (header_edr_id); + + +-- +-- Name: rating_edr_open_origin_batch_origin_record_idx; Type: INDEX; Schema: public; Owner: uat_postgres +-- + +CREATE INDEX rating_edr_open_origin_batch_origin_record_idx ON public.rating_edr_open USING btree (origin_batch, origin_record); + + +-- +-- Name: rating_edr_other_event_date_idx; Type: INDEX; Schema: public; Owner: uat_postgres +-- + +CREATE INDEX rating_edr_other_event_date_idx ON public.rating_edr_other USING btree (((event_date)::date)); + + +-- +-- Name: rating_edr_other_header_edr_id_idx; Type: INDEX; Schema: public; Owner: uat_postgres +-- + +CREATE INDEX rating_edr_other_header_edr_id_idx ON public.rating_edr_other USING btree (header_edr_id); + + +-- +-- Name: rating_edr_other_origin_batch_origin_record_idx; Type: INDEX; Schema: public; Owner: uat_postgres +-- + +CREATE INDEX rating_edr_other_origin_batch_origin_record_idx ON public.rating_edr_other USING btree (origin_batch, origin_record); + + +-- +-- Name: rating_edr_sub_id_index; Type: INDEX; Schema: public; Owner: uat_postgres +-- + +CREATE INDEX rating_edr_sub_id_index ON public.rating_edr_open USING btree (subscription_id, id); + + +-- +-- Name: resa_origin_edr_id; Type: INDEX; Schema: public; Owner: uat_postgres +-- + +CREATE INDEX resa_origin_edr_id ON public.billing_reservation USING btree (origin_edr_id); + + +-- +-- Name: rt_ba_invoice_open_serv_index; Type: INDEX; Schema: public; Owner: uat_postgres +-- + +CREATE INDEX rt_ba_invoice_open_serv_index ON public.billing_rated_transaction_open USING btree (billing_account__id, service_instance_id) WHERE (service_instance_id IS NOT NULL); + + +-- +-- Name: rt_ba_invoice_open_sub_index; Type: INDEX; Schema: public; Owner: uat_postgres +-- + +CREATE INDEX rt_ba_invoice_open_sub_index ON public.billing_rated_transaction_open USING btree (billing_account__id, subscription_id); + + +-- +-- Name: rt_invoice_index; Type: INDEX; Schema: public; Owner: uat_postgres +-- + +CREATE INDEX rt_invoice_index ON public.billing_rated_transaction_other USING btree (invoice_id); + + +-- +-- Name: rt_sub_invoice_open_serv_index; Type: INDEX; Schema: public; Owner: uat_postgres +-- + +CREATE INDEX rt_sub_invoice_open_serv_index ON public.billing_rated_transaction_open USING btree (subscription_id, service_instance_id) WHERE (subscription_id IS NOT NULL); + + +-- +-- Name: wf_instance_entity_id_idx; Type: INDEX; Schema: public; Owner: uat_postgres +-- + +CREATE INDEX wf_instance_entity_id_idx ON public.wf_instance USING btree (entity_instance_id); + + +-- +-- Name: billing_rated_transaction_open_adjusted_rated_tx_idx; Type: INDEX ATTACH; Schema: public; Owner: uat_postgres +-- + +ALTER INDEX public.rt_adjusted_rated_tx ATTACH PARTITION public.billing_rated_transaction_open_adjusted_rated_tx_idx; + + +-- +-- Name: billing_rated_transaction_open_aggregate_id_f_idx; Type: INDEX ATTACH; Schema: public; Owner: uat_postgres +-- + +ALTER INDEX public.rt_argr_f_idx ATTACH PARTITION public.billing_rated_transaction_open_aggregate_id_f_idx; + + +-- +-- Name: billing_rated_transaction_open_edr_id_idx; Type: INDEX ATTACH; Schema: public; Owner: uat_postgres +-- + +ALTER INDEX public.rt_edr_id ATTACH PARTITION public.billing_rated_transaction_open_edr_id_idx; + + +-- +-- Name: billing_rated_transaction_open_order_number_idx; Type: INDEX ATTACH; Schema: public; Owner: uat_postgres +-- + +ALTER INDEX public.rt_order_index ATTACH PARTITION public.billing_rated_transaction_open_order_number_idx; + + +-- +-- Name: billing_rated_transaction_open_pkey; Type: INDEX ATTACH; Schema: public; Owner: uat_postgres +-- + +ALTER INDEX public.billing_rated_transaction_p_pkey ATTACH PARTITION public.billing_rated_transaction_open_pkey; + + +-- +-- Name: billing_rated_transaction_open_usage_date_idx; Type: INDEX ATTACH; Schema: public; Owner: uat_postgres +-- + +ALTER INDEX public.rt_usage_date_index ATTACH PARTITION public.billing_rated_transaction_open_usage_date_idx; + + +-- +-- Name: billing_rated_transaction_other_adjusted_rated_tx_idx; Type: INDEX ATTACH; Schema: public; Owner: uat_postgres +-- + +ALTER INDEX public.rt_adjusted_rated_tx ATTACH PARTITION public.billing_rated_transaction_other_adjusted_rated_tx_idx; + + +-- +-- Name: billing_rated_transaction_other_aggregate_id_f_idx; Type: INDEX ATTACH; Schema: public; Owner: uat_postgres +-- + +ALTER INDEX public.rt_argr_f_idx ATTACH PARTITION public.billing_rated_transaction_other_aggregate_id_f_idx; + + +-- +-- Name: billing_rated_transaction_other_edr_id_idx; Type: INDEX ATTACH; Schema: public; Owner: uat_postgres +-- + +ALTER INDEX public.rt_edr_id ATTACH PARTITION public.billing_rated_transaction_other_edr_id_idx; + + +-- +-- Name: billing_rated_transaction_other_order_number_idx; Type: INDEX ATTACH; Schema: public; Owner: uat_postgres +-- + +ALTER INDEX public.rt_order_index ATTACH PARTITION public.billing_rated_transaction_other_order_number_idx; + + +-- +-- Name: billing_rated_transaction_other_pkey; Type: INDEX ATTACH; Schema: public; Owner: uat_postgres +-- + +ALTER INDEX public.billing_rated_transaction_p_pkey ATTACH PARTITION public.billing_rated_transaction_other_pkey; + + +-- +-- Name: billing_rated_transaction_other_usage_date_idx; Type: INDEX ATTACH; Schema: public; Owner: uat_postgres +-- + +ALTER INDEX public.rt_usage_date_index ATTACH PARTITION public.billing_rated_transaction_other_usage_date_idx; + + +-- +-- Name: billing_wallet_operation_open_edr_id_idx; Type: INDEX ATTACH; Schema: public; Owner: uat_postgres +-- + +ALTER INDEX public.wo_edr_id ATTACH PARTITION public.billing_wallet_operation_open_edr_id_idx; + + +-- +-- Name: billing_wallet_operation_open_operation_date_idx; Type: INDEX ATTACH; Schema: public; Owner: uat_postgres +-- + +ALTER INDEX public.wo_operation_date_index ATTACH PARTITION public.billing_wallet_operation_open_operation_date_idx; + + +-- +-- Name: billing_wallet_operation_open_pkey; Type: INDEX ATTACH; Schema: public; Owner: uat_postgres +-- + +ALTER INDEX public.billing_wallet_operation_p_pkey ATTACH PARTITION public.billing_wallet_operation_open_pkey; + + +-- +-- Name: billing_wallet_operation_open_rated_transaction_id_idx; Type: INDEX ATTACH; Schema: public; Owner: uat_postgres +-- + +ALTER INDEX public.wo_rt_id ATTACH PARTITION public.billing_wallet_operation_open_rated_transaction_id_idx; + + +-- +-- Name: billing_wallet_operation_open_reratedwalletoperation_id_idx; Type: INDEX ATTACH; Schema: public; Owner: uat_postgres +-- + +ALTER INDEX public.wo_rerated_wo ATTACH PARTITION public.billing_wallet_operation_open_reratedwalletoperation_id_idx; + + +-- +-- Name: billing_wallet_operation_open_wallet_id_charge_instance_id_idx; Type: INDEX ATTACH; Schema: public; Owner: uat_postgres +-- + +ALTER INDEX public.billing_wallet_operation_index ATTACH PARTITION public.billing_wallet_operation_open_wallet_id_charge_instance_id_idx; + + +-- +-- Name: billing_wallet_operation_other_edr_id_idx; Type: INDEX ATTACH; Schema: public; Owner: uat_postgres +-- + +ALTER INDEX public.wo_edr_id ATTACH PARTITION public.billing_wallet_operation_other_edr_id_idx; + + +-- +-- Name: billing_wallet_operation_other_operation_date_idx; Type: INDEX ATTACH; Schema: public; Owner: uat_postgres +-- + +ALTER INDEX public.wo_operation_date_index ATTACH PARTITION public.billing_wallet_operation_other_operation_date_idx; + + +-- +-- Name: billing_wallet_operation_other_pkey; Type: INDEX ATTACH; Schema: public; Owner: uat_postgres +-- + +ALTER INDEX public.billing_wallet_operation_p_pkey ATTACH PARTITION public.billing_wallet_operation_other_pkey; + + +-- +-- Name: billing_wallet_operation_other_rated_transaction_id_idx; Type: INDEX ATTACH; Schema: public; Owner: uat_postgres +-- + +ALTER INDEX public.wo_rt_id ATTACH PARTITION public.billing_wallet_operation_other_rated_transaction_id_idx; + + +-- +-- Name: billing_wallet_operation_other_reratedwalletoperation_id_idx; Type: INDEX ATTACH; Schema: public; Owner: uat_postgres +-- + +ALTER INDEX public.wo_rerated_wo ATTACH PARTITION public.billing_wallet_operation_other_reratedwalletoperation_id_idx; + + +-- +-- Name: billing_wallet_operation_other_wallet_id_charge_instance_id_idx; Type: INDEX ATTACH; Schema: public; Owner: uat_postgres +-- + +ALTER INDEX public.billing_wallet_operation_index ATTACH PARTITION public.billing_wallet_operation_other_wallet_id_charge_instance_id_idx; + + +-- +-- Name: rating_edr_open_event_date_idx; Type: INDEX ATTACH; Schema: public; Owner: uat_postgres +-- + +ALTER INDEX public.edr_event_date_index ATTACH PARTITION public.rating_edr_open_event_date_idx; + + +-- +-- Name: rating_edr_open_header_edr_id_idx; Type: INDEX ATTACH; Schema: public; Owner: uat_postgres +-- + +ALTER INDEX public.edr_header_edr_id ATTACH PARTITION public.rating_edr_open_header_edr_id_idx; + + +-- +-- Name: rating_edr_open_origin_batch_origin_record_idx; Type: INDEX ATTACH; Schema: public; Owner: uat_postgres +-- + +ALTER INDEX public.rating_edr_index ATTACH PARTITION public.rating_edr_open_origin_batch_origin_record_idx; + + +-- +-- Name: rating_edr_open_pkey; Type: INDEX ATTACH; Schema: public; Owner: uat_postgres +-- + +ALTER INDEX public.rating_edr_p_pkey ATTACH PARTITION public.rating_edr_open_pkey; + + +-- +-- Name: rating_edr_other_event_date_idx; Type: INDEX ATTACH; Schema: public; Owner: uat_postgres +-- + +ALTER INDEX public.edr_event_date_index ATTACH PARTITION public.rating_edr_other_event_date_idx; + + +-- +-- Name: rating_edr_other_header_edr_id_idx; Type: INDEX ATTACH; Schema: public; Owner: uat_postgres +-- + +ALTER INDEX public.edr_header_edr_id ATTACH PARTITION public.rating_edr_other_header_edr_id_idx; + + +-- +-- Name: rating_edr_other_origin_batch_origin_record_idx; Type: INDEX ATTACH; Schema: public; Owner: uat_postgres +-- + +ALTER INDEX public.rating_edr_index ATTACH PARTITION public.rating_edr_other_origin_batch_origin_record_idx; + + +-- +-- Name: rating_edr_other_pkey; Type: INDEX ATTACH; Schema: public; Owner: uat_postgres +-- + +ALTER INDEX public.rating_edr_p_pkey ATTACH PARTITION public.rating_edr_other_pkey; + + +-- +-- Name: billing_counter_period_values billing_counter_period_values_counterperiod_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_counter_period_values + ADD CONSTRAINT billing_counter_period_values_counterperiod_id_fk FOREIGN KEY (counterperiod_id) REFERENCES public.billing_counter_period(id); + + +-- +-- Name: billing_discount_plan_instance billing_discount_plan_instance_ba_fk; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_discount_plan_instance + ADD CONSTRAINT billing_discount_plan_instance_ba_fk FOREIGN KEY (billing_account_id) REFERENCES public.billing_billing_account(id); + + +-- +-- Name: billing_discount_plan_instance billing_discount_plan_instance_bs_fk; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_discount_plan_instance + ADD CONSTRAINT billing_discount_plan_instance_bs_fk FOREIGN KEY (subscription_id) REFERENCES public.billing_subscription(id); + + +-- +-- Name: billing_discount_plan_instance billing_discount_plan_instance_dp_fk; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_discount_plan_instance + ADD CONSTRAINT billing_discount_plan_instance_dp_fk FOREIGN KEY (discount_plan_id) REFERENCES public.cat_discount_plan(id); + + +-- +-- Name: dwh_report_extract_execution dwh_report_extract_execution_re_fk; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.dwh_report_extract_execution + ADD CONSTRAINT dwh_report_extract_execution_re_fk FOREIGN KEY (report_extract_id) REFERENCES public.dwh_report_extract(id); + + +-- +-- Name: account_entity fk_10ogn6loj5rxbuv94vlistxb8; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.account_entity + ADD CONSTRAINT fk_10ogn6loj5rxbuv94vlistxb8 FOREIGN KEY (primary_contact) REFERENCES public.crm_provider_contact(id); + + +-- +-- Name: adm_notif_webhook_param fk_17fe7mcjmmcgcntqmjm9hlaots; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.adm_notif_webhook_param + ADD CONSTRAINT fk_17fe7mcjmmcgcntqmjm9hlaots FOREIGN KEY (webhook_id) REFERENCES public.adm_notif_webhooks(id); + + +-- +-- Name: billing_invoice_agregate fk_1c83s5iubrhpgaxigexo6d76w; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_invoice_agregate + ADD CONSTRAINT fk_1c83s5iubrhpgaxigexo6d76w FOREIGN KEY (user_account_id) REFERENCES public.billing_user_account(id); + + +-- +-- Name: adm_inbound_resp_cookies fk_1kyctwmlumac9aoikhb3kmc02; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.adm_inbound_resp_cookies + ADD CONSTRAINT fk_1kyctwmlumac9aoikhb3kmc02 FOREIGN KEY (inboundrequest_id) REFERENCES public.adm_inbound_request(id); + + +-- +-- Name: com_message fk_1pyl5u7tyess63kwnpvmpk261; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.com_message + ADD CONSTRAINT fk_1pyl5u7tyess63kwnpvmpk261 FOREIGN KEY (campaign_id) REFERENCES public.com_campaign(id); + + +-- +-- Name: billing_wallet fk_1vdcto7usl11bexyjehfqw004; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_wallet + ADD CONSTRAINT fk_1vdcto7usl11bexyjehfqw004 FOREIGN KEY (user_account_id) REFERENCES public.billing_user_account(id); + + +-- +-- Name: adm_notif_im fk_2g7q7yhplcohaydhp9a8fuq57; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.adm_notif_im + ADD CONSTRAINT fk_2g7q7yhplcohaydhp9a8fuq57 FOREIGN KEY (id) REFERENCES public.adm_notification(id); + + +-- +-- Name: billing_user_account fk_2hdhukmy9gs6qhdsjyngtlmb7; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_user_account + ADD CONSTRAINT fk_2hdhukmy9gs6qhdsjyngtlmb7 FOREIGN KEY (wallet_id) REFERENCES public.billing_wallet(id); + + +-- +-- Name: billing_seq_invtyp_sell fk_2rjk30cy77bs2jxqwsbrhk6qb; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_seq_invtyp_sell + ADD CONSTRAINT fk_2rjk30cy77bs2jxqwsbrhk6qb FOREIGN KEY (invoicetype_id) REFERENCES public.billing_invoice_type(id); + + +-- +-- Name: cat_price_plan_matrix fk_2u5oqudtp5x9ga8r1envegpyt; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_price_plan_matrix + ADD CONSTRAINT fk_2u5oqudtp5x9ga8r1envegpyt FOREIGN KEY (trading_country_id) REFERENCES public.billing_trading_country(id); + + +-- +-- Name: adm_notif_email fk_322kxmwl69di0jhj28u776766; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.adm_notif_email + ADD CONSTRAINT fk_322kxmwl69di0jhj28u776766 FOREIGN KEY (id) REFERENCES public.adm_notification(id); + + +-- +-- Name: billing_wallet_operation fk_32r2ed0015tnd2pp5196vcqpy; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE public.billing_wallet_operation + ADD CONSTRAINT fk_32r2ed0015tnd2pp5196vcqpy FOREIGN KEY (reservation_id) REFERENCES public.billing_reservation(id); + + +-- +-- Name: ar_ddrequest_item fk_33rma6e4cn4p76wl5t2dxk12q; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.ar_ddrequest_item + ADD CONSTRAINT fk_33rma6e4cn4p76wl5t2dxk12q FOREIGN KEY (ddrequest_lot_id) REFERENCES public.ar_ddrequest_lot(id); + + +-- +-- Name: com_meveo_instance fk_398jtw7cvvcjmyalvke9iwoqw; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.com_meveo_instance + ADD CONSTRAINT fk_398jtw7cvvcjmyalvke9iwoqw FOREIGN KEY (customer_id) REFERENCES public.crm_customer(id); + + +-- +-- Name: cat_chrg_edr fk_3mqb6u4hyx9wnus0nqdoyoypx; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_chrg_edr + ADD CONSTRAINT fk_3mqb6u4hyx9wnus0nqdoyoypx FOREIGN KEY (charge_tmpl_id) REFERENCES public.cat_charge_template(id); + + +-- +-- Name: billing_invoice_agregate fk_3p1fql2al00q8f67l8725hssj; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_invoice_agregate + ADD CONSTRAINT fk_3p1fql2al00q8f67l8725hssj FOREIGN KEY (sub_category_tax) REFERENCES public.billing_tax(id); + + +-- +-- Name: ar_ddrequest_lot_op fk_3riuxoqaodw7b6jbeoofjx6se; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.ar_ddrequest_lot_op + ADD CONSTRAINT fk_3riuxoqaodw7b6jbeoofjx6se FOREIGN KEY (ddrequest_lot_id) REFERENCES public.ar_ddrequest_lot(id); + + +-- +-- Name: billing_invoice_agregate fk_3xyx5uv28ockwy46ejub2ex; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_invoice_agregate + ADD CONSTRAINT fk_3xyx5uv28ockwy46ejub2ex FOREIGN KEY (trading_currency_id) REFERENCES public.billing_trading_currency(id); + + +-- +-- Name: billing_priceplan_inst fk_3y3p1q0o8tw5u0vcoddukbbyd; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_priceplan_inst + ADD CONSTRAINT fk_3y3p1q0o8tw5u0vcoddukbbyd FOREIGN KEY (billing_account_id) REFERENCES public.billing_billing_account(id); + + +-- +-- Name: cat_serv_sub_charge_template fk_3yhjbdockv9jvyw9iqmqlha63; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_serv_sub_charge_template + ADD CONSTRAINT fk_3yhjbdockv9jvyw9iqmqlha63 FOREIGN KEY (charge_template_id) REFERENCES public.cat_charge_template(id); + + +-- +-- Name: cat_serv_usage_charge_template fk_443th9siwouj4fg746sgyfqtv; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_serv_usage_charge_template + ADD CONSTRAINT fk_443th9siwouj4fg746sgyfqtv FOREIGN KEY (charge_template_id) REFERENCES public.cat_charge_template(id); + + +-- +-- Name: billing_charge_instance fk_4anpnb5ta9fic7bjqoi393850; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_charge_instance + ADD CONSTRAINT fk_4anpnb5ta9fic7bjqoi393850 FOREIGN KEY (seller_id) REFERENCES public.crm_seller(id); + + +-- +-- Name: adm_role_permission fk_4au8lqa3bc46gks4dmpb4h4l6; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.adm_role_permission + ADD CONSTRAINT fk_4au8lqa3bc46gks4dmpb4h4l6 FOREIGN KEY (permission_id) REFERENCES public.adm_permission(id); + + +-- +-- Name: adm_file_format_file_type fk_4au8lqa3bc46gks4dmpbbari4h4l6; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.adm_file_format_file_type + ADD CONSTRAINT fk_4au8lqa3bc46gks4dmpbbari4h4l6 FOREIGN KEY (file_format_id) REFERENCES public.adm_file_format(id); + + +-- +-- Name: crm_provider fk_4ek32592buri3max5vqhj1u3t; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.crm_provider + ADD CONSTRAINT fk_4ek32592buri3max5vqhj1u3t FOREIGN KEY (customer_account_id) REFERENCES public.ar_customer_account(id); + + +-- +-- Name: adm_notif_webhook_header fk_4h6yt55gudw9l1719aw6untt2; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.adm_notif_webhook_header + ADD CONSTRAINT fk_4h6yt55gudw9l1719aw6untt2 FOREIGN KEY (webhook_id) REFERENCES public.adm_notif_webhooks(id); + + +-- +-- Name: meveo_job_instance fk_4hgoocwc77rh6ne8fct0f2y2h; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.meveo_job_instance + ADD CONSTRAINT fk_4hgoocwc77rh6ne8fct0f2y2h FOREIGN KEY (timerentity_id) REFERENCES public.meveo_timer(id); + + +-- +-- Name: cat_discount_plan_item fk_4jfa3r8q8aq8jyhs89d6dgk2c; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_discount_plan_item + ADD CONSTRAINT fk_4jfa3r8q8aq8jyhs89d6dgk2c FOREIGN KEY (discount_plan_id) REFERENCES public.cat_discount_plan(id); + + +-- +-- Name: adm_notif_email_list fk_4vtpt0lvrub50uph180ifdkga; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.adm_notif_email_list + ADD CONSTRAINT fk_4vtpt0lvrub50uph180ifdkga FOREIGN KEY (emailnotification_id) REFERENCES public.adm_notif_email(id); + + +-- +-- Name: crm_customer fk_5b7wkhes4x4bebav4y7nwr8c1; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.crm_customer + ADD CONSTRAINT fk_5b7wkhes4x4bebav4y7nwr8c1 FOREIGN KEY (customer_category_id) REFERENCES public.crm_customer_category(id); + + +-- +-- Name: cat_serv_trm_charge_template fk_5ehn1daxca6x6t7pvdpuo4n6m; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_serv_trm_charge_template + ADD CONSTRAINT fk_5ehn1daxca6x6t7pvdpuo4n6m FOREIGN KEY (charge_template_id) REFERENCES public.cat_charge_template(id); + + +-- +-- Name: billing_priceplan_inst fk_5ek3y1hovn2vthjdsxo2hmf41; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_priceplan_inst + ADD CONSTRAINT fk_5ek3y1hovn2vthjdsxo2hmf41 FOREIGN KEY (trading_currency_id) REFERENCES public.billing_trading_currency(id); + + +-- +-- Name: cat_offer_serv_templates fk_5gvoe7fuemcnpabaapjx9an66; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_offer_serv_templates + ADD CONSTRAINT fk_5gvoe7fuemcnpabaapjx9an66 FOREIGN KEY (offer_template_id) REFERENCES public.cat_offer_template(id); + + +-- +-- Name: billing_wallet_operation fk_5htics7k9v44an8ap11wivraf; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE public.billing_wallet_operation + ADD CONSTRAINT fk_5htics7k9v44an8ap11wivraf FOREIGN KEY (wallet_id) REFERENCES public.billing_wallet(id); + + +-- +-- Name: billing_invoice_agregate fk_5ihltpd1fpifa5nlgx8672odg; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_invoice_agregate + ADD CONSTRAINT fk_5ihltpd1fpifa5nlgx8672odg FOREIGN KEY (trading_country_id) REFERENCES public.billing_trading_country(id); + + +-- +-- Name: billing_billing_run fk_5k4t0lm6oyd495l5nisxpdda; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_billing_run + ADD CONSTRAINT fk_5k4t0lm6oyd495l5nisxpdda FOREIGN KEY (billing_cycle_id) REFERENCES public.billing_cycle(id); + + +-- +-- Name: adm_inbound_req_headers fk_5l2gy0e4dol6gtr05sq929hnx; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.adm_inbound_req_headers + ADD CONSTRAINT fk_5l2gy0e4dol6gtr05sq929hnx FOREIGN KEY (inboundrequest_id) REFERENCES public.adm_inbound_request(id); + + +-- +-- Name: crm_provider fk_5llfbkuo4biup0stpfma3t1yg; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.crm_provider + ADD CONSTRAINT fk_5llfbkuo4biup0stpfma3t1yg FOREIGN KEY (billing_account_id) REFERENCES public.billing_billing_account(id); + + +-- +-- Name: billing_charge_instance fk_5q5wxh2nq7gbd9bcds59egh3e; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_charge_instance + ADD CONSTRAINT fk_5q5wxh2nq7gbd9bcds59egh3e FOREIGN KEY (service_instance_id) REFERENCES public.billing_service_instance(id); + + +-- +-- Name: billing_wallet_operation fk_60qrdadyj5wvmyii1einfb2lo; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE public.billing_wallet_operation + ADD CONSTRAINT fk_60qrdadyj5wvmyii1einfb2lo FOREIGN KEY (counter_id) REFERENCES public.billing_counter(id); + + +-- +-- Name: billing_reservation fk_662t2ypc8sljgg2hvsri0l0oo; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_reservation + ADD CONSTRAINT fk_662t2ypc8sljgg2hvsri0l0oo FOREIGN KEY (subscription_id) REFERENCES public.billing_subscription(id); + + +-- +-- Name: com_message fk_6dxm4rgmyeu9wp565rhchil5l; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.com_message + ADD CONSTRAINT fk_6dxm4rgmyeu9wp565rhchil5l FOREIGN KEY (contact_id) REFERENCES public.com_contact(id); + + +-- +-- Name: adm_notif_im_user fk_6g7agb8u5whyi5ukj627l2qc9; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.adm_notif_im_user + ADD CONSTRAINT fk_6g7agb8u5whyi5ukj627l2qc9 FOREIGN KEY (users_id) REFERENCES public.adm_user(id); + + +-- +-- Name: billing_discount_language fk_6h9v65yaq2ko1soqrhjiiicqa; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_discount_language + ADD CONSTRAINT fk_6h9v65yaq2ko1soqrhjiiicqa FOREIGN KEY (discount_id) REFERENCES public.billing_discount(id); + + +-- +-- Name: billing_reservation fk_6o5pe4stw4fx6f4ltsrs2f2jn; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_reservation + ADD CONSTRAINT fk_6o5pe4stw4fx6f4ltsrs2f2jn FOREIGN KEY (user_account_id) REFERENCES public.billing_user_account(id); + + +-- +-- Name: ar_action_dunning fk_6v2pj23pubnpy19ug8ifqr5bi; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.ar_action_dunning + ADD CONSTRAINT fk_6v2pj23pubnpy19ug8ifqr5bi FOREIGN KEY (recorded_invoice_id) REFERENCES public.ar_account_operation(id); + + +-- +-- Name: billing_wallet_operation fk_75hyldnus6ti0y40vwcl49ued; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE public.billing_wallet_operation + ADD CONSTRAINT fk_75hyldnus6ti0y40vwcl49ued FOREIGN KEY (charge_instance_id) REFERENCES public.billing_charge_instance(id); + + +-- +-- Name: ar_account_operation fk_7cx4bkm26pn11matqqj275rqf; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.ar_account_operation + ADD CONSTRAINT fk_7cx4bkm26pn11matqqj275rqf FOREIGN KEY (customer_account_id) REFERENCES public.ar_customer_account(id); + + +-- +-- Name: cat_discount_plan_item fk_7g01q48hl5yo6gxig0rwugsjt; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_discount_plan_item + ADD CONSTRAINT fk_7g01q48hl5yo6gxig0rwugsjt FOREIGN KEY (invoice_category_id) REFERENCES public.billing_invoice_cat(id); + + +-- +-- Name: ar_matching_amount fk_7gk0wua5hliyxpayp6lr0d3gf; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.ar_matching_amount + ADD CONSTRAINT fk_7gk0wua5hliyxpayp6lr0d3gf FOREIGN KEY (account_operation_id) REFERENCES public.ar_account_operation(id); + + +-- +-- Name: cat_charge_template fk_7rod1pdt2un6wjrv7og61xhil; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_charge_template + ADD CONSTRAINT fk_7rod1pdt2un6wjrv7og61xhil FOREIGN KEY (invoice_sub_category) REFERENCES public.billing_invoice_sub_cat(id); + + +-- +-- Name: crm_customer fk_7x19mvbp8qjnyx4iwnsi7lsdb; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.crm_customer + ADD CONSTRAINT fk_7x19mvbp8qjnyx4iwnsi7lsdb FOREIGN KEY (seller_id) REFERENCES public.crm_seller(id); + + +-- +-- Name: crm_provider fk_823qcm3rbvf74ntkmc8syb2w3; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.crm_provider + ADD CONSTRAINT fk_823qcm3rbvf74ntkmc8syb2w3 FOREIGN KEY (user_account_id) REFERENCES public.billing_user_account(id); + + +-- +-- Name: crm_provider fk_82krx5kxchy237uw8rwdqi9c4; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.crm_provider + ADD CONSTRAINT fk_82krx5kxchy237uw8rwdqi9c4 FOREIGN KEY (currency_id) REFERENCES public.adm_currency(id); + + +-- +-- Name: cat_calendar_interval fk_872pn60c94wp61plarqpmth21; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_calendar_interval + ADD CONSTRAINT fk_872pn60c94wp61plarqpmth21 FOREIGN KEY (calendar_id) REFERENCES public.cat_calendar(id); + + +-- +-- Name: billing_billing_account fk_890ehdn0ssnd9c39rj5h0ualp; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_billing_account + ADD CONSTRAINT fk_890ehdn0ssnd9c39rj5h0ualp FOREIGN KEY (billing_cycle) REFERENCES public.billing_cycle(id); + + +-- +-- Name: crm_seller fk_8f32lmslardn8lenxgmjqhp3; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.crm_seller + ADD CONSTRAINT fk_8f32lmslardn8lenxgmjqhp3 FOREIGN KEY (trading_country_id) REFERENCES public.billing_trading_country(id); + + +-- +-- Name: adm_notif_history fk_8k2sxhjmrswxnecfo74bdmnsa; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.adm_notif_history + ADD CONSTRAINT fk_8k2sxhjmrswxnecfo74bdmnsa FOREIGN KEY (inbound_request_id) REFERENCES public.adm_inbound_request(id); + + +-- +-- Name: billing_charge_instance fk_8tdcpq8ixa51nrk3ui4t8hdmq; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_charge_instance + ADD CONSTRAINT fk_8tdcpq8ixa51nrk3ui4t8hdmq FOREIGN KEY (charge_template_id) REFERENCES public.cat_charge_template(id); + + +-- +-- Name: billing_subscription fk_8uhfpy4ahtyqpk8s3ye42d09n; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_subscription + ADD CONSTRAINT fk_8uhfpy4ahtyqpk8s3ye42d09n FOREIGN KEY (offer_id) REFERENCES public.cat_offer_template(id); + + +-- +-- Name: dwh_chart_pie fk_8vdeospih0frijbyesgetnpgq; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.dwh_chart_pie + ADD CONSTRAINT fk_8vdeospih0frijbyesgetnpgq FOREIGN KEY (id) REFERENCES public.dwh_chart(id); + + +-- +-- Name: report_emails fk_8w3p2bve2i4l9uayn4qgiw5i1; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.report_emails + ADD CONSTRAINT fk_8w3p2bve2i4l9uayn4qgiw5i1 FOREIGN KEY (report_id) REFERENCES public.bi_report(id); + + +-- +-- Name: billing_counter fk_8wqr2tvmet4ppmh3dckx0arn; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_counter + ADD CONSTRAINT fk_8wqr2tvmet4ppmh3dckx0arn FOREIGN KEY (user_account_id) REFERENCES public.billing_user_account(id); + + +-- +-- Name: cat_serv_rec_wallet_template fk_9b8d2ybpb5tcws4rdlshtsitm; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_serv_rec_wallet_template + ADD CONSTRAINT fk_9b8d2ybpb5tcws4rdlshtsitm FOREIGN KEY (wallet_template_id) REFERENCES public.cat_wallet_template(id); + + +-- +-- Name: ar_customer_account fk_9i811xvc40e19t613cmpvwmu9; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.ar_customer_account + ADD CONSTRAINT fk_9i811xvc40e19t613cmpvwmu9 FOREIGN KEY (id) REFERENCES public.account_entity(id); + + +-- +-- Name: crm_seller fk_9kbreo3t9k9wk0vo2xld9rin2; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.crm_seller + ADD CONSTRAINT fk_9kbreo3t9k9wk0vo2xld9rin2 FOREIGN KEY (trading_language_id) REFERENCES public.billing_trading_language(id); + + +-- +-- Name: billing_invoice fk_9lqkbfo4yjqqbopmorht5acs7; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_invoice + ADD CONSTRAINT fk_9lqkbfo4yjqqbopmorht5acs7 FOREIGN KEY (billing_account_id) REFERENCES public.billing_billing_account(id); + + +-- +-- Name: cat_serv_trm_wallet_template fk_9mex36caetcfv4c9f689yfdhw; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_serv_trm_wallet_template + ADD CONSTRAINT fk_9mex36caetcfv4c9f689yfdhw FOREIGN KEY (service_trm_templt_id) REFERENCES public.cat_serv_trm_charge_template(id); + + +-- +-- Name: adm_notification fk_9o7xuvhq1a4hi7q0gkmylg1jn; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.adm_notification + ADD CONSTRAINT fk_9o7xuvhq1a4hi7q0gkmylg1jn FOREIGN KEY (counter_instance_id) REFERENCES public.billing_counter(id); + + +-- +-- Name: cat_chrg_edr fk_9ty5cer66o6ixc5kxf49ikt5; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_chrg_edr + ADD CONSTRAINT fk_9ty5cer66o6ixc5kxf49ikt5 FOREIGN KEY (trigg_edr_id) REFERENCES public.cat_triggered_edr(id); + + +-- +-- Name: billing_trading_language fk_9wqyi2luy5iwrbd1f17dgy33w; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_trading_language + ADD CONSTRAINT fk_9wqyi2luy5iwrbd1f17dgy33w FOREIGN KEY (language_id) REFERENCES public.adm_language(id); + + +-- +-- Name: billing_invoice_agregate fk_9xtwx023h5d9x6uwo19gn30ur; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_invoice_agregate + ADD CONSTRAINT fk_9xtwx023h5d9x6uwo19gn30ur FOREIGN KEY (tax_id) REFERENCES public.billing_tax(id); + + +-- +-- Name: billing_tax_language fk_a41c18k21jxwnxvu0dhs9bxgl; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_tax_language + ADD CONSTRAINT fk_a41c18k21jxwnxvu0dhs9bxgl FOREIGN KEY (trading_language_id) REFERENCES public.billing_trading_language(id); + + +-- +-- Name: cat_serv_sub_wallet_template fk_a6swrmjyqqabj90t321vhonyf; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_serv_sub_wallet_template + ADD CONSTRAINT fk_a6swrmjyqqabj90t321vhonyf FOREIGN KEY (service_sub_templt_id) REFERENCES public.cat_serv_sub_charge_template(id); + + +-- +-- Name: ar_customer_account fk_aaptbcu3lj7b87m97em457i3w; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.ar_customer_account + ADD CONSTRAINT fk_aaptbcu3lj7b87m97em457i3w FOREIGN KEY (customer_id) REFERENCES public.crm_customer(id); + + +-- +-- Name: account_entity fk_account_entity_crm_business_account_model; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.account_entity + ADD CONSTRAINT fk_account_entity_crm_business_account_model FOREIGN KEY (bam_id) REFERENCES public.crm_business_account_model(id); + + +-- +-- Name: ar_accounting_writing fk_accounting_writing_accounting_code; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.ar_accounting_writing + ADD CONSTRAINT fk_accounting_writing_accounting_code FOREIGN KEY (accounting_code_id) REFERENCES public.billing_accounting_code(id); + + +-- +-- Name: ar_accounting_writing fk_accounting_writing_invoice_category; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.ar_accounting_writing + ADD CONSTRAINT fk_accounting_writing_invoice_category FOREIGN KEY (invoice_category_id) REFERENCES public.billing_invoice_cat(id); + + +-- +-- Name: ar_accounting_writing fk_accounting_writing_origin_writing; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.ar_accounting_writing + ADD CONSTRAINT fk_accounting_writing_origin_writing FOREIGN KEY (origin_writing_id) REFERENCES public.ar_accounting_writing(id); + + +-- +-- Name: ar_accounting_writing fk_accounting_writing_tax; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.ar_accounting_writing + ADD CONSTRAINT fk_accounting_writing_tax FOREIGN KEY (tax_id) REFERENCES public.billing_tax(id); + + +-- +-- Name: adm_user_role fk_adtro5wh9g4byvy0pxpwwboxq; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.adm_user_role + ADD CONSTRAINT fk_adtro5wh9g4byvy0pxpwwboxq FOREIGN KEY (user_id) REFERENCES public.adm_user(id); + + +-- +-- Name: billing_counter_period fk_ah6awbukub9hunnmg30i5qgfd; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_counter_period + ADD CONSTRAINT fk_ah6awbukub9hunnmg30i5qgfd FOREIGN KEY (counter_instance_id) REFERENCES public.billing_counter(id); + + +-- +-- Name: cat_charge_template fk_ailcl9mls5y7bjr9yur52767h; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_charge_template + ADD CONSTRAINT fk_ailcl9mls5y7bjr9yur52767h FOREIGN KEY (calendar_id) REFERENCES public.cat_calendar(id); + + +-- +-- Name: billing_user_account fk_alpl7r5p2nm43w0ro26ckcqnb; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_user_account + ADD CONSTRAINT fk_alpl7r5p2nm43w0ro26ckcqnb FOREIGN KEY (id) REFERENCES public.account_entity(id); + + +-- +-- Name: billing_rated_transaction fk_anslvrbm465ossqx8surjyu22; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE public.billing_rated_transaction + ADD CONSTRAINT fk_anslvrbm465ossqx8surjyu22 FOREIGN KEY (wallet_id) REFERENCES public.billing_wallet(id); + + +-- +-- Name: ar_account_operation fk_ao_ddreq_item_id; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.ar_account_operation + ADD CONSTRAINT fk_ao_ddreq_item_id FOREIGN KEY (ddrequest_item_id) REFERENCES public.ar_ddrequest_item(id); + + +-- +-- Name: ar_payment_schedule_inst_item fk_ao_ps_id; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.ar_payment_schedule_inst_item + ADD CONSTRAINT fk_ao_ps_id FOREIGN KEY (ao_ps_id) REFERENCES public.ar_account_operation(id); + + +-- +-- Name: ar_account_operation fk_ao_rejected_payment_id; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.ar_account_operation + ADD CONSTRAINT fk_ao_rejected_payment_id FOREIGN KEY (rejected_payment_id) REFERENCES public.ar_account_operation(id); + + +-- +-- Name: ar_account_operation fk_ao_subscription_id; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.ar_account_operation + ADD CONSTRAINT fk_ao_subscription_id FOREIGN KEY (subscription_id) REFERENCES public.billing_subscription(id); + + +-- +-- Name: billing_invoice_type_applies_to fk_applies_to_id_billing_invoice_type_applies_to; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_invoice_type_applies_to + ADD CONSTRAINT fk_applies_to_id_billing_invoice_type_applies_to FOREIGN KEY (applies_to_id) REFERENCES public.billing_invoice_type(id) ON UPDATE CASCADE ON DELETE CASCADE; + + +-- +-- Name: ar_account_operation fk_ar_account_operation_accounting_code; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.ar_account_operation + ADD CONSTRAINT fk_ar_account_operation_accounting_code FOREIGN KEY (accounting_code_id) REFERENCES public.billing_accounting_code(id); + + +-- +-- Name: ar_account_operation fk_ar_account_operation_dunning_document; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.ar_account_operation + ADD CONSTRAINT fk_ar_account_operation_dunning_document FOREIGN KEY (dunning_document_id) REFERENCES public.dunning_document(id); + + +-- +-- Name: ar_customer_account fk_ar_credit_category_ar_customer_account; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.ar_customer_account + ADD CONSTRAINT fk_ar_credit_category_ar_customer_account FOREIGN KEY (credit_category_id) REFERENCES public.ar_credit_category(id); + + +-- +-- Name: ar_occ_template fk_ar_occ_template_accounting_code; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.ar_occ_template + ADD CONSTRAINT fk_ar_occ_template_accounting_code FOREIGN KEY (accounting_code_id) REFERENCES public.billing_accounting_code(id); + + +-- +-- Name: ar_other_transaction fk_ar_other_transaction_accounting_code; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.ar_other_transaction + ADD CONSTRAINT fk_ar_other_transaction_accounting_code FOREIGN KEY (accounting_code_id) REFERENCES public.billing_accounting_code(id); + + +-- +-- Name: ar_other_transaction fk_ar_other_transaction_general_ledger; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.ar_other_transaction + ADD CONSTRAINT fk_ar_other_transaction_general_ledger FOREIGN KEY (general_ledger_id) REFERENCES public.billing_general_ledger(id); + + +-- +-- Name: ar_payment_gateway_rum_sequence fk_ar_payment_gateway_rum_sequence; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.ar_payment_gateway_rum_sequence + ADD CONSTRAINT fk_ar_payment_gateway_rum_sequence FOREIGN KEY (payment_gateway_id) REFERENCES public.ar_payment_gateway(id); + + +-- +-- Name: ar_payment_ventilation fk_ar_payment_ventilation_ar_account_operation; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.ar_payment_ventilation + ADD CONSTRAINT fk_ar_payment_ventilation_ar_account_operation FOREIGN KEY (account_operation_id) REFERENCES public.ar_account_operation(id); + + +-- +-- Name: ar_payment_ventilation fk_ar_payment_ventilation_ar_customer_account; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.ar_payment_ventilation + ADD CONSTRAINT fk_ar_payment_ventilation_ar_customer_account FOREIGN KEY (customer_account_id) REFERENCES public.ar_customer_account(id); + + +-- +-- Name: ar_payment_ventilation fk_ar_payment_ventilation_ar_other_transaction; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.ar_payment_ventilation + ADD CONSTRAINT fk_ar_payment_ventilation_ar_other_transaction FOREIGN KEY (new_ot_id) REFERENCES public.ar_other_transaction(id); + + +-- +-- Name: ar_payment_ventilation fk_ar_payment_ventilation_ar_other_transaction_origin; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.ar_payment_ventilation + ADD CONSTRAINT fk_ar_payment_ventilation_ar_other_transaction_origin FOREIGN KEY (original_ot_id) REFERENCES public.ar_other_transaction(id); + + +-- +-- Name: ar_revenue_recog_rule fk_ar_revenue_recog_rule_script; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.ar_revenue_recog_rule + ADD CONSTRAINT fk_ar_revenue_recog_rule_script FOREIGN KEY (script_instance_id) REFERENCES public.meveo_script_instance(id); + + +-- +-- Name: ar_revenue_schedule fk_ar_revenue_schedule_charge; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.ar_revenue_schedule + ADD CONSTRAINT fk_ar_revenue_schedule_charge FOREIGN KEY (charge_instance_id) REFERENCES public.billing_charge_instance(id); + + +-- +-- Name: billing_discount_language fk_ath36sr0ck77jhr68mm1w10dg; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_discount_language + ADD CONSTRAINT fk_ath36sr0ck77jhr68mm1w10dg FOREIGN KEY (trading_language_id) REFERENCES public.billing_trading_language(id); + + +-- +-- Name: billing_billing_account fk_ba_email_template; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_billing_account + ADD CONSTRAINT fk_ba_email_template FOREIGN KEY (email_template_id) REFERENCES public.com_message_template(id); + + +-- +-- Name: billing_rated_transaction fk_bbnhg8vn7jkttghphr65iwug5; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE public.billing_rated_transaction + ADD CONSTRAINT fk_bbnhg8vn7jkttghphr65iwug5 FOREIGN KEY (billing_account__id) REFERENCES public.billing_billing_account(id); + + +-- +-- Name: billing_invoice fk_bill_invoice_quote; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_invoice + ADD CONSTRAINT fk_bill_invoice_quote FOREIGN KEY (quote_id) REFERENCES public.ord_quote(id); + + +-- +-- Name: billing_billing_account fk_billing_account_tax_category_id; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_billing_account + ADD CONSTRAINT fk_billing_account_tax_category_id FOREIGN KEY (tax_category_id) REFERENCES public.billing_tax_category(id); + + +-- +-- Name: billing_accounting_code fk_billing_accounting_code_parent; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_accounting_code + ADD CONSTRAINT fk_billing_accounting_code_parent FOREIGN KEY (parent_accounting_code_id) REFERENCES public.billing_accounting_code(id); + + +-- +-- Name: billing_billing_account fk_billing_billing_account_invoice_sub_cat; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_billing_account + ADD CONSTRAINT fk_billing_billing_account_invoice_sub_cat FOREIGN KEY (minimum_invoice_sub_category_id) REFERENCES public.billing_invoice_sub_cat(id); + + +-- +-- Name: cat_offer_template fk_billing_cat_offer_template_invoice_sub_cat; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_offer_template + ADD CONSTRAINT fk_billing_cat_offer_template_invoice_sub_cat FOREIGN KEY (minimum_invoice_sub_category_id) REFERENCES public.billing_invoice_sub_cat(id); + + +-- +-- Name: cat_service_template fk_billing_cat_service_template_invoice_sub_cat; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_service_template + ADD CONSTRAINT fk_billing_cat_service_template_invoice_sub_cat FOREIGN KEY (minimum_invoice_sub_category_id) REFERENCES public.billing_invoice_sub_cat(id); + + +-- +-- Name: billing_counter fk_billing_counter_customer_account_id; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_counter + ADD CONSTRAINT fk_billing_counter_customer_account_id FOREIGN KEY (customer_account_id) REFERENCES public.ar_customer_account(id); + + +-- +-- Name: billing_counter fk_billing_counter_customer_id; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_counter + ADD CONSTRAINT fk_billing_counter_customer_id FOREIGN KEY (customer_id) REFERENCES public.crm_customer(id); + + +-- +-- Name: billing_counter fk_billing_counter_service_instance_id; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_counter + ADD CONSTRAINT fk_billing_counter_service_instance_id FOREIGN KEY (service_instance_id) REFERENCES public.billing_service_instance(id); + + +-- +-- Name: billing_counter fk_billing_counter_subscription_id; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_counter + ADD CONSTRAINT fk_billing_counter_subscription_id FOREIGN KEY (subscription_id) REFERENCES public.billing_subscription(id); + + +-- +-- Name: ar_account_operation fk_billing_invoice; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.ar_account_operation + ADD CONSTRAINT fk_billing_invoice FOREIGN KEY (invoice_id) REFERENCES public.billing_invoice(id); + + +-- +-- Name: billing_invoice fk_billing_invoice_adjusted_invoice; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_invoice + ADD CONSTRAINT fk_billing_invoice_adjusted_invoice FOREIGN KEY (invoice_id) REFERENCES public.billing_invoice(id); + + +-- +-- Name: billing_invoice_agregate fk_billing_invoice_aggregate_accounting_code; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_invoice_agregate + ADD CONSTRAINT fk_billing_invoice_aggregate_accounting_code FOREIGN KEY (accounting_code_id) REFERENCES public.billing_accounting_code(id); + + +-- +-- Name: billing_invoice fk_billing_invoice_crm_seller; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_invoice + ADD CONSTRAINT fk_billing_invoice_crm_seller FOREIGN KEY (seller_id) REFERENCES public.crm_seller(id); + + +-- +-- Name: billing_invoice_sub_cat fk_billing_invoice_sub_cat_accounting_code; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_invoice_sub_cat + ADD CONSTRAINT fk_billing_invoice_sub_cat_accounting_code FOREIGN KEY (accounting_code_id) REFERENCES public.billing_accounting_code(id); + + +-- +-- Name: billing_invoice_type fk_billing_invoice_type_billing_seq_invoice; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_invoice_type + ADD CONSTRAINT fk_billing_invoice_type_billing_seq_invoice FOREIGN KEY (invoice_sequence_id) REFERENCES public.billing_seq_invoice(id); + + +-- +-- Name: billing_product_instance fk_billing_product_instance_crm_seller; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_product_instance + ADD CONSTRAINT fk_billing_product_instance_crm_seller FOREIGN KEY (seller_id) REFERENCES public.crm_seller(id); + + +-- +-- Name: billing_rated_transaction fk_billing_rated_transaction_crm_seller; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE public.billing_rated_transaction + ADD CONSTRAINT fk_billing_rated_transaction_crm_seller FOREIGN KEY (seller_id) REFERENCES public.crm_seller(id); + + +-- +-- Name: billing_rated_transaction fk_billing_rated_transaction_offer_template; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE public.billing_rated_transaction + ADD CONSTRAINT fk_billing_rated_transaction_offer_template FOREIGN KEY (offer_id) REFERENCES public.cat_offer_template(id); + + +-- +-- Name: billing_rated_transaction fk_billing_rated_transaction_tax_class_id; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE public.billing_rated_transaction + ADD CONSTRAINT fk_billing_rated_transaction_tax_class_id FOREIGN KEY (tax_class_id) REFERENCES public.billing_tax_class(id); + + +-- +-- Name: billing_seq_invtyp_sell fk_billing_seq_invtyp_sell_billing_seq_invoice; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_seq_invtyp_sell + ADD CONSTRAINT fk_billing_seq_invtyp_sell_billing_seq_invoice FOREIGN KEY (invoice_sequence_id) REFERENCES public.billing_seq_invoice(id); + + +-- +-- Name: billing_service_instance fk_billing_service_instance_invoice_sub_cat; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_service_instance + ADD CONSTRAINT fk_billing_service_instance_invoice_sub_cat FOREIGN KEY (minimum_invoice_sub_category_id) REFERENCES public.billing_invoice_sub_cat(id); + + +-- +-- Name: billing_subscription fk_billing_subscription_crm_seller; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_subscription + ADD CONSTRAINT fk_billing_subscription_crm_seller FOREIGN KEY (seller_id) REFERENCES public.crm_seller(id); + + +-- +-- Name: billing_subscription fk_billing_subscription_invoice_sub_cat; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_subscription + ADD CONSTRAINT fk_billing_subscription_invoice_sub_cat FOREIGN KEY (minimum_invoice_sub_category_id) REFERENCES public.billing_invoice_sub_cat(id); + + +-- +-- Name: billing_tax fk_billing_tax_accounting_code; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_tax + ADD CONSTRAINT fk_billing_tax_accounting_code FOREIGN KEY (accounting_code_id) REFERENCES public.billing_accounting_code(id); + + +-- +-- Name: billing_tax_mapping fk_billing_tax_mapping_buyer_country_id; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_tax_mapping + ADD CONSTRAINT fk_billing_tax_mapping_buyer_country_id FOREIGN KEY (buyer_country_id) REFERENCES public.billing_trading_country(id); + + +-- +-- Name: billing_tax_mapping fk_billing_tax_mapping_seller_country_id; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_tax_mapping + ADD CONSTRAINT fk_billing_tax_mapping_seller_country_id FOREIGN KEY (seller_country_id) REFERENCES public.billing_trading_country(id); + + +-- +-- Name: billing_tax_mapping fk_billing_tax_mapping_tax_category_id; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_tax_mapping + ADD CONSTRAINT fk_billing_tax_mapping_tax_category_id FOREIGN KEY (tax_category_id) REFERENCES public.billing_tax_category(id); + + +-- +-- Name: billing_tax_mapping fk_billing_tax_mapping_tax_class_id; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_tax_mapping + ADD CONSTRAINT fk_billing_tax_mapping_tax_class_id FOREIGN KEY (tax_class_id) REFERENCES public.billing_tax_class(id); + + +-- +-- Name: billing_tax_mapping fk_billing_tax_mapping_tax_id; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_tax_mapping + ADD CONSTRAINT fk_billing_tax_mapping_tax_id FOREIGN KEY (tax_id) REFERENCES public.billing_tax(id); + + +-- +-- Name: billing_tax_mapping fk_billing_tax_mapping_tax_script_id; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_tax_mapping + ADD CONSTRAINT fk_billing_tax_mapping_tax_script_id FOREIGN KEY (tax_script_id) REFERENCES public.meveo_script_instance(id); + + +-- +-- Name: billing_wallet_operation fk_billing_wallet_operation_billing_invoice_sub_cat; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE public.billing_wallet_operation + ADD CONSTRAINT fk_billing_wallet_operation_billing_invoice_sub_cat FOREIGN KEY (invoice_sub_category_id) REFERENCES public.billing_invoice_sub_cat(id); + + +-- +-- Name: billing_wallet_operation fk_billing_wallet_operation_offer_template; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE public.billing_wallet_operation + ADD CONSTRAINT fk_billing_wallet_operation_offer_template FOREIGN KEY (offer_id) REFERENCES public.cat_offer_template(id); + + +-- +-- Name: billing_wallet_operation fk_billing_wallet_operation_tax_class_id; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE public.billing_wallet_operation + ADD CONSTRAINT fk_billing_wallet_operation_tax_class_id FOREIGN KEY (tax_class_id) REFERENCES public.billing_tax_class(id); + + +-- +-- Name: billing_invoice fk_bo8b1b4gdnqloyib62h1qfwq2; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_invoice + ADD CONSTRAINT fk_bo8b1b4gdnqloyib62h1qfwq2 FOREIGN KEY (trading_country_id) REFERENCES public.billing_trading_country(id); + + +-- +-- Name: ar_action_dunning fk_bqvc94w3y6lx7u0tc0jfsfwt7; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.ar_action_dunning + ADD CONSTRAINT fk_bqvc94w3y6lx7u0tc0jfsfwt7 FOREIGN KEY (customer_account_id) REFERENCES public.ar_customer_account(id); + + +-- +-- Name: billing_subscription fk_bs_init_active; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_subscription + ADD CONSTRAINT fk_bs_init_active FOREIGN KEY (calendar_init_active_id) REFERENCES public.cat_calendar(id); + + +-- +-- Name: billing_subscription fk_bs_renew_for; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_subscription + ADD CONSTRAINT fk_bs_renew_for FOREIGN KEY (calendar_renew_for_id) REFERENCES public.cat_calendar(id); + + +-- +-- Name: cat_calendar_hours fk_bw7sxqdsqtsddknk0qqdc91j9; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_calendar_hours + ADD CONSTRAINT fk_bw7sxqdsqtsddknk0qqdc91j9 FOREIGN KEY (calendar_id) REFERENCES public.cat_calendar(id); + + +-- +-- Name: cat_discount_plan_item fk_c8jrrvbxq6974yskydgo0wkn2; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_discount_plan_item + ADD CONSTRAINT fk_c8jrrvbxq6974yskydgo0wkn2 FOREIGN KEY (invoice_sub_category_id) REFERENCES public.billing_invoice_sub_cat(id); + + +-- +-- Name: billing_invoice_agregate fk_c91o61obn07uoo459jxwhfdiq; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_invoice_agregate + ADD CONSTRAINT fk_c91o61obn07uoo459jxwhfdiq FOREIGN KEY (trading_language_id) REFERENCES public.billing_trading_language(id); + + +-- +-- Name: billing_wallet fk_c9nba6gws3ooqqqdlc07uqiha; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_wallet + ADD CONSTRAINT fk_c9nba6gws3ooqqqdlc07uqiha FOREIGN KEY (cat_wallet_template_id) REFERENCES public.cat_wallet_template(id); + + +-- +-- Name: ar_payment_token fk_ca_id_payment_token; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.ar_payment_token + ADD CONSTRAINT fk_ca_id_payment_token FOREIGN KEY (customer_account_id) REFERENCES public.ar_customer_account(id) ON DELETE CASCADE; + + +-- +-- Name: account_entity fk_ca_minimum_charge_template_id; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.account_entity + ADD CONSTRAINT fk_ca_minimum_charge_template_id FOREIGN KEY (minimum_charge_template_id) REFERENCES public.cat_charge_template(id); + + +-- +-- Name: ar_customer_account fk_ca_minimum_target_account_id; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.ar_customer_account + ADD CONSTRAINT fk_ca_minimum_target_account_id FOREIGN KEY (minimum_target_account_id) REFERENCES public.billing_billing_account(id); + + +-- +-- Name: billing_service_instance fk_caafr2v98pc78pkpp214twojx; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_service_instance + ADD CONSTRAINT fk_caafr2v98pc78pkpp214twojx FOREIGN KEY (service_template_id) REFERENCES public.cat_service_template(id); + + +-- +-- Name: billing_service_instance fk_calendar_srv_inst; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_service_instance + ADD CONSTRAINT fk_calendar_srv_inst FOREIGN KEY (calendar_ps_id) REFERENCES public.cat_calendar(id); + + +-- +-- Name: cat_business_offer_model fk_cat_bom_meveo_module; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_business_offer_model + ADD CONSTRAINT fk_cat_bom_meveo_module FOREIGN KEY (id) REFERENCES public.meveo_module(id); + + +-- +-- Name: cat_business_offer_model fk_cat_bom_offer_template; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_business_offer_model + ADD CONSTRAINT fk_cat_bom_offer_template FOREIGN KEY (offer_template_id) REFERENCES public.cat_offer_template(id); + + +-- +-- Name: cat_business_serv_model fk_cat_bsm_meveo_module; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_business_serv_model + ADD CONSTRAINT fk_cat_bsm_meveo_module FOREIGN KEY (id) REFERENCES public.meveo_module(id); + + +-- +-- Name: cat_business_serv_model fk_cat_bsm_service_template; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_business_serv_model + ADD CONSTRAINT fk_cat_bsm_service_template FOREIGN KEY (service_template_id) REFERENCES public.cat_service_template(id); + + +-- +-- Name: cat_bundle_product_template fk_cat_bun_pro_tpl_prod_off_tpl; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_bundle_product_template + ADD CONSTRAINT fk_cat_bun_pro_tpl_prod_off_tpl FOREIGN KEY (product_template_id) REFERENCES public.cat_offer_template(id); + + +-- +-- Name: cat_bundle_product_template fk_cat_bun_prod_tpl_prod_off_tpl; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_bundle_product_template + ADD CONSTRAINT fk_cat_bun_prod_tpl_prod_off_tpl FOREIGN KEY (bundle_template_id) REFERENCES public.cat_offer_template(id); + + +-- +-- Name: cat_charge_template fk_cat_charge_template_recog_rule; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_charge_template + ADD CONSTRAINT fk_cat_charge_template_recog_rule FOREIGN KEY (revenue_recog_rule_id) REFERENCES public.ar_revenue_recog_rule(id); + + +-- +-- Name: cat_charge_template fk_cat_charge_template_tax_class_id; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_charge_template + ADD CONSTRAINT fk_cat_charge_template_tax_class_id FOREIGN KEY (tax_class_id) REFERENCES public.billing_tax_class(id); + + +-- +-- Name: cat_offer_product_template fk_cat_off_pro_tpl_offer_template; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_offer_product_template + ADD CONSTRAINT fk_cat_off_pro_tpl_offer_template FOREIGN KEY (offer_template_id) REFERENCES public.cat_offer_template(id); + + +-- +-- Name: cat_offer_product_template fk_cat_off_prod_tpl_off_tpl; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_offer_product_template + ADD CONSTRAINT fk_cat_off_prod_tpl_off_tpl FOREIGN KEY (product_template_id) REFERENCES public.cat_offer_template(id); + + +-- +-- Name: cat_offer_template fk_cat_off_tpl_buss_prod_mod; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_offer_template + ADD CONSTRAINT fk_cat_off_tpl_buss_prod_mod FOREIGN KEY (business_product_model_id) REFERENCES public.cat_business_product_model(id); + + +-- +-- Name: cat_offer_template fk_cat_off_tpl_prod_chrg_tpl; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_offer_template + ADD CONSTRAINT fk_cat_off_tpl_prod_chrg_tpl FOREIGN KEY (product_charge_tmpl_id) REFERENCES public.cat_charge_template(id); + + +-- +-- Name: cat_offer_template fk_cat_offer_template_bom; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_offer_template + ADD CONSTRAINT fk_cat_offer_template_bom FOREIGN KEY (business_offer_model_id) REFERENCES public.cat_business_offer_model(id); + + +-- +-- Name: cat_offer_template fk_cat_offer_template_script_instance_subscription; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_offer_template + ADD CONSTRAINT fk_cat_offer_template_script_instance_subscription FOREIGN KEY (subscription_script_instance_id) REFERENCES public.meveo_script_instance(id); + + +-- +-- Name: cat_offer_template fk_cat_offer_template_script_instance_termination; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_offer_template + ADD CONSTRAINT fk_cat_offer_template_script_instance_termination FOREIGN KEY (termination_script_instance_id) REFERENCES public.meveo_script_instance(id); + + +-- +-- Name: cat_offer_serv_incomp fk_cat_os_incomp_offer_template; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_offer_serv_incomp + ADD CONSTRAINT fk_cat_os_incomp_offer_template FOREIGN KEY (offer_service_template_id) REFERENCES public.cat_offer_serv_templates(id); + + +-- +-- Name: cat_offer_serv_incomp fk_cat_os_incomp_service_template; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_offer_serv_incomp + ADD CONSTRAINT fk_cat_os_incomp_service_template FOREIGN KEY (service_template_id) REFERENCES public.cat_service_template(id); + + +-- +-- Name: cat_product_offer_digital_res fk_cat_product_offer_digital_res_l; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_product_offer_digital_res + ADD CONSTRAINT fk_cat_product_offer_digital_res_l FOREIGN KEY (product_id) REFERENCES public.cat_offer_template(id); + + +-- +-- Name: cat_product_offer_digital_res fk_cat_product_offer_digital_res_r; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_product_offer_digital_res + ADD CONSTRAINT fk_cat_product_offer_digital_res_r FOREIGN KEY (digital_resource_id) REFERENCES public.cat_digital_resource(id); + + +-- +-- Name: cat_service_template fk_cat_service_template_bsm; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_service_template + ADD CONSTRAINT fk_cat_service_template_bsm FOREIGN KEY (business_service_model_id) REFERENCES public.cat_business_serv_model(id); + + +-- +-- Name: cat_service_template fk_cat_service_template_script_instance_activation; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_service_template + ADD CONSTRAINT fk_cat_service_template_script_instance_activation FOREIGN KEY (activation_script_instance_id) REFERENCES public.meveo_script_instance(id); + + +-- +-- Name: cat_service_template fk_cat_service_template_script_instance_termination; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_service_template + ADD CONSTRAINT fk_cat_service_template_script_instance_termination FOREIGN KEY (termination_script_instance_id) REFERENCES public.meveo_script_instance(id); + + +-- +-- Name: billing_reservation fk_cau8elf0u0q5vi6voqv07rx8p; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_reservation + ADD CONSTRAINT fk_cau8elf0u0q5vi6voqv07rx8p FOREIGN KEY (wallet_id) REFERENCES public.billing_wallet(id); + + +-- +-- Name: adm_inbound_req_cookies fk_cfd55de59w792gxpcd478ujfq; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.adm_inbound_req_cookies + ADD CONSTRAINT fk_cfd55de59w792gxpcd478ujfq FOREIGN KEY (inboundrequest_id) REFERENCES public.adm_inbound_request(id); + + +-- +-- Name: crm_custom_field_tmpl fk_cft_calendar; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.crm_custom_field_tmpl + ADD CONSTRAINT fk_cft_calendar FOREIGN KEY (calendar_id) REFERENCES public.cat_calendar(id); + + +-- +-- Name: crm_custom_field_tmpl_mcols fk_cft_mcols_cft; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.crm_custom_field_tmpl_mcols + ADD CONSTRAINT fk_cft_mcols_cft FOREIGN KEY (cft_id) REFERENCES public.crm_custom_field_tmpl(id); + + +-- +-- Name: cat_charge_template fk_charge_template_rating_script_id; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_charge_template + ADD CONSTRAINT fk_charge_template_rating_script_id FOREIGN KEY (rating_script_id) REFERENCES public.meveo_script_instance(id); + + +-- +-- Name: billing_charge_instance fk_chrg_instance_ua; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_charge_instance + ADD CONSTRAINT fk_chrg_instance_ua FOREIGN KEY (user_account_id) REFERENCES public.billing_user_account(id); + + +-- +-- Name: billing_service_instance fk_cjdtigou2dhmp30e1je4l4la3; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_service_instance + ADD CONSTRAINT fk_cjdtigou2dhmp30e1je4l4la3 FOREIGN KEY (subscription_id) REFERENCES public.billing_subscription(id); + + +-- +-- Name: crm_seller fk_clryk9sfqcnt5m298cpbfvnm9; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.crm_seller + ADD CONSTRAINT fk_clryk9sfqcnt5m298cpbfvnm9 FOREIGN KEY (parent_seller_id) REFERENCES public.crm_seller(id); + + +-- +-- Name: adm_notif_email fk_com_message_template; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.adm_notif_email + ADD CONSTRAINT fk_com_message_template FOREIGN KEY (email_template_id) REFERENCES public.com_message_template(id); + + +-- +-- Name: account_entity fk_country_id_account; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.account_entity + ADD CONSTRAINT fk_country_id_account FOREIGN KEY (address_country_id) REFERENCES public.adm_country(id); + + +-- +-- Name: ord_order_item fk_country_id_order; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.ord_order_item + ADD CONSTRAINT fk_country_id_order FOREIGN KEY (address_country_id) REFERENCES public.adm_country(id); + + +-- +-- Name: crm_provider fk_country_id_prov; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.crm_provider + ADD CONSTRAINT fk_country_id_prov FOREIGN KEY (address_country_id) REFERENCES public.adm_country(id); + + +-- +-- Name: crm_provider_contact fk_country_id_prov_contact; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.crm_provider_contact + ADD CONSTRAINT fk_country_id_prov_contact FOREIGN KEY (address_country_id) REFERENCES public.adm_country(id); + + +-- +-- Name: com_sender_config fk_country_id_sender; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.com_sender_config + ADD CONSTRAINT fk_country_id_sender FOREIGN KEY (address_country_id) REFERENCES public.adm_country(id); + + +-- +-- Name: crm_customer_category fk_crm_customer_category_accounting_code; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.crm_customer_category + ADD CONSTRAINT fk_crm_customer_category_accounting_code FOREIGN KEY (accounting_code_id) REFERENCES public.billing_accounting_code(id); + + +-- +-- Name: crm_customer_category fk_crm_customer_category_tax_category_id; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.crm_customer_category + ADD CONSTRAINT fk_crm_customer_category_tax_category_id FOREIGN KEY (tax_category_id) REFERENCES public.billing_tax_category(id); + + +-- +-- Name: crm_customer_sequence fk_crm_customer_sequence_seller; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.crm_customer_sequence + ADD CONSTRAINT fk_crm_customer_sequence_seller FOREIGN KEY (seller_id) REFERENCES public.crm_seller(id); + + +-- +-- Name: crm_seller fk_crm_seller_general_ledger; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.crm_seller + ADD CONSTRAINT fk_crm_seller_general_ledger FOREIGN KEY (general_ledger_id) REFERENCES public.billing_general_ledger(id); + + +-- +-- Name: billing_service_instance fk_ctwb65gvm9ywajg9pim86cqut; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_service_instance + ADD CONSTRAINT fk_ctwb65gvm9ywajg9pim86cqut FOREIGN KEY (sub_termin_reason_id) REFERENCES public.billing_subscrip_termin_reason(id); + + +-- +-- Name: crm_custom_action fk_cust_action_script_instance; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.crm_custom_action + ADD CONSTRAINT fk_cust_action_script_instance FOREIGN KEY (script_instance_id) REFERENCES public.meveo_script_instance(id); + + +-- +-- Name: crm_customer fk_customer_minimum_target_account_id; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.crm_customer + ADD CONSTRAINT fk_customer_minimum_target_account_id FOREIGN KEY (minimum_target_account_id) REFERENCES public.billing_billing_account(id); + + +-- +-- Name: flat_file fk_d4iavkklx1qg1ani36bari5o5i; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.flat_file + ADD CONSTRAINT fk_d4iavkklx1qg1ani36bari5o5i FOREIGN KEY (file_format_id) REFERENCES public.adm_file_format(id); + + +-- +-- Name: billing_subscription fk_d4iavkklx1qg1ani36hpg3o3i; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_subscription + ADD CONSTRAINT fk_d4iavkklx1qg1ani36hpg3o3i FOREIGN KEY (user_account_id) REFERENCES public.billing_user_account(id); + + +-- +-- Name: adm_notif_im_user fk_damvosa961a8nk1d0sxq9eft3; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.adm_notif_im_user + ADD CONSTRAINT fk_damvosa961a8nk1d0sxq9eft3 FOREIGN KEY (instantmessagingnotification_id) REFERENCES public.adm_notif_im(id); + + +-- +-- Name: cat_counter_template fk_db0agy1pteutwwsb61imqu8f6; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_counter_template + ADD CONSTRAINT fk_db0agy1pteutwwsb61imqu8f6 FOREIGN KEY (calendar_id) REFERENCES public.cat_calendar(id); + + +-- +-- Name: ar_ddrequest_item fk_dd_item_refund_id; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.ar_ddrequest_item + ADD CONSTRAINT fk_dd_item_refund_id FOREIGN KEY (refund_id) REFERENCES public.ar_account_operation(id); + + +-- +-- Name: ar_ddrequest_lot_op fk_dd_item_sell_id; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.ar_ddrequest_lot_op + ADD CONSTRAINT fk_dd_item_sell_id FOREIGN KEY (seller_id) REFERENCES public.crm_seller(id); + + +-- +-- Name: wf_transition_decision_rule fk_decision_rule_id_decision_rule; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.wf_transition_decision_rule + ADD CONSTRAINT fk_decision_rule_id_decision_rule FOREIGN KEY (decision_rule_id) REFERENCES public.wf_decision_rule(id); + + +-- +-- Name: dwh_chart_bar fk_deinn6saryvr8li5c8vjoga6a; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.dwh_chart_bar + ADD CONSTRAINT fk_deinn6saryvr8li5c8vjoga6a FOREIGN KEY (id) REFERENCES public.dwh_chart(id); + + +-- +-- Name: adm_inbound_req_params fk_djmbjb6ja9fapeadjyj395020; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.adm_inbound_req_params + ADD CONSTRAINT fk_djmbjb6ja9fapeadjyj395020 FOREIGN KEY (inboundrequest_id) REFERENCES public.adm_inbound_request(id); + + +-- +-- Name: cat_serv_usage_wallet_template fk_djsiyqv4nss0aba3dfvxlo0g9; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_serv_usage_wallet_template + ADD CONSTRAINT fk_djsiyqv4nss0aba3dfvxlo0g9 FOREIGN KEY (wallet_template_id) REFERENCES public.cat_wallet_template(id); + + +-- +-- Name: crm_custom_field_tmpl_val fk_dsb0t79daf6j4gecorhl833tf; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.crm_custom_field_tmpl_val + ADD CONSTRAINT fk_dsb0t79daf6j4gecorhl833tf FOREIGN KEY (customfieldtemplate_id) REFERENCES public.crm_custom_field_tmpl(id); + + +-- +-- Name: dunning_document fk_dunning_document_ca; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.dunning_document + ADD CONSTRAINT fk_dunning_document_ca FOREIGN KEY (customer_account_id) REFERENCES public.ar_customer_account(id); + + +-- +-- Name: dunning_document fk_dunning_document_subscription; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.dunning_document + ADD CONSTRAINT fk_dunning_document_subscription FOREIGN KEY (billing_subscription_id) REFERENCES public.billing_subscription(id); + + +-- +-- Name: billing_charge_instance fk_dwdlb9d5mlvdddm3yowwa9uem; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_charge_instance + ADD CONSTRAINT fk_dwdlb9d5mlvdddm3yowwa9uem FOREIGN KEY (subscription_id) REFERENCES public.billing_subscription(id); + + +-- +-- Name: dwh_account_operation fk_dwh_account_operation_accounting_code; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.dwh_account_operation + ADD CONSTRAINT fk_dwh_account_operation_accounting_code FOREIGN KEY (accounting_code_id) REFERENCES public.billing_accounting_code(id); + + +-- +-- Name: dwh_journal_entries fk_dwh_journal_entries_accounting_code; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.dwh_journal_entries + ADD CONSTRAINT fk_dwh_journal_entries_accounting_code FOREIGN KEY (accounting_code_id) REFERENCES public.billing_accounting_code(id); + + +-- +-- Name: com_contact_com_message fk_e1trke21afbfr3v8wqnsks2is; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.com_contact_com_message + ADD CONSTRAINT fk_e1trke21afbfr3v8wqnsks2is FOREIGN KEY (messages_id) REFERENCES public.com_message(id); + + +-- +-- Name: bi_report_emails fk_e5pijp4pbuitmvarlbblnyula; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.bi_report_emails + ADD CONSTRAINT fk_e5pijp4pbuitmvarlbblnyula FOREIGN KEY (email_id) REFERENCES public.crm_email(id); + + +-- +-- Name: billing_invoice fk_e6lpg28vestq5376ftwurc3dq; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_invoice + ADD CONSTRAINT fk_e6lpg28vestq5376ftwurc3dq FOREIGN KEY (trading_language_id) REFERENCES public.billing_trading_language(id); + + +-- +-- Name: billing_billing_run_list fk_enol93c3egcl0hf5uhrvd8n85; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_billing_run_list + ADD CONSTRAINT fk_enol93c3egcl0hf5uhrvd8n85 FOREIGN KEY (billing_account_id) REFERENCES public.billing_billing_account(id); + + +-- +-- Name: dwh_chart_line fk_ertp1u2by6dldfhs76wcivhty; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.dwh_chart_line + ADD CONSTRAINT fk_ertp1u2by6dldfhs76wcivhty FOREIGN KEY (id) REFERENCES public.dwh_chart(id); + + +-- +-- Name: billing_chrginst_wallet fk_espkcwuorhst9youte9r59vfq; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_chrginst_wallet + ADD CONSTRAINT fk_espkcwuorhst9youte9r59vfq FOREIGN KEY (chrg_instance_id) REFERENCES public.billing_charge_instance(id); + + +-- +-- Name: billing_rated_transaction fk_eucl7of9ovyut1c4r2jkf01u6; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE public.billing_rated_transaction + ADD CONSTRAINT fk_eucl7of9ovyut1c4r2jkf01u6 FOREIGN KEY (priceplan_id) REFERENCES public.cat_price_plan_matrix(id); + + +-- +-- Name: cat_serv_rec_charge_template fk_exhkf6tlyfmkjik41o7pdaklk; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_serv_rec_charge_template + ADD CONSTRAINT fk_exhkf6tlyfmkjik41o7pdaklk FOREIGN KEY (service_template_id) REFERENCES public.cat_service_template(id); + + +-- +-- Name: billing_wallet_operation fk_f0v21kf4sbdcq1wwqsxmb5tsk; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE public.billing_wallet_operation + ADD CONSTRAINT fk_f0v21kf4sbdcq1wwqsxmb5tsk FOREIGN KEY (priceplan_id) REFERENCES public.cat_price_plan_matrix(id); + + +-- +-- Name: billing_counter fk_f3e8vebhfnmyikf3xwui2eqn5; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_counter + ADD CONSTRAINT fk_f3e8vebhfnmyikf3xwui2eqn5 FOREIGN KEY (billing_account_id) REFERENCES public.billing_billing_account(id); + + +-- +-- Name: adm_user fk_f3ptnqm19vwtactrn9asu7kex; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.adm_user + ADD CONSTRAINT fk_f3ptnqm19vwtactrn9asu7kex FOREIGN KEY (title_id) REFERENCES public.adm_title(id); + + +-- +-- Name: rating_edr fk_f5tulmo519cm4il45bhborgq1; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE public.rating_edr + ADD CONSTRAINT fk_f5tulmo519cm4il45bhborgq1 FOREIGN KEY (subscription_id) REFERENCES public.billing_subscription(id); + + +-- +-- Name: ar_ddrequest_item fk_fac0a9x4wkq2eawtebunbibxy; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.ar_ddrequest_item + ADD CONSTRAINT fk_fac0a9x4wkq2eawtebunbibxy FOREIGN KEY (payment_id) REFERENCES public.ar_account_operation(id); + + +-- +-- Name: billing_counter fk_fasnjr9ad2layx0fy99yqaqgh; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_counter + ADD CONSTRAINT fk_fasnjr9ad2layx0fy99yqaqgh FOREIGN KEY (counter_template_id) REFERENCES public.cat_counter_template(id); + + +-- +-- Name: billing_invoice_agregate fk_fgcgjix0bu0jcnnh7h92gdl3f; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_invoice_agregate + ADD CONSTRAINT fk_fgcgjix0bu0jcnnh7h92gdl3f FOREIGN KEY (invoicecategory) REFERENCES public.billing_invoice_cat(id); + + +-- +-- Name: meveo_filter_selector_ignore_fields fk_filter_selector_ignore_fields; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.meveo_filter_selector_ignore_fields + ADD CONSTRAINT fk_filter_selector_ignore_fields FOREIGN KEY (filter_selector_id) REFERENCES public.meveo_filter_selector(id) ON UPDATE CASCADE ON DELETE CASCADE; + + +-- +-- Name: billing_billing_account fk_fky4ah96o9fohkx7u569phxxr; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_billing_account + ADD CONSTRAINT fk_fky4ah96o9fohkx7u569phxxr FOREIGN KEY (id) REFERENCES public.account_entity(id); + + +-- +-- Name: meveo_job_instance fk_following_job_id; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.meveo_job_instance + ADD CONSTRAINT fk_following_job_id FOREIGN KEY (following_job_id) REFERENCES public.meveo_job_instance(id); + + +-- +-- Name: cat_serv_rec_charge_template fk_foohp8o0xupxmxcwblexcfqpp; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_serv_rec_charge_template + ADD CONSTRAINT fk_foohp8o0xupxmxcwblexcfqpp FOREIGN KEY (charge_template_id) REFERENCES public.cat_charge_template(id); + + +-- +-- Name: billing_billing_account fk_fr8rdcj2vx5ityva2l4fkcns4; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_billing_account + ADD CONSTRAINT fk_fr8rdcj2vx5ityva2l4fkcns4 FOREIGN KEY (customer_account_id) REFERENCES public.ar_customer_account(id); + + +-- +-- Name: cat_calendar fk_fskhdurrqlhc43f27gsprqqwn; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_calendar + ADD CONSTRAINT fk_fskhdurrqlhc43f27gsprqqwn FOREIGN KEY (join_cal_2_id) REFERENCES public.cat_calendar(id); + + +-- +-- Name: billing_billing_account fk_ftwju9g5tva4btwupb5yy8wuc; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_billing_account + ADD CONSTRAINT fk_ftwju9g5tva4btwupb5yy8wuc FOREIGN KEY (termin_reason_id) REFERENCES public.billing_subscrip_termin_reason(id); + + +-- +-- Name: billing_billing_run_list fk_fvujybj16rexoar6bbg65rtmw; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_billing_run_list + ADD CONSTRAINT fk_fvujybj16rexoar6bbg65rtmw FOREIGN KEY (billing_run_id) REFERENCES public.billing_billing_run(id); + + +-- +-- Name: adm_notification fk_g2g3git8jshnvyt4quial8rly; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.adm_notification + ADD CONSTRAINT fk_g2g3git8jshnvyt4quial8rly FOREIGN KEY (counter_template_id) REFERENCES public.cat_counter_template(id); + + +-- +-- Name: ar_action_dunning fk_gbkp9rahk5rqst7xvptmohhhl; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.ar_action_dunning + ADD CONSTRAINT fk_gbkp9rahk5rqst7xvptmohhhl FOREIGN KEY (dunning_lot_id) REFERENCES public.ar_dunning_lot(id); + + +-- +-- Name: cat_serv_usage_charge_template fk_gdamyabsva5cqay9nk1fm1rr7; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_serv_usage_charge_template + ADD CONSTRAINT fk_gdamyabsva5cqay9nk1fm1rr7 FOREIGN KEY (counter_template_id) REFERENCES public.cat_counter_template(id); + + +-- +-- Name: billing_rated_transaction fk_gq86s178gc3orumcl8symk4nn; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE public.billing_rated_transaction + ADD CONSTRAINT fk_gq86s178gc3orumcl8symk4nn FOREIGN KEY (invoice_id) REFERENCES public.billing_invoice(id); + + +-- +-- Name: billing_invoice fk_gr6elpjoiw7nyro2tdwsar20v; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_invoice + ADD CONSTRAINT fk_gr6elpjoiw7nyro2tdwsar20v FOREIGN KEY (recorded_invoice_id) REFERENCES public.ar_account_operation(id); + + +-- +-- Name: adm_inbound_resp_headers fk_h07be9b84xmmx5ypkbunkxwxt; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.adm_inbound_resp_headers + ADD CONSTRAINT fk_h07be9b84xmmx5ypkbunkxwxt FOREIGN KEY (inboundrequest_id) REFERENCES public.adm_inbound_request(id); + + +-- +-- Name: billing_rejected_billing_accounts fk_hamqnc1lpwfm4b3qjbefi24rn; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_rejected_billing_accounts + ADD CONSTRAINT fk_hamqnc1lpwfm4b3qjbefi24rn FOREIGN KEY (billing_account) REFERENCES public.billing_billing_account(id); + + +-- +-- Name: medina_access fk_hcav39o2ux8q2oaaqva8b5c8c; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.medina_access + ADD CONSTRAINT fk_hcav39o2ux8q2oaaqva8b5c8c FOREIGN KEY (subscription_id) REFERENCES public.billing_subscription(id); + + +-- +-- Name: billing_wallet_operation fk_hg1a5impet68w8a37dehlnib0; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE public.billing_wallet_operation + ADD CONSTRAINT fk_hg1a5impet68w8a37dehlnib0 FOREIGN KEY (seller_id) REFERENCES public.crm_seller(id); + + +-- +-- Name: hierarchy_entity fk_hierarchy_entity_hierarchy_entity; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.hierarchy_entity + ADD CONSTRAINT fk_hierarchy_entity_hierarchy_entity FOREIGN KEY (parent_id) REFERENCES public.hierarchy_entity(id); + + +-- +-- Name: adm_user fk_hierarchy_level_adm_user_hierarchy_entity; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.adm_user + ADD CONSTRAINT fk_hierarchy_level_adm_user_hierarchy_entity FOREIGN KEY (hierarchy_level_id) REFERENCES public.hierarchy_entity(id); + + +-- +-- Name: wf_instance_history fk_history_wf_instance; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.wf_instance_history + ADD CONSTRAINT fk_history_wf_instance FOREIGN KEY (wf_instance_id) REFERENCES public.wf_instance(id) ON DELETE CASCADE; + + +-- +-- Name: cat_calendar_hours fk_hlmhwditgy8p9em0e631ynw6r; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_calendar_hours + ADD CONSTRAINT fk_hlmhwditgy8p9em0e631ynw6r FOREIGN KEY (hour_id) REFERENCES public.cat_hour_in_day(id); + + +-- +-- Name: billing_invoice_cat_lang fk_hslb4pch5bj6m6xsy0tqmnn4j; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_invoice_cat_lang + ADD CONSTRAINT fk_hslb4pch5bj6m6xsy0tqmnn4j FOREIGN KEY (trading_language_id) REFERENCES public.billing_trading_language(id); + + +-- +-- Name: cat_serv_sub_charge_template fk_hxp6httf1qfs3tsvquux363y7; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_serv_sub_charge_template + ADD CONSTRAINT fk_hxp6httf1qfs3tsvquux363y7 FOREIGN KEY (service_template_id) REFERENCES public.cat_service_template(id); + + +-- +-- Name: billing_invoice fk_hyqj44hv50qhdvvvqp5eujrur; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_invoice + ADD CONSTRAINT fk_hyqj44hv50qhdvvvqp5eujrur FOREIGN KEY (billing_run_id) REFERENCES public.billing_billing_run(id); + + +-- +-- Name: dwh_chart fk_i6lkk8x010ktvw2clmmmmp9os; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.dwh_chart + ADD CONSTRAINT fk_i6lkk8x010ktvw2clmmmmp9os FOREIGN KEY (msr_qty_id) REFERENCES public.dwh_measurable_quant(id); + + +-- +-- Name: billing_invoice_agregate fk_i8v257236336x3tpy7ili7ys2; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_invoice_agregate + ADD CONSTRAINT fk_i8v257236336x3tpy7ili7ys2 FOREIGN KEY (billing_run_id) REFERENCES public.billing_billing_run(id); + + +-- +-- Name: billing_invoice_agregate fk_ia_dpi; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_invoice_agregate + ADD CONSTRAINT fk_ia_dpi FOREIGN KEY (discount_plan_item_id) REFERENCES public.cat_discount_plan_item(id); + + +-- +-- Name: billing_resrv_countid fk_ibxc01nbhutnxtkoextnrm0a6; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_resrv_countid + ADD CONSTRAINT fk_ibxc01nbhutnxtkoextnrm0a6 FOREIGN KEY (reservation_id) REFERENCES public.billing_reservation(id); + + +-- +-- Name: billing_invoice_agregate fk_icmfsev8m5n386ifttcgelv40; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_invoice_agregate + ADD CONSTRAINT fk_icmfsev8m5n386ifttcgelv40 FOREIGN KEY (invoice_id) REFERENCES public.billing_invoice(id) ON UPDATE CASCADE ON DELETE CASCADE; + + +-- +-- Name: bi_job_history fk_ifdipuijxgp2i9k26n7bc2jnr; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.bi_job_history + ADD CONSTRAINT fk_ifdipuijxgp2i9k26n7bc2jnr FOREIGN KEY (job_id) REFERENCES public.bi_job(id); + + +-- +-- Name: cat_price_plan_matrix fk_ihqc2by1drw4jp17umkkjcguc; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_price_plan_matrix + ADD CONSTRAINT fk_ihqc2by1drw4jp17umkkjcguc FOREIGN KEY (seller_id) REFERENCES public.crm_seller(id); + + +-- +-- Name: billing_billing_account fk_ii78vj9v7bqdip985wona13qm; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_billing_account + ADD CONSTRAINT fk_ii78vj9v7bqdip985wona13qm FOREIGN KEY (trading_country_id) REFERENCES public.billing_trading_country(id); + + +-- +-- Name: billing_rated_transaction fk_input_billing_rated_transaction_cat_unit_of_measure; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE public.billing_rated_transaction + ADD CONSTRAINT fk_input_billing_rated_transaction_cat_unit_of_measure FOREIGN KEY (input_unitofmeasure) REFERENCES public.cat_unit_of_measure(id); + + +-- +-- Name: billing_wallet_operation fk_input_billing_wallet_operation_cat_unit_of_measure; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE public.billing_wallet_operation + ADD CONSTRAINT fk_input_billing_wallet_operation_cat_unit_of_measure FOREIGN KEY (input_unitofmeasure) REFERENCES public.cat_unit_of_measure(id); + + +-- +-- Name: cat_charge_template fk_input_cat_charge_template_cat_unit_of_measure; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_charge_template + ADD CONSTRAINT fk_input_cat_charge_template_cat_unit_of_measure FOREIGN KEY (input_unitofmeasure) REFERENCES public.cat_unit_of_measure(id); + + +-- +-- Name: wf_instance fk_instance_generic_wf; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.wf_instance + ADD CONSTRAINT fk_instance_generic_wf FOREIGN KEY (generic_wf_id) REFERENCES public.wf_generic_workflow(id) ON UPDATE CASCADE ON DELETE CASCADE; + + +-- +-- Name: wf_instance fk_instance_wf_status; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.wf_instance + ADD CONSTRAINT fk_instance_wf_status FOREIGN KEY (current_wf_status_id) REFERENCES public.wf_status(id); + + +-- +-- Name: ar_account_operation fk_inv_aos; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.ar_account_operation + ADD CONSTRAINT fk_inv_aos FOREIGN KEY (recorded_invoice_id) REFERENCES public.ar_account_operation(id); + + +-- +-- Name: ar_account_operation fk_inv_cat_agregate; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.ar_account_operation + ADD CONSTRAINT fk_inv_cat_agregate FOREIGN KEY (cat_inv_agregate_id) REFERENCES public.billing_invoice_agregate(id); + + +-- +-- Name: billing_invoice_type fk_inv_email_template; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_invoice_type + ADD CONSTRAINT fk_inv_email_template FOREIGN KEY (email_template_id) REFERENCES public.com_message_template(id); + + +-- +-- Name: billing_invoice fk_inv_order; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_invoice + ADD CONSTRAINT fk_inv_order FOREIGN KEY (order_id) REFERENCES public.ord_order(id); + + +-- +-- Name: ar_account_operation fk_inv_sub_cat_agregate; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.ar_account_operation + ADD CONSTRAINT fk_inv_sub_cat_agregate FOREIGN KEY (sub_cat_inv_agregate_id) REFERENCES public.billing_invoice_agregate(id); + + +-- +-- Name: billing_invoice fk_inv_subscription; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_invoice + ADD CONSTRAINT fk_inv_subscription FOREIGN KEY (subscription_id) REFERENCES public.billing_subscription(id); + + +-- +-- Name: ar_payment_schedule_inst_item fk_invoice_id; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.ar_payment_schedule_inst_item + ADD CONSTRAINT fk_invoice_id FOREIGN KEY (invoice_id) REFERENCES public.billing_invoice(id); + + +-- +-- Name: billing_invoices_orders fk_invoice_id_bill_invoices-orders; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_invoices_orders + ADD CONSTRAINT "fk_invoice_id_bill_invoices-orders" FOREIGN KEY (invoice_id) REFERENCES public.billing_invoice(id); + + +-- +-- Name: billing_invoice fk_invoice_pm; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_invoice + ADD CONSTRAINT fk_invoice_pm FOREIGN KEY (payment_method_id) REFERENCES public.ar_payment_token(id); + + +-- +-- Name: billing_invoice_type_applies_to fk_invoice_type_appl_to_id_billing_invoice_type_applies_to; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_invoice_type_applies_to + ADD CONSTRAINT fk_invoice_type_appl_to_id_billing_invoice_type_applies_to FOREIGN KEY (invoice_type_id) REFERENCES public.billing_invoice_type(id) ON UPDATE CASCADE ON DELETE CASCADE; + + +-- +-- Name: billing_cycle fk_invoice_type_id_billing_cycle; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_cycle + ADD CONSTRAINT fk_invoice_type_id_billing_cycle FOREIGN KEY (invoice_type_id) REFERENCES public.billing_invoice_type(id); + + +-- +-- Name: billing_invoice fk_invoice_type_id_billing_invoice; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_invoice + ADD CONSTRAINT fk_invoice_type_id_billing_invoice FOREIGN KEY (invoice_type_id) REFERENCES public.billing_invoice_type(id); + + +-- +-- Name: billing_invoice_type fk_invoice_type_script_instance; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_invoice_type + ADD CONSTRAINT fk_invoice_type_script_instance FOREIGN KEY (script_instance_id) REFERENCES public.meveo_script_instance(id); + + +-- +-- Name: adm_notif_email_user fk_ioh6e5l8yglwedbkvmrhuuc9i; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.adm_notif_email_user + ADD CONSTRAINT fk_ioh6e5l8yglwedbkvmrhuuc9i FOREIGN KEY (emailnotification_id) REFERENCES public.adm_notif_email(id); + + +-- +-- Name: adm_notif_im_list fk_irak9kuf31eoi04whmof2o1vp; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.adm_notif_im_list + ADD CONSTRAINT fk_irak9kuf31eoi04whmof2o1vp FOREIGN KEY (instantmessagingnotification_id) REFERENCES public.adm_notif_im(id); + + +-- +-- Name: billing_seq_invtyp_sell fk_ivmab13iml7v0n29giw9w8kor; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_seq_invtyp_sell + ADD CONSTRAINT fk_ivmab13iml7v0n29giw9w8kor FOREIGN KEY (seller_id) REFERENCES public.crm_seller(id); + + +-- +-- Name: billing_rejected_billing_accounts fk_iyfs5u3t9m0hc9rkeadr6atq9; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_rejected_billing_accounts + ADD CONSTRAINT fk_iyfs5u3t9m0hc9rkeadr6atq9 FOREIGN KEY (billing_run) REFERENCES public.billing_billing_run(id); + + +-- +-- Name: cat_price_plan_matrix fk_j45dy6ja0ulbs15erjw2abtin; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_price_plan_matrix + ADD CONSTRAINT fk_j45dy6ja0ulbs15erjw2abtin FOREIGN KEY (valid_cal_id) REFERENCES public.cat_calendar(id); + + +-- +-- Name: billing_billing_run fk_j7uk7f4r30ar8my36b338fgp3; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_billing_run + ADD CONSTRAINT fk_j7uk7f4r30ar8my36b338fgp3 FOREIGN KEY (pr_country_id) REFERENCES public.adm_country(id); + + +-- +-- Name: adm_country fk_j9hs06oggl0dsm766xegjd7cl; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.adm_country + ADD CONSTRAINT fk_j9hs06oggl0dsm766xegjd7cl FOREIGN KEY (currency_id) REFERENCES public.adm_currency(id); + + +-- +-- Name: com_msg_tmpl_variable fk_ja18lr86yy3lu9qy06wkhkjeg; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.com_msg_tmpl_variable + ADD CONSTRAINT fk_ja18lr86yy3lu9qy06wkhkjeg FOREIGN KEY (template_id) REFERENCES public.com_message_template(id); + + +-- +-- Name: billing_invoice_agregate fk_jbw5pwksdd6x3f6ystkruwb60; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_invoice_agregate + ADD CONSTRAINT fk_jbw5pwksdd6x3f6ystkruwb60 FOREIGN KEY (billing_account_id) REFERENCES public.billing_billing_account(id); + + +-- +-- Name: cat_serv_sub_wallet_template fk_jl5jtnqtxuaupodubdf49we35; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_serv_sub_wallet_template + ADD CONSTRAINT fk_jl5jtnqtxuaupodubdf49we35 FOREIGN KEY (wallet_template_id) REFERENCES public.cat_wallet_template(id); + + +-- +-- Name: billing_invoice_agregate fk_jlvgkggvct8w375rh8xnp0045; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_invoice_agregate + ADD CONSTRAINT fk_jlvgkggvct8w375rh8xnp0045 FOREIGN KEY (tax_invoice_agregate) REFERENCES public.billing_invoice_agregate(id); + + +-- +-- Name: job_execution fk_job_execution_job_instance_id; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.job_execution + ADD CONSTRAINT fk_job_execution_job_instance_id FOREIGN KEY (job_instance_id) REFERENCES public.meveo_job_instance(id) ON UPDATE CASCADE ON DELETE CASCADE; + + +-- +-- Name: adm_notif_job fk_job_trigger_notif; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.adm_notif_job + ADD CONSTRAINT fk_job_trigger_notif FOREIGN KEY (job_instance_id) REFERENCES public.meveo_job_instance(id); + + +-- +-- Name: billing_invoice_agregate fk_jol1l9b38nefwe19h55gjhi; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_invoice_agregate + ADD CONSTRAINT fk_jol1l9b38nefwe19h55gjhi FOREIGN KEY (category_invoice_agregate) REFERENCES public.billing_invoice_agregate(id); + + +-- +-- Name: cat_serv_rec_wallet_template fk_jvxy2yssvh2lglsjux5lysuev; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_serv_rec_wallet_template + ADD CONSTRAINT fk_jvxy2yssvh2lglsjux5lysuev FOREIGN KEY (service_rec_templt_id) REFERENCES public.cat_serv_rec_charge_template(id); + + +-- +-- Name: cat_calendar_days fk_jwbui370vw0u0i4bprhep89va; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_calendar_days + ADD CONSTRAINT fk_jwbui370vw0u0i4bprhep89va FOREIGN KEY (day_id) REFERENCES public.cat_day_in_year(id); + + +-- +-- Name: crm_customer fk_jy0ltntuxo83krlvovb0gmmcu; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.crm_customer + ADD CONSTRAINT fk_jy0ltntuxo83krlvovb0gmmcu FOREIGN KEY (customer_brand_id) REFERENCES public.crm_customer_brand(id); + + +-- +-- Name: billing_trading_country fk_k9rx9xam7tpfhxdd9ebir310v; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_trading_country + ADD CONSTRAINT fk_k9rx9xam7tpfhxdd9ebir310v FOREIGN KEY (country_id) REFERENCES public.adm_country(id); + + +-- +-- Name: billing_billing_run fk_kh24jie5tlw4y93g44d4aq4es; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_billing_run + ADD CONSTRAINT fk_kh24jie5tlw4y93g44d4aq4es FOREIGN KEY (pr_language_id) REFERENCES public.adm_language(id); + + +-- +-- Name: dwh_chart fk_kjno1ku2jpqxlh7s4tpekd40k; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.dwh_chart + ADD CONSTRAINT fk_kjno1ku2jpqxlh7s4tpekd40k FOREIGN KEY (role_id) REFERENCES public.adm_role(id); + + +-- +-- Name: cat_price_plan_matrix fk_kwd24d6mb0ac27a9smche8u8u; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_price_plan_matrix + ADD CONSTRAINT fk_kwd24d6mb0ac27a9smche8u8u FOREIGN KEY (trading_currency_id) REFERENCES public.billing_trading_currency(id); + + +-- +-- Name: account_entity fk_kysnihoom2p6tjxemg0rfquva; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.account_entity + ADD CONSTRAINT fk_kysnihoom2p6tjxemg0rfquva FOREIGN KEY (title_id) REFERENCES public.adm_title(id); + + +-- +-- Name: ar_ddrequest_lot fk_lot_req_builder_id; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.ar_ddrequest_lot + ADD CONSTRAINT fk_lot_req_builder_id FOREIGN KEY (ddrequest_builder_id) REFERENCES public.ar_ddrequest_builder(id); + + +-- +-- Name: billing_billing_account fk_luc75yfv40lypmgdljmbeu1l2; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_billing_account + ADD CONSTRAINT fk_luc75yfv40lypmgdljmbeu1l2 FOREIGN KEY (trading_language_id) REFERENCES public.billing_trading_language(id); + + +-- +-- Name: billing_invoice fk_m1k0p8afwiq28x9jfexqy8bvx; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_invoice + ADD CONSTRAINT fk_m1k0p8afwiq28x9jfexqy8bvx FOREIGN KEY (trading_currency_id) REFERENCES public.billing_trading_currency(id); + + +-- +-- Name: cat_offer_serv_templates fk_m4r0891967ixswyppuy3oh925; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_offer_serv_templates + ADD CONSTRAINT fk_m4r0891967ixswyppuy3oh925 FOREIGN KEY (service_template_id) REFERENCES public.cat_service_template(id); + + +-- +-- Name: crm_provider fk_m5u8n11dsbf2q9yy5vy5ehwmf; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.crm_provider + ADD CONSTRAINT fk_m5u8n11dsbf2q9yy5vy5ehwmf FOREIGN KEY (language_id) REFERENCES public.adm_language(id); + + +-- +-- Name: cat_serv_trm_wallet_template fk_mds23tfwffrfaiag61ujhh2mt; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_serv_trm_wallet_template + ADD CONSTRAINT fk_mds23tfwffrfaiag61ujhh2mt FOREIGN KEY (wallet_template_id) REFERENCES public.cat_wallet_template(id); + + +-- +-- Name: meveo_filter_condition fk_meveo_and_composite_filter_condition_and; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.meveo_filter_condition + ADD CONSTRAINT fk_meveo_and_composite_filter_condition_and FOREIGN KEY (composite_and_filter_condition_id) REFERENCES public.meveo_and_composite_filter_condition(id) ON UPDATE CASCADE ON DELETE CASCADE; + + +-- +-- Name: meveo_filter fk_meveo_filter_filter_condition; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.meveo_filter + ADD CONSTRAINT fk_meveo_filter_filter_condition FOREIGN KEY (filter_condition_id) REFERENCES public.meveo_filter_condition(id) ON UPDATE CASCADE ON DELETE CASCADE; + + +-- +-- Name: meveo_filter fk_meveo_filter_order_condition; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.meveo_filter + ADD CONSTRAINT fk_meveo_filter_order_condition FOREIGN KEY (order_condition_id) REFERENCES public.meveo_filter_order_condition(id) ON UPDATE CASCADE ON DELETE CASCADE; + + +-- +-- Name: meveo_filter_oc_field_names fk_meveo_filter_order_condition_field_names; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.meveo_filter_oc_field_names + ADD CONSTRAINT fk_meveo_filter_order_condition_field_names FOREIGN KEY (order_condition_id) REFERENCES public.meveo_filter_order_condition(id) ON UPDATE CASCADE ON DELETE CASCADE; + + +-- +-- Name: meveo_filter fk_meveo_filter_primary_selector; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.meveo_filter + ADD CONSTRAINT fk_meveo_filter_primary_selector FOREIGN KEY (primary_selector_id) REFERENCES public.meveo_filter_selector(id) ON UPDATE CASCADE ON DELETE CASCADE; + + +-- +-- Name: meveo_filter_selector fk_meveo_filter_secondary_selector; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.meveo_filter_selector + ADD CONSTRAINT fk_meveo_filter_secondary_selector FOREIGN KEY (filter_id) REFERENCES public.meveo_filter(id) ON UPDATE CASCADE ON DELETE CASCADE; + + +-- +-- Name: meveo_filter_selector_display_fields fk_meveo_filter_selector_display_fields; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.meveo_filter_selector_display_fields + ADD CONSTRAINT fk_meveo_filter_selector_display_fields FOREIGN KEY (filter_selector_id) REFERENCES public.meveo_filter_selector(id) ON UPDATE CASCADE ON DELETE CASCADE; + + +-- +-- Name: meveo_filter_selector_export_fields fk_meveo_filter_selector_export_fields; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.meveo_filter_selector_export_fields + ADD CONSTRAINT fk_meveo_filter_selector_export_fields FOREIGN KEY (filter_selector_id) REFERENCES public.meveo_filter_selector(id) ON UPDATE CASCADE ON DELETE CASCADE; + + +-- +-- Name: cat_triggered_edr fk_meveo_instance_id_com_meveo_instance; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_triggered_edr + ADD CONSTRAINT fk_meveo_instance_id_com_meveo_instance FOREIGN KEY (meveo_instance_id) REFERENCES public.com_meveo_instance(id); + + +-- +-- Name: meveo_module_item fk_meveo_module_item_meveo_module; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.meveo_module_item + ADD CONSTRAINT fk_meveo_module_item_meveo_module FOREIGN KEY (module_id) REFERENCES public.meveo_module(id); + + +-- +-- Name: meveo_module fk_meveo_module_script_instance; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.meveo_module + ADD CONSTRAINT fk_meveo_module_script_instance FOREIGN KEY (script_instance_id) REFERENCES public.meveo_script_instance(id); + + +-- +-- Name: meveo_filter_condition fk_meveo_or_composite_filter_condition_or; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.meveo_filter_condition + ADD CONSTRAINT fk_meveo_or_composite_filter_condition_or FOREIGN KEY (composite_or_filter_condition_id) REFERENCES public.meveo_or_composite_filter_condition(id) ON UPDATE CASCADE ON DELETE CASCADE; + + +-- +-- Name: meveo_script_instance fk_meveo_script_instance-category; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.meveo_script_instance + ADD CONSTRAINT "fk_meveo_script_instance-category" FOREIGN KEY (script_instance_cat_id) REFERENCES public.meveo_script_instance_cat(id); + + +-- +-- Name: crm_seller fk_mhpt572myu8mok6vrf6kbari2; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.crm_seller + ADD CONSTRAINT fk_mhpt572myu8mok6vrf6kbari2 FOREIGN KEY (trading_currency_id) REFERENCES public.billing_trading_currency(id); + + +-- +-- Name: adm_notif_email_user fk_mp4h7biod5wtjo1x3yp80q3um; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.adm_notif_email_user + ADD CONSTRAINT fk_mp4h7biod5wtjo1x3yp80q3um FOREIGN KEY (users_id) REFERENCES public.adm_user(id); + + +-- +-- Name: adm_notif_webhooks fk_n1n2i3ht998wlegdshme4gykm; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.adm_notif_webhooks + ADD CONSTRAINT fk_n1n2i3ht998wlegdshme4gykm FOREIGN KEY (id) REFERENCES public.adm_notification(id); + + +-- +-- Name: adm_script_notification fk_n1n2i3ht998wlegdshme8gyfd; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.adm_script_notification + ADD CONSTRAINT fk_n1n2i3ht998wlegdshme8gyfd FOREIGN KEY (id) REFERENCES public.adm_notification(id); + + +-- +-- Name: billing_invoice_cat_lang fk_n38yh52xgofxupiojjjp6w0ss; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_invoice_cat_lang + ADD CONSTRAINT fk_n38yh52xgofxupiojjjp6w0ss FOREIGN KEY (invoice_category_id) REFERENCES public.billing_invoice_cat(id); + + +-- +-- Name: billing_charge_instance fk_n5h6xvrtm2a2av5jik9vr0cp5; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_charge_instance + ADD CONSTRAINT fk_n5h6xvrtm2a2av5jik9vr0cp5 FOREIGN KEY (counter_id) REFERENCES public.billing_counter(id); + + +-- +-- Name: billing_billing_account fk_nhkxa8vr7ta6e0l7xg5j7injp; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_billing_account + ADD CONSTRAINT fk_nhkxa8vr7ta6e0l7xg5j7injp FOREIGN KEY (billing_run) REFERENCES public.billing_billing_run(id); + + +-- +-- Name: ar_dunning_lot fk_ni07ki1fjggoysarccglqdy7k; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.ar_dunning_lot + ADD CONSTRAINT fk_ni07ki1fjggoysarccglqdy7k FOREIGN KEY (dunning_history_id) REFERENCES public.bi_job_history(id); + + +-- +-- Name: adm_notification fk_notif_script_instance; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.adm_notification + ADD CONSTRAINT fk_notif_script_instance FOREIGN KEY (script_instance_id) REFERENCES public.meveo_script_instance(id); + + +-- +-- Name: adm_notif_email_attach fk_nsvkcha8gfihqji903fs5n516; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.adm_notif_email_attach + ADD CONSTRAINT fk_nsvkcha8gfihqji903fs5n516 FOREIGN KEY (emailnotification_id) REFERENCES public.adm_notif_email(id); + + +-- +-- Name: billing_rated_transaction fk_o2mp1mqcyi2l7q2b1p88h20dw; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE public.billing_rated_transaction + ADD CONSTRAINT fk_o2mp1mqcyi2l7q2b1p88h20dw FOREIGN KEY (billing_run_id) REFERENCES public.billing_billing_run(id); + + +-- +-- Name: billing_rated_transaction fk_o5yu3c0bnac626w755w5f0voc; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE public.billing_rated_transaction + ADD CONSTRAINT fk_o5yu3c0bnac626w755w5f0voc FOREIGN KEY (invoice_sub_category_id) REFERENCES public.billing_invoice_sub_cat(id); + + +-- +-- Name: billing_invoice_cat fk_occ_cat_inv; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_invoice_cat + ADD CONSTRAINT fk_occ_cat_inv FOREIGN KEY (occ_template_id) REFERENCES public.ar_occ_template(id); + + +-- +-- Name: billing_invoice_cat fk_occ_neg_cat_inv; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_invoice_cat + ADD CONSTRAINT fk_occ_neg_cat_inv FOREIGN KEY (occ_templ_negative_id) REFERENCES public.ar_occ_template(id); + + +-- +-- Name: billing_invoice_sub_cat fk_occ_neg_sub_cat_inv; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_invoice_sub_cat + ADD CONSTRAINT fk_occ_neg_sub_cat_inv FOREIGN KEY (occ_templ_negative_id) REFERENCES public.ar_occ_template(id); + + +-- +-- Name: billing_invoice_sub_cat fk_occ_sub_cat_inv; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_invoice_sub_cat + ADD CONSTRAINT fk_occ_sub_cat_inv FOREIGN KEY (occ_template_id) REFERENCES public.ar_occ_template(id); + + +-- +-- Name: billing_invoice_type fk_occ_templ_negative_id_billing_invoice_type; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_invoice_type + ADD CONSTRAINT fk_occ_templ_negative_id_billing_invoice_type FOREIGN KEY (occ_templ_negative_id) REFERENCES public.ar_occ_template(id); + + +-- +-- Name: billing_invoice_type fk_occ_template_id_billing_invoice_type; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_invoice_type + ADD CONSTRAINT fk_occ_template_id_billing_invoice_type FOREIGN KEY (occ_template_id) REFERENCES public.ar_occ_template(id); + + +-- +-- Name: cat_offer_template fk_off_tpl_prodcal; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_offer_template + ADD CONSTRAINT fk_off_tpl_prodcal FOREIGN KEY (invoicing_calendar_id) REFERENCES public.cat_calendar(id); + + +-- +-- Name: cat_offer_template_category fk_offer_cat_template_offer_cat_template; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_offer_template_category + ADD CONSTRAINT fk_offer_cat_template_offer_cat_template FOREIGN KEY (offer_template_category_id) REFERENCES public.cat_offer_template_category(id); + + +-- +-- Name: cat_offer_template fk_offer_script; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_offer_template + ADD CONSTRAINT fk_offer_script FOREIGN KEY (script_instance_id) REFERENCES public.meveo_script_instance(id); + + +-- +-- Name: billing_invoice_agregate fk_oj0fk2nkpqevu9warau9u2m; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_invoice_agregate + ADD CONSTRAINT fk_oj0fk2nkpqevu9warau9u2m FOREIGN KEY (wallet_id) REFERENCES public.billing_wallet(id); + + +-- +-- Name: ar_ddrequest_lot_op fk_op_ddreq_builder_id; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.ar_ddrequest_lot_op + ADD CONSTRAINT fk_op_ddreq_builder_id FOREIGN KEY (ddrequest_builder_id) REFERENCES public.ar_ddrequest_builder(id); + + +-- +-- Name: ar_ddrequest_lot_op fk_op_ddreq_filter_id; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.ar_ddrequest_lot_op + ADD CONSTRAINT fk_op_ddreq_filter_id FOREIGN KEY (filter_id) REFERENCES public.meveo_filter(id); + + +-- +-- Name: ord_item_offerings fk_ord_item_offerings_order; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.ord_item_offerings + ADD CONSTRAINT fk_ord_item_offerings_order FOREIGN KEY (order_item_id) REFERENCES public.ord_order_item(id); + + +-- +-- Name: ord_item_offerings fk_ord_item_offerings_prd_offering; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.ord_item_offerings + ADD CONSTRAINT fk_ord_item_offerings_prd_offering FOREIGN KEY (prd_offering_id) REFERENCES public.cat_offer_template(id); + + +-- +-- Name: ord_item_prd_instance fk_ord_item_prd_instance_order; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.ord_item_prd_instance + ADD CONSTRAINT fk_ord_item_prd_instance_order FOREIGN KEY (order_item_id) REFERENCES public.ord_order_item(id); + + +-- +-- Name: ord_item_prd_instance fk_ord_item_prd_instance_prd_instance; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.ord_item_prd_instance + ADD CONSTRAINT fk_ord_item_prd_instance_prd_instance FOREIGN KEY (prd_instance_id) REFERENCES public.billing_product_instance(id); + + +-- +-- Name: ord_order_item fk_ord_order_item_ord_order; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.ord_order_item + ADD CONSTRAINT fk_ord_order_item_ord_order FOREIGN KEY (order_id) REFERENCES public.ord_order(id); + + +-- +-- Name: ord_order_item fk_ord_order_item_subscription; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.ord_order_item + ADD CONSTRAINT fk_ord_order_item_subscription FOREIGN KEY (subscription_id) REFERENCES public.billing_subscription(id); + + +-- +-- Name: ord_order_item fk_ord_order_item_user_account; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.ord_order_item + ADD CONSTRAINT fk_ord_order_item_user_account FOREIGN KEY (user_account_id) REFERENCES public.billing_user_account(id); + + +-- +-- Name: ord_quot_item_offerings fk_ord_quote_item_offerings_order; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.ord_quot_item_offerings + ADD CONSTRAINT fk_ord_quote_item_offerings_order FOREIGN KEY (quote_item_id) REFERENCES public.ord_quote_item(id); + + +-- +-- Name: ord_quot_item_offerings fk_ord_quote_item_offerings_prd_offering; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.ord_quot_item_offerings + ADD CONSTRAINT fk_ord_quote_item_offerings_prd_offering FOREIGN KEY (prd_offering_id) REFERENCES public.cat_offer_template(id); + + +-- +-- Name: ord_quote_item fk_ord_quote_item_ord_order; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.ord_quote_item + ADD CONSTRAINT fk_ord_quote_item_ord_order FOREIGN KEY (quote_id) REFERENCES public.ord_quote(id); + + +-- +-- Name: ord_quote_item fk_ord_quote_item_user_account; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.ord_quote_item + ADD CONSTRAINT fk_ord_quote_item_user_account FOREIGN KEY (user_account_id) REFERENCES public.billing_user_account(id); + + +-- +-- Name: ord_quote fk_ord_quote_rt_usergrp; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.ord_quote + ADD CONSTRAINT fk_ord_quote_rt_usergrp FOREIGN KEY (routed_to_user_group_id) REFERENCES public.hierarchy_entity(id); + + +-- +-- Name: ord_quote fk_ord_quote_user_account; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.ord_quote + ADD CONSTRAINT fk_ord_quote_user_account FOREIGN KEY (user_account_id) REFERENCES public.billing_user_account(id); + + +-- +-- Name: ord_order_history fk_order_history_billing_service_instance; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.ord_order_history + ADD CONSTRAINT fk_order_history_billing_service_instance FOREIGN KEY (service_instance_id) REFERENCES public.billing_service_instance(id); + + +-- +-- Name: ord_order_history fk_order_history_order_item; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.ord_order_history + ADD CONSTRAINT fk_order_history_order_item FOREIGN KEY (order_item_id) REFERENCES public.ord_order_item(id); + + +-- +-- Name: billing_invoices_orders fk_order_id_bill_invoices-orders; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_invoices_orders + ADD CONSTRAINT "fk_order_id_bill_invoices-orders" FOREIGN KEY (order_id) REFERENCES public.ord_order(id); + + +-- +-- Name: ord_order fk_order_payment_method; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.ord_order + ADD CONSTRAINT fk_order_payment_method FOREIGN KEY (payment_method_id) REFERENCES public.ar_payment_token(id); + + +-- +-- Name: ord_order fk_order_quote; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.ord_order + ADD CONSTRAINT fk_order_quote FOREIGN KEY (quote_id) REFERENCES public.ord_quote(id); + + +-- +-- Name: ord_order fk_ordr_email_template; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.ord_order + ADD CONSTRAINT fk_ordr_email_template FOREIGN KEY (email_template_id) REFERENCES public.com_message_template(id); + + +-- +-- Name: cat_offer_template fk_ot_init_active; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_offer_template + ADD CONSTRAINT fk_ot_init_active FOREIGN KEY (calendar_init_active_id) REFERENCES public.cat_calendar(id); + + +-- +-- Name: cat_offer_template fk_ot_minimum_charge_template_id; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_offer_template + ADD CONSTRAINT fk_ot_minimum_charge_template_id FOREIGN KEY (minimum_charge_template_id) REFERENCES public.cat_charge_template(id); + + +-- +-- Name: cat_offer_template fk_ot_renew_for; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_offer_template + ADD CONSTRAINT fk_ot_renew_for FOREIGN KEY (calendar_renew_for_id) REFERENCES public.cat_calendar(id); + + +-- +-- Name: cat_serv_usage_charge_template fk_oxrjl1e7g6y1ehtpbse9cl1bi; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_serv_usage_charge_template + ADD CONSTRAINT fk_oxrjl1e7g6y1ehtpbse9cl1bi FOREIGN KEY (service_template_id) REFERENCES public.cat_service_template(id); + + +-- +-- Name: billing_invoice_agregate fk_p3lcj2g3sjry0355gqki3crfo; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_invoice_agregate + ADD CONSTRAINT fk_p3lcj2g3sjry0355gqki3crfo FOREIGN KEY (invoicesubcategory) REFERENCES public.billing_invoice_sub_cat(id); + + +-- +-- Name: adm_notif_job_params fk_params_job_trigger; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.adm_notif_job_params + ADD CONSTRAINT fk_params_job_trigger FOREIGN KEY (jobtrigger_id) REFERENCES public.adm_notif_job(id); + + +-- +-- Name: adm_notification_params fk_params_notification; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.adm_notification_params + ADD CONSTRAINT fk_params_notification FOREIGN KEY (notification_id) REFERENCES public.adm_notification(id); + + +-- +-- Name: ar_account_operation fk_pay_schdl_inst_item_id; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.ar_account_operation + ADD CONSTRAINT fk_pay_schdl_inst_item_id FOREIGN KEY (pay_schdl_inst_item_id) REFERENCES public.ar_payment_schedule_inst_item(id); + + +-- +-- Name: ar_payment_gateway fk_paygw_country; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.ar_payment_gateway + ADD CONSTRAINT fk_paygw_country FOREIGN KEY (country_id) REFERENCES public.adm_country(id); + + +-- +-- Name: ar_payment_gateway fk_paygw_script_instance; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.ar_payment_gateway + ADD CONSTRAINT fk_paygw_script_instance FOREIGN KEY (script_instance_id) REFERENCES public.meveo_script_instance(id); + + +-- +-- Name: ar_payment_gateway fk_paygw_trad_currency; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.ar_payment_gateway + ADD CONSTRAINT fk_paygw_trad_currency FOREIGN KEY (trading_currency_id) REFERENCES public.billing_trading_currency(id); + + +-- +-- Name: ar_payment_history fk_payhisto_ao_pay; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.ar_payment_history + ADD CONSTRAINT fk_payhisto_ao_pay FOREIGN KEY (payment_id) REFERENCES public.ar_account_operation(id); + + +-- +-- Name: ar_payment_history fk_payhisto_ao_refund; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.ar_payment_history + ADD CONSTRAINT fk_payhisto_ao_refund FOREIGN KEY (refund_id) REFERENCES public.ar_account_operation(id); + + +-- +-- Name: ar_payment_schedule_inst fk_payment_schedule_tmpl_id; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.ar_payment_schedule_inst + ADD CONSTRAINT fk_payment_schedule_tmpl_id FOREIGN KEY (payment_schedule_tmpl_id) REFERENCES public.ar_payment_schedule_tmpl(id); + + +-- +-- Name: billing_charge_instance fk_pgo533tdbe0f5aq3rqv6oaouv; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_charge_instance + ADD CONSTRAINT fk_pgo533tdbe0f5aq3rqv6oaouv FOREIGN KEY (trading_country) REFERENCES public.billing_trading_country(id); + + +-- +-- Name: cat_product_offer_seller fk_pos_product; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_product_offer_seller + ADD CONSTRAINT fk_pos_product FOREIGN KEY (product_id) REFERENCES public.cat_offer_template(id); + + +-- +-- Name: cat_product_offer_seller fk_pos_seller; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_product_offer_seller + ADD CONSTRAINT fk_pos_seller FOREIGN KEY (seller_id) REFERENCES public.crm_seller(id); + + +-- +-- Name: cat_price_plan_matrix fk_pp_script; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_price_plan_matrix + ADD CONSTRAINT fk_pp_script FOREIGN KEY (script_instance_id) REFERENCES public.meveo_script_instance(id); + + +-- +-- Name: cat_product_templ_charge_templ fk_prd_templ_ct_pct_id; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_product_templ_charge_templ + ADD CONSTRAINT fk_prd_templ_ct_pct_id FOREIGN KEY (product_charge_template_id) REFERENCES public.cat_charge_template(id); + + +-- +-- Name: cat_product_templ_charge_templ fk_prd_templ_ct_pt_id; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_product_templ_charge_templ + ADD CONSTRAINT fk_prd_templ_ct_pt_id FOREIGN KEY (product_template_id) REFERENCES public.cat_offer_template(id); + + +-- +-- Name: billing_product_instance fk_prod_instance_ua; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_product_instance + ADD CONSTRAINT fk_prod_instance_ua FOREIGN KEY (user_account_id) REFERENCES public.billing_user_account(id); + + +-- +-- Name: billing_product_instance fk_productci_off_tpl; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_product_instance + ADD CONSTRAINT fk_productci_off_tpl FOREIGN KEY (product_template_id) REFERENCES public.cat_offer_template(id); + + +-- +-- Name: billing_charge_instance fk_productci_prodins; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_charge_instance + ADD CONSTRAINT fk_productci_prodins FOREIGN KEY (product_instance_id) REFERENCES public.billing_product_instance(id); + + +-- +-- Name: crm_provider fk_provider_gdpr_config; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.crm_provider + ADD CONSTRAINT fk_provider_gdpr_config FOREIGN KEY (gdpr_config_id) REFERENCES public.adm_gdpr_configuration(id); + + +-- +-- Name: crm_provider fk_provider_invoice_config; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.crm_provider + ADD CONSTRAINT fk_provider_invoice_config FOREIGN KEY (invoice_config_id) REFERENCES public.billing_invoice_configuration(id); + + +-- +-- Name: ar_payment_schedule_tmpl fk_ps_calendar; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.ar_payment_schedule_tmpl + ADD CONSTRAINT fk_ps_calendar FOREIGN KEY (calendar_id) REFERENCES public.cat_calendar(id); + + +-- +-- Name: ar_payment_schedule_tmpl fk_ps_invoice_type; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.ar_payment_schedule_tmpl + ADD CONSTRAINT fk_ps_invoice_type FOREIGN KEY (adv_pay_inv_type_id) REFERENCES public.billing_invoice_type(id); + + +-- +-- Name: ar_payment_schedule_inst_item fk_ps_item_ps_innst; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.ar_payment_schedule_inst_item + ADD CONSTRAINT fk_ps_item_ps_innst FOREIGN KEY (payment_schedule_inst_id) REFERENCES public.ar_payment_schedule_inst(id); + + +-- +-- Name: ar_payment_schedule_tmpl fk_ps_script_instance; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.ar_payment_schedule_tmpl + ADD CONSTRAINT fk_ps_script_instance FOREIGN KEY (script_instance_id) REFERENCES public.meveo_script_instance(id); + + +-- +-- Name: ar_payment_schedule_tmpl fk_ps_service_template; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.ar_payment_schedule_tmpl + ADD CONSTRAINT fk_ps_service_template FOREIGN KEY (service_template_id) REFERENCES public.cat_service_template(id); + + +-- +-- Name: ar_payment_schedule_tmpl fk_ps_usage_charge; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.ar_payment_schedule_tmpl + ADD CONSTRAINT fk_ps_usage_charge FOREIGN KEY (adv_pay_sub_cat_id) REFERENCES public.billing_invoice_sub_cat(id); + + +-- +-- Name: billing_user_account fk_pvrmaqdyj4v7c2i5qa7cldvp6; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_user_account + ADD CONSTRAINT fk_pvrmaqdyj4v7c2i5qa7cldvp6 FOREIGN KEY (termin_reason_id) REFERENCES public.billing_subscrip_termin_reason(id); + + +-- +-- Name: billing_billing_run fk_pwbkc74fonnsw237agcx8q4yh; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_billing_run + ADD CONSTRAINT fk_pwbkc74fonnsw237agcx8q4yh FOREIGN KEY (pr_currency_id) REFERENCES public.adm_currency(id); + + +-- +-- Name: billing_user_account fk_q0dpia4wwv4l8x31b4ovxx7ce; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_user_account + ADD CONSTRAINT fk_q0dpia4wwv4l8x31b4ovxx7ce FOREIGN KEY (billing_account_id) REFERENCES public.billing_billing_account(id); + + +-- +-- Name: crm_provider fk_q2j1979epl7edcd9uogum5f7w; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.crm_provider + ADD CONSTRAINT fk_q2j1979epl7edcd9uogum5f7w FOREIGN KEY (country_id) REFERENCES public.adm_country(id); + + +-- +-- Name: report_emails fk_q4qvf0tlci0disibhrkhm1j3y; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.report_emails + ADD CONSTRAINT fk_q4qvf0tlci0disibhrkhm1j3y FOREIGN KEY (email_id) REFERENCES public.crm_email(id); + + +-- +-- Name: billing_subscription fk_q6d91d7b6bc2ypdbx4tjbr0ac; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_subscription + ADD CONSTRAINT fk_q6d91d7b6bc2ypdbx4tjbr0ac FOREIGN KEY (sub_termin_reason_id) REFERENCES public.billing_subscrip_termin_reason(id); + + +-- +-- Name: cat_price_plan_matrix fk_qfuhf684i6lsatohaxe9m2f61; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_price_plan_matrix + ADD CONSTRAINT fk_qfuhf684i6lsatohaxe9m2f61 FOREIGN KEY (offer_id) REFERENCES public.cat_offer_template(id); + + +-- +-- Name: adm_user_role fk_qm8p95secwfawo60ydmfexipj; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.adm_user_role + ADD CONSTRAINT fk_qm8p95secwfawo60ydmfexipj FOREIGN KEY (role_id) REFERENCES public.adm_role(id); + + +-- +-- Name: crm_provider fk_qnko98glwxl0fa47s3a2c13ib; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.crm_provider + ADD CONSTRAINT fk_qnko98glwxl0fa47s3a2c13ib FOREIGN KEY (customer_id) REFERENCES public.crm_customer(id); + + +-- +-- Name: com_contact_com_message fk_qt1luy1u282dcl8c3s8ct9erj; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.com_contact_com_message + ADD CONSTRAINT fk_qt1luy1u282dcl8c3s8ct9erj FOREIGN KEY (com_contact_id) REFERENCES public.com_contact(id); + + +-- +-- Name: billing_charge_instance fk_qy24ot93d7lan8ghf0gek7wfb; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_charge_instance + ADD CONSTRAINT fk_qy24ot93d7lan8ghf0gek7wfb FOREIGN KEY (trading_currency) REFERENCES public.billing_trading_currency(id); + + +-- +-- Name: dwh_measured_value fk_r84wig2o1808ybsy4jm0158aj; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.dwh_measured_value + ADD CONSTRAINT fk_r84wig2o1808ybsy4jm0158aj FOREIGN KEY (measurable_quantity) REFERENCES public.dwh_measurable_quant(id); + + +-- +-- Name: billing_cycle fk_r9kcmcn6nyrdvg5t81oowjf3q; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_cycle + ADD CONSTRAINT fk_r9kcmcn6nyrdvg5t81oowjf3q FOREIGN KEY (calendar) REFERENCES public.cat_calendar(id); + + +-- +-- Name: billing_rated_transaction fk_rating_billing_rated_transaction_cat_unit_of_measure; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE public.billing_rated_transaction + ADD CONSTRAINT fk_rating_billing_rated_transaction_cat_unit_of_measure FOREIGN KEY (rating_unitofmeasure) REFERENCES public.cat_unit_of_measure(id); + + +-- +-- Name: billing_wallet_operation fk_rating_billing_wallet_operation_cat_unit_of_measure; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE public.billing_wallet_operation + ADD CONSTRAINT fk_rating_billing_wallet_operation_cat_unit_of_measure FOREIGN KEY (rating_unitofmeasure) REFERENCES public.cat_unit_of_measure(id); + + +-- +-- Name: cat_charge_template fk_rating_cat_charge_template_cat_unit_of_measure; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_charge_template + ADD CONSTRAINT fk_rating_cat_charge_template_cat_unit_of_measure FOREIGN KEY (rating_unitofmeasure) REFERENCES public.cat_unit_of_measure(id); + + +-- +-- Name: com_msg_var_value fk_rebglohh2k5d8etwlemsy42ey; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.com_msg_var_value + ADD CONSTRAINT fk_rebglohh2k5d8etwlemsy42ey FOREIGN KEY (message) REFERENCES public.com_message(id); + + +-- +-- Name: dwh_report_extract fk_report_extract_script_instance; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.dwh_report_extract + ADD CONSTRAINT fk_report_extract_script_instance FOREIGN KEY (script_instance_id) REFERENCES public.meveo_script_instance(id); + + +-- +-- Name: bi_report_emails fk_rfbvc0x1132dpv5vumm8lp76f; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.bi_report_emails + ADD CONSTRAINT fk_rfbvc0x1132dpv5vumm8lp76f FOREIGN KEY (report_id) REFERENCES public.bi_report(id); + + +-- +-- Name: cat_serv_trm_charge_template fk_rfluuqo2xx0vxu0410qtcls6m; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_serv_trm_charge_template + ADD CONSTRAINT fk_rfluuqo2xx0vxu0410qtcls6m FOREIGN KEY (service_template_id) REFERENCES public.cat_service_template(id); + + +-- +-- Name: billing_rated_transaction fk_rjpm9k6xsumg297fxefffyryh; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE public.billing_rated_transaction + ADD CONSTRAINT fk_rjpm9k6xsumg297fxefffyryh FOREIGN KEY (aggregate_id_f) REFERENCES public.billing_invoice_agregate(id); + + +-- +-- Name: billing_chrginst_wallet fk_rmhpvs7y2f70xbo4v94cg0lmy; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_chrginst_wallet + ADD CONSTRAINT fk_rmhpvs7y2f70xbo4v94cg0lmy FOREIGN KEY (wallet_instance_id) REFERENCES public.billing_wallet(id); + + +-- +-- Name: adm_notif_history fk_ro7f48utjcqduq62a0h9veyse; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.adm_notif_history + ADD CONSTRAINT fk_ro7f48utjcqduq62a0h9veyse FOREIGN KEY (notification_id) REFERENCES public.adm_notification(id); + + +-- +-- Name: billing_wallet_operation fk_rt_charge; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE public.billing_wallet_operation + ADD CONSTRAINT fk_rt_charge FOREIGN KEY (charge_instance_id) REFERENCES public.billing_charge_instance(id); + + +-- +-- Name: billing_rated_transaction fk_rt_service_instance; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE public.billing_rated_transaction + ADD CONSTRAINT fk_rt_service_instance FOREIGN KEY (service_instance_id) REFERENCES public.billing_service_instance(id); + + +-- +-- Name: billing_rated_transaction fk_rt_tax; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE public.billing_rated_transaction + ADD CONSTRAINT fk_rt_tax FOREIGN KEY (tax_id) REFERENCES public.billing_tax(id); + + +-- +-- Name: billing_rated_transaction fk_rt_ua; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE public.billing_rated_transaction + ADD CONSTRAINT fk_rt_ua FOREIGN KEY (user_account_id) REFERENCES public.account_entity(id); + + +-- +-- Name: adm_country fk_rwj0gv80o7o8ufd4fgsweafcp; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.adm_country + ADD CONSTRAINT fk_rwj0gv80o7o8ufd4fgsweafcp FOREIGN KEY (language_id) REFERENCES public.adm_language(id); + + +-- +-- Name: cat_calendar_days fk_rwouj86saa1b0ox91xjgs05ea; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_calendar_days + ADD CONSTRAINT fk_rwouj86saa1b0ox91xjgs05ea FOREIGN KEY (calendar_id) REFERENCES public.cat_calendar(id); + + +-- +-- Name: crm_customer fk_rylbq2w5ij2o2lbubhv99m4ox; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.crm_customer + ADD CONSTRAINT fk_rylbq2w5ij2o2lbubhv99m4ox FOREIGN KEY (id) REFERENCES public.account_entity(id); + + +-- +-- Name: adm_role_permission fk_s1wxui3m4sv9x5mbyi8gp77hu; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.adm_role_permission + ADD CONSTRAINT fk_s1wxui3m4sv9x5mbyi8gp77hu FOREIGN KEY (role_id) REFERENCES public.adm_role(id); + + +-- +-- Name: adm_file_format_file_type fk_s1wxui3m4sv9x5mbyi8gpbari77hu; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.adm_file_format_file_type + ADD CONSTRAINT fk_s1wxui3m4sv9x5mbyi8gpbari77hu FOREIGN KEY (file_type_id) REFERENCES public.adm_file_type(id); + + +-- +-- Name: adm_script_exec_role fk_sc_exc_role_role; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.adm_script_exec_role + ADD CONSTRAINT fk_sc_exc_role_role FOREIGN KEY (role_id) REFERENCES public.adm_role(id); + + +-- +-- Name: adm_script_exec_role fk_sc_exc_role_sc; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.adm_script_exec_role + ADD CONSTRAINT fk_sc_exc_role_sc FOREIGN KEY (script_instance_id) REFERENCES public.meveo_script_instance(id); + + +-- +-- Name: adm_script_sourc_role fk_sc_src_role_role; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.adm_script_sourc_role + ADD CONSTRAINT fk_sc_src_role_role FOREIGN KEY (role_id) REFERENCES public.adm_role(id); + + +-- +-- Name: adm_script_sourc_role fk_sc_src_role_sc; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.adm_script_sourc_role + ADD CONSTRAINT fk_sc_src_role_sc FOREIGN KEY (script_instance_id) REFERENCES public.meveo_script_instance(id); + + +-- +-- Name: ar_account_operation fk_sell_id_ao; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.ar_account_operation + ADD CONSTRAINT fk_sell_id_ao FOREIGN KEY (seller_id) REFERENCES public.crm_seller(id); + + +-- +-- Name: ar_ddrequest_lot fk_sell_id_dd_lot; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.ar_ddrequest_lot + ADD CONSTRAINT fk_sell_id_dd_lot FOREIGN KEY (seller_id) REFERENCES public.crm_seller(id); + + +-- +-- Name: ar_payment_gateway fk_sell_id_pg; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.ar_payment_gateway + ADD CONSTRAINT fk_sell_id_pg FOREIGN KEY (seller_id) REFERENCES public.crm_seller(id); + + +-- +-- Name: cat_serv_rec_charge_template fk_serv_rec_charge_template_counter_template; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_serv_rec_charge_template + ADD CONSTRAINT fk_serv_rec_charge_template_counter_template FOREIGN KEY (counter_template_id) REFERENCES public.cat_counter_template(id); + + +-- +-- Name: cat_serv_sub_charge_template fk_serv_sub_charge_template_counter_template; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_serv_sub_charge_template + ADD CONSTRAINT fk_serv_sub_charge_template_counter_template FOREIGN KEY (counter_template_id) REFERENCES public.cat_counter_template(id); + + +-- +-- Name: cat_serv_trm_charge_template fk_serv_trm_charge_template_counter_template; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_serv_trm_charge_template + ADD CONSTRAINT fk_serv_trm_charge_template_counter_template FOREIGN KEY (counter_template_id) REFERENCES public.cat_counter_template(id); + + +-- +-- Name: ar_payment_schedule_inst fk_service_instance_id; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.ar_payment_schedule_inst + ADD CONSTRAINT fk_service_instance_id FOREIGN KEY (service_instance_id) REFERENCES public.billing_service_instance(id); + + +-- +-- Name: billing_service_instance fk_si_auto_tr_id; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_service_instance + ADD CONSTRAINT fk_si_auto_tr_id FOREIGN KEY (auto_termin_reason_id) REFERENCES public.billing_subscrip_termin_reason(id); + + +-- +-- Name: billing_service_instance fk_si_init_active; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_service_instance + ADD CONSTRAINT fk_si_init_active FOREIGN KEY (calendar_init_active_id) REFERENCES public.cat_calendar(id); + + +-- +-- Name: billing_service_instance fk_si_minimum_charge_template_id; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_service_instance + ADD CONSTRAINT fk_si_minimum_charge_template_id FOREIGN KEY (minimum_charge_template_id) REFERENCES public.cat_charge_template(id); + + +-- +-- Name: billing_service_instance fk_si_renew_for; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_service_instance + ADD CONSTRAINT fk_si_renew_for FOREIGN KEY (calendar_renew_for_id) REFERENCES public.cat_calendar(id); + + +-- +-- Name: ar_customer_account fk_sj9gf0r8v1hjihl7qosbtnfdp; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.ar_customer_account + ADD CONSTRAINT fk_sj9gf0r8v1hjihl7qosbtnfdp FOREIGN KEY (trading_currency_id) REFERENCES public.billing_trading_currency(id); + + +-- +-- Name: cat_service_template fk_st_auto_tr_id; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_service_template + ADD CONSTRAINT fk_st_auto_tr_id FOREIGN KEY (auto_termin_reason_id) REFERENCES public.billing_subscrip_termin_reason(id); + + +-- +-- Name: cat_service_template fk_st_init_active; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_service_template + ADD CONSTRAINT fk_st_init_active FOREIGN KEY (calendar_init_active_id) REFERENCES public.cat_calendar(id); + + +-- +-- Name: cat_service_template fk_st_minimum_charge_template_id; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_service_template + ADD CONSTRAINT fk_st_minimum_charge_template_id FOREIGN KEY (minimum_charge_template_id) REFERENCES public.cat_charge_template(id); + + +-- +-- Name: cat_service_template fk_st_renew_for; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_service_template + ADD CONSTRAINT fk_st_renew_for FOREIGN KEY (calendar_renew_for_id) REFERENCES public.cat_calendar(id); + + +-- +-- Name: wf_status fk_status_generic_wf; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.wf_status + ADD CONSTRAINT fk_status_generic_wf FOREIGN KEY (generic_wf_id) REFERENCES public.wf_generic_workflow(id) ON UPDATE CASCADE ON DELETE CASCADE; + + +-- +-- Name: billing_tax_language fk_stn0ce8rlgqun9j1acm9nx8tk; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_tax_language + ADD CONSTRAINT fk_stn0ce8rlgqun9j1acm9nx8tk FOREIGN KEY (tax_id) REFERENCES public.billing_tax(id); + + +-- +-- Name: billing_subscription fk_su_minimum_charge_template_id; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_subscription + ADD CONSTRAINT fk_su_minimum_charge_template_id FOREIGN KEY (minimum_charge_template_id) REFERENCES public.cat_charge_template(id); + + +-- +-- Name: billing_subscription fk_sub_auto_tr_id; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_subscription + ADD CONSTRAINT fk_sub_auto_tr_id FOREIGN KEY (auto_termin_reason_id) REFERENCES public.billing_subscrip_termin_reason(id); + + +-- +-- Name: billing_subscription fk_sub_email_template; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_subscription + ADD CONSTRAINT fk_sub_email_template FOREIGN KEY (email_template_id) REFERENCES public.com_message_template(id); + + +-- +-- Name: billing_discplan_inst fk_syr7kuj91e9nvtj725becu8sr; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_discplan_inst + ADD CONSTRAINT fk_syr7kuj91e9nvtj725becu8sr FOREIGN KEY (billing_account_id) REFERENCES public.billing_billing_account(id); + + +-- +-- Name: billing_wallet_operation fk_t98kqb1prnfw6scvudimx1u0q; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE public.billing_wallet_operation + ADD CONSTRAINT fk_t98kqb1prnfw6scvudimx1u0q FOREIGN KEY (currency_id) REFERENCES public.adm_currency(id); + + +-- +-- Name: billing_invoice_sub_cat fk_thcocka474paj6d2ql8nnsvu1; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_invoice_sub_cat + ADD CONSTRAINT fk_thcocka474paj6d2ql8nnsvu1 FOREIGN KEY (invoice_category_id) REFERENCES public.billing_invoice_cat(id); + + +-- +-- Name: cat_serv_usage_wallet_template fk_tiptj63pxitxaivwa5pc9m6gm; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_serv_usage_wallet_template + ADD CONSTRAINT fk_tiptj63pxitxaivwa5pc9m6gm FOREIGN KEY (service_usage_templt_id) REFERENCES public.cat_serv_usage_charge_template(id); + + +-- +-- Name: cat_calendar fk_tl28syslj879hbfvlau8n4gym; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.cat_calendar + ADD CONSTRAINT fk_tl28syslj879hbfvlau8n4gym FOREIGN KEY (join_cal_1_id) REFERENCES public.cat_calendar(id); + + +-- +-- Name: billing_trading_currency fk_tmo8nfjd2matrvhtdgw1fp7m2; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_trading_currency + ADD CONSTRAINT fk_tmo8nfjd2matrvhtdgw1fp7m2 FOREIGN KEY (currency_id) REFERENCES public.adm_currency(id); + + +-- +-- Name: wf_generic_transition fk_transition_generic_wf; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.wf_generic_transition + ADD CONSTRAINT fk_transition_generic_wf FOREIGN KEY (generic_wf_id) REFERENCES public.wf_generic_workflow(id) ON UPDATE CASCADE ON DELETE CASCADE; + + +-- +-- Name: wf_transition_decision_rule fk_transition_id_wf_transition; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.wf_transition_decision_rule + ADD CONSTRAINT fk_transition_id_wf_transition FOREIGN KEY (transition_id) REFERENCES public.wf_transition(id); + + +-- +-- Name: com_meveo_instance fk_userid; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.com_meveo_instance + ADD CONSTRAINT fk_userid FOREIGN KEY (user_id) REFERENCES public.adm_user(id); + + +-- +-- Name: billing_wallet_operation fk_wallet_operation_service_instance; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE public.billing_wallet_operation + ADD CONSTRAINT fk_wallet_operation_service_instance FOREIGN KEY (service_instance_id) REFERENCES public.billing_service_instance(id); + + +-- +-- Name: wf_generic_transition fk_wf_action_script; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.wf_generic_transition + ADD CONSTRAINT fk_wf_action_script FOREIGN KEY (action_script_id) REFERENCES public.meveo_script_instance(id); + + +-- +-- Name: ar_matching_amount fk_wnbeqoiv9cho17331pob3t8j; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.ar_matching_amount + ADD CONSTRAINT fk_wnbeqoiv9cho17331pob3t8j FOREIGN KEY (matching_code_id) REFERENCES public.ar_matching_code(id); + + +-- +-- Name: billing_wallet_operation fk_wo_tax; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE public.billing_wallet_operation + ADD CONSTRAINT fk_wo_tax FOREIGN KEY (tax_id) REFERENCES public.billing_tax(id); + + +-- +-- Name: wf_history_action fk_workflow_history_wf_history_action_wf_history; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.wf_history_action + ADD CONSTRAINT fk_workflow_history_wf_history_action_wf_history FOREIGN KEY (wf_history_id) REFERENCES public.wf_history(id); + + +-- +-- Name: wf_history fk_workflow_wf_history_wf_workflow; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.wf_history + ADD CONSTRAINT fk_workflow_wf_history_wf_workflow FOREIGN KEY (workflow_id) REFERENCES public.wf_workflow(id); + + +-- +-- Name: billing_invoice_agregate fkc92fa77a520f2e17; Type: FK CONSTRAINT; Schema: public; Owner: uat_postgres +-- + +ALTER TABLE ONLY public.billing_invoice_agregate + ADD CONSTRAINT fkc92fa77a520f2e17 FOREIGN KEY (sub_cat_invoice_agregate_id) REFERENCES public.billing_invoice_agregate(id); + + +-- +-- PostgreSQL database dump complete +-- + diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..e574ff7 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,80 @@ +version: '3.8' +x-postgres-common: + &postgres-common + image: postgres:16.3-alpine3.20 + user: postgres + restart: always + healthcheck: + test: 'pg_isready -U mt_qa_postgres --dbname=mt_qa_billing' + interval: 10s + timeout: 5s + retries: 5 + +services: + postgres_primary: + <<: *postgres-common + container_name: postgres_primary + ports: + - 172.20.64.140:5432:5432 + environment: + POSTGRES_USER: "mt_qa_postgres" + POSTGRES_DB: "mt_qa_billing" + POSTGRES_PASSWORD: "xM9A4!exJbQNhqJ" + POSTGRES_HOST_AUTH_METHOD: "scram-sha-256\nhost replication all 0.0.0.0/0 md5" + POSTGRES_INITDB_ARGS: "--auth-host=scram-sha-256" + command: | + postgres + -c wal_level=replica + -c hot_standby=on + -c max_wal_senders=10 + -c max_replication_slots=10 + -c hot_standby_feedback=on + volumes: + - ./scripts/00_init.sql:/docker-entrypoint-initdb.d/00_init.sql + - pgprimary_data:/var/lib/postgresql/data + # - ./config/postgresql.conf:/var/lib/postgresql/data/postgresql.conf + networks: + - portal_qa + + postgres_replica: + <<: *postgres-common + container_name: postgres_replica + ports: + - 172.20.64.140:5433:5432 + environment: + PGUSER: "replicator" + PGPASSWORD: "pP5UUJM0mj5b7rZMU5C6" + volumes: + - pgreplica_data:/var/lib/postgresql/data + command: | + bash -c " + until pg_basebackup --pgdata=/var/lib/postgresql/data -R --slot=replication_slot --host=postgres_primary --port=5432 + do + echo 'Waiting for primary to connect...' + sleep 1s + done + echo 'Backup done, starting replica...' + chmod 0700 /var/lib/postgresql/data + postgres + " + depends_on: + - postgres_primary + networks: + - portal_qa + +volumes: + pgprimary_data: + driver: local + driver_opts: + o: bind + type: none + device: /data/container_volumes/pgprimary_data + pgreplica_data: + driver: local + driver_opts: + o: bind + type: none + device: /data/container_volumes/pgreplica_data +networks: + portal_qa: + external: true diff --git a/scripts/00_init.sql b/scripts/00_init.sql new file mode 100644 index 0000000..0664b43 --- /dev/null +++ b/scripts/00_init.sql @@ -0,0 +1,2 @@ +CREATE USER replicator WITH REPLICATION ENCRYPTED PASSWORD 'pP5UUJM0mj5b7rZMU5C6'; +SELECT pg_create_physical_replication_slot('replication_slot');