COPY public.website_visitor (id, website_id, partner_id, country_id, lang_id, visit_count, create_uid, write_uid, access_token, timezone, create_date, last_connection_datetime, write_date, livechat_operator_id) FROM stdin;
1	1	3	\N	1	5	2	2	3	Asia/Saigon	2025-06-18 16:05:42.368058	2025-08-19 08:08:28.751539	2025-06-19 03:05:48.88343	\N
35	1	\N	\N	1	1	4	4	05aa6f4fe4bddfb018b271b0c48a23f6	Asia/Saigon	2025-11-04 07:32:06.582316	2025-11-04 07:32:06.582316	2025-11-04 07:32:06.582316	\N
36	1	\N	\N	86	1	4	4	f931e64d217839852fa6020fc2b7fe66	Asia/Bangkok	2025-11-05 00:42:51.950415	2025-11-05 00:42:51.950415	2025-11-05 00:42:51.950415	\N
\.


--
-- Data for Name: wizard_ir_model_menu_create; Type: TABLE DATA; Schema: public; Owner: odoo
--

COPY public.wizard_ir_model_menu_create (id, menu_id, create_uid, write_uid, name, create_date, write_date) FROM stdin;
\.


--
-- Name: account_account_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.account_account_id_seq', 199, true);


--
-- Name: account_account_tag_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.account_account_tag_id_seq', 27, true);


--
-- Name: account_account_template_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.account_account_template_id_seq', 192, true);


--
-- Name: account_accrued_orders_wizard_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.account_accrued_orders_wizard_id_seq', 1, false);


--
-- Name: account_analytic_account_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.account_analytic_account_id_seq', 1, false);


--
-- Name: account_analytic_applicability_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.account_analytic_applicability_id_seq', 1, false);


--
-- Name: account_analytic_distribution_model_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.account_analytic_distribution_model_id_seq', 1, false);


--
-- Name: account_analytic_line_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.account_analytic_line_id_seq', 1, false);


--
-- Name: account_analytic_plan_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.account_analytic_plan_id_seq', 1, true);


--
-- Name: account_automatic_entry_wizard_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.account_automatic_entry_wizard_id_seq', 1, false);


--
-- Name: account_bank_statement_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.account_bank_statement_id_seq', 1, false);


--
-- Name: account_bank_statement_line_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.account_bank_statement_line_id_seq', 1, false);


--
-- Name: account_cash_rounding_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.account_cash_rounding_id_seq', 1, false);


--
-- Name: account_chart_template_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.account_chart_template_id_seq', 1, true);


--
-- Name: account_edi_document_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.account_edi_document_id_seq', 1, false);


--
-- Name: account_edi_format_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.account_edi_format_id_seq', 8, true);


--
-- Name: account_financial_year_op_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.account_financial_year_op_id_seq', 1, false);


--
-- Name: account_fiscal_position_account_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.account_fiscal_position_account_id_seq', 1, false);


--
-- Name: account_fiscal_position_account_template_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.account_fiscal_position_account_template_id_seq', 1, false);


--
-- Name: account_fiscal_position_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.account_fiscal_position_id_seq', 1, false);


--
-- Name: account_fiscal_position_tax_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.account_fiscal_position_tax_id_seq', 1, false);


--
-- Name: account_fiscal_position_tax_template_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.account_fiscal_position_tax_template_id_seq', 1, false);


--
-- Name: account_fiscal_position_template_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.account_fiscal_position_template_id_seq', 1, false);


--
-- Name: account_full_reconcile_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.account_full_reconcile_id_seq', 1, false);


--
-- Name: account_group_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.account_group_id_seq', 1, false);


--
-- Name: account_group_template_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.account_group_template_id_seq', 1, false);


--
-- Name: account_incoterms_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.account_incoterms_id_seq', 11, true);


--
-- Name: account_invoice_send_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.account_invoice_send_id_seq', 1, false);


--
-- Name: account_journal_group_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.account_journal_group_id_seq', 1, false);


--
-- Name: account_journal_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.account_journal_id_seq', 8, true);


--
-- Name: account_move_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.account_move_id_seq', 1, false);


--
-- Name: account_move_line_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.account_move_line_id_seq', 1, false);


--
-- Name: account_move_reversal_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.account_move_reversal_id_seq', 1, false);


--
-- Name: account_partial_reconcile_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.account_partial_reconcile_id_seq', 1, false);


--
-- Name: account_payment_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.account_payment_id_seq', 1, false);


--
-- Name: account_payment_method_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.account_payment_method_id_seq', 2, true);


--
-- Name: account_payment_method_line_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.account_payment_method_line_id_seq', 4, true);


--
-- Name: account_payment_register_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.account_payment_register_id_seq', 1, false);


--
-- Name: account_payment_term_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.account_payment_term_id_seq', 10, true);


--
-- Name: account_payment_term_line_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.account_payment_term_line_id_seq', 11, true);


--
-- Name: account_reconcile_model_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.account_reconcile_model_id_seq', 2, true);


--
-- Name: account_reconcile_model_line_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.account_reconcile_model_line_id_seq', 1, false);


--
-- Name: account_reconcile_model_line_template_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.account_reconcile_model_line_template_id_seq', 1, false);


--
-- Name: account_reconcile_model_partner_mapping_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.account_reconcile_model_partner_mapping_id_seq', 1, false);


--
-- Name: account_reconcile_model_template_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.account_reconcile_model_template_id_seq', 1, false);


--
-- Name: account_report_column_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.account_report_column_id_seq', 7, true);


--
-- Name: account_report_expression_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.account_report_expression_id_seq', 18, true);


--
-- Name: account_report_external_value_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.account_report_external_value_id_seq', 1, false);


--
-- Name: account_report_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.account_report_id_seq', 4, true);


--
-- Name: account_report_line_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.account_report_line_id_seq', 18, true);


--
-- Name: account_resequence_wizard_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.account_resequence_wizard_id_seq', 1, false);


--
-- Name: account_setup_bank_manual_config_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.account_setup_bank_manual_config_id_seq', 1, false);


--
-- Name: account_tax_group_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.account_tax_group_id_seq', 4, true);


--
-- Name: account_tax_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.account_tax_id_seq', 6, true);


--
-- Name: account_tax_repartition_line_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.account_tax_repartition_line_id_seq', 24, true);


--
-- Name: account_tax_repartition_line_template_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.account_tax_repartition_line_template_id_seq', 24, true);


--
-- Name: account_tax_template_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.account_tax_template_id_seq', 6, true);


--
-- Name: account_tour_upload_bill_email_confirm_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.account_tour_upload_bill_email_confirm_id_seq', 1, false);


--
-- Name: account_tour_upload_bill_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.account_tour_upload_bill_id_seq', 1, false);


--
-- Name: account_unreconcile_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.account_unreconcile_id_seq', 1, false);


--
-- Name: auth_totp_device_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.auth_totp_device_id_seq', 1, false);


--
-- Name: auth_totp_wizard_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.auth_totp_wizard_id_seq', 1, false);


--
-- Name: barcode_nomenclature_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.barcode_nomenclature_id_seq', 2, true);


--
-- Name: barcode_rule_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.barcode_rule_id_seq', 34, true);


--
-- Name: base_cache_signaling; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.base_cache_signaling', 23, true);


--
-- Name: base_document_layout_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.base_document_layout_id_seq', 1, false);


--
-- Name: base_enable_profiling_wizard_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.base_enable_profiling_wizard_id_seq', 1, false);


--
-- Name: base_import_import_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.base_import_import_id_seq', 1, false);


--
-- Name: base_import_mapping_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.base_import_mapping_id_seq', 1, false);


--
-- Name: base_import_tests_models_char_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.base_import_tests_models_char_id_seq', 1, false);


--
-- Name: base_import_tests_models_char_noreadonly_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.base_import_tests_models_char_noreadonly_id_seq', 1, false);


--
-- Name: base_import_tests_models_char_readonly_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.base_import_tests_models_char_readonly_id_seq', 1, false);


--
-- Name: base_import_tests_models_char_required_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.base_import_tests_models_char_required_id_seq', 1, false);


--
-- Name: base_import_tests_models_char_states_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.base_import_tests_models_char_states_id_seq', 1, false);


--
-- Name: base_import_tests_models_char_stillreadonly_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.base_import_tests_models_char_stillreadonly_id_seq', 1, false);


--
-- Name: base_import_tests_models_complex_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.base_import_tests_models_complex_id_seq', 1, false);


--
-- Name: base_import_tests_models_float_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.base_import_tests_models_float_id_seq', 1, false);


--
-- Name: base_import_tests_models_m2o_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.base_import_tests_models_m2o_id_seq', 1, false);


--
-- Name: base_import_tests_models_m2o_related_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.base_import_tests_models_m2o_related_id_seq', 1, false);


--
-- Name: base_import_tests_models_m2o_required_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.base_import_tests_models_m2o_required_id_seq', 1, false);


--
-- Name: base_import_tests_models_m2o_required_related_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.base_import_tests_models_m2o_required_related_id_seq', 1, false);


--
-- Name: base_import_tests_models_o2m_child_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.base_import_tests_models_o2m_child_id_seq', 1, false);


--
-- Name: base_import_tests_models_o2m_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.base_import_tests_models_o2m_id_seq', 1, false);


--
-- Name: base_import_tests_models_preview_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.base_import_tests_models_preview_id_seq', 1, false);


--
-- Name: base_language_export_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.base_language_export_id_seq', 1, false);


--
-- Name: base_language_import_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.base_language_import_id_seq', 1, false);


--
-- Name: base_language_install_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.base_language_install_id_seq', 3, true);


--
-- Name: base_module_install_request_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.base_module_install_request_id_seq', 1, false);


--
-- Name: base_module_install_review_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.base_module_install_review_id_seq', 1, false);


--
-- Name: base_module_uninstall_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.base_module_uninstall_id_seq', 1, false);


--
-- Name: base_module_update_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.base_module_update_id_seq', 1, false);


--
-- Name: base_module_upgrade_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.base_module_upgrade_id_seq', 1, false);


--
-- Name: base_partner_merge_automatic_wizard_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.base_partner_merge_automatic_wizard_id_seq', 1, false);


--
-- Name: base_partner_merge_line_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.base_partner_merge_line_id_seq', 1, false);


--
-- Name: base_registry_signaling; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.base_registry_signaling', 11, true);


--
-- Name: bus_bus_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.bus_bus_id_seq', 32, true);


--
-- Name: bus_presence_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.bus_presence_id_seq', 1, true);


--
-- Name: calendar_alarm_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.calendar_alarm_id_seq', 7, true);


--
-- Name: calendar_attendee_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.calendar_attendee_id_seq', 1, false);


--
-- Name: calendar_event_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.calendar_event_id_seq', 1, false);


--
-- Name: calendar_event_type_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.calendar_event_type_id_seq', 1, false);


--
-- Name: calendar_filters_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.calendar_filters_id_seq', 1, false);


--
-- Name: calendar_provider_config_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.calendar_provider_config_id_seq', 1, false);


--
-- Name: calendar_recurrence_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.calendar_recurrence_id_seq', 1, false);


--
-- Name: change_password_own_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.change_password_own_id_seq', 1, false);


--
-- Name: change_password_user_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.change_password_user_id_seq', 1, false);


--
-- Name: change_password_wizard_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.change_password_wizard_id_seq', 1, false);


--
-- Name: chatbot_message_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.chatbot_message_id_seq', 1, false);


--
-- Name: chatbot_script_answer_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.chatbot_script_answer_id_seq', 3, true);


--
-- Name: chatbot_script_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.chatbot_script_id_seq', 2, true);


--
-- Name: chatbot_script_step_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.chatbot_script_step_id_seq', 14, true);


--
-- Name: confirm_stock_sms_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.confirm_stock_sms_id_seq', 1, false);


--
-- Name: crm_iap_lead_helpers_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.crm_iap_lead_helpers_id_seq', 1, false);


--
-- Name: crm_iap_lead_industry_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.crm_iap_lead_industry_id_seq', 23, true);


--
-- Name: crm_iap_lead_mining_request_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.crm_iap_lead_mining_request_id_seq', 1, false);


--
-- Name: crm_iap_lead_role_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.crm_iap_lead_role_id_seq', 22, true);


--
-- Name: crm_iap_lead_seniority_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.crm_iap_lead_seniority_id_seq', 3, true);


--
-- Name: crm_lead2opportunity_partner_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.crm_lead2opportunity_partner_id_seq', 1, false);


--
-- Name: crm_lead2opportunity_partner_mass_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.crm_lead2opportunity_partner_mass_id_seq', 1, false);


--
-- Name: crm_lead_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.crm_lead_id_seq', 1, false);


--
-- Name: crm_lead_lost_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.crm_lead_lost_id_seq', 1, false);


--
-- Name: crm_lead_pls_update_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.crm_lead_pls_update_id_seq', 1, false);


--
-- Name: crm_lead_scoring_frequency_field_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.crm_lead_scoring_frequency_field_id_seq', 7, true);


--
-- Name: crm_lead_scoring_frequency_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.crm_lead_scoring_frequency_id_seq', 1, false);


--
-- Name: crm_lost_reason_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.crm_lost_reason_id_seq', 3, true);


--
-- Name: crm_merge_opportunity_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.crm_merge_opportunity_id_seq', 1, false);


--
-- Name: crm_quotation_partner_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.crm_quotation_partner_id_seq', 1, false);


--
-- Name: crm_recurring_plan_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.crm_recurring_plan_id_seq', 4, true);


--
-- Name: crm_stage_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.crm_stage_id_seq', 4, true);


--
-- Name: crm_tag_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.crm_tag_id_seq', 1, false);


--
-- Name: crm_team_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.crm_team_id_seq', 4, true);


--
-- Name: crm_team_member_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.crm_team_member_id_seq', 1, true);


--
-- Name: decimal_precision_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.decimal_precision_id_seq', 7, true);


--
-- Name: digest_digest_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.digest_digest_id_seq', 1, true);


--
-- Name: digest_tip_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.digest_tip_id_seq', 26, true);


--
-- Name: fetchmail_server_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.fetchmail_server_id_seq', 1, false);


--
-- Name: gamification_badge_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.gamification_badge_id_seq', 4, true);


--
-- Name: gamification_badge_user_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.gamification_badge_user_id_seq', 1, false);


--
-- Name: gamification_badge_user_wizard_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.gamification_badge_user_wizard_id_seq', 1, false);


--
-- Name: gamification_challenge_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.gamification_challenge_id_seq', 4, true);


--
-- Name: gamification_challenge_line_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.gamification_challenge_line_id_seq', 8, true);


--
-- Name: gamification_goal_definition_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.gamification_goal_definition_id_seq', 14, true);


--
-- Name: gamification_goal_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.gamification_goal_id_seq', 4, true);


--
-- Name: gamification_goal_wizard_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.gamification_goal_wizard_id_seq', 1, false);


--
-- Name: gamification_karma_rank_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.gamification_karma_rank_id_seq', 5, true);


--
-- Name: gamification_karma_tracking_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.gamification_karma_tracking_id_seq', 4, true);


--
-- Name: hr_contract_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.hr_contract_id_seq', 1, false);


--
-- Name: hr_contract_type_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.hr_contract_type_id_seq', 1, false);


--
-- Name: hr_department_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.hr_department_id_seq', 2, true);


--
-- Name: hr_departure_reason_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.hr_departure_reason_id_seq', 3, true);


--
-- Name: hr_departure_wizard_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.hr_departure_wizard_id_seq', 1, false);


--
-- Name: hr_employee_category_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.hr_employee_category_id_seq', 1, false);


--
-- Name: hr_employee_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.hr_employee_id_seq', 1, true);


--
-- Name: hr_expense_approve_duplicate_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.hr_expense_approve_duplicate_id_seq', 1, false);


--
-- Name: hr_expense_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.hr_expense_id_seq', 1, false);


--
-- Name: hr_expense_refuse_wizard_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.hr_expense_refuse_wizard_id_seq', 1, false);


--
-- Name: hr_expense_sheet_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.hr_expense_sheet_id_seq', 1, false);


--
-- Name: hr_expense_split_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.hr_expense_split_id_seq', 1, false);


--
-- Name: hr_expense_split_wizard_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.hr_expense_split_wizard_id_seq', 1, false);


--
-- Name: hr_job_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.hr_job_id_seq', 1, false);


--
-- Name: hr_payroll_structure_type_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.hr_payroll_structure_type_id_seq', 4, true);


--
-- Name: hr_plan_activity_type_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.hr_plan_activity_type_id_seq', 5, true);


--
-- Name: hr_plan_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.hr_plan_id_seq', 2, true);


--
-- Name: hr_plan_wizard_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.hr_plan_wizard_id_seq', 1, false);


--
-- Name: hr_work_location_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.hr_work_location_id_seq', 1, false);


--
-- Name: iap_account_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.iap_account_id_seq', 1, false);


--
-- Name: im_livechat_channel_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.im_livechat_channel_id_seq', 1, true);


--
-- Name: im_livechat_channel_rule_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.im_livechat_channel_rule_id_seq', 1, false);


--
-- Name: ir_act_window_view_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.ir_act_window_view_id_seq', 175, true);


--
-- Name: ir_actions_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.ir_actions_id_seq', 624, true);


--
-- Name: ir_actions_todo_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.ir_actions_todo_id_seq', 3, true);


--
-- Name: ir_asset_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.ir_asset_id_seq', 89, true);


--
-- Name: ir_attachment_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.ir_attachment_id_seq', 457, true);


--
-- Name: ir_config_parameter_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.ir_config_parameter_id_seq', 29, true);


--
-- Name: ir_cron_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.ir_cron_id_seq', 31, true);


--
-- Name: ir_cron_trigger_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.ir_cron_trigger_id_seq', 9, true);


--
-- Name: ir_default_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.ir_default_id_seq', 1, true);


--
-- Name: ir_demo_failure_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.ir_demo_failure_id_seq', 1, false);


--
-- Name: ir_demo_failure_wizard_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.ir_demo_failure_wizard_id_seq', 1, false);


--
-- Name: ir_demo_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.ir_demo_id_seq', 1, false);


--
-- Name: ir_exports_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.ir_exports_id_seq', 1, false);


--
-- Name: ir_exports_line_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.ir_exports_line_id_seq', 1, false);


--
-- Name: ir_filters_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.ir_filters_id_seq', 5, true);


--
-- Name: ir_logging_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.ir_logging_id_seq', 1, false);


--
-- Name: ir_mail_server_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.ir_mail_server_id_seq', 1, false);


--
-- Name: ir_model_access_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.ir_model_access_id_seq', 1000, true);


--
-- Name: ir_model_constraint_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.ir_model_constraint_id_seq', 2515, true);


--
-- Name: ir_model_data_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.ir_model_data_id_seq', 34456, true);


--
-- Name: ir_model_fields_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.ir_model_fields_id_seq', 11146, true);


--
-- Name: ir_model_fields_selection_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.ir_model_fields_selection_id_seq', 1770, true);


--
-- Name: ir_model_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.ir_model_id_seq', 722, true);


--
-- Name: ir_model_relation_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.ir_model_relation_id_seq', 187, true);


--
-- Name: ir_module_category_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.ir_module_category_id_seq', 88, true);


--
-- Name: ir_module_module_dependency_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.ir_module_module_dependency_id_seq', 1125, true);


--
-- Name: ir_module_module_exclusion_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.ir_module_module_exclusion_id_seq', 1, false);


--
-- Name: ir_module_module_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.ir_module_module_id_seq', 565, true);


--
-- Name: ir_profile_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.ir_profile_id_seq', 1, false);


--
-- Name: ir_property_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.ir_property_id_seq', 35, true);


--
-- Name: ir_rule_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.ir_rule_id_seq', 250, true);


--
-- Name: ir_sequence_001; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.ir_sequence_001', 1, false);


--
-- Name: ir_sequence_002; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.ir_sequence_002', 1, false);


--
-- Name: ir_sequence_003; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.ir_sequence_003', 1, false);


--
-- Name: ir_sequence_004; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.ir_sequence_004', 1, false);


--
-- Name: ir_sequence_005; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.ir_sequence_005', 1, false);


--
-- Name: ir_sequence_006; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.ir_sequence_006', 1, false);


--
-- Name: ir_sequence_007; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.ir_sequence_007', 1, false);


--
-- Name: ir_sequence_008; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.ir_sequence_008', 1, false);


--
-- Name: ir_sequence_009; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.ir_sequence_009', 1, false);


--
-- Name: ir_sequence_010; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.ir_sequence_010', 1, false);


--
-- Name: ir_sequence_011; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.ir_sequence_011', 1, false);


--
-- Name: ir_sequence_012; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.ir_sequence_012', 1, false);


--
-- Name: ir_sequence_013; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.ir_sequence_013', 1, false);


--
-- Name: ir_sequence_014; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.ir_sequence_014', 1, false);


--
-- Name: ir_sequence_015; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.ir_sequence_015', 1, false);


--
-- Name: ir_sequence_016; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.ir_sequence_016', 1, false);


--
-- Name: ir_sequence_017; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.ir_sequence_017', 1, false);


--
-- Name: ir_sequence_date_range_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.ir_sequence_date_range_id_seq', 1, false);


--
-- Name: ir_sequence_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.ir_sequence_id_seq', 17, true);


--
-- Name: ir_server_object_lines_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.ir_server_object_lines_id_seq', 1, false);


--
-- Name: ir_ui_menu_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.ir_ui_menu_id_seq', 433, true);


--
-- Name: ir_ui_view_custom_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.ir_ui_view_custom_id_seq', 1, false);


--
-- Name: ir_ui_view_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.ir_ui_view_id_seq', 2113, true);


--
-- Name: link_tracker_click_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.link_tracker_click_id_seq', 1, false);


--
-- Name: link_tracker_code_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.link_tracker_code_id_seq', 1, false);


--
-- Name: link_tracker_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.link_tracker_id_seq', 1, false);


--
-- Name: lot_label_layout_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.lot_label_layout_id_seq', 1, false);


--
-- Name: mail_activity_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.mail_activity_id_seq', 1, false);


--
-- Name: mail_activity_type_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.mail_activity_type_id_seq', 9, true);


--
-- Name: mail_alias_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.mail_alias_id_seq', 7, true);


--
-- Name: mail_blacklist_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.mail_blacklist_id_seq', 1, false);


--
-- Name: mail_blacklist_remove_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.mail_blacklist_remove_id_seq', 1, false);


--
-- Name: mail_channel_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.mail_channel_id_seq', 2, true);


--
-- Name: mail_channel_member_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.mail_channel_member_id_seq', 4, true);


--
-- Name: mail_channel_rtc_session_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.mail_channel_rtc_session_id_seq', 1, false);


--
-- Name: mail_compose_message_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.mail_compose_message_id_seq', 1, false);


--
-- Name: mail_followers_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.mail_followers_id_seq', 1, true);


--
-- Name: mail_gateway_allowed_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.mail_gateway_allowed_id_seq', 1, false);


--
-- Name: mail_guest_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.mail_guest_id_seq', 1, false);


--
-- Name: mail_ice_server_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.mail_ice_server_id_seq', 1, false);


--
-- Name: mail_link_preview_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.mail_link_preview_id_seq', 1, false);


--
-- Name: mail_mail_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.mail_mail_id_seq', 4, true);


--
-- Name: mail_message_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.mail_message_id_seq', 432, true);


--
-- Name: mail_message_reaction_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.mail_message_reaction_id_seq', 1, false);


--
-- Name: mail_message_schedule_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.mail_message_schedule_id_seq', 1, false);


--
-- Name: mail_message_subtype_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.mail_message_subtype_id_seq', 49, true);


--
-- Name: mail_notification_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.mail_notification_id_seq', 1, false);


--
-- Name: mail_resend_message_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.mail_resend_message_id_seq', 1, false);


--
-- Name: mail_resend_partner_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.mail_resend_partner_id_seq', 1, false);


--
-- Name: mail_shortcode_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.mail_shortcode_id_seq', 1, true);


--
-- Name: mail_template_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.mail_template_id_seq', 31, true);


--
-- Name: mail_template_preview_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.mail_template_preview_id_seq', 1, false);


--
-- Name: mail_template_reset_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.mail_template_reset_id_seq', 1, false);


--
-- Name: mail_tracking_value_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.mail_tracking_value_id_seq', 1, false);


--
-- Name: mail_wizard_invite_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.mail_wizard_invite_id_seq', 1, false);


--
-- Name: mailing_contact_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.mailing_contact_id_seq', 1, true);


--
-- Name: mailing_contact_import_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.mailing_contact_import_id_seq', 1, false);


--
-- Name: mailing_contact_list_rel_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.mailing_contact_list_rel_id_seq', 1, true);


--
-- Name: mailing_contact_to_list_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.mailing_contact_to_list_id_seq', 1, false);


--
-- Name: mailing_filter_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.mailing_filter_id_seq', 1, false);


--
-- Name: mailing_list_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.mailing_list_id_seq', 1, true);


--
-- Name: mailing_list_merge_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.mailing_list_merge_id_seq', 1, false);


--
-- Name: mailing_mailing_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.mailing_mailing_id_seq', 1, false);


--
-- Name: mailing_mailing_schedule_date_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.mailing_mailing_schedule_date_id_seq', 1, false);


--
-- Name: mailing_mailing_test_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.mailing_mailing_test_id_seq', 1, false);


--
-- Name: mailing_trace_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.mailing_trace_id_seq', 1, false);


--
-- Name: note_note_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.note_note_id_seq', 1, false);


--
-- Name: note_stage_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.note_stage_id_seq', 4, true);


--
-- Name: note_tag_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.note_tag_id_seq', 1, false);


--
-- Name: payment_icon_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.payment_icon_id_seq', 30, true);


--
-- Name: payment_link_wizard_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.payment_link_wizard_id_seq', 1, false);


--
-- Name: payment_provider_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.payment_provider_id_seq', 15, true);


--
-- Name: payment_provider_onboarding_wizard_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.payment_provider_onboarding_wizard_id_seq', 1, false);


--
-- Name: payment_refund_wizard_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.payment_refund_wizard_id_seq', 1, false);


--
-- Name: payment_token_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.payment_token_id_seq', 1, false);


--
-- Name: payment_transaction_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.payment_transaction_id_seq', 1, false);


--
-- Name: phone_blacklist_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.phone_blacklist_id_seq', 1, false);


--
-- Name: phone_blacklist_remove_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.phone_blacklist_remove_id_seq', 1, false);


--
-- Name: picking_label_type_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.picking_label_type_id_seq', 1, false);


--
-- Name: portal_share_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.portal_share_id_seq', 1, false);


--
-- Name: portal_wizard_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.portal_wizard_id_seq', 1, false);


--
-- Name: portal_wizard_user_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.portal_wizard_user_id_seq', 1, false);


--
-- Name: privacy_log_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.privacy_log_id_seq', 1, false);


--
-- Name: privacy_lookup_wizard_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.privacy_lookup_wizard_id_seq', 1, false);


--
-- Name: privacy_lookup_wizard_line_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.privacy_lookup_wizard_line_id_seq', 1, false);


--
-- Name: procurement_group_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.procurement_group_id_seq', 1, false);


--
-- Name: product_attribute_custom_value_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.product_attribute_custom_value_id_seq', 1, false);


--
-- Name: product_attribute_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.product_attribute_id_seq', 1, false);


--
-- Name: product_attribute_value_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.product_attribute_value_id_seq', 1, false);


--
-- Name: product_category_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.product_category_id_seq', 3, true);


--
-- Name: product_label_layout_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.product_label_layout_id_seq', 1, false);


--
-- Name: product_packaging_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.product_packaging_id_seq', 1, false);


--
-- Name: product_pricelist_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.product_pricelist_id_seq', 1, true);


--
-- Name: product_pricelist_item_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.product_pricelist_item_id_seq', 1, false);


--
-- Name: product_product_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.product_product_id_seq', 6, true);


--
-- Name: product_removal_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.product_removal_id_seq', 3, true);


--
-- Name: product_replenish_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.product_replenish_id_seq', 1, false);


--
-- Name: product_supplierinfo_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.product_supplierinfo_id_seq', 1, false);


--
-- Name: product_tag_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.product_tag_id_seq', 1, false);


--
-- Name: product_template_attribute_exclusion_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.product_template_attribute_exclusion_id_seq', 1, false);


--
-- Name: product_template_attribute_line_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.product_template_attribute_line_id_seq', 1, false);


--
-- Name: product_template_attribute_value_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.product_template_attribute_value_id_seq', 1, false);


--
-- Name: product_template_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.product_template_id_seq', 6, true);


--
-- Name: project_collaborator_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.project_collaborator_id_seq', 1, false);


--
-- Name: project_milestone_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.project_milestone_id_seq', 1, false);


--
-- Name: project_project_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.project_project_id_seq', 1, false);


--
-- Name: project_project_stage_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.project_project_stage_id_seq', 4, true);


--
-- Name: project_share_wizard_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.project_share_wizard_id_seq', 1, false);


--
-- Name: project_tags_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.project_tags_id_seq', 1, false);


--
-- Name: project_task_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.project_task_id_seq', 1, false);


--
-- Name: project_task_recurrence_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.project_task_recurrence_id_seq', 1, false);


--
-- Name: project_task_type_delete_wizard_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.project_task_type_delete_wizard_id_seq', 1, false);


--
-- Name: project_task_type_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.project_task_type_id_seq', 1, false);


--
-- Name: project_task_user_rel_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.project_task_user_rel_id_seq', 1, false);


--
-- Name: project_update_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.project_update_id_seq', 1, false);


--
-- Name: purchase_order_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.purchase_order_id_seq', 1, false);


--
-- Name: purchase_order_line_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.purchase_order_line_id_seq', 1, false);


--
-- Name: rating_rating_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.rating_rating_id_seq', 1, false);


--
-- Name: report_layout_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.report_layout_id_seq', 4, true);


--
-- Name: report_paperformat_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.report_paperformat_id_seq', 6, true);


--
-- Name: res_bank_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.res_bank_id_seq', 1, true);


--
-- Name: res_company_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.res_company_id_seq', 1, true);


--
-- Name: res_config_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.res_config_id_seq', 1, false);


--
-- Name: res_config_installer_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.res_config_installer_id_seq', 1, false);


--
-- Name: res_config_settings_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.res_config_settings_id_seq', 2, true);


--
-- Name: res_country_group_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.res_country_group_id_seq', 5, true);


--
-- Name: res_country_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.res_country_id_seq', 250, true);


--
-- Name: res_country_state_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.res_country_state_id_seq', 1668, true);


--
-- Name: res_currency_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.res_currency_id_seq', 169, true);


--
-- Name: res_currency_rate_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.res_currency_rate_id_seq', 1, false);


--
-- Name: res_groups_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.res_groups_id_seq', 85, true);


--
-- Name: res_lang_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.res_lang_id_seq', 88, true);


--
-- Name: res_partner_autocomplete_sync_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.res_partner_autocomplete_sync_id_seq', 1, false);


--
-- Name: res_partner_bank_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.res_partner_bank_id_seq', 1, false);


--
-- Name: res_partner_category_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.res_partner_category_id_seq', 1, false);


--
-- Name: res_partner_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.res_partner_id_seq', 9, true);


--
-- Name: res_partner_industry_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.res_partner_industry_id_seq', 21, true);


--
-- Name: res_partner_title_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.res_partner_title_id_seq', 5, true);


--
-- Name: res_users_apikeys_description_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.res_users_apikeys_description_id_seq', 1, false);


--
-- Name: res_users_apikeys_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.res_users_apikeys_id_seq', 1, false);


--
-- Name: res_users_deletion_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.res_users_deletion_id_seq', 1, false);


--
-- Name: res_users_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.res_users_id_seq', 5, true);


--
-- Name: res_users_identitycheck_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.res_users_identitycheck_id_seq', 1, false);


--
-- Name: res_users_log_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.res_users_log_id_seq', 8, true);


--
-- Name: res_users_settings_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.res_users_settings_id_seq', 1, true);


--
-- Name: res_users_settings_volumes_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.res_users_settings_volumes_id_seq', 1, false);


--
-- Name: reset_view_arch_wizard_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.reset_view_arch_wizard_id_seq', 1, false);


--
-- Name: resource_calendar_attendance_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.resource_calendar_attendance_id_seq', 30, true);


--
-- Name: resource_calendar_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.resource_calendar_id_seq', 3, true);


--
-- Name: resource_calendar_leaves_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.resource_calendar_leaves_id_seq', 1, false);


--
-- Name: resource_resource_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.resource_resource_id_seq', 1, true);


--
-- Name: sale_advance_payment_inv_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.sale_advance_payment_inv_id_seq', 1, false);


--
-- Name: sale_order_cancel_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.sale_order_cancel_id_seq', 1, false);


--
-- Name: sale_order_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.sale_order_id_seq', 1, false);


--
-- Name: sale_order_line_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.sale_order_line_id_seq', 1, false);


--
-- Name: sale_order_option_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.sale_order_option_id_seq', 1, false);


--
-- Name: sale_order_template_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.sale_order_template_id_seq', 1, false);


--
-- Name: sale_order_template_line_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.sale_order_template_line_id_seq', 1, false);


--
-- Name: sale_order_template_option_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.sale_order_template_option_id_seq', 1, false);


--
-- Name: sale_payment_provider_onboarding_wizard_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.sale_payment_provider_onboarding_wizard_id_seq', 1, false);


--
-- Name: sms_composer_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.sms_composer_id_seq', 1, false);


--
-- Name: sms_resend_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.sms_resend_id_seq', 1, false);


--
-- Name: sms_resend_recipient_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.sms_resend_recipient_id_seq', 1, false);


--
-- Name: sms_sms_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.sms_sms_id_seq', 1, false);


--
-- Name: sms_template_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.sms_template_id_seq', 2, true);


--
-- Name: sms_template_preview_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.sms_template_preview_id_seq', 1, false);


--
-- Name: sms_template_reset_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.sms_template_reset_id_seq', 1, false);


--
-- Name: snailmail_confirm_invoice_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.snailmail_confirm_invoice_id_seq', 1, false);


--
-- Name: snailmail_letter_format_error_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.snailmail_letter_format_error_id_seq', 1, false);


--
-- Name: snailmail_letter_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.snailmail_letter_id_seq', 1, false);


--
-- Name: snailmail_letter_missing_required_fields_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.snailmail_letter_missing_required_fields_id_seq', 1, false);


--
-- Name: spreadsheet_dashboard_group_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.spreadsheet_dashboard_group_id_seq', 6, true);


--
-- Name: spreadsheet_dashboard_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.spreadsheet_dashboard_id_seq', 8, true);


--
-- Name: stock_assign_serial_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.stock_assign_serial_id_seq', 1, false);


--
-- Name: stock_backorder_confirmation_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.stock_backorder_confirmation_id_seq', 1, false);


--
-- Name: stock_backorder_confirmation_line_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.stock_backorder_confirmation_line_id_seq', 1, false);


--
-- Name: stock_change_product_qty_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.stock_change_product_qty_id_seq', 1, false);


--
-- Name: stock_immediate_transfer_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.stock_immediate_transfer_id_seq', 1, false);


--
-- Name: stock_immediate_transfer_line_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.stock_immediate_transfer_line_id_seq', 1, false);


--
-- Name: stock_inventory_adjustment_name_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.stock_inventory_adjustment_name_id_seq', 1, false);


--
-- Name: stock_inventory_conflict_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.stock_inventory_conflict_id_seq', 1, false);


--
-- Name: stock_inventory_warning_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.stock_inventory_warning_id_seq', 1, false);


--
-- Name: stock_location_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.stock_location_id_seq', 16, true);


--
-- Name: stock_lot_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.stock_lot_id_seq', 1, false);


--
-- Name: stock_move_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.stock_move_id_seq', 1, false);


--
-- Name: stock_move_line_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.stock_move_line_id_seq', 1, false);


--
-- Name: stock_orderpoint_snooze_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.stock_orderpoint_snooze_id_seq', 1, false);


--
-- Name: stock_package_destination_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.stock_package_destination_id_seq', 1, false);


--
-- Name: stock_package_level_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.stock_package_level_id_seq', 1, false);


--
-- Name: stock_package_type_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.stock_package_type_id_seq', 1, false);


--
-- Name: stock_picking_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.stock_picking_id_seq', 1, false);


--
-- Name: stock_picking_type_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.stock_picking_type_id_seq', 6, true);


--
-- Name: stock_putaway_rule_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.stock_putaway_rule_id_seq', 1, false);


--
-- Name: stock_quant_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.stock_quant_id_seq', 1, false);


--
-- Name: stock_quant_package_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.stock_quant_package_id_seq', 1, false);


--
-- Name: stock_quantity_history_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.stock_quantity_history_id_seq', 1, false);


--
-- Name: stock_replenishment_info_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.stock_replenishment_info_id_seq', 1, false);


--
-- Name: stock_replenishment_option_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.stock_replenishment_option_id_seq', 1, false);


--
-- Name: stock_request_count_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.stock_request_count_id_seq', 1, false);


--
-- Name: stock_return_picking_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.stock_return_picking_id_seq', 1, false);


--
-- Name: stock_return_picking_line_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.stock_return_picking_line_id_seq', 1, false);


--
-- Name: stock_route_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.stock_route_id_seq', 5, true);


--
-- Name: stock_rule_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.stock_rule_id_seq', 6, true);


--
-- Name: stock_rules_report_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.stock_rules_report_id_seq', 1, false);


--
-- Name: stock_scheduler_compute_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.stock_scheduler_compute_id_seq', 1, false);


--
-- Name: stock_scrap_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.stock_scrap_id_seq', 1, false);


--
-- Name: stock_storage_category_capacity_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.stock_storage_category_capacity_id_seq', 1, false);


--
-- Name: stock_storage_category_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.stock_storage_category_id_seq', 1, false);


--
-- Name: stock_traceability_report_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.stock_traceability_report_id_seq', 1, false);


--
-- Name: stock_track_confirmation_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.stock_track_confirmation_id_seq', 1, false);


--
-- Name: stock_track_line_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.stock_track_line_id_seq', 1, false);


--
-- Name: stock_valuation_layer_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.stock_valuation_layer_id_seq', 1, false);


--
-- Name: stock_valuation_layer_revaluation_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.stock_valuation_layer_revaluation_id_seq', 1, false);


--
-- Name: stock_warehouse_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.stock_warehouse_id_seq', 1, true);


--
-- Name: stock_warehouse_orderpoint_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.stock_warehouse_orderpoint_id_seq', 1, false);


--
-- Name: stock_warn_insufficient_qty_scrap_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.stock_warn_insufficient_qty_scrap_id_seq', 1, false);


--
-- Name: survey_invite_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.survey_invite_id_seq', 1, false);


--
-- Name: survey_question_answer_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.survey_question_answer_id_seq', 1, false);


--
-- Name: survey_question_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.survey_question_id_seq', 1, false);


--
-- Name: survey_survey_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.survey_survey_id_seq', 1, false);


--
-- Name: survey_user_input_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.survey_user_input_id_seq', 1, false);


--
-- Name: survey_user_input_line_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.survey_user_input_line_id_seq', 1, false);


--
-- Name: theme_ir_asset_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.theme_ir_asset_id_seq', 1, false);


--
-- Name: theme_ir_attachment_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.theme_ir_attachment_id_seq', 1, false);


--
-- Name: theme_ir_ui_view_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.theme_ir_ui_view_id_seq', 1, false);


--
-- Name: theme_website_menu_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.theme_website_menu_id_seq', 1, false);


--
-- Name: theme_website_page_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.theme_website_page_id_seq', 1, false);


--
-- Name: uom_category_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.uom_category_id_seq', 6, true);


--
-- Name: uom_uom_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.uom_uom_id_seq', 26, true);


--
-- Name: utm_campaign_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.utm_campaign_id_seq', 1, false);


--
-- Name: utm_medium_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.utm_medium_id_seq', 10, true);


--
-- Name: utm_source_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.utm_source_id_seq', 12, true);


--
-- Name: utm_stage_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.utm_stage_id_seq', 1, true);


--
-- Name: utm_tag_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.utm_tag_id_seq', 1, true);


--
-- Name: validate_account_move_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.validate_account_move_id_seq', 1, false);


--
-- Name: web_editor_converter_test_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.web_editor_converter_test_id_seq', 1, false);


--
-- Name: web_editor_converter_test_sub_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.web_editor_converter_test_sub_id_seq', 1, false);


--
-- Name: web_tour_tour_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.web_tour_tour_id_seq', 1, false);


--
-- Name: website_configurator_feature_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.website_configurator_feature_id_seq', 13, true);


--
-- Name: website_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.website_id_seq', 1, true);


--
-- Name: website_menu_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.website_menu_id_seq', 6, true);


--
-- Name: website_page_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.website_page_id_seq', 4, true);


--
-- Name: website_rewrite_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.website_rewrite_id_seq', 1, false);


--
-- Name: website_robots_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.website_robots_id_seq', 1, false);


--
-- Name: website_route_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.website_route_id_seq', 1, false);


--
-- Name: website_snippet_filter_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.website_snippet_filter_id_seq', 1, false);


--
-- Name: website_track_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.website_track_id_seq', 35, true);


--
-- Name: website_visitor_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.website_visitor_id_seq', 36, true);


--
-- Name: wizard_ir_model_menu_create_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.wizard_ir_model_menu_create_id_seq', 1, false);


--
-- Name: account_account_account_journal_rel account_account_account_journal_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_account_account_journal_rel
    ADD CONSTRAINT account_account_account_journal_rel_pkey PRIMARY KEY (account_account_id, account_journal_id);


--
-- Name: account_account_account_tag account_account_account_tag_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_account_account_tag
    ADD CONSTRAINT account_account_account_tag_pkey PRIMARY KEY (account_account_id, account_account_tag_id);


--
-- Name: account_account account_account_code_company_uniq; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_account
    ADD CONSTRAINT account_account_code_company_uniq UNIQUE (code, company_id);


--
-- Name: CONSTRAINT account_account_code_company_uniq ON account_account; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT account_account_code_company_uniq ON public.account_account IS 'unique (code,company_id)';


--
-- Name: account_account account_account_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_account
    ADD CONSTRAINT account_account_pkey PRIMARY KEY (id);


--
-- Name: account_account_tag_account_move_line_rel account_account_tag_account_move_line_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_account_tag_account_move_line_rel
    ADD CONSTRAINT account_account_tag_account_move_line_rel_pkey PRIMARY KEY (account_move_line_id, account_account_tag_id);


--
-- Name: account_account_tag_account_tax_repartition_line_rel account_account_tag_account_tax_repartition_line_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_account_tag_account_tax_repartition_line_rel
    ADD CONSTRAINT account_account_tag_account_tax_repartition_line_rel_pkey PRIMARY KEY (account_tax_repartition_line_id, account_account_tag_id);


--
-- Name: account_account_tag account_account_tag_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_account_tag
    ADD CONSTRAINT account_account_tag_pkey PRIMARY KEY (id);


--
-- Name: account_account_tag_product_template_rel account_account_tag_product_template_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_account_tag_product_template_rel
    ADD CONSTRAINT account_account_tag_product_template_rel_pkey PRIMARY KEY (product_template_id, account_account_tag_id);


--
-- Name: account_account_tax_default_rel account_account_tax_default_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_account_tax_default_rel
    ADD CONSTRAINT account_account_tax_default_rel_pkey PRIMARY KEY (account_id, tax_id);


--
-- Name: account_account_template_account_tag account_account_template_account_tag_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_account_template_account_tag
    ADD CONSTRAINT account_account_template_account_tag_pkey PRIMARY KEY (account_account_template_id, account_account_tag_id);


--
-- Name: account_account_template account_account_template_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_account_template
    ADD CONSTRAINT account_account_template_pkey PRIMARY KEY (id);


--
-- Name: account_account_template_tax_rel account_account_template_tax_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_account_template_tax_rel
    ADD CONSTRAINT account_account_template_tax_rel_pkey PRIMARY KEY (account_id, tax_id);


--
-- Name: account_accrued_orders_wizard account_accrued_orders_wizard_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_accrued_orders_wizard
    ADD CONSTRAINT account_accrued_orders_wizard_pkey PRIMARY KEY (id);


--
-- Name: account_analytic_account account_analytic_account_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_analytic_account
    ADD CONSTRAINT account_analytic_account_pkey PRIMARY KEY (id);


--
-- Name: account_analytic_applicability account_analytic_applicability_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_analytic_applicability
    ADD CONSTRAINT account_analytic_applicability_pkey PRIMARY KEY (id);


--
-- Name: account_analytic_distribution_model account_analytic_distribution_model_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_analytic_distribution_model
    ADD CONSTRAINT account_analytic_distribution_model_pkey PRIMARY KEY (id);


--
-- Name: account_analytic_line account_analytic_line_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_analytic_line
    ADD CONSTRAINT account_analytic_line_pkey PRIMARY KEY (id);


--
-- Name: account_analytic_plan account_analytic_plan_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_analytic_plan
    ADD CONSTRAINT account_analytic_plan_pkey PRIMARY KEY (id);


--
-- Name: account_automatic_entry_wizard_account_move_line_rel account_automatic_entry_wizard_account_move_line_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_automatic_entry_wizard_account_move_line_rel
    ADD CONSTRAINT account_automatic_entry_wizard_account_move_line_rel_pkey PRIMARY KEY (account_automatic_entry_wizard_id, account_move_line_id);


--
-- Name: account_automatic_entry_wizard account_automatic_entry_wizard_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_automatic_entry_wizard
    ADD CONSTRAINT account_automatic_entry_wizard_pkey PRIMARY KEY (id);


--
-- Name: account_bank_statement_ir_attachment_rel account_bank_statement_ir_attachment_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_bank_statement_ir_attachment_rel
    ADD CONSTRAINT account_bank_statement_ir_attachment_rel_pkey PRIMARY KEY (account_bank_statement_id, ir_attachment_id);


--
-- Name: account_bank_statement_line account_bank_statement_line_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_bank_statement_line
    ADD CONSTRAINT account_bank_statement_line_pkey PRIMARY KEY (id);


--
-- Name: account_bank_statement account_bank_statement_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_bank_statement
    ADD CONSTRAINT account_bank_statement_pkey PRIMARY KEY (id);


--
-- Name: account_cash_rounding account_cash_rounding_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_cash_rounding
    ADD CONSTRAINT account_cash_rounding_pkey PRIMARY KEY (id);


--
-- Name: account_chart_template account_chart_template_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_chart_template
    ADD CONSTRAINT account_chart_template_pkey PRIMARY KEY (id);


--
-- Name: account_edi_document account_edi_document_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_edi_document
    ADD CONSTRAINT account_edi_document_pkey PRIMARY KEY (id);


--
-- Name: account_edi_document account_edi_document_unique_edi_document_by_move_by_format; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_edi_document
    ADD CONSTRAINT account_edi_document_unique_edi_document_by_move_by_format UNIQUE (edi_format_id, move_id);


--
-- Name: CONSTRAINT account_edi_document_unique_edi_document_by_move_by_format ON account_edi_document; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT account_edi_document_unique_edi_document_by_move_by_format ON public.account_edi_document IS 'UNIQUE(edi_format_id, move_id)';


--
-- Name: account_edi_format_account_journal_rel account_edi_format_account_journal_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_edi_format_account_journal_rel
    ADD CONSTRAINT account_edi_format_account_journal_rel_pkey PRIMARY KEY (account_journal_id, account_edi_format_id);


--
-- Name: account_edi_format account_edi_format_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_edi_format
    ADD CONSTRAINT account_edi_format_pkey PRIMARY KEY (id);


--
-- Name: account_edi_format account_edi_format_unique_code; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_edi_format
    ADD CONSTRAINT account_edi_format_unique_code UNIQUE (code);


--
-- Name: CONSTRAINT account_edi_format_unique_code ON account_edi_format; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT account_edi_format_unique_code ON public.account_edi_format IS 'unique (code)';


--
-- Name: account_financial_year_op account_financial_year_op_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_financial_year_op
    ADD CONSTRAINT account_financial_year_op_pkey PRIMARY KEY (id);


--
-- Name: account_fiscal_position_account account_fiscal_position_account_account_src_dest_uniq; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_fiscal_position_account
    ADD CONSTRAINT account_fiscal_position_account_account_src_dest_uniq UNIQUE (position_id, account_src_id, account_dest_id);


--
-- Name: CONSTRAINT account_fiscal_position_account_account_src_dest_uniq ON account_fiscal_position_account; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT account_fiscal_position_account_account_src_dest_uniq ON public.account_fiscal_position_account IS 'unique (position_id,account_src_id,account_dest_id)';


--
-- Name: account_fiscal_position_account account_fiscal_position_account_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_fiscal_position_account
    ADD CONSTRAINT account_fiscal_position_account_pkey PRIMARY KEY (id);


--
-- Name: account_fiscal_position_account_template account_fiscal_position_account_template_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_fiscal_position_account_template
    ADD CONSTRAINT account_fiscal_position_account_template_pkey PRIMARY KEY (id);


--
-- Name: account_fiscal_position account_fiscal_position_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_fiscal_position
    ADD CONSTRAINT account_fiscal_position_pkey PRIMARY KEY (id);


--
-- Name: account_fiscal_position_res_country_state_rel account_fiscal_position_res_country_state_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_fiscal_position_res_country_state_rel
    ADD CONSTRAINT account_fiscal_position_res_country_state_rel_pkey PRIMARY KEY (account_fiscal_position_id, res_country_state_id);


--
-- Name: account_fiscal_position_tax account_fiscal_position_tax_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_fiscal_position_tax
    ADD CONSTRAINT account_fiscal_position_tax_pkey PRIMARY KEY (id);


--
-- Name: account_fiscal_position_tax account_fiscal_position_tax_tax_src_dest_uniq; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_fiscal_position_tax
    ADD CONSTRAINT account_fiscal_position_tax_tax_src_dest_uniq UNIQUE (position_id, tax_src_id, tax_dest_id);


--
-- Name: CONSTRAINT account_fiscal_position_tax_tax_src_dest_uniq ON account_fiscal_position_tax; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT account_fiscal_position_tax_tax_src_dest_uniq ON public.account_fiscal_position_tax IS 'unique (position_id,tax_src_id,tax_dest_id)';


--
-- Name: account_fiscal_position_tax_template account_fiscal_position_tax_template_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_fiscal_position_tax_template
    ADD CONSTRAINT account_fiscal_position_tax_template_pkey PRIMARY KEY (id);


--
-- Name: account_fiscal_position_template account_fiscal_position_template_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_fiscal_position_template
    ADD CONSTRAINT account_fiscal_position_template_pkey PRIMARY KEY (id);


--
-- Name: account_fiscal_position_template_res_country_state_rel account_fiscal_position_template_res_country_state_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_fiscal_position_template_res_country_state_rel
    ADD CONSTRAINT account_fiscal_position_template_res_country_state_rel_pkey PRIMARY KEY (account_fiscal_position_template_id, res_country_state_id);


--
-- Name: account_full_reconcile account_full_reconcile_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_full_reconcile
    ADD CONSTRAINT account_full_reconcile_pkey PRIMARY KEY (id);


--
-- Name: account_group account_group_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_group
    ADD CONSTRAINT account_group_pkey PRIMARY KEY (id);


--
-- Name: account_group_template account_group_template_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_group_template
    ADD CONSTRAINT account_group_template_pkey PRIMARY KEY (id);


--
-- Name: account_incoterms account_incoterms_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_incoterms
    ADD CONSTRAINT account_incoterms_pkey PRIMARY KEY (id);


--
-- Name: account_invoice_send account_invoice_send_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_invoice_send
    ADD CONSTRAINT account_invoice_send_pkey PRIMARY KEY (id);


--
-- Name: account_invoice_transaction_rel account_invoice_transaction_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_invoice_transaction_rel
    ADD CONSTRAINT account_invoice_transaction_rel_pkey PRIMARY KEY (invoice_id, transaction_id);


--
-- Name: account_journal_account_journal_group_rel account_journal_account_journal_group_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_journal_account_journal_group_rel
    ADD CONSTRAINT account_journal_account_journal_group_rel_pkey PRIMARY KEY (account_journal_group_id, account_journal_id);


--
-- Name: account_journal_account_reconcile_model_rel account_journal_account_reconcile_model_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_journal_account_reconcile_model_rel
    ADD CONSTRAINT account_journal_account_reconcile_model_rel_pkey PRIMARY KEY (account_reconcile_model_id, account_journal_id);


--
-- Name: account_journal_account_reconcile_model_template_rel account_journal_account_reconcile_model_template_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_journal_account_reconcile_model_template_rel
    ADD CONSTRAINT account_journal_account_reconcile_model_template_rel_pkey PRIMARY KEY (account_reconcile_model_template_id, account_journal_id);


--
-- Name: account_journal account_journal_code_company_uniq; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_journal
    ADD CONSTRAINT account_journal_code_company_uniq UNIQUE (company_id, code);


--
-- Name: CONSTRAINT account_journal_code_company_uniq ON account_journal; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT account_journal_code_company_uniq ON public.account_journal IS 'unique (company_id, code)';


--
-- Name: account_journal_group account_journal_group_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_journal_group
    ADD CONSTRAINT account_journal_group_pkey PRIMARY KEY (id);


--
-- Name: account_journal_group account_journal_group_uniq_name; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_journal_group
    ADD CONSTRAINT account_journal_group_uniq_name UNIQUE (company_id, name);


--
-- Name: CONSTRAINT account_journal_group_uniq_name ON account_journal_group; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT account_journal_group_uniq_name ON public.account_journal_group IS 'unique(company_id, name)';


--
-- Name: account_journal account_journal_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_journal
    ADD CONSTRAINT account_journal_pkey PRIMARY KEY (id);


--
-- Name: account_move_account_invoice_send_rel account_move_account_invoice_send_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_move_account_invoice_send_rel
    ADD CONSTRAINT account_move_account_invoice_send_rel_pkey PRIMARY KEY (account_invoice_send_id, account_move_id);


--
-- Name: account_move_account_resequence_wizard_rel account_move_account_resequence_wizard_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_move_account_resequence_wizard_rel
    ADD CONSTRAINT account_move_account_resequence_wizard_rel_pkey PRIMARY KEY (account_resequence_wizard_id, account_move_id);


--
-- Name: account_move_line_account_tax_rel account_move_line_account_tax_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_move_line_account_tax_rel
    ADD CONSTRAINT account_move_line_account_tax_rel_pkey PRIMARY KEY (account_move_line_id, account_tax_id);


--
-- Name: account_move_line account_move_line_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_move_line
    ADD CONSTRAINT account_move_line_pkey PRIMARY KEY (id);


--
-- Name: account_move account_move_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_move
    ADD CONSTRAINT account_move_pkey PRIMARY KEY (id);


--
-- Name: account_move_purchase_order_rel account_move_purchase_order_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_move_purchase_order_rel
    ADD CONSTRAINT account_move_purchase_order_rel_pkey PRIMARY KEY (purchase_order_id, account_move_id);


--
-- Name: account_move_reversal_move account_move_reversal_move_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_move_reversal_move
    ADD CONSTRAINT account_move_reversal_move_pkey PRIMARY KEY (reversal_id, move_id);


--
-- Name: account_move_reversal_new_move account_move_reversal_new_move_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_move_reversal_new_move
    ADD CONSTRAINT account_move_reversal_new_move_pkey PRIMARY KEY (reversal_id, new_move_id);


--
-- Name: account_move_reversal account_move_reversal_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_move_reversal
    ADD CONSTRAINT account_move_reversal_pkey PRIMARY KEY (id);


--
-- Name: account_partial_reconcile account_partial_reconcile_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_partial_reconcile
    ADD CONSTRAINT account_partial_reconcile_pkey PRIMARY KEY (id);


--
-- Name: account_payment_account_bank_statement_line_rel account_payment_account_bank_statement_line_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_payment_account_bank_statement_line_rel
    ADD CONSTRAINT account_payment_account_bank_statement_line_rel_pkey PRIMARY KEY (account_bank_statement_line_id, account_payment_id);


--
-- Name: account_payment_method_line account_payment_method_line_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_payment_method_line
    ADD CONSTRAINT account_payment_method_line_pkey PRIMARY KEY (id);


--
-- Name: account_payment_method account_payment_method_name_code_unique; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_payment_method
    ADD CONSTRAINT account_payment_method_name_code_unique UNIQUE (code, payment_type);


--
-- Name: CONSTRAINT account_payment_method_name_code_unique ON account_payment_method; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT account_payment_method_name_code_unique ON public.account_payment_method IS 'unique (code, payment_type)';


--
-- Name: account_payment_method account_payment_method_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_payment_method
    ADD CONSTRAINT account_payment_method_pkey PRIMARY KEY (id);


--
-- Name: account_payment account_payment_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_payment
    ADD CONSTRAINT account_payment_pkey PRIMARY KEY (id);


--
-- Name: account_payment_register_move_line_rel account_payment_register_move_line_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_payment_register_move_line_rel
    ADD CONSTRAINT account_payment_register_move_line_rel_pkey PRIMARY KEY (wizard_id, line_id);


--
-- Name: account_payment_register account_payment_register_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_payment_register
    ADD CONSTRAINT account_payment_register_pkey PRIMARY KEY (id);


--
-- Name: account_payment_term_line account_payment_term_line_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_payment_term_line
    ADD CONSTRAINT account_payment_term_line_pkey PRIMARY KEY (id);


--
-- Name: account_payment_term account_payment_term_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_payment_term
    ADD CONSTRAINT account_payment_term_pkey PRIMARY KEY (id);


--
-- Name: account_reconcile_model_line_account_tax_rel account_reconcile_model_line_account_tax_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_reconcile_model_line_account_tax_rel
    ADD CONSTRAINT account_reconcile_model_line_account_tax_rel_pkey PRIMARY KEY (account_reconcile_model_line_id, account_tax_id);


--
-- Name: account_reconcile_model_line account_reconcile_model_line_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_reconcile_model_line
    ADD CONSTRAINT account_reconcile_model_line_pkey PRIMARY KEY (id);


--
-- Name: account_reconcile_model_line_template_account_tax_template_rel account_reconcile_model_line_template_account_tax_template_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_reconcile_model_line_template_account_tax_template_rel
    ADD CONSTRAINT account_reconcile_model_line_template_account_tax_template_pkey PRIMARY KEY (account_reconcile_model_line_template_id, account_tax_template_id);


--
-- Name: account_reconcile_model_line_template account_reconcile_model_line_template_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_reconcile_model_line_template
    ADD CONSTRAINT account_reconcile_model_line_template_pkey PRIMARY KEY (id);


--
-- Name: account_reconcile_model account_reconcile_model_name_unique; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_reconcile_model
    ADD CONSTRAINT account_reconcile_model_name_unique UNIQUE (name, company_id);


--
-- Name: CONSTRAINT account_reconcile_model_name_unique ON account_reconcile_model; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT account_reconcile_model_name_unique ON public.account_reconcile_model IS 'unique(name, company_id)';


--
-- Name: account_reconcile_model_partner_mapping account_reconcile_model_partner_mapping_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_reconcile_model_partner_mapping
    ADD CONSTRAINT account_reconcile_model_partner_mapping_pkey PRIMARY KEY (id);


--
-- Name: account_reconcile_model account_reconcile_model_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_reconcile_model
    ADD CONSTRAINT account_reconcile_model_pkey PRIMARY KEY (id);


--
-- Name: account_reconcile_model_res_partner_category_rel account_reconcile_model_res_partner_category_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_reconcile_model_res_partner_category_rel
    ADD CONSTRAINT account_reconcile_model_res_partner_category_rel_pkey PRIMARY KEY (account_reconcile_model_id, res_partner_category_id);


--
-- Name: account_reconcile_model_res_partner_rel account_reconcile_model_res_partner_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_reconcile_model_res_partner_rel
    ADD CONSTRAINT account_reconcile_model_res_partner_rel_pkey PRIMARY KEY (account_reconcile_model_id, res_partner_id);


--
-- Name: account_reconcile_model_template account_reconcile_model_template_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_reconcile_model_template
    ADD CONSTRAINT account_reconcile_model_template_pkey PRIMARY KEY (id);


--
-- Name: account_reconcile_model_template_res_partner_category_rel account_reconcile_model_template_res_partner_category_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_reconcile_model_template_res_partner_category_rel
    ADD CONSTRAINT account_reconcile_model_template_res_partner_category_rel_pkey PRIMARY KEY (account_reconcile_model_template_id, res_partner_category_id);


--
-- Name: account_reconcile_model_template_res_partner_rel account_reconcile_model_template_res_partner_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_reconcile_model_template_res_partner_rel
    ADD CONSTRAINT account_reconcile_model_template_res_partner_rel_pkey PRIMARY KEY (account_reconcile_model_template_id, res_partner_id);


--
-- Name: account_report_column account_report_column_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_report_column
    ADD CONSTRAINT account_report_column_pkey PRIMARY KEY (id);


--
-- Name: account_report_expression account_report_expression_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_report_expression
    ADD CONSTRAINT account_report_expression_pkey PRIMARY KEY (id);


--
-- Name: account_report_external_value account_report_external_value_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_report_external_value
    ADD CONSTRAINT account_report_external_value_pkey PRIMARY KEY (id);


--
-- Name: account_report_line account_report_line_code_uniq; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_report_line
    ADD CONSTRAINT account_report_line_code_uniq UNIQUE (code);


--
-- Name: CONSTRAINT account_report_line_code_uniq ON account_report_line; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT account_report_line_code_uniq ON public.account_report_line IS 'unique (code)';


--
-- Name: account_report_line account_report_line_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_report_line
    ADD CONSTRAINT account_report_line_pkey PRIMARY KEY (id);


--
-- Name: account_report account_report_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_report
    ADD CONSTRAINT account_report_pkey PRIMARY KEY (id);


--
-- Name: account_resequence_wizard account_resequence_wizard_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_resequence_wizard
    ADD CONSTRAINT account_resequence_wizard_pkey PRIMARY KEY (id);


--
-- Name: account_setup_bank_manual_config account_setup_bank_manual_config_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_setup_bank_manual_config
    ADD CONSTRAINT account_setup_bank_manual_config_pkey PRIMARY KEY (id);


--
-- Name: account_tax_filiation_rel account_tax_filiation_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_tax_filiation_rel
    ADD CONSTRAINT account_tax_filiation_rel_pkey PRIMARY KEY (parent_tax, child_tax);


--
-- Name: account_tax_group account_tax_group_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_tax_group
    ADD CONSTRAINT account_tax_group_pkey PRIMARY KEY (id);


--
-- Name: account_tax_hr_expense_split_rel account_tax_hr_expense_split_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_tax_hr_expense_split_rel
    ADD CONSTRAINT account_tax_hr_expense_split_rel_pkey PRIMARY KEY (hr_expense_split_id, account_tax_id);


--
-- Name: account_tax account_tax_name_company_uniq; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_tax
    ADD CONSTRAINT account_tax_name_company_uniq UNIQUE (name, company_id, type_tax_use, tax_scope);


--
-- Name: CONSTRAINT account_tax_name_company_uniq ON account_tax; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT account_tax_name_company_uniq ON public.account_tax IS 'unique(name, company_id, type_tax_use, tax_scope)';


--
-- Name: account_tax account_tax_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_tax
    ADD CONSTRAINT account_tax_pkey PRIMARY KEY (id);


--
-- Name: account_tax_purchase_order_line_rel account_tax_purchase_order_line_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_tax_purchase_order_line_rel
    ADD CONSTRAINT account_tax_purchase_order_line_rel_pkey PRIMARY KEY (purchase_order_line_id, account_tax_id);


--
-- Name: account_tax_rep_template_minus account_tax_rep_template_minus_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_tax_rep_template_minus
    ADD CONSTRAINT account_tax_rep_template_minus_pkey PRIMARY KEY (account_tax_repartition_line_template_id, account_report_expression_id);


--
-- Name: account_tax_rep_template_plus account_tax_rep_template_plus_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_tax_rep_template_plus
    ADD CONSTRAINT account_tax_rep_template_plus_pkey PRIMARY KEY (account_tax_repartition_line_template_id, account_report_expression_id);


--
-- Name: account_tax_repartition_financial_tags account_tax_repartition_financial_tags_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_tax_repartition_financial_tags
    ADD CONSTRAINT account_tax_repartition_financial_tags_pkey PRIMARY KEY (account_tax_repartition_line_template_id, account_account_tag_id);


--
-- Name: account_tax_repartition_line account_tax_repartition_line_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_tax_repartition_line
    ADD CONSTRAINT account_tax_repartition_line_pkey PRIMARY KEY (id);


--
-- Name: account_tax_repartition_line_template account_tax_repartition_line_template_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_tax_repartition_line_template
    ADD CONSTRAINT account_tax_repartition_line_template_pkey PRIMARY KEY (id);


--
-- Name: account_tax_sale_advance_payment_inv_rel account_tax_sale_advance_payment_inv_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_tax_sale_advance_payment_inv_rel
    ADD CONSTRAINT account_tax_sale_advance_payment_inv_rel_pkey PRIMARY KEY (sale_advance_payment_inv_id, account_tax_id);


--
-- Name: account_tax_sale_order_line_rel account_tax_sale_order_line_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_tax_sale_order_line_rel
    ADD CONSTRAINT account_tax_sale_order_line_rel_pkey PRIMARY KEY (sale_order_line_id, account_tax_id);


--
-- Name: account_tax_template_filiation_rel account_tax_template_filiation_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_tax_template_filiation_rel
    ADD CONSTRAINT account_tax_template_filiation_rel_pkey PRIMARY KEY (parent_tax, child_tax);


--
-- Name: account_tax_template account_tax_template_name_company_uniq; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_tax_template
    ADD CONSTRAINT account_tax_template_name_company_uniq UNIQUE (name, type_tax_use, tax_scope, chart_template_id);


--
-- Name: CONSTRAINT account_tax_template_name_company_uniq ON account_tax_template; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT account_tax_template_name_company_uniq ON public.account_tax_template IS 'unique(name, type_tax_use, tax_scope, chart_template_id)';


--
-- Name: account_tax_template account_tax_template_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_tax_template
    ADD CONSTRAINT account_tax_template_pkey PRIMARY KEY (id);


--
-- Name: account_tour_upload_bill_email_confirm account_tour_upload_bill_email_confirm_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_tour_upload_bill_email_confirm
    ADD CONSTRAINT account_tour_upload_bill_email_confirm_pkey PRIMARY KEY (id);


--
-- Name: account_tour_upload_bill_ir_attachments_rel account_tour_upload_bill_ir_attachments_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_tour_upload_bill_ir_attachments_rel
    ADD CONSTRAINT account_tour_upload_bill_ir_attachments_rel_pkey PRIMARY KEY (account_tour_upload_bill_id, ir_attachment_id);


--
-- Name: account_tour_upload_bill account_tour_upload_bill_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_tour_upload_bill
    ADD CONSTRAINT account_tour_upload_bill_pkey PRIMARY KEY (id);


--
-- Name: account_unreconcile account_unreconcile_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_unreconcile
    ADD CONSTRAINT account_unreconcile_pkey PRIMARY KEY (id);


--
-- Name: auth_totp_device auth_totp_device_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.auth_totp_device
    ADD CONSTRAINT auth_totp_device_pkey PRIMARY KEY (id);


--
-- Name: auth_totp_wizard auth_totp_wizard_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.auth_totp_wizard
    ADD CONSTRAINT auth_totp_wizard_pkey PRIMARY KEY (id);


--
-- Name: badge_unlocked_definition_rel badge_unlocked_definition_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.badge_unlocked_definition_rel
    ADD CONSTRAINT badge_unlocked_definition_rel_pkey PRIMARY KEY (gamification_badge_id, gamification_goal_definition_id);


--
-- Name: barcode_nomenclature barcode_nomenclature_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.barcode_nomenclature
    ADD CONSTRAINT barcode_nomenclature_pkey PRIMARY KEY (id);


--
-- Name: barcode_rule barcode_rule_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.barcode_rule
    ADD CONSTRAINT barcode_rule_pkey PRIMARY KEY (id);


--
-- Name: base_document_layout base_document_layout_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.base_document_layout
    ADD CONSTRAINT base_document_layout_pkey PRIMARY KEY (id);


--
-- Name: base_enable_profiling_wizard base_enable_profiling_wizard_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.base_enable_profiling_wizard
    ADD CONSTRAINT base_enable_profiling_wizard_pkey PRIMARY KEY (id);


--
-- Name: base_import_import base_import_import_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.base_import_import
    ADD CONSTRAINT base_import_import_pkey PRIMARY KEY (id);


--
-- Name: base_import_mapping base_import_mapping_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.base_import_mapping
    ADD CONSTRAINT base_import_mapping_pkey PRIMARY KEY (id);


--
-- Name: base_import_tests_models_char_noreadonly base_import_tests_models_char_noreadonly_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.base_import_tests_models_char_noreadonly
    ADD CONSTRAINT base_import_tests_models_char_noreadonly_pkey PRIMARY KEY (id);


--
-- Name: base_import_tests_models_char base_import_tests_models_char_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.base_import_tests_models_char
    ADD CONSTRAINT base_import_tests_models_char_pkey PRIMARY KEY (id);


--
-- Name: base_import_tests_models_char_readonly base_import_tests_models_char_readonly_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.base_import_tests_models_char_readonly
    ADD CONSTRAINT base_import_tests_models_char_readonly_pkey PRIMARY KEY (id);


--
-- Name: base_import_tests_models_char_required base_import_tests_models_char_required_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.base_import_tests_models_char_required
    ADD CONSTRAINT base_import_tests_models_char_required_pkey PRIMARY KEY (id);


--
-- Name: base_import_tests_models_char_states base_import_tests_models_char_states_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.base_import_tests_models_char_states
    ADD CONSTRAINT base_import_tests_models_char_states_pkey PRIMARY KEY (id);


--
-- Name: base_import_tests_models_char_stillreadonly base_import_tests_models_char_stillreadonly_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.base_import_tests_models_char_stillreadonly
    ADD CONSTRAINT base_import_tests_models_char_stillreadonly_pkey PRIMARY KEY (id);


--
-- Name: base_import_tests_models_complex base_import_tests_models_complex_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.base_import_tests_models_complex
    ADD CONSTRAINT base_import_tests_models_complex_pkey PRIMARY KEY (id);


--
-- Name: base_import_tests_models_float base_import_tests_models_float_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.base_import_tests_models_float
    ADD CONSTRAINT base_import_tests_models_float_pkey PRIMARY KEY (id);


--
-- Name: base_import_tests_models_m2o base_import_tests_models_m2o_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.base_import_tests_models_m2o
    ADD CONSTRAINT base_import_tests_models_m2o_pkey PRIMARY KEY (id);


--
-- Name: base_import_tests_models_m2o_related base_import_tests_models_m2o_related_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.base_import_tests_models_m2o_related
    ADD CONSTRAINT base_import_tests_models_m2o_related_pkey PRIMARY KEY (id);


--
-- Name: base_import_tests_models_m2o_required base_import_tests_models_m2o_required_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.base_import_tests_models_m2o_required
    ADD CONSTRAINT base_import_tests_models_m2o_required_pkey PRIMARY KEY (id);


--
-- Name: base_import_tests_models_m2o_required_related base_import_tests_models_m2o_required_related_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.base_import_tests_models_m2o_required_related
    ADD CONSTRAINT base_import_tests_models_m2o_required_related_pkey PRIMARY KEY (id);


--
-- Name: base_import_tests_models_o2m_child base_import_tests_models_o2m_child_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.base_import_tests_models_o2m_child
    ADD CONSTRAINT base_import_tests_models_o2m_child_pkey PRIMARY KEY (id);


--
-- Name: base_import_tests_models_o2m base_import_tests_models_o2m_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.base_import_tests_models_o2m
    ADD CONSTRAINT base_import_tests_models_o2m_pkey PRIMARY KEY (id);


--
-- Name: base_import_tests_models_preview base_import_tests_models_preview_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.base_import_tests_models_preview
    ADD CONSTRAINT base_import_tests_models_preview_pkey PRIMARY KEY (id);


--
-- Name: base_language_export base_language_export_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.base_language_export
    ADD CONSTRAINT base_language_export_pkey PRIMARY KEY (id);


--
-- Name: base_language_import base_language_import_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.base_language_import
    ADD CONSTRAINT base_language_import_pkey PRIMARY KEY (id);


--
-- Name: base_language_install base_language_install_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.base_language_install
    ADD CONSTRAINT base_language_install_pkey PRIMARY KEY (id);


--
-- Name: base_language_install_website_rel base_language_install_website_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.base_language_install_website_rel
    ADD CONSTRAINT base_language_install_website_rel_pkey PRIMARY KEY (base_language_install_id, website_id);


--
-- Name: base_module_install_request base_module_install_request_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.base_module_install_request
    ADD CONSTRAINT base_module_install_request_pkey PRIMARY KEY (id);


--
-- Name: base_module_install_review base_module_install_review_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.base_module_install_review
    ADD CONSTRAINT base_module_install_review_pkey PRIMARY KEY (id);


--
-- Name: base_module_uninstall base_module_uninstall_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.base_module_uninstall
    ADD CONSTRAINT base_module_uninstall_pkey PRIMARY KEY (id);


--
-- Name: base_module_update base_module_update_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.base_module_update
    ADD CONSTRAINT base_module_update_pkey PRIMARY KEY (id);


--
-- Name: base_module_upgrade base_module_upgrade_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.base_module_upgrade
    ADD CONSTRAINT base_module_upgrade_pkey PRIMARY KEY (id);


--
-- Name: base_partner_merge_automatic_wizard base_partner_merge_automatic_wizard_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.base_partner_merge_automatic_wizard
    ADD CONSTRAINT base_partner_merge_automatic_wizard_pkey PRIMARY KEY (id);


--
-- Name: base_partner_merge_automatic_wizard_res_partner_rel base_partner_merge_automatic_wizard_res_partner_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.base_partner_merge_automatic_wizard_res_partner_rel
    ADD CONSTRAINT base_partner_merge_automatic_wizard_res_partner_rel_pkey PRIMARY KEY (base_partner_merge_automatic_wizard_id, res_partner_id);


--
-- Name: base_partner_merge_line base_partner_merge_line_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.base_partner_merge_line
    ADD CONSTRAINT base_partner_merge_line_pkey PRIMARY KEY (id);


--
-- Name: bus_bus bus_bus_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.bus_bus
    ADD CONSTRAINT bus_bus_pkey PRIMARY KEY (id);


--
-- Name: bus_presence bus_presence_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.bus_presence
    ADD CONSTRAINT bus_presence_pkey PRIMARY KEY (id);


--
-- Name: calendar_alarm_calendar_event_rel calendar_alarm_calendar_event_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.calendar_alarm_calendar_event_rel
    ADD CONSTRAINT calendar_alarm_calendar_event_rel_pkey PRIMARY KEY (calendar_event_id, calendar_alarm_id);


--
-- Name: calendar_alarm calendar_alarm_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.calendar_alarm
    ADD CONSTRAINT calendar_alarm_pkey PRIMARY KEY (id);


--
-- Name: calendar_attendee calendar_attendee_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.calendar_attendee
    ADD CONSTRAINT calendar_attendee_pkey PRIMARY KEY (id);


--
-- Name: calendar_event calendar_event_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.calendar_event
    ADD CONSTRAINT calendar_event_pkey PRIMARY KEY (id);


--
-- Name: calendar_event_res_partner_rel calendar_event_res_partner_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.calendar_event_res_partner_rel
    ADD CONSTRAINT calendar_event_res_partner_rel_pkey PRIMARY KEY (res_partner_id, calendar_event_id);


--
-- Name: calendar_event_type calendar_event_type_name_uniq; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.calendar_event_type
    ADD CONSTRAINT calendar_event_type_name_uniq UNIQUE (name);


--
-- Name: CONSTRAINT calendar_event_type_name_uniq ON calendar_event_type; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT calendar_event_type_name_uniq ON public.calendar_event_type IS 'unique (name)';


--
-- Name: calendar_event_type calendar_event_type_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.calendar_event_type
    ADD CONSTRAINT calendar_event_type_pkey PRIMARY KEY (id);


--
-- Name: calendar_filters calendar_filters_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.calendar_filters
    ADD CONSTRAINT calendar_filters_pkey PRIMARY KEY (id);


--
-- Name: calendar_filters calendar_filters_user_id_partner_id_unique; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.calendar_filters
    ADD CONSTRAINT calendar_filters_user_id_partner_id_unique UNIQUE (user_id, partner_id);


--
-- Name: CONSTRAINT calendar_filters_user_id_partner_id_unique ON calendar_filters; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT calendar_filters_user_id_partner_id_unique ON public.calendar_filters IS 'UNIQUE(user_id, partner_id)';


--
-- Name: calendar_provider_config calendar_provider_config_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.calendar_provider_config
    ADD CONSTRAINT calendar_provider_config_pkey PRIMARY KEY (id);


--
-- Name: calendar_recurrence calendar_recurrence_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.calendar_recurrence
    ADD CONSTRAINT calendar_recurrence_pkey PRIMARY KEY (id);


--
-- Name: change_password_own change_password_own_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.change_password_own
    ADD CONSTRAINT change_password_own_pkey PRIMARY KEY (id);


--
-- Name: change_password_user change_password_user_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.change_password_user
    ADD CONSTRAINT change_password_user_pkey PRIMARY KEY (id);


--
-- Name: change_password_wizard change_password_wizard_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.change_password_wizard
    ADD CONSTRAINT change_password_wizard_pkey PRIMARY KEY (id);


--
-- Name: chatbot_message chatbot_message__unique_mail_message_id; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.chatbot_message
    ADD CONSTRAINT chatbot_message__unique_mail_message_id UNIQUE (mail_message_id);


--
-- Name: CONSTRAINT chatbot_message__unique_mail_message_id ON chatbot_message; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT chatbot_message__unique_mail_message_id ON public.chatbot_message IS 'unique (mail_message_id)';


--
-- Name: chatbot_message chatbot_message_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.chatbot_message
    ADD CONSTRAINT chatbot_message_pkey PRIMARY KEY (id);


--
-- Name: chatbot_script_answer_chatbot_script_step_rel chatbot_script_answer_chatbot_script_step_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.chatbot_script_answer_chatbot_script_step_rel
    ADD CONSTRAINT chatbot_script_answer_chatbot_script_step_rel_pkey PRIMARY KEY (chatbot_script_step_id, chatbot_script_answer_id);


--
-- Name: chatbot_script_answer chatbot_script_answer_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.chatbot_script_answer
    ADD CONSTRAINT chatbot_script_answer_pkey PRIMARY KEY (id);


--
-- Name: chatbot_script chatbot_script_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.chatbot_script
    ADD CONSTRAINT chatbot_script_pkey PRIMARY KEY (id);


--
-- Name: chatbot_script_step chatbot_script_step_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.chatbot_script_step
    ADD CONSTRAINT chatbot_script_step_pkey PRIMARY KEY (id);


--
-- Name: confirm_stock_sms confirm_stock_sms_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.confirm_stock_sms
    ADD CONSTRAINT confirm_stock_sms_pkey PRIMARY KEY (id);


--
-- Name: crm_convert_lead_mass_lead_rel crm_convert_lead_mass_lead_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.crm_convert_lead_mass_lead_rel
    ADD CONSTRAINT crm_convert_lead_mass_lead_rel_pkey PRIMARY KEY (crm_lead2opportunity_partner_mass_id, crm_lead_id);


--
-- Name: crm_iap_lead_helpers crm_iap_lead_helpers_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.crm_iap_lead_helpers
    ADD CONSTRAINT crm_iap_lead_helpers_pkey PRIMARY KEY (id);


--
-- Name: crm_iap_lead_industry_crm_iap_lead_mining_request_rel crm_iap_lead_industry_crm_iap_lead_mining_request_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.crm_iap_lead_industry_crm_iap_lead_mining_request_rel
    ADD CONSTRAINT crm_iap_lead_industry_crm_iap_lead_mining_request_rel_pkey PRIMARY KEY (crm_iap_lead_mining_request_id, crm_iap_lead_industry_id);


--
-- Name: crm_iap_lead_industry crm_iap_lead_industry_name_uniq; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.crm_iap_lead_industry
    ADD CONSTRAINT crm_iap_lead_industry_name_uniq UNIQUE (name);


--
-- Name: CONSTRAINT crm_iap_lead_industry_name_uniq ON crm_iap_lead_industry; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT crm_iap_lead_industry_name_uniq ON public.crm_iap_lead_industry IS 'unique (name)';


--
-- Name: crm_iap_lead_industry crm_iap_lead_industry_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.crm_iap_lead_industry
    ADD CONSTRAINT crm_iap_lead_industry_pkey PRIMARY KEY (id);


--
-- Name: crm_iap_lead_mining_request_crm_iap_lead_role_rel crm_iap_lead_mining_request_crm_iap_lead_role_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.crm_iap_lead_mining_request_crm_iap_lead_role_rel
    ADD CONSTRAINT crm_iap_lead_mining_request_crm_iap_lead_role_rel_pkey PRIMARY KEY (crm_iap_lead_mining_request_id, crm_iap_lead_role_id);


--
-- Name: crm_iap_lead_mining_request_crm_tag_rel crm_iap_lead_mining_request_crm_tag_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.crm_iap_lead_mining_request_crm_tag_rel
    ADD CONSTRAINT crm_iap_lead_mining_request_crm_tag_rel_pkey PRIMARY KEY (crm_iap_lead_mining_request_id, crm_tag_id);


--
-- Name: crm_iap_lead_mining_request crm_iap_lead_mining_request_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.crm_iap_lead_mining_request
    ADD CONSTRAINT crm_iap_lead_mining_request_pkey PRIMARY KEY (id);


--
-- Name: crm_iap_lead_mining_request_res_country_rel crm_iap_lead_mining_request_res_country_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.crm_iap_lead_mining_request_res_country_rel
    ADD CONSTRAINT crm_iap_lead_mining_request_res_country_rel_pkey PRIMARY KEY (crm_iap_lead_mining_request_id, res_country_id);


--
-- Name: crm_iap_lead_mining_request_res_country_state_rel crm_iap_lead_mining_request_res_country_state_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.crm_iap_lead_mining_request_res_country_state_rel
    ADD CONSTRAINT crm_iap_lead_mining_request_res_country_state_rel_pkey PRIMARY KEY (crm_iap_lead_mining_request_id, res_country_state_id);


--
-- Name: crm_iap_lead_role crm_iap_lead_role_name_uniq; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.crm_iap_lead_role
    ADD CONSTRAINT crm_iap_lead_role_name_uniq UNIQUE (name);


--
-- Name: CONSTRAINT crm_iap_lead_role_name_uniq ON crm_iap_lead_role; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT crm_iap_lead_role_name_uniq ON public.crm_iap_lead_role IS 'unique (name)';


--
-- Name: crm_iap_lead_role crm_iap_lead_role_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.crm_iap_lead_role
    ADD CONSTRAINT crm_iap_lead_role_pkey PRIMARY KEY (id);


--
-- Name: crm_iap_lead_seniority crm_iap_lead_seniority_name_uniq; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.crm_iap_lead_seniority
    ADD CONSTRAINT crm_iap_lead_seniority_name_uniq UNIQUE (name);


--
-- Name: CONSTRAINT crm_iap_lead_seniority_name_uniq ON crm_iap_lead_seniority; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT crm_iap_lead_seniority_name_uniq ON public.crm_iap_lead_seniority IS 'unique (name)';


--
-- Name: crm_iap_lead_seniority crm_iap_lead_seniority_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.crm_iap_lead_seniority
    ADD CONSTRAINT crm_iap_lead_seniority_pkey PRIMARY KEY (id);


--
-- Name: crm_lead2opportunity_partner_mass crm_lead2opportunity_partner_mass_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.crm_lead2opportunity_partner_mass
    ADD CONSTRAINT crm_lead2opportunity_partner_mass_pkey PRIMARY KEY (id);


--
-- Name: crm_lead2opportunity_partner_mass_res_users_rel crm_lead2opportunity_partner_mass_res_users_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.crm_lead2opportunity_partner_mass_res_users_rel
    ADD CONSTRAINT crm_lead2opportunity_partner_mass_res_users_rel_pkey PRIMARY KEY (crm_lead2opportunity_partner_mass_id, res_users_id);


--
-- Name: crm_lead2opportunity_partner crm_lead2opportunity_partner_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.crm_lead2opportunity_partner
    ADD CONSTRAINT crm_lead2opportunity_partner_pkey PRIMARY KEY (id);


--
-- Name: crm_lead_crm_lead2opportunity_partner_mass_rel crm_lead_crm_lead2opportunity_partner_mass_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.crm_lead_crm_lead2opportunity_partner_mass_rel
    ADD CONSTRAINT crm_lead_crm_lead2opportunity_partner_mass_rel_pkey PRIMARY KEY (crm_lead2opportunity_partner_mass_id, crm_lead_id);


--
-- Name: crm_lead_crm_lead2opportunity_partner_rel crm_lead_crm_lead2opportunity_partner_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.crm_lead_crm_lead2opportunity_partner_rel
    ADD CONSTRAINT crm_lead_crm_lead2opportunity_partner_rel_pkey PRIMARY KEY (crm_lead2opportunity_partner_id, crm_lead_id);


--
-- Name: crm_lead_lost crm_lead_lost_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.crm_lead_lost
    ADD CONSTRAINT crm_lead_lost_pkey PRIMARY KEY (id);


--
-- Name: crm_lead crm_lead_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.crm_lead
    ADD CONSTRAINT crm_lead_pkey PRIMARY KEY (id);


--
-- Name: crm_lead_pls_update_crm_lead_scoring_frequency_field_rel crm_lead_pls_update_crm_lead_scoring_frequency_field_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.crm_lead_pls_update_crm_lead_scoring_frequency_field_rel
    ADD CONSTRAINT crm_lead_pls_update_crm_lead_scoring_frequency_field_rel_pkey PRIMARY KEY (crm_lead_pls_update_id, crm_lead_scoring_frequency_field_id);


--
-- Name: crm_lead_pls_update crm_lead_pls_update_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.crm_lead_pls_update
    ADD CONSTRAINT crm_lead_pls_update_pkey PRIMARY KEY (id);


--
-- Name: crm_lead_scoring_frequency_field crm_lead_scoring_frequency_field_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.crm_lead_scoring_frequency_field
    ADD CONSTRAINT crm_lead_scoring_frequency_field_pkey PRIMARY KEY (id);


--
-- Name: crm_lead_scoring_frequency crm_lead_scoring_frequency_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.crm_lead_scoring_frequency
    ADD CONSTRAINT crm_lead_scoring_frequency_pkey PRIMARY KEY (id);


--
-- Name: crm_lead_website_visitor_rel crm_lead_website_visitor_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.crm_lead_website_visitor_rel
    ADD CONSTRAINT crm_lead_website_visitor_rel_pkey PRIMARY KEY (crm_lead_id, website_visitor_id);


--
-- Name: crm_lost_reason crm_lost_reason_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.crm_lost_reason
    ADD CONSTRAINT crm_lost_reason_pkey PRIMARY KEY (id);


--
-- Name: crm_merge_opportunity crm_merge_opportunity_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.crm_merge_opportunity
    ADD CONSTRAINT crm_merge_opportunity_pkey PRIMARY KEY (id);


--
-- Name: crm_quotation_partner crm_quotation_partner_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.crm_quotation_partner
    ADD CONSTRAINT crm_quotation_partner_pkey PRIMARY KEY (id);


--
-- Name: crm_recurring_plan crm_recurring_plan_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.crm_recurring_plan
    ADD CONSTRAINT crm_recurring_plan_pkey PRIMARY KEY (id);


--
-- Name: crm_stage crm_stage_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.crm_stage
    ADD CONSTRAINT crm_stage_pkey PRIMARY KEY (id);


--
-- Name: crm_tag crm_tag_name_uniq; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.crm_tag
    ADD CONSTRAINT crm_tag_name_uniq UNIQUE (name);


--
-- Name: CONSTRAINT crm_tag_name_uniq ON crm_tag; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT crm_tag_name_uniq ON public.crm_tag IS 'unique (name)';


--
-- Name: crm_tag crm_tag_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.crm_tag
    ADD CONSTRAINT crm_tag_pkey PRIMARY KEY (id);


--
-- Name: crm_tag_rel crm_tag_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.crm_tag_rel
    ADD CONSTRAINT crm_tag_rel_pkey PRIMARY KEY (lead_id, tag_id);


--
-- Name: crm_team_member crm_team_member_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.crm_team_member
    ADD CONSTRAINT crm_team_member_pkey PRIMARY KEY (id);


--
-- Name: crm_team crm_team_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.crm_team
    ADD CONSTRAINT crm_team_pkey PRIMARY KEY (id);


--
-- Name: decimal_precision decimal_precision_name_uniq; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.decimal_precision
    ADD CONSTRAINT decimal_precision_name_uniq UNIQUE (name);


--
-- Name: CONSTRAINT decimal_precision_name_uniq ON decimal_precision; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT decimal_precision_name_uniq ON public.decimal_precision IS 'unique (name)';


--
-- Name: decimal_precision decimal_precision_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.decimal_precision
    ADD CONSTRAINT decimal_precision_pkey PRIMARY KEY (id);


--
-- Name: digest_digest digest_digest_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.digest_digest
    ADD CONSTRAINT digest_digest_pkey PRIMARY KEY (id);


--
-- Name: digest_digest_res_users_rel digest_digest_res_users_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.digest_digest_res_users_rel
    ADD CONSTRAINT digest_digest_res_users_rel_pkey PRIMARY KEY (digest_digest_id, res_users_id);


--
-- Name: digest_tip digest_tip_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.digest_tip
    ADD CONSTRAINT digest_tip_pkey PRIMARY KEY (id);


--
-- Name: digest_tip_res_users_rel digest_tip_res_users_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.digest_tip_res_users_rel
    ADD CONSTRAINT digest_tip_res_users_rel_pkey PRIMARY KEY (digest_tip_id, res_users_id);


--
-- Name: email_template_attachment_rel email_template_attachment_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.email_template_attachment_rel
    ADD CONSTRAINT email_template_attachment_rel_pkey PRIMARY KEY (email_template_id, attachment_id);


--
-- Name: employee_category_rel employee_category_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.employee_category_rel
    ADD CONSTRAINT employee_category_rel_pkey PRIMARY KEY (emp_id, category_id);


--
-- Name: expense_tax expense_tax_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.expense_tax
    ADD CONSTRAINT expense_tax_pkey PRIMARY KEY (expense_id, tax_id);


--
-- Name: fetchmail_server fetchmail_server_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.fetchmail_server
    ADD CONSTRAINT fetchmail_server_pkey PRIMARY KEY (id);


--
-- Name: gamification_badge gamification_badge_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.gamification_badge
    ADD CONSTRAINT gamification_badge_pkey PRIMARY KEY (id);


--
-- Name: gamification_badge_rule_badge_rel gamification_badge_rule_badge_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.gamification_badge_rule_badge_rel
    ADD CONSTRAINT gamification_badge_rule_badge_rel_pkey PRIMARY KEY (badge1_id, badge2_id);


--
-- Name: gamification_badge_user gamification_badge_user_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.gamification_badge_user
    ADD CONSTRAINT gamification_badge_user_pkey PRIMARY KEY (id);


--
-- Name: gamification_badge_user_wizard gamification_badge_user_wizard_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.gamification_badge_user_wizard
    ADD CONSTRAINT gamification_badge_user_wizard_pkey PRIMARY KEY (id);


--
-- Name: gamification_challenge_line gamification_challenge_line_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.gamification_challenge_line
    ADD CONSTRAINT gamification_challenge_line_pkey PRIMARY KEY (id);


--
-- Name: gamification_challenge gamification_challenge_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.gamification_challenge
    ADD CONSTRAINT gamification_challenge_pkey PRIMARY KEY (id);


--
-- Name: gamification_challenge_users_rel gamification_challenge_users_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.gamification_challenge_users_rel
    ADD CONSTRAINT gamification_challenge_users_rel_pkey PRIMARY KEY (gamification_challenge_id, res_users_id);


--
-- Name: gamification_goal_definition gamification_goal_definition_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.gamification_goal_definition
    ADD CONSTRAINT gamification_goal_definition_pkey PRIMARY KEY (id);


--
-- Name: gamification_goal gamification_goal_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.gamification_goal
    ADD CONSTRAINT gamification_goal_pkey PRIMARY KEY (id);


--
-- Name: gamification_goal_wizard gamification_goal_wizard_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.gamification_goal_wizard
    ADD CONSTRAINT gamification_goal_wizard_pkey PRIMARY KEY (id);


--
-- Name: gamification_invited_user_ids_rel gamification_invited_user_ids_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.gamification_invited_user_ids_rel
    ADD CONSTRAINT gamification_invited_user_ids_rel_pkey PRIMARY KEY (gamification_challenge_id, res_users_id);


--
-- Name: gamification_karma_rank gamification_karma_rank_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.gamification_karma_rank
    ADD CONSTRAINT gamification_karma_rank_pkey PRIMARY KEY (id);


--
-- Name: gamification_karma_tracking gamification_karma_tracking_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.gamification_karma_tracking
    ADD CONSTRAINT gamification_karma_tracking_pkey PRIMARY KEY (id);


--
-- Name: hr_contract hr_contract_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.hr_contract
    ADD CONSTRAINT hr_contract_pkey PRIMARY KEY (id);


--
-- Name: hr_contract_type hr_contract_type_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.hr_contract_type
    ADD CONSTRAINT hr_contract_type_pkey PRIMARY KEY (id);


--
-- Name: hr_department_mail_channel_rel hr_department_mail_channel_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.hr_department_mail_channel_rel
    ADD CONSTRAINT hr_department_mail_channel_rel_pkey PRIMARY KEY (mail_channel_id, hr_department_id);


--
-- Name: hr_department hr_department_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.hr_department
    ADD CONSTRAINT hr_department_pkey PRIMARY KEY (id);


--
-- Name: hr_departure_reason hr_departure_reason_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.hr_departure_reason
    ADD CONSTRAINT hr_departure_reason_pkey PRIMARY KEY (id);


--
-- Name: hr_departure_wizard hr_departure_wizard_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.hr_departure_wizard
    ADD CONSTRAINT hr_departure_wizard_pkey PRIMARY KEY (id);


--
-- Name: hr_employee hr_employee_barcode_uniq; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.hr_employee
    ADD CONSTRAINT hr_employee_barcode_uniq UNIQUE (barcode);


--
-- Name: CONSTRAINT hr_employee_barcode_uniq ON hr_employee; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT hr_employee_barcode_uniq ON public.hr_employee IS 'unique (barcode)';


--
-- Name: hr_employee_category hr_employee_category_name_uniq; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.hr_employee_category
    ADD CONSTRAINT hr_employee_category_name_uniq UNIQUE (name);


--
-- Name: CONSTRAINT hr_employee_category_name_uniq ON hr_employee_category; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT hr_employee_category_name_uniq ON public.hr_employee_category IS 'unique (name)';


--
-- Name: hr_employee_category hr_employee_category_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.hr_employee_category
    ADD CONSTRAINT hr_employee_category_pkey PRIMARY KEY (id);


--
-- Name: hr_employee_hr_plan_wizard_rel hr_employee_hr_plan_wizard_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.hr_employee_hr_plan_wizard_rel
    ADD CONSTRAINT hr_employee_hr_plan_wizard_rel_pkey PRIMARY KEY (employee_id, plan_wizard_id);


--
-- Name: hr_employee hr_employee_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.hr_employee
    ADD CONSTRAINT hr_employee_pkey PRIMARY KEY (id);


--
-- Name: hr_employee hr_employee_user_uniq; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.hr_employee
    ADD CONSTRAINT hr_employee_user_uniq UNIQUE (user_id, company_id);


--
-- Name: CONSTRAINT hr_employee_user_uniq ON hr_employee; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT hr_employee_user_uniq ON public.hr_employee IS 'unique (user_id, company_id)';


--
-- Name: hr_expense_approve_duplicate_hr_expense_sheet_rel hr_expense_approve_duplicate_hr_expense_sheet_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.hr_expense_approve_duplicate_hr_expense_sheet_rel
    ADD CONSTRAINT hr_expense_approve_duplicate_hr_expense_sheet_rel_pkey PRIMARY KEY (hr_expense_approve_duplicate_id, hr_expense_sheet_id);


--
-- Name: hr_expense_approve_duplicate hr_expense_approve_duplicate_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.hr_expense_approve_duplicate
    ADD CONSTRAINT hr_expense_approve_duplicate_pkey PRIMARY KEY (id);


--
-- Name: hr_expense_hr_expense_approve_duplicate_rel hr_expense_hr_expense_approve_duplicate_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.hr_expense_hr_expense_approve_duplicate_rel
    ADD CONSTRAINT hr_expense_hr_expense_approve_duplicate_rel_pkey PRIMARY KEY (hr_expense_approve_duplicate_id, hr_expense_id);


--
-- Name: hr_expense_hr_expense_refuse_wizard_rel hr_expense_hr_expense_refuse_wizard_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.hr_expense_hr_expense_refuse_wizard_rel
    ADD CONSTRAINT hr_expense_hr_expense_refuse_wizard_rel_pkey PRIMARY KEY (hr_expense_refuse_wizard_id, hr_expense_id);


--
-- Name: hr_expense hr_expense_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.hr_expense
    ADD CONSTRAINT hr_expense_pkey PRIMARY KEY (id);


--
-- Name: hr_expense_refuse_wizard hr_expense_refuse_wizard_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.hr_expense_refuse_wizard
    ADD CONSTRAINT hr_expense_refuse_wizard_pkey PRIMARY KEY (id);


--
-- Name: hr_expense_sheet hr_expense_sheet_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.hr_expense_sheet
    ADD CONSTRAINT hr_expense_sheet_pkey PRIMARY KEY (id);


--
-- Name: hr_expense_split hr_expense_split_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.hr_expense_split
    ADD CONSTRAINT hr_expense_split_pkey PRIMARY KEY (id);


--
-- Name: hr_expense_split_wizard hr_expense_split_wizard_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.hr_expense_split_wizard
    ADD CONSTRAINT hr_expense_split_wizard_pkey PRIMARY KEY (id);


--
-- Name: hr_job hr_job_name_company_uniq; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.hr_job
    ADD CONSTRAINT hr_job_name_company_uniq UNIQUE (name, company_id, department_id);


--
-- Name: CONSTRAINT hr_job_name_company_uniq ON hr_job; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT hr_job_name_company_uniq ON public.hr_job IS 'unique(name, company_id, department_id)';


--
-- Name: hr_job hr_job_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.hr_job
    ADD CONSTRAINT hr_job_pkey PRIMARY KEY (id);


--
-- Name: hr_payroll_structure_type hr_payroll_structure_type_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.hr_payroll_structure_type
    ADD CONSTRAINT hr_payroll_structure_type_pkey PRIMARY KEY (id);


--
-- Name: hr_plan_activity_type hr_plan_activity_type_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.hr_plan_activity_type
    ADD CONSTRAINT hr_plan_activity_type_pkey PRIMARY KEY (id);


--
-- Name: hr_plan hr_plan_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.hr_plan
    ADD CONSTRAINT hr_plan_pkey PRIMARY KEY (id);


--
-- Name: hr_plan_wizard hr_plan_wizard_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.hr_plan_wizard
    ADD CONSTRAINT hr_plan_wizard_pkey PRIMARY KEY (id);


--
-- Name: hr_work_location hr_work_location_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.hr_work_location
    ADD CONSTRAINT hr_work_location_pkey PRIMARY KEY (id);


--
-- Name: iap_account iap_account_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.iap_account
    ADD CONSTRAINT iap_account_pkey PRIMARY KEY (id);


--
-- Name: iap_account_res_company_rel iap_account_res_company_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.iap_account_res_company_rel
    ADD CONSTRAINT iap_account_res_company_rel_pkey PRIMARY KEY (iap_account_id, res_company_id);


--
-- Name: im_livechat_channel_country_rel im_livechat_channel_country_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.im_livechat_channel_country_rel
    ADD CONSTRAINT im_livechat_channel_country_rel_pkey PRIMARY KEY (channel_id, country_id);


--
-- Name: im_livechat_channel_im_user im_livechat_channel_im_user_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.im_livechat_channel_im_user
    ADD CONSTRAINT im_livechat_channel_im_user_pkey PRIMARY KEY (channel_id, user_id);


--
-- Name: im_livechat_channel im_livechat_channel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.im_livechat_channel
    ADD CONSTRAINT im_livechat_channel_pkey PRIMARY KEY (id);


--
-- Name: im_livechat_channel_rule im_livechat_channel_rule_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.im_livechat_channel_rule
    ADD CONSTRAINT im_livechat_channel_rule_pkey PRIMARY KEY (id);


--
-- Name: ir_act_client ir_act_client_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.ir_act_client
    ADD CONSTRAINT ir_act_client_pkey PRIMARY KEY (id);


--
-- Name: ir_act_report_xml ir_act_report_xml_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.ir_act_report_xml
    ADD CONSTRAINT ir_act_report_xml_pkey PRIMARY KEY (id);


--
-- Name: ir_act_server_group_rel ir_act_server_group_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.ir_act_server_group_rel
    ADD CONSTRAINT ir_act_server_group_rel_pkey PRIMARY KEY (act_id, gid);


--
-- Name: ir_act_server ir_act_server_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.ir_act_server
    ADD CONSTRAINT ir_act_server_pkey PRIMARY KEY (id);


--
-- Name: ir_act_server_res_partner_rel ir_act_server_res_partner_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.ir_act_server_res_partner_rel
    ADD CONSTRAINT ir_act_server_res_partner_rel_pkey PRIMARY KEY (ir_act_server_id, res_partner_id);


--
-- Name: ir_act_url ir_act_url_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.ir_act_url
    ADD CONSTRAINT ir_act_url_pkey PRIMARY KEY (id);


--
-- Name: ir_act_window_group_rel ir_act_window_group_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.ir_act_window_group_rel
    ADD CONSTRAINT ir_act_window_group_rel_pkey PRIMARY KEY (act_id, gid);


--
-- Name: ir_act_window ir_act_window_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.ir_act_window
    ADD CONSTRAINT ir_act_window_pkey PRIMARY KEY (id);


--
-- Name: ir_act_window_view ir_act_window_view_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.ir_act_window_view
    ADD CONSTRAINT ir_act_window_view_pkey PRIMARY KEY (id);


--
-- Name: ir_actions ir_actions_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.ir_actions
    ADD CONSTRAINT ir_actions_pkey PRIMARY KEY (id);


--
-- Name: ir_actions_todo ir_actions_todo_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.ir_actions_todo
    ADD CONSTRAINT ir_actions_todo_pkey PRIMARY KEY (id);


--
-- Name: ir_asset ir_asset_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.ir_asset
    ADD CONSTRAINT ir_asset_pkey PRIMARY KEY (id);


--
-- Name: ir_attachment ir_attachment_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.ir_attachment
    ADD CONSTRAINT ir_attachment_pkey PRIMARY KEY (id);


--
-- Name: ir_config_parameter ir_config_parameter_key_uniq; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.ir_config_parameter
    ADD CONSTRAINT ir_config_parameter_key_uniq UNIQUE (key);


--
-- Name: CONSTRAINT ir_config_parameter_key_uniq ON ir_config_parameter; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT ir_config_parameter_key_uniq ON public.ir_config_parameter IS 'unique (key)';


--
-- Name: ir_config_parameter ir_config_parameter_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.ir_config_parameter
    ADD CONSTRAINT ir_config_parameter_pkey PRIMARY KEY (id);


--
-- Name: ir_cron ir_cron_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.ir_cron
    ADD CONSTRAINT ir_cron_pkey PRIMARY KEY (id);


--
-- Name: ir_cron_trigger ir_cron_trigger_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.ir_cron_trigger
    ADD CONSTRAINT ir_cron_trigger_pkey PRIMARY KEY (id);


--
-- Name: ir_default ir_default_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.ir_default
    ADD CONSTRAINT ir_default_pkey PRIMARY KEY (id);


--
-- Name: ir_demo_failure ir_demo_failure_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.ir_demo_failure
    ADD CONSTRAINT ir_demo_failure_pkey PRIMARY KEY (id);


--
-- Name: ir_demo_failure_wizard ir_demo_failure_wizard_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.ir_demo_failure_wizard
    ADD CONSTRAINT ir_demo_failure_wizard_pkey PRIMARY KEY (id);


--
-- Name: ir_demo ir_demo_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.ir_demo
    ADD CONSTRAINT ir_demo_pkey PRIMARY KEY (id);


--
-- Name: ir_exports_line ir_exports_line_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.ir_exports_line
    ADD CONSTRAINT ir_exports_line_pkey PRIMARY KEY (id);


--
-- Name: ir_exports ir_exports_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.ir_exports
    ADD CONSTRAINT ir_exports_pkey PRIMARY KEY (id);


--
-- Name: ir_filters ir_filters_name_model_uid_unique; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.ir_filters
    ADD CONSTRAINT ir_filters_name_model_uid_unique UNIQUE (model_id, user_id, action_id, name);


--
-- Name: CONSTRAINT ir_filters_name_model_uid_unique ON ir_filters; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT ir_filters_name_model_uid_unique ON public.ir_filters IS 'unique (model_id, user_id, action_id, name)';


--
-- Name: ir_filters ir_filters_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.ir_filters
    ADD CONSTRAINT ir_filters_pkey PRIMARY KEY (id);


--
-- Name: ir_logging ir_logging_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.ir_logging
    ADD CONSTRAINT ir_logging_pkey PRIMARY KEY (id);


--
-- Name: ir_mail_server ir_mail_server_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.ir_mail_server
    ADD CONSTRAINT ir_mail_server_pkey PRIMARY KEY (id);


--
-- Name: ir_model_access ir_model_access_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.ir_model_access
    ADD CONSTRAINT ir_model_access_pkey PRIMARY KEY (id);


--
-- Name: ir_model_constraint ir_model_constraint_module_name_uniq; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.ir_model_constraint
    ADD CONSTRAINT ir_model_constraint_module_name_uniq UNIQUE (name, module);


--
-- Name: CONSTRAINT ir_model_constraint_module_name_uniq ON ir_model_constraint; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT ir_model_constraint_module_name_uniq ON public.ir_model_constraint IS 'unique(name, module)';


--
-- Name: ir_model_constraint ir_model_constraint_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.ir_model_constraint
    ADD CONSTRAINT ir_model_constraint_pkey PRIMARY KEY (id);


--
-- Name: ir_model_data ir_model_data_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.ir_model_data
    ADD CONSTRAINT ir_model_data_pkey PRIMARY KEY (id);


--
-- Name: ir_model_fields_group_rel ir_model_fields_group_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.ir_model_fields_group_rel
    ADD CONSTRAINT ir_model_fields_group_rel_pkey PRIMARY KEY (field_id, group_id);


--
-- Name: ir_model_fields ir_model_fields_name_unique; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.ir_model_fields
    ADD CONSTRAINT ir_model_fields_name_unique UNIQUE (model, name);


--
-- Name: CONSTRAINT ir_model_fields_name_unique ON ir_model_fields; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT ir_model_fields_name_unique ON public.ir_model_fields IS 'UNIQUE(model, name)';


--
-- Name: ir_model_fields ir_model_fields_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.ir_model_fields
    ADD CONSTRAINT ir_model_fields_pkey PRIMARY KEY (id);


--
-- Name: ir_model_fields_selection ir_model_fields_selection_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.ir_model_fields_selection
    ADD CONSTRAINT ir_model_fields_selection_pkey PRIMARY KEY (id);


--
-- Name: ir_model_fields_selection ir_model_fields_selection_selection_field_uniq; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.ir_model_fields_selection
    ADD CONSTRAINT ir_model_fields_selection_selection_field_uniq UNIQUE (field_id, value);


--
-- Name: CONSTRAINT ir_model_fields_selection_selection_field_uniq ON ir_model_fields_selection; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT ir_model_fields_selection_selection_field_uniq ON public.ir_model_fields_selection IS 'unique(field_id, value)';


--
-- Name: ir_model ir_model_obj_name_uniq; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.ir_model
    ADD CONSTRAINT ir_model_obj_name_uniq UNIQUE (model);


--
-- Name: CONSTRAINT ir_model_obj_name_uniq ON ir_model; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT ir_model_obj_name_uniq ON public.ir_model IS 'unique (model)';


--
-- Name: ir_model ir_model_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.ir_model
    ADD CONSTRAINT ir_model_pkey PRIMARY KEY (id);


--
-- Name: ir_model_relation ir_model_relation_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.ir_model_relation
    ADD CONSTRAINT ir_model_relation_pkey PRIMARY KEY (id);


--
-- Name: ir_module_category ir_module_category_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.ir_module_category
    ADD CONSTRAINT ir_module_category_pkey PRIMARY KEY (id);


--
-- Name: ir_module_module_dependency ir_module_module_dependency_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.ir_module_module_dependency
    ADD CONSTRAINT ir_module_module_dependency_pkey PRIMARY KEY (id);


--
-- Name: ir_module_module_exclusion ir_module_module_exclusion_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.ir_module_module_exclusion
    ADD CONSTRAINT ir_module_module_exclusion_pkey PRIMARY KEY (id);


--
-- Name: ir_module_module ir_module_module_name_uniq; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.ir_module_module
    ADD CONSTRAINT ir_module_module_name_uniq UNIQUE (name);


--
-- Name: CONSTRAINT ir_module_module_name_uniq ON ir_module_module; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT ir_module_module_name_uniq ON public.ir_module_module IS 'UNIQUE (name)';


--
-- Name: ir_module_module ir_module_module_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.ir_module_module
    ADD CONSTRAINT ir_module_module_pkey PRIMARY KEY (id);


--
-- Name: ir_profile ir_profile_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.ir_profile
    ADD CONSTRAINT ir_profile_pkey PRIMARY KEY (id);


--
-- Name: ir_property ir_property_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.ir_property
    ADD CONSTRAINT ir_property_pkey PRIMARY KEY (id);


--
-- Name: ir_rule ir_rule_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.ir_rule
    ADD CONSTRAINT ir_rule_pkey PRIMARY KEY (id);


--
-- Name: ir_sequence_date_range ir_sequence_date_range_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.ir_sequence_date_range
    ADD CONSTRAINT ir_sequence_date_range_pkey PRIMARY KEY (id);


--
-- Name: ir_sequence ir_sequence_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.ir_sequence
    ADD CONSTRAINT ir_sequence_pkey PRIMARY KEY (id);


--
-- Name: ir_server_object_lines ir_server_object_lines_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.ir_server_object_lines
    ADD CONSTRAINT ir_server_object_lines_pkey PRIMARY KEY (id);


--
-- Name: ir_ui_menu_group_rel ir_ui_menu_group_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.ir_ui_menu_group_rel
    ADD CONSTRAINT ir_ui_menu_group_rel_pkey PRIMARY KEY (menu_id, gid);


--
-- Name: ir_ui_menu ir_ui_menu_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.ir_ui_menu
    ADD CONSTRAINT ir_ui_menu_pkey PRIMARY KEY (id);


--
-- Name: ir_ui_view_custom ir_ui_view_custom_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.ir_ui_view_custom
    ADD CONSTRAINT ir_ui_view_custom_pkey PRIMARY KEY (id);


--
-- Name: ir_ui_view_group_rel ir_ui_view_group_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.ir_ui_view_group_rel
    ADD CONSTRAINT ir_ui_view_group_rel_pkey PRIMARY KEY (view_id, group_id);


--
-- Name: ir_ui_view ir_ui_view_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.ir_ui_view
    ADD CONSTRAINT ir_ui_view_pkey PRIMARY KEY (id);


--
-- Name: journal_account_control_rel journal_account_control_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.journal_account_control_rel
    ADD CONSTRAINT journal_account_control_rel_pkey PRIMARY KEY (journal_id, account_id);


--
-- Name: link_tracker_click link_tracker_click_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.link_tracker_click
    ADD CONSTRAINT link_tracker_click_pkey PRIMARY KEY (id);


--
-- Name: link_tracker_code link_tracker_code_code; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.link_tracker_code
    ADD CONSTRAINT link_tracker_code_code UNIQUE (code);


--
-- Name: CONSTRAINT link_tracker_code_code ON link_tracker_code; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT link_tracker_code_code ON public.link_tracker_code IS 'unique( code )';


--
-- Name: link_tracker_code link_tracker_code_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.link_tracker_code
    ADD CONSTRAINT link_tracker_code_pkey PRIMARY KEY (id);


--
-- Name: link_tracker link_tracker_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.link_tracker
    ADD CONSTRAINT link_tracker_pkey PRIMARY KEY (id);


--
-- Name: lot_label_layout lot_label_layout_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.lot_label_layout
    ADD CONSTRAINT lot_label_layout_pkey PRIMARY KEY (id);


--
-- Name: lot_label_layout_stock_picking_rel lot_label_layout_stock_picking_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.lot_label_layout_stock_picking_rel
    ADD CONSTRAINT lot_label_layout_stock_picking_rel_pkey PRIMARY KEY (lot_label_layout_id, stock_picking_id);


--
-- Name: mail_activity mail_activity_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.mail_activity
    ADD CONSTRAINT mail_activity_pkey PRIMARY KEY (id);


--
-- Name: mail_activity_rel mail_activity_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.mail_activity_rel
    ADD CONSTRAINT mail_activity_rel_pkey PRIMARY KEY (activity_id, recommended_id);


--
-- Name: mail_activity_type_mail_template_rel mail_activity_type_mail_template_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.mail_activity_type_mail_template_rel
    ADD CONSTRAINT mail_activity_type_mail_template_rel_pkey PRIMARY KEY (mail_activity_type_id, mail_template_id);


--
-- Name: mail_activity_type mail_activity_type_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.mail_activity_type
    ADD CONSTRAINT mail_activity_type_pkey PRIMARY KEY (id);


--
-- Name: mail_alias mail_alias_alias_unique; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.mail_alias
    ADD CONSTRAINT mail_alias_alias_unique UNIQUE (alias_name);


--
-- Name: CONSTRAINT mail_alias_alias_unique ON mail_alias; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT mail_alias_alias_unique ON public.mail_alias IS 'UNIQUE(alias_name)';


--
-- Name: mail_alias mail_alias_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.mail_alias
    ADD CONSTRAINT mail_alias_pkey PRIMARY KEY (id);


--
-- Name: mail_blacklist mail_blacklist_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.mail_blacklist
    ADD CONSTRAINT mail_blacklist_pkey PRIMARY KEY (id);


--
-- Name: mail_blacklist_remove mail_blacklist_remove_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.mail_blacklist_remove
    ADD CONSTRAINT mail_blacklist_remove_pkey PRIMARY KEY (id);


--
-- Name: mail_blacklist mail_blacklist_unique_email; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.mail_blacklist
    ADD CONSTRAINT mail_blacklist_unique_email UNIQUE (email);


--
-- Name: CONSTRAINT mail_blacklist_unique_email ON mail_blacklist; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT mail_blacklist_unique_email ON public.mail_blacklist IS 'unique (email)';


--
-- Name: mail_channel_member mail_channel_member_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.mail_channel_member
    ADD CONSTRAINT mail_channel_member_pkey PRIMARY KEY (id);


--
-- Name: mail_channel mail_channel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.mail_channel
    ADD CONSTRAINT mail_channel_pkey PRIMARY KEY (id);


--
-- Name: mail_channel_res_groups_rel mail_channel_res_groups_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.mail_channel_res_groups_rel
    ADD CONSTRAINT mail_channel_res_groups_rel_pkey PRIMARY KEY (mail_channel_id, res_groups_id);


--
-- Name: mail_channel_rtc_session mail_channel_rtc_session_channel_member_unique; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.mail_channel_rtc_session
    ADD CONSTRAINT mail_channel_rtc_session_channel_member_unique UNIQUE (channel_member_id);


--
-- Name: CONSTRAINT mail_channel_rtc_session_channel_member_unique ON mail_channel_rtc_session; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT mail_channel_rtc_session_channel_member_unique ON public.mail_channel_rtc_session IS 'UNIQUE(channel_member_id)';


--
-- Name: mail_channel_rtc_session mail_channel_rtc_session_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.mail_channel_rtc_session
    ADD CONSTRAINT mail_channel_rtc_session_pkey PRIMARY KEY (id);


--
-- Name: mail_channel mail_channel_uuid_unique; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.mail_channel
    ADD CONSTRAINT mail_channel_uuid_unique UNIQUE (uuid);


--
-- Name: CONSTRAINT mail_channel_uuid_unique ON mail_channel; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT mail_channel_uuid_unique ON public.mail_channel IS 'UNIQUE(uuid)';


--
-- Name: mail_compose_message_ir_attachments_rel mail_compose_message_ir_attachments_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.mail_compose_message_ir_attachments_rel
    ADD CONSTRAINT mail_compose_message_ir_attachments_rel_pkey PRIMARY KEY (wizard_id, attachment_id);


--
-- Name: mail_compose_message_mailing_list_rel mail_compose_message_mailing_list_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.mail_compose_message_mailing_list_rel
    ADD CONSTRAINT mail_compose_message_mailing_list_rel_pkey PRIMARY KEY (mail_compose_message_id, mailing_list_id);


--
-- Name: mail_compose_message mail_compose_message_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.mail_compose_message
    ADD CONSTRAINT mail_compose_message_pkey PRIMARY KEY (id);


--
-- Name: mail_compose_message_res_partner_rel mail_compose_message_res_partner_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.mail_compose_message_res_partner_rel
    ADD CONSTRAINT mail_compose_message_res_partner_rel_pkey PRIMARY KEY (wizard_id, partner_id);


--
-- Name: mail_followers mail_followers_mail_followers_res_partner_res_model_id_uniq; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.mail_followers
    ADD CONSTRAINT mail_followers_mail_followers_res_partner_res_model_id_uniq UNIQUE (res_model, res_id, partner_id);


--
-- Name: CONSTRAINT mail_followers_mail_followers_res_partner_res_model_id_uniq ON mail_followers; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT mail_followers_mail_followers_res_partner_res_model_id_uniq ON public.mail_followers IS 'unique(res_model,res_id,partner_id)';


--
-- Name: mail_followers_mail_message_subtype_rel mail_followers_mail_message_subtype_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.mail_followers_mail_message_subtype_rel
    ADD CONSTRAINT mail_followers_mail_message_subtype_rel_pkey PRIMARY KEY (mail_followers_id, mail_message_subtype_id);


--
-- Name: mail_followers mail_followers_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.mail_followers
    ADD CONSTRAINT mail_followers_pkey PRIMARY KEY (id);


--
-- Name: mail_gateway_allowed mail_gateway_allowed_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.mail_gateway_allowed
    ADD CONSTRAINT mail_gateway_allowed_pkey PRIMARY KEY (id);


--
-- Name: mail_guest mail_guest_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.mail_guest
    ADD CONSTRAINT mail_guest_pkey PRIMARY KEY (id);


--
-- Name: mail_ice_server mail_ice_server_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.mail_ice_server
    ADD CONSTRAINT mail_ice_server_pkey PRIMARY KEY (id);


--
-- Name: mail_link_preview mail_link_preview_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.mail_link_preview
    ADD CONSTRAINT mail_link_preview_pkey PRIMARY KEY (id);


--
-- Name: mail_mail mail_mail_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.mail_mail
    ADD CONSTRAINT mail_mail_pkey PRIMARY KEY (id);


--
-- Name: mail_mail_res_partner_rel mail_mail_res_partner_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.mail_mail_res_partner_rel
    ADD CONSTRAINT mail_mail_res_partner_rel_pkey PRIMARY KEY (mail_mail_id, res_partner_id);


--
-- Name: mail_mass_mailing_list_rel mail_mass_mailing_list_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.mail_mass_mailing_list_rel
    ADD CONSTRAINT mail_mass_mailing_list_rel_pkey PRIMARY KEY (mailing_list_id, mailing_mailing_id);


--
-- Name: mail_message mail_message_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.mail_message
    ADD CONSTRAINT mail_message_pkey PRIMARY KEY (id);


--
-- Name: mail_message_reaction mail_message_reaction_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.mail_message_reaction
    ADD CONSTRAINT mail_message_reaction_pkey PRIMARY KEY (id);


--
-- Name: mail_message_res_partner_rel mail_message_res_partner_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.mail_message_res_partner_rel
    ADD CONSTRAINT mail_message_res_partner_rel_pkey PRIMARY KEY (mail_message_id, res_partner_id);


--
-- Name: mail_message_res_partner_starred_rel mail_message_res_partner_starred_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.mail_message_res_partner_starred_rel
    ADD CONSTRAINT mail_message_res_partner_starred_rel_pkey PRIMARY KEY (mail_message_id, res_partner_id);


--
-- Name: mail_message_schedule mail_message_schedule_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.mail_message_schedule
    ADD CONSTRAINT mail_message_schedule_pkey PRIMARY KEY (id);


--
-- Name: mail_message_subtype mail_message_subtype_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.mail_message_subtype
    ADD CONSTRAINT mail_message_subtype_pkey PRIMARY KEY (id);


--
-- Name: mail_notification_mail_resend_message_rel mail_notification_mail_resend_message_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.mail_notification_mail_resend_message_rel
    ADD CONSTRAINT mail_notification_mail_resend_message_rel_pkey PRIMARY KEY (mail_resend_message_id, mail_notification_id);


--
-- Name: mail_notification mail_notification_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.mail_notification
    ADD CONSTRAINT mail_notification_pkey PRIMARY KEY (id);


--
-- Name: mail_resend_message mail_resend_message_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.mail_resend_message
    ADD CONSTRAINT mail_resend_message_pkey PRIMARY KEY (id);


--
-- Name: mail_resend_partner mail_resend_partner_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.mail_resend_partner
    ADD CONSTRAINT mail_resend_partner_pkey PRIMARY KEY (id);


--
-- Name: mail_shortcode mail_shortcode_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.mail_shortcode
    ADD CONSTRAINT mail_shortcode_pkey PRIMARY KEY (id);


--
-- Name: mail_template_mail_template_reset_rel mail_template_mail_template_reset_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.mail_template_mail_template_reset_rel
    ADD CONSTRAINT mail_template_mail_template_reset_rel_pkey PRIMARY KEY (mail_template_reset_id, mail_template_id);


--
-- Name: mail_template mail_template_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.mail_template
    ADD CONSTRAINT mail_template_pkey PRIMARY KEY (id);


--
-- Name: mail_template_preview mail_template_preview_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.mail_template_preview
    ADD CONSTRAINT mail_template_preview_pkey PRIMARY KEY (id);


--
-- Name: mail_template_reset mail_template_reset_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.mail_template_reset
    ADD CONSTRAINT mail_template_reset_pkey PRIMARY KEY (id);


--
-- Name: mail_tracking_value mail_tracking_value_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.mail_tracking_value
    ADD CONSTRAINT mail_tracking_value_pkey PRIMARY KEY (id);


--
-- Name: mail_wizard_invite mail_wizard_invite_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.mail_wizard_invite
    ADD CONSTRAINT mail_wizard_invite_pkey PRIMARY KEY (id);


--
-- Name: mail_wizard_invite_res_partner_rel mail_wizard_invite_res_partner_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.mail_wizard_invite_res_partner_rel
    ADD CONSTRAINT mail_wizard_invite_res_partner_rel_pkey PRIMARY KEY (mail_wizard_invite_id, res_partner_id);


--
-- Name: mailing_contact_import_mailing_list_rel mailing_contact_import_mailing_list_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.mailing_contact_import_mailing_list_rel
    ADD CONSTRAINT mailing_contact_import_mailing_list_rel_pkey PRIMARY KEY (mailing_contact_import_id, mailing_list_id);


--
-- Name: mailing_contact_import mailing_contact_import_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.mailing_contact_import
    ADD CONSTRAINT mailing_contact_import_pkey PRIMARY KEY (id);


--
-- Name: mailing_contact_list_rel mailing_contact_list_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.mailing_contact_list_rel
    ADD CONSTRAINT mailing_contact_list_rel_pkey PRIMARY KEY (id);


--
-- Name: mailing_contact_list_rel mailing_contact_list_rel_unique_contact_list; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.mailing_contact_list_rel
    ADD CONSTRAINT mailing_contact_list_rel_unique_contact_list UNIQUE (contact_id, list_id);


--
-- Name: CONSTRAINT mailing_contact_list_rel_unique_contact_list ON mailing_contact_list_rel; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT mailing_contact_list_rel_unique_contact_list ON public.mailing_contact_list_rel IS 'unique (contact_id, list_id)';


--
-- Name: mailing_contact_mailing_contact_to_list_rel mailing_contact_mailing_contact_to_list_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.mailing_contact_mailing_contact_to_list_rel
    ADD CONSTRAINT mailing_contact_mailing_contact_to_list_rel_pkey PRIMARY KEY (mailing_contact_to_list_id, mailing_contact_id);


--
-- Name: mailing_contact mailing_contact_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.mailing_contact
    ADD CONSTRAINT mailing_contact_pkey PRIMARY KEY (id);


--
-- Name: mailing_contact_res_partner_category_rel mailing_contact_res_partner_category_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.mailing_contact_res_partner_category_rel
    ADD CONSTRAINT mailing_contact_res_partner_category_rel_pkey PRIMARY KEY (mailing_contact_id, res_partner_category_id);


--
-- Name: mailing_contact_to_list mailing_contact_to_list_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.mailing_contact_to_list
    ADD CONSTRAINT mailing_contact_to_list_pkey PRIMARY KEY (id);


--
-- Name: mailing_filter mailing_filter_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.mailing_filter
    ADD CONSTRAINT mailing_filter_pkey PRIMARY KEY (id);


--
-- Name: mailing_list_mailing_list_merge_rel mailing_list_mailing_list_merge_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.mailing_list_mailing_list_merge_rel
    ADD CONSTRAINT mailing_list_mailing_list_merge_rel_pkey PRIMARY KEY (mailing_list_merge_id, mailing_list_id);


--
-- Name: mailing_list_merge mailing_list_merge_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.mailing_list_merge
    ADD CONSTRAINT mailing_list_merge_pkey PRIMARY KEY (id);


--
-- Name: mailing_list mailing_list_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.mailing_list
    ADD CONSTRAINT mailing_list_pkey PRIMARY KEY (id);


--
-- Name: mailing_mailing mailing_mailing_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.mailing_mailing
    ADD CONSTRAINT mailing_mailing_pkey PRIMARY KEY (id);


--
-- Name: mailing_mailing_schedule_date mailing_mailing_schedule_date_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.mailing_mailing_schedule_date
    ADD CONSTRAINT mailing_mailing_schedule_date_pkey PRIMARY KEY (id);


--
-- Name: mailing_mailing_test mailing_mailing_test_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.mailing_mailing_test
    ADD CONSTRAINT mailing_mailing_test_pkey PRIMARY KEY (id);


--
-- Name: mailing_trace mailing_trace_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.mailing_trace
    ADD CONSTRAINT mailing_trace_pkey PRIMARY KEY (id);


--
-- Name: mass_mailing_ir_attachments_rel mass_mailing_ir_attachments_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.mass_mailing_ir_attachments_rel
    ADD CONSTRAINT mass_mailing_ir_attachments_rel_pkey PRIMARY KEY (mass_mailing_id, attachment_id);


--
-- Name: meeting_category_rel meeting_category_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.meeting_category_rel
    ADD CONSTRAINT meeting_category_rel_pkey PRIMARY KEY (event_id, type_id);


--
-- Name: merge_opportunity_rel merge_opportunity_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.merge_opportunity_rel
    ADD CONSTRAINT merge_opportunity_rel_pkey PRIMARY KEY (merge_id, opportunity_id);


--
-- Name: message_attachment_rel message_attachment_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.message_attachment_rel
    ADD CONSTRAINT message_attachment_rel_pkey PRIMARY KEY (message_id, attachment_id);


--
-- Name: note_note note_note_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.note_note
    ADD CONSTRAINT note_note_pkey PRIMARY KEY (id);


--
-- Name: note_stage note_stage_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.note_stage
    ADD CONSTRAINT note_stage_pkey PRIMARY KEY (id);


--
-- Name: note_stage_rel note_stage_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.note_stage_rel
    ADD CONSTRAINT note_stage_rel_pkey PRIMARY KEY (note_id, stage_id);


--
-- Name: note_tag note_tag_name_uniq; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.note_tag
    ADD CONSTRAINT note_tag_name_uniq UNIQUE (name);


--
-- Name: CONSTRAINT note_tag_name_uniq ON note_tag; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT note_tag_name_uniq ON public.note_tag IS 'unique (name)';


--
-- Name: note_tag note_tag_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.note_tag
    ADD CONSTRAINT note_tag_pkey PRIMARY KEY (id);


--
-- Name: note_tags_rel note_tags_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.note_tags_rel
    ADD CONSTRAINT note_tags_rel_pkey PRIMARY KEY (note_id, tag_id);


--
-- Name: payment_country_rel payment_country_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.payment_country_rel
    ADD CONSTRAINT payment_country_rel_pkey PRIMARY KEY (payment_id, country_id);


--
-- Name: payment_icon_payment_provider_rel payment_icon_payment_provider_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.payment_icon_payment_provider_rel
    ADD CONSTRAINT payment_icon_payment_provider_rel_pkey PRIMARY KEY (payment_provider_id, payment_icon_id);


--
-- Name: payment_icon payment_icon_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.payment_icon
    ADD CONSTRAINT payment_icon_pkey PRIMARY KEY (id);


--
-- Name: payment_link_wizard payment_link_wizard_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.payment_link_wizard
    ADD CONSTRAINT payment_link_wizard_pkey PRIMARY KEY (id);


--
-- Name: payment_provider_onboarding_wizard payment_provider_onboarding_wizard_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.payment_provider_onboarding_wizard
    ADD CONSTRAINT payment_provider_onboarding_wizard_pkey PRIMARY KEY (id);


--
-- Name: payment_provider payment_provider_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.payment_provider
    ADD CONSTRAINT payment_provider_pkey PRIMARY KEY (id);


--
-- Name: payment_refund_wizard payment_refund_wizard_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.payment_refund_wizard
    ADD CONSTRAINT payment_refund_wizard_pkey PRIMARY KEY (id);


--
-- Name: payment_token payment_token_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.payment_token
    ADD CONSTRAINT payment_token_pkey PRIMARY KEY (id);


--
-- Name: payment_transaction payment_transaction_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.payment_transaction
    ADD CONSTRAINT payment_transaction_pkey PRIMARY KEY (id);


--
-- Name: payment_transaction payment_transaction_reference_uniq; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.payment_transaction
    ADD CONSTRAINT payment_transaction_reference_uniq UNIQUE (reference);


--
-- Name: CONSTRAINT payment_transaction_reference_uniq ON payment_transaction; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT payment_transaction_reference_uniq ON public.payment_transaction IS 'unique(reference)';


--
-- Name: phone_blacklist phone_blacklist_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.phone_blacklist
    ADD CONSTRAINT phone_blacklist_pkey PRIMARY KEY (id);


--
-- Name: phone_blacklist_remove phone_blacklist_remove_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.phone_blacklist_remove
    ADD CONSTRAINT phone_blacklist_remove_pkey PRIMARY KEY (id);


--
-- Name: phone_blacklist phone_blacklist_unique_number; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.phone_blacklist
    ADD CONSTRAINT phone_blacklist_unique_number UNIQUE (number);


--
-- Name: CONSTRAINT phone_blacklist_unique_number ON phone_blacklist; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT phone_blacklist_unique_number ON public.phone_blacklist IS 'unique (number)';


--
-- Name: picking_label_type picking_label_type_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.picking_label_type
    ADD CONSTRAINT picking_label_type_pkey PRIMARY KEY (id);


--
-- Name: picking_label_type_stock_picking_rel picking_label_type_stock_picking_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.picking_label_type_stock_picking_rel
    ADD CONSTRAINT picking_label_type_stock_picking_rel_pkey PRIMARY KEY (picking_label_type_id, stock_picking_id);


--
-- Name: portal_share portal_share_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.portal_share
    ADD CONSTRAINT portal_share_pkey PRIMARY KEY (id);


--
-- Name: portal_share_res_partner_rel portal_share_res_partner_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.portal_share_res_partner_rel
    ADD CONSTRAINT portal_share_res_partner_rel_pkey PRIMARY KEY (portal_share_id, res_partner_id);


--
-- Name: portal_wizard portal_wizard_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.portal_wizard
    ADD CONSTRAINT portal_wizard_pkey PRIMARY KEY (id);


--
-- Name: portal_wizard_res_partner_rel portal_wizard_res_partner_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.portal_wizard_res_partner_rel
    ADD CONSTRAINT portal_wizard_res_partner_rel_pkey PRIMARY KEY (portal_wizard_id, res_partner_id);


--
-- Name: portal_wizard_user portal_wizard_user_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.portal_wizard_user
    ADD CONSTRAINT portal_wizard_user_pkey PRIMARY KEY (id);


--
-- Name: privacy_log privacy_log_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.privacy_log
    ADD CONSTRAINT privacy_log_pkey PRIMARY KEY (id);


--
-- Name: privacy_lookup_wizard_line privacy_lookup_wizard_line_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.privacy_lookup_wizard_line
    ADD CONSTRAINT privacy_lookup_wizard_line_pkey PRIMARY KEY (id);


--
-- Name: privacy_lookup_wizard privacy_lookup_wizard_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.privacy_lookup_wizard
    ADD CONSTRAINT privacy_lookup_wizard_pkey PRIMARY KEY (id);


--
-- Name: procurement_group procurement_group_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.procurement_group
    ADD CONSTRAINT procurement_group_pkey PRIMARY KEY (id);


--
-- Name: product_attr_exclusion_value_ids_rel product_attr_exclusion_value_ids_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.product_attr_exclusion_value_ids_rel
    ADD CONSTRAINT product_attr_exclusion_value_ids_rel_pkey PRIMARY KEY (product_template_attribute_exclusion_id, product_template_attribute_value_id);


--
-- Name: product_attribute_custom_value product_attribute_custom_value_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.product_attribute_custom_value
    ADD CONSTRAINT product_attribute_custom_value_pkey PRIMARY KEY (id);


--
-- Name: product_attribute_custom_value product_attribute_custom_value_sol_custom_value_unique; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.product_attribute_custom_value
    ADD CONSTRAINT product_attribute_custom_value_sol_custom_value_unique UNIQUE (custom_product_template_attribute_value_id, sale_order_line_id);


--
-- Name: CONSTRAINT product_attribute_custom_value_sol_custom_value_unique ON product_attribute_custom_value; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT product_attribute_custom_value_sol_custom_value_unique ON public.product_attribute_custom_value IS 'unique(custom_product_template_attribute_value_id, sale_order_line_id)';


--
-- Name: product_attribute product_attribute_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.product_attribute
    ADD CONSTRAINT product_attribute_pkey PRIMARY KEY (id);


--
-- Name: product_attribute_product_template_rel product_attribute_product_template_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.product_attribute_product_template_rel
    ADD CONSTRAINT product_attribute_product_template_rel_pkey PRIMARY KEY (product_attribute_id, product_template_id);


--
-- Name: product_attribute_value product_attribute_value_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.product_attribute_value
    ADD CONSTRAINT product_attribute_value_pkey PRIMARY KEY (id);


--
-- Name: product_attribute_value_product_template_attribute_line_rel product_attribute_value_product_template_attribute_line_re_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.product_attribute_value_product_template_attribute_line_rel
    ADD CONSTRAINT product_attribute_value_product_template_attribute_line_re_pkey PRIMARY KEY (product_attribute_value_id, product_template_attribute_line_id);


--
-- Name: product_attribute_value product_attribute_value_value_company_uniq; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.product_attribute_value
    ADD CONSTRAINT product_attribute_value_value_company_uniq UNIQUE (name, attribute_id);


--
-- Name: CONSTRAINT product_attribute_value_value_company_uniq ON product_attribute_value; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT product_attribute_value_value_company_uniq ON public.product_attribute_value IS 'unique (name, attribute_id)';


--
-- Name: product_category product_category_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.product_category
    ADD CONSTRAINT product_category_pkey PRIMARY KEY (id);


--
-- Name: product_label_layout product_label_layout_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.product_label_layout
    ADD CONSTRAINT product_label_layout_pkey PRIMARY KEY (id);


--
-- Name: product_label_layout_product_product_rel product_label_layout_product_product_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.product_label_layout_product_product_rel
    ADD CONSTRAINT product_label_layout_product_product_rel_pkey PRIMARY KEY (product_label_layout_id, product_product_id);


--
-- Name: product_label_layout_product_template_rel product_label_layout_product_template_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.product_label_layout_product_template_rel
    ADD CONSTRAINT product_label_layout_product_template_rel_pkey PRIMARY KEY (product_label_layout_id, product_template_id);


--
-- Name: product_label_layout_stock_move_line_rel product_label_layout_stock_move_line_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.product_label_layout_stock_move_line_rel
    ADD CONSTRAINT product_label_layout_stock_move_line_rel_pkey PRIMARY KEY (product_label_layout_id, stock_move_line_id);


--
-- Name: product_optional_rel product_optional_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.product_optional_rel
    ADD CONSTRAINT product_optional_rel_pkey PRIMARY KEY (src_id, dest_id);


--
-- Name: product_packaging product_packaging_barcode_uniq; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.product_packaging
    ADD CONSTRAINT product_packaging_barcode_uniq UNIQUE (barcode);


--
-- Name: CONSTRAINT product_packaging_barcode_uniq ON product_packaging; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT product_packaging_barcode_uniq ON public.product_packaging IS 'unique(barcode)';


--
-- Name: product_packaging product_packaging_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.product_packaging
    ADD CONSTRAINT product_packaging_pkey PRIMARY KEY (id);


--
-- Name: product_pricelist_item product_pricelist_item_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.product_pricelist_item
    ADD CONSTRAINT product_pricelist_item_pkey PRIMARY KEY (id);


--
-- Name: product_pricelist product_pricelist_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.product_pricelist
    ADD CONSTRAINT product_pricelist_pkey PRIMARY KEY (id);


--
-- Name: product_product product_product_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.product_product
    ADD CONSTRAINT product_product_pkey PRIMARY KEY (id);


--
-- Name: product_product_stock_track_confirmation_rel product_product_stock_track_confirmation_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.product_product_stock_track_confirmation_rel
    ADD CONSTRAINT product_product_stock_track_confirmation_rel_pkey PRIMARY KEY (stock_track_confirmation_id, product_product_id);


--
-- Name: product_removal product_removal_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.product_removal
    ADD CONSTRAINT product_removal_pkey PRIMARY KEY (id);


--
-- Name: product_replenish product_replenish_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.product_replenish
    ADD CONSTRAINT product_replenish_pkey PRIMARY KEY (id);


--
-- Name: product_replenish_stock_route_rel product_replenish_stock_route_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.product_replenish_stock_route_rel
    ADD CONSTRAINT product_replenish_stock_route_rel_pkey PRIMARY KEY (product_replenish_id, stock_route_id);


--
-- Name: product_supplier_taxes_rel product_supplier_taxes_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.product_supplier_taxes_rel
    ADD CONSTRAINT product_supplier_taxes_rel_pkey PRIMARY KEY (prod_id, tax_id);


--
-- Name: product_supplierinfo product_supplierinfo_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.product_supplierinfo
    ADD CONSTRAINT product_supplierinfo_pkey PRIMARY KEY (id);


--
-- Name: product_supplierinfo_stock_replenishment_info_rel product_supplierinfo_stock_replenishment_info_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.product_supplierinfo_stock_replenishment_info_rel
    ADD CONSTRAINT product_supplierinfo_stock_replenishment_info_rel_pkey PRIMARY KEY (stock_replenishment_info_id, product_supplierinfo_id);


--
-- Name: product_tag product_tag_name_uniq; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.product_tag
    ADD CONSTRAINT product_tag_name_uniq UNIQUE (name);


--
-- Name: CONSTRAINT product_tag_name_uniq ON product_tag; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT product_tag_name_uniq ON public.product_tag IS 'unique (name)';


--
-- Name: product_tag product_tag_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.product_tag
    ADD CONSTRAINT product_tag_pkey PRIMARY KEY (id);


--
-- Name: product_tag_product_product_rel product_tag_product_product_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.product_tag_product_product_rel
    ADD CONSTRAINT product_tag_product_product_rel_pkey PRIMARY KEY (product_product_id, product_tag_id);


--
-- Name: product_tag_product_template_rel product_tag_product_template_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.product_tag_product_template_rel
    ADD CONSTRAINT product_tag_product_template_rel_pkey PRIMARY KEY (product_template_id, product_tag_id);


--
-- Name: product_taxes_rel product_taxes_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.product_taxes_rel
    ADD CONSTRAINT product_taxes_rel_pkey PRIMARY KEY (prod_id, tax_id);


--
-- Name: product_template_attribute_exclusion product_template_attribute_exclusion_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.product_template_attribute_exclusion
    ADD CONSTRAINT product_template_attribute_exclusion_pkey PRIMARY KEY (id);


--
-- Name: product_template_attribute_line product_template_attribute_line_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.product_template_attribute_line
    ADD CONSTRAINT product_template_attribute_line_pkey PRIMARY KEY (id);


--
-- Name: product_template_attribute_value product_template_attribute_value_attribute_value_unique; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.product_template_attribute_value
    ADD CONSTRAINT product_template_attribute_value_attribute_value_unique UNIQUE (attribute_line_id, product_attribute_value_id);


--
-- Name: CONSTRAINT product_template_attribute_value_attribute_value_unique ON product_template_attribute_value; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT product_template_attribute_value_attribute_value_unique ON public.product_template_attribute_value IS 'unique(attribute_line_id, product_attribute_value_id)';


--
-- Name: product_template_attribute_value product_template_attribute_value_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.product_template_attribute_value
    ADD CONSTRAINT product_template_attribute_value_pkey PRIMARY KEY (id);


--
-- Name: product_template_attribute_value_sale_order_line_rel product_template_attribute_value_sale_order_line_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.product_template_attribute_value_sale_order_line_rel
    ADD CONSTRAINT product_template_attribute_value_sale_order_line_rel_pkey PRIMARY KEY (sale_order_line_id, product_template_attribute_value_id);


--
-- Name: product_template product_template_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.product_template
    ADD CONSTRAINT product_template_pkey PRIMARY KEY (id);


--
-- Name: product_variant_combination product_variant_combination_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.product_variant_combination
    ADD CONSTRAINT product_variant_combination_pkey PRIMARY KEY (product_product_id, product_template_attribute_value_id);


--
-- Name: project_collaborator project_collaborator_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.project_collaborator
    ADD CONSTRAINT project_collaborator_pkey PRIMARY KEY (id);


--
-- Name: project_collaborator project_collaborator_unique_collaborator; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.project_collaborator
    ADD CONSTRAINT project_collaborator_unique_collaborator UNIQUE (project_id, partner_id);


--
-- Name: CONSTRAINT project_collaborator_unique_collaborator ON project_collaborator; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT project_collaborator_unique_collaborator ON public.project_collaborator IS 'UNIQUE(project_id, partner_id)';


--
-- Name: project_favorite_user_rel project_favorite_user_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.project_favorite_user_rel
    ADD CONSTRAINT project_favorite_user_rel_pkey PRIMARY KEY (project_id, user_id);


--
-- Name: project_milestone project_milestone_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.project_milestone
    ADD CONSTRAINT project_milestone_pkey PRIMARY KEY (id);


--
-- Name: project_project project_project_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.project_project
    ADD CONSTRAINT project_project_pkey PRIMARY KEY (id);


--
-- Name: project_project_project_tags_rel project_project_project_tags_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.project_project_project_tags_rel
    ADD CONSTRAINT project_project_project_tags_rel_pkey PRIMARY KEY (project_project_id, project_tags_id);


--
-- Name: project_project_project_task_type_delete_wizard_rel project_project_project_task_type_delete_wizard_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.project_project_project_task_type_delete_wizard_rel
    ADD CONSTRAINT project_project_project_task_type_delete_wizard_rel_pkey PRIMARY KEY (project_task_type_delete_wizard_id, project_project_id);


--
-- Name: project_project_stage project_project_stage_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.project_project_stage
    ADD CONSTRAINT project_project_stage_pkey PRIMARY KEY (id);


--
-- Name: project_share_wizard project_share_wizard_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.project_share_wizard
    ADD CONSTRAINT project_share_wizard_pkey PRIMARY KEY (id);


--
-- Name: project_share_wizard_res_partner_rel project_share_wizard_res_partner_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.project_share_wizard_res_partner_rel
    ADD CONSTRAINT project_share_wizard_res_partner_rel_pkey PRIMARY KEY (project_share_wizard_id, res_partner_id);


--
-- Name: project_tags project_tags_name_uniq; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.project_tags
    ADD CONSTRAINT project_tags_name_uniq UNIQUE (name);


--
-- Name: CONSTRAINT project_tags_name_uniq ON project_tags; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT project_tags_name_uniq ON public.project_tags IS 'unique (name)';


--
-- Name: project_tags project_tags_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.project_tags
    ADD CONSTRAINT project_tags_pkey PRIMARY KEY (id);


--
-- Name: project_tags_project_task_rel project_tags_project_task_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.project_tags_project_task_rel
    ADD CONSTRAINT project_tags_project_task_rel_pkey PRIMARY KEY (project_task_id, project_tags_id);


--
-- Name: project_task project_task_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.project_task
    ADD CONSTRAINT project_task_pkey PRIMARY KEY (id);


--
-- Name: project_task_recurrence project_task_recurrence_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.project_task_recurrence
    ADD CONSTRAINT project_task_recurrence_pkey PRIMARY KEY (id);


--
-- Name: project_task_type_delete_wizard project_task_type_delete_wizard_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.project_task_type_delete_wizard
    ADD CONSTRAINT project_task_type_delete_wizard_pkey PRIMARY KEY (id);


--
-- Name: project_task_type project_task_type_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.project_task_type
    ADD CONSTRAINT project_task_type_pkey PRIMARY KEY (id);


--
-- Name: project_task_type_project_task_type_delete_wizard_rel project_task_type_project_task_type_delete_wizard_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.project_task_type_project_task_type_delete_wizard_rel
    ADD CONSTRAINT project_task_type_project_task_type_delete_wizard_rel_pkey PRIMARY KEY (project_task_type_delete_wizard_id, project_task_type_id);


--
-- Name: project_task_type_rel project_task_type_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.project_task_type_rel
    ADD CONSTRAINT project_task_type_rel_pkey PRIMARY KEY (type_id, project_id);


--
-- Name: project_task_user_rel project_task_user_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.project_task_user_rel
    ADD CONSTRAINT project_task_user_rel_pkey PRIMARY KEY (id);


--
-- Name: project_task_user_rel project_task_user_rel_project_personal_stage_unique; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.project_task_user_rel
    ADD CONSTRAINT project_task_user_rel_project_personal_stage_unique UNIQUE (task_id, user_id);


--
-- Name: CONSTRAINT project_task_user_rel_project_personal_stage_unique ON project_task_user_rel; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT project_task_user_rel_project_personal_stage_unique ON public.project_task_user_rel IS 'UNIQUE (task_id, user_id)';


--
-- Name: project_update project_update_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.project_update
    ADD CONSTRAINT project_update_pkey PRIMARY KEY (id);


--
-- Name: purchase_order_line purchase_order_line_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.purchase_order_line
    ADD CONSTRAINT purchase_order_line_pkey PRIMARY KEY (id);


--
-- Name: purchase_order purchase_order_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.purchase_order
    ADD CONSTRAINT purchase_order_pkey PRIMARY KEY (id);


--
-- Name: purchase_order_stock_picking_rel purchase_order_stock_picking_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.purchase_order_stock_picking_rel
    ADD CONSTRAINT purchase_order_stock_picking_rel_pkey PRIMARY KEY (purchase_order_id, stock_picking_id);


--
-- Name: rating_rating rating_rating_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.rating_rating
    ADD CONSTRAINT rating_rating_pkey PRIMARY KEY (id);


--
-- Name: rel_badge_auth_users rel_badge_auth_users_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.rel_badge_auth_users
    ADD CONSTRAINT rel_badge_auth_users_pkey PRIMARY KEY (gamification_badge_id, res_users_id);


--
-- Name: rel_modules_langexport rel_modules_langexport_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.rel_modules_langexport
    ADD CONSTRAINT rel_modules_langexport_pkey PRIMARY KEY (wiz_id, module_id);


--
-- Name: rel_server_actions rel_server_actions_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.rel_server_actions
    ADD CONSTRAINT rel_server_actions_pkey PRIMARY KEY (server_id, action_id);


--
-- Name: report_layout report_layout_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.report_layout
    ADD CONSTRAINT report_layout_pkey PRIMARY KEY (id);


--
-- Name: report_paperformat report_paperformat_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.report_paperformat
    ADD CONSTRAINT report_paperformat_pkey PRIMARY KEY (id);


--
-- Name: res_bank res_bank_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.res_bank
    ADD CONSTRAINT res_bank_pkey PRIMARY KEY (id);


--
-- Name: res_company res_company_name_uniq; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.res_company
    ADD CONSTRAINT res_company_name_uniq UNIQUE (name);


--
-- Name: CONSTRAINT res_company_name_uniq ON res_company; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT res_company_name_uniq ON public.res_company IS 'unique (name)';


--
-- Name: res_company res_company_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.res_company
    ADD CONSTRAINT res_company_pkey PRIMARY KEY (id);


--
-- Name: res_company_users_rel res_company_users_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.res_company_users_rel
    ADD CONSTRAINT res_company_users_rel_pkey PRIMARY KEY (cid, user_id);


--
-- Name: res_config_installer res_config_installer_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.res_config_installer
    ADD CONSTRAINT res_config_installer_pkey PRIMARY KEY (id);


--
-- Name: res_config res_config_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.res_config
    ADD CONSTRAINT res_config_pkey PRIMARY KEY (id);


--
-- Name: res_config_settings res_config_settings_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.res_config_settings
    ADD CONSTRAINT res_config_settings_pkey PRIMARY KEY (id);


--
-- Name: res_country res_country_code_uniq; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.res_country
    ADD CONSTRAINT res_country_code_uniq UNIQUE (code);


--
-- Name: CONSTRAINT res_country_code_uniq ON res_country; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT res_country_code_uniq ON public.res_country IS 'unique (code)';


--
-- Name: res_country_group res_country_group_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.res_country_group
    ADD CONSTRAINT res_country_group_pkey PRIMARY KEY (id);


--
-- Name: res_country_group_pricelist_rel res_country_group_pricelist_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.res_country_group_pricelist_rel
    ADD CONSTRAINT res_country_group_pricelist_rel_pkey PRIMARY KEY (pricelist_id, res_country_group_id);


--
-- Name: res_country res_country_name_uniq; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.res_country
    ADD CONSTRAINT res_country_name_uniq UNIQUE (name);


--
-- Name: CONSTRAINT res_country_name_uniq ON res_country; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT res_country_name_uniq ON public.res_country IS 'unique (name)';


--
-- Name: res_country res_country_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.res_country
    ADD CONSTRAINT res_country_pkey PRIMARY KEY (id);


--
-- Name: res_country_res_country_group_rel res_country_res_country_group_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.res_country_res_country_group_rel
    ADD CONSTRAINT res_country_res_country_group_rel_pkey PRIMARY KEY (res_country_id, res_country_group_id);


--
-- Name: res_country_state res_country_state_name_code_uniq; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.res_country_state
    ADD CONSTRAINT res_country_state_name_code_uniq UNIQUE (country_id, code);


--
-- Name: CONSTRAINT res_country_state_name_code_uniq ON res_country_state; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT res_country_state_name_code_uniq ON public.res_country_state IS 'unique(country_id, code)';


--
-- Name: res_country_state res_country_state_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.res_country_state
    ADD CONSTRAINT res_country_state_pkey PRIMARY KEY (id);


--
-- Name: res_currency res_currency_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.res_currency
    ADD CONSTRAINT res_currency_pkey PRIMARY KEY (id);


--
-- Name: res_currency_rate res_currency_rate_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.res_currency_rate
    ADD CONSTRAINT res_currency_rate_pkey PRIMARY KEY (id);


--
-- Name: res_currency_rate res_currency_rate_unique_name_per_day; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.res_currency_rate
    ADD CONSTRAINT res_currency_rate_unique_name_per_day UNIQUE (name, currency_id, company_id);


--
-- Name: CONSTRAINT res_currency_rate_unique_name_per_day ON res_currency_rate; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT res_currency_rate_unique_name_per_day ON public.res_currency_rate IS 'unique (name,currency_id,company_id)';


--
-- Name: res_currency res_currency_unique_name; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.res_currency
    ADD CONSTRAINT res_currency_unique_name UNIQUE (name);


--
-- Name: CONSTRAINT res_currency_unique_name ON res_currency; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT res_currency_unique_name ON public.res_currency IS 'unique (name)';


--
-- Name: res_groups_implied_rel res_groups_implied_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.res_groups_implied_rel
    ADD CONSTRAINT res_groups_implied_rel_pkey PRIMARY KEY (gid, hid);


--
-- Name: res_groups res_groups_name_uniq; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.res_groups
    ADD CONSTRAINT res_groups_name_uniq UNIQUE (category_id, name);


--
-- Name: CONSTRAINT res_groups_name_uniq ON res_groups; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT res_groups_name_uniq ON public.res_groups IS 'unique (category_id, name)';


--
-- Name: res_groups res_groups_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.res_groups
    ADD CONSTRAINT res_groups_pkey PRIMARY KEY (id);


--
-- Name: res_groups_report_rel res_groups_report_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.res_groups_report_rel
    ADD CONSTRAINT res_groups_report_rel_pkey PRIMARY KEY (uid, gid);


--
-- Name: res_groups_spreadsheet_dashboard_rel res_groups_spreadsheet_dashboard_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.res_groups_spreadsheet_dashboard_rel
    ADD CONSTRAINT res_groups_spreadsheet_dashboard_rel_pkey PRIMARY KEY (spreadsheet_dashboard_id, res_groups_id);


--
-- Name: res_groups_users_rel res_groups_users_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.res_groups_users_rel
    ADD CONSTRAINT res_groups_users_rel_pkey PRIMARY KEY (gid, uid);


--
-- Name: res_lang res_lang_code_uniq; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.res_lang
    ADD CONSTRAINT res_lang_code_uniq UNIQUE (code);


--
-- Name: CONSTRAINT res_lang_code_uniq ON res_lang; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT res_lang_code_uniq ON public.res_lang IS 'unique(code)';


--
-- Name: res_lang_install_rel res_lang_install_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.res_lang_install_rel
    ADD CONSTRAINT res_lang_install_rel_pkey PRIMARY KEY (language_wizard_id, lang_id);


--
-- Name: res_lang res_lang_name_uniq; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.res_lang
    ADD CONSTRAINT res_lang_name_uniq UNIQUE (name);


--
-- Name: CONSTRAINT res_lang_name_uniq ON res_lang; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT res_lang_name_uniq ON public.res_lang IS 'unique(name)';


--
-- Name: res_lang res_lang_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.res_lang
    ADD CONSTRAINT res_lang_pkey PRIMARY KEY (id);


--
-- Name: res_lang res_lang_url_code_uniq; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.res_lang
    ADD CONSTRAINT res_lang_url_code_uniq UNIQUE (url_code);


--
-- Name: CONSTRAINT res_lang_url_code_uniq ON res_lang; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT res_lang_url_code_uniq ON public.res_lang IS 'unique(url_code)';


--
-- Name: res_partner_autocomplete_sync res_partner_autocomplete_sync_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.res_partner_autocomplete_sync
    ADD CONSTRAINT res_partner_autocomplete_sync_pkey PRIMARY KEY (id);


--
-- Name: res_partner_bank res_partner_bank_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.res_partner_bank
    ADD CONSTRAINT res_partner_bank_pkey PRIMARY KEY (id);


--
-- Name: res_partner_bank res_partner_bank_unique_number; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.res_partner_bank
    ADD CONSTRAINT res_partner_bank_unique_number UNIQUE (sanitized_acc_number, partner_id);


--
-- Name: CONSTRAINT res_partner_bank_unique_number ON res_partner_bank; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT res_partner_bank_unique_number ON public.res_partner_bank IS 'unique(sanitized_acc_number, partner_id)';


--
-- Name: res_partner_category res_partner_category_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.res_partner_category
    ADD CONSTRAINT res_partner_category_pkey PRIMARY KEY (id);


--
-- Name: res_partner_industry res_partner_industry_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.res_partner_industry
    ADD CONSTRAINT res_partner_industry_pkey PRIMARY KEY (id);


--
-- Name: res_partner res_partner_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.res_partner
    ADD CONSTRAINT res_partner_pkey PRIMARY KEY (id);


--
-- Name: res_partner_res_partner_category_rel res_partner_res_partner_category_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.res_partner_res_partner_category_rel
    ADD CONSTRAINT res_partner_res_partner_category_rel_pkey PRIMARY KEY (category_id, partner_id);


--
-- Name: res_partner_title res_partner_title_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.res_partner_title
    ADD CONSTRAINT res_partner_title_pkey PRIMARY KEY (id);


--
-- Name: res_users_apikeys_description res_users_apikeys_description_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.res_users_apikeys_description
    ADD CONSTRAINT res_users_apikeys_description_pkey PRIMARY KEY (id);


--
-- Name: res_users_apikeys res_users_apikeys_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.res_users_apikeys
    ADD CONSTRAINT res_users_apikeys_pkey PRIMARY KEY (id);


--
-- Name: res_users_deletion res_users_deletion_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.res_users_deletion
    ADD CONSTRAINT res_users_deletion_pkey PRIMARY KEY (id);


--
-- Name: res_users_identitycheck res_users_identitycheck_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.res_users_identitycheck
    ADD CONSTRAINT res_users_identitycheck_pkey PRIMARY KEY (id);


--
-- Name: res_users_log res_users_log_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.res_users_log
    ADD CONSTRAINT res_users_log_pkey PRIMARY KEY (id);


--
-- Name: res_users res_users_login_key; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.res_users
    ADD CONSTRAINT res_users_login_key UNIQUE (login, website_id);


--
-- Name: CONSTRAINT res_users_login_key ON res_users; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT res_users_login_key ON public.res_users IS 'unique (login, website_id)';


--
-- Name: res_users res_users_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.res_users
    ADD CONSTRAINT res_users_pkey PRIMARY KEY (id);


--
-- Name: res_users_settings res_users_settings_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.res_users_settings
    ADD CONSTRAINT res_users_settings_pkey PRIMARY KEY (id);


--
-- Name: res_users_settings res_users_settings_unique_user_id; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.res_users_settings
    ADD CONSTRAINT res_users_settings_unique_user_id UNIQUE (user_id);


--
-- Name: CONSTRAINT res_users_settings_unique_user_id ON res_users_settings; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT res_users_settings_unique_user_id ON public.res_users_settings IS 'UNIQUE(user_id)';


--
-- Name: res_users_settings_volumes res_users_settings_volumes_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.res_users_settings_volumes
    ADD CONSTRAINT res_users_settings_volumes_pkey PRIMARY KEY (id);


--
-- Name: reset_view_arch_wizard reset_view_arch_wizard_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.reset_view_arch_wizard
    ADD CONSTRAINT reset_view_arch_wizard_pkey PRIMARY KEY (id);


--
-- Name: resource_calendar_attendance resource_calendar_attendance_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.resource_calendar_attendance
    ADD CONSTRAINT resource_calendar_attendance_pkey PRIMARY KEY (id);


--
-- Name: resource_calendar_leaves resource_calendar_leaves_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.resource_calendar_leaves
    ADD CONSTRAINT resource_calendar_leaves_pkey PRIMARY KEY (id);


--
-- Name: resource_calendar resource_calendar_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.resource_calendar
    ADD CONSTRAINT resource_calendar_pkey PRIMARY KEY (id);


--
-- Name: resource_resource resource_resource_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.resource_resource
    ADD CONSTRAINT resource_resource_pkey PRIMARY KEY (id);


--
-- Name: rule_group_rel rule_group_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.rule_group_rel
    ADD CONSTRAINT rule_group_rel_pkey PRIMARY KEY (rule_group_id, group_id);


--
-- Name: sale_advance_payment_inv sale_advance_payment_inv_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.sale_advance_payment_inv
    ADD CONSTRAINT sale_advance_payment_inv_pkey PRIMARY KEY (id);


--
-- Name: sale_advance_payment_inv_sale_order_rel sale_advance_payment_inv_sale_order_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.sale_advance_payment_inv_sale_order_rel
    ADD CONSTRAINT sale_advance_payment_inv_sale_order_rel_pkey PRIMARY KEY (sale_advance_payment_inv_id, sale_order_id);


--
-- Name: sale_order_cancel sale_order_cancel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.sale_order_cancel
    ADD CONSTRAINT sale_order_cancel_pkey PRIMARY KEY (id);


--
-- Name: sale_order_line_invoice_rel sale_order_line_invoice_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.sale_order_line_invoice_rel
    ADD CONSTRAINT sale_order_line_invoice_rel_pkey PRIMARY KEY (invoice_line_id, order_line_id);


--
-- Name: sale_order_line sale_order_line_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.sale_order_line
    ADD CONSTRAINT sale_order_line_pkey PRIMARY KEY (id);


--
-- Name: sale_order_option sale_order_option_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.sale_order_option
    ADD CONSTRAINT sale_order_option_pkey PRIMARY KEY (id);


--
-- Name: sale_order sale_order_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.sale_order
    ADD CONSTRAINT sale_order_pkey PRIMARY KEY (id);


--
-- Name: sale_order_tag_rel sale_order_tag_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.sale_order_tag_rel
    ADD CONSTRAINT sale_order_tag_rel_pkey PRIMARY KEY (order_id, tag_id);


--
-- Name: sale_order_template_line sale_order_template_line_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.sale_order_template_line
    ADD CONSTRAINT sale_order_template_line_pkey PRIMARY KEY (id);


--
-- Name: sale_order_template_option sale_order_template_option_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.sale_order_template_option
    ADD CONSTRAINT sale_order_template_option_pkey PRIMARY KEY (id);


--
-- Name: sale_order_template sale_order_template_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.sale_order_template
    ADD CONSTRAINT sale_order_template_pkey PRIMARY KEY (id);


--
-- Name: sale_order_transaction_rel sale_order_transaction_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.sale_order_transaction_rel
    ADD CONSTRAINT sale_order_transaction_rel_pkey PRIMARY KEY (transaction_id, sale_order_id);


--
-- Name: sale_payment_provider_onboarding_wizard sale_payment_provider_onboarding_wizard_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.sale_payment_provider_onboarding_wizard
    ADD CONSTRAINT sale_payment_provider_onboarding_wizard_pkey PRIMARY KEY (id);


--
-- Name: sms_composer sms_composer_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.sms_composer
    ADD CONSTRAINT sms_composer_pkey PRIMARY KEY (id);


--
-- Name: sms_resend sms_resend_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.sms_resend
    ADD CONSTRAINT sms_resend_pkey PRIMARY KEY (id);


--
-- Name: sms_resend_recipient sms_resend_recipient_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.sms_resend_recipient
    ADD CONSTRAINT sms_resend_recipient_pkey PRIMARY KEY (id);


--
-- Name: sms_sms sms_sms_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.sms_sms
    ADD CONSTRAINT sms_sms_pkey PRIMARY KEY (id);


--
-- Name: sms_template sms_template_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.sms_template
    ADD CONSTRAINT sms_template_pkey PRIMARY KEY (id);


--
-- Name: sms_template_preview sms_template_preview_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.sms_template_preview
    ADD CONSTRAINT sms_template_preview_pkey PRIMARY KEY (id);


--
-- Name: sms_template_reset sms_template_reset_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.sms_template_reset
    ADD CONSTRAINT sms_template_reset_pkey PRIMARY KEY (id);


--
-- Name: sms_template_sms_template_reset_rel sms_template_sms_template_reset_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.sms_template_sms_template_reset_rel
    ADD CONSTRAINT sms_template_sms_template_reset_rel_pkey PRIMARY KEY (sms_template_reset_id, sms_template_id);


--
-- Name: snailmail_confirm_invoice snailmail_confirm_invoice_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.snailmail_confirm_invoice
    ADD CONSTRAINT snailmail_confirm_invoice_pkey PRIMARY KEY (id);


--
-- Name: snailmail_letter_format_error snailmail_letter_format_error_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.snailmail_letter_format_error
    ADD CONSTRAINT snailmail_letter_format_error_pkey PRIMARY KEY (id);


--
-- Name: snailmail_letter_missing_required_fields snailmail_letter_missing_required_fields_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.snailmail_letter_missing_required_fields
    ADD CONSTRAINT snailmail_letter_missing_required_fields_pkey PRIMARY KEY (id);


--
-- Name: snailmail_letter snailmail_letter_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.snailmail_letter
    ADD CONSTRAINT snailmail_letter_pkey PRIMARY KEY (id);


--
-- Name: spreadsheet_dashboard_group spreadsheet_dashboard_group_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.spreadsheet_dashboard_group
    ADD CONSTRAINT spreadsheet_dashboard_group_pkey PRIMARY KEY (id);


--
-- Name: spreadsheet_dashboard spreadsheet_dashboard_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.spreadsheet_dashboard
    ADD CONSTRAINT spreadsheet_dashboard_pkey PRIMARY KEY (id);


--
-- Name: stock_assign_serial stock_assign_serial_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_assign_serial
    ADD CONSTRAINT stock_assign_serial_pkey PRIMARY KEY (id);


--
-- Name: stock_backorder_confirmation_line stock_backorder_confirmation_line_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_backorder_confirmation_line
    ADD CONSTRAINT stock_backorder_confirmation_line_pkey PRIMARY KEY (id);


--
-- Name: stock_backorder_confirmation stock_backorder_confirmation_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_backorder_confirmation
    ADD CONSTRAINT stock_backorder_confirmation_pkey PRIMARY KEY (id);


--
-- Name: stock_change_product_qty stock_change_product_qty_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_change_product_qty
    ADD CONSTRAINT stock_change_product_qty_pkey PRIMARY KEY (id);


--
-- Name: stock_conflict_quant_rel stock_conflict_quant_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_conflict_quant_rel
    ADD CONSTRAINT stock_conflict_quant_rel_pkey PRIMARY KEY (stock_inventory_conflict_id, stock_quant_id);


--
-- Name: stock_immediate_transfer_line stock_immediate_transfer_line_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_immediate_transfer_line
    ADD CONSTRAINT stock_immediate_transfer_line_pkey PRIMARY KEY (id);


--
-- Name: stock_immediate_transfer stock_immediate_transfer_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_immediate_transfer
    ADD CONSTRAINT stock_immediate_transfer_pkey PRIMARY KEY (id);


--
-- Name: stock_inventory_adjustment_name stock_inventory_adjustment_name_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_inventory_adjustment_name
    ADD CONSTRAINT stock_inventory_adjustment_name_pkey PRIMARY KEY (id);


--
-- Name: stock_inventory_adjustment_name_stock_quant_rel stock_inventory_adjustment_name_stock_quant_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_inventory_adjustment_name_stock_quant_rel
    ADD CONSTRAINT stock_inventory_adjustment_name_stock_quant_rel_pkey PRIMARY KEY (stock_inventory_adjustment_name_id, stock_quant_id);


--
-- Name: stock_inventory_conflict stock_inventory_conflict_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_inventory_conflict
    ADD CONSTRAINT stock_inventory_conflict_pkey PRIMARY KEY (id);


--
-- Name: stock_inventory_conflict_stock_quant_rel stock_inventory_conflict_stock_quant_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_inventory_conflict_stock_quant_rel
    ADD CONSTRAINT stock_inventory_conflict_stock_quant_rel_pkey PRIMARY KEY (stock_inventory_conflict_id, stock_quant_id);


--
-- Name: stock_inventory_warning stock_inventory_warning_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_inventory_warning
    ADD CONSTRAINT stock_inventory_warning_pkey PRIMARY KEY (id);


--
-- Name: stock_inventory_warning_stock_quant_rel stock_inventory_warning_stock_quant_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_inventory_warning_stock_quant_rel
    ADD CONSTRAINT stock_inventory_warning_stock_quant_rel_pkey PRIMARY KEY (stock_inventory_warning_id, stock_quant_id);


--
-- Name: stock_location stock_location_barcode_company_uniq; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_location
    ADD CONSTRAINT stock_location_barcode_company_uniq UNIQUE (barcode, company_id);


--
-- Name: CONSTRAINT stock_location_barcode_company_uniq ON stock_location; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT stock_location_barcode_company_uniq ON public.stock_location IS 'unique (barcode,company_id)';


--
-- Name: stock_location stock_location_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_location
    ADD CONSTRAINT stock_location_pkey PRIMARY KEY (id);


--
-- Name: stock_lot stock_lot_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_lot
    ADD CONSTRAINT stock_lot_pkey PRIMARY KEY (id);


--
-- Name: stock_move_line_consume_rel stock_move_line_consume_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_move_line_consume_rel
    ADD CONSTRAINT stock_move_line_consume_rel_pkey PRIMARY KEY (consume_line_id, produce_line_id);


--
-- Name: stock_move_line stock_move_line_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_move_line
    ADD CONSTRAINT stock_move_line_pkey PRIMARY KEY (id);


--
-- Name: stock_move_move_rel stock_move_move_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_move_move_rel
    ADD CONSTRAINT stock_move_move_rel_pkey PRIMARY KEY (move_orig_id, move_dest_id);


--
-- Name: stock_move stock_move_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_move
    ADD CONSTRAINT stock_move_pkey PRIMARY KEY (id);


--
-- Name: stock_orderpoint_snooze stock_orderpoint_snooze_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_orderpoint_snooze
    ADD CONSTRAINT stock_orderpoint_snooze_pkey PRIMARY KEY (id);


--
-- Name: stock_orderpoint_snooze_stock_warehouse_orderpoint_rel stock_orderpoint_snooze_stock_warehouse_orderpoint_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_orderpoint_snooze_stock_warehouse_orderpoint_rel
    ADD CONSTRAINT stock_orderpoint_snooze_stock_warehouse_orderpoint_rel_pkey PRIMARY KEY (stock_orderpoint_snooze_id, stock_warehouse_orderpoint_id);


--
-- Name: stock_package_destination stock_package_destination_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_package_destination
    ADD CONSTRAINT stock_package_destination_pkey PRIMARY KEY (id);


--
-- Name: stock_package_level stock_package_level_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_package_level
    ADD CONSTRAINT stock_package_level_pkey PRIMARY KEY (id);


--
-- Name: stock_package_type stock_package_type_barcode_uniq; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_package_type
    ADD CONSTRAINT stock_package_type_barcode_uniq UNIQUE (barcode);


--
-- Name: CONSTRAINT stock_package_type_barcode_uniq ON stock_package_type; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT stock_package_type_barcode_uniq ON public.stock_package_type IS 'unique(barcode)';


--
-- Name: stock_package_type stock_package_type_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_package_type
    ADD CONSTRAINT stock_package_type_pkey PRIMARY KEY (id);


--
-- Name: stock_package_type_stock_putaway_rule_rel stock_package_type_stock_putaway_rule_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_package_type_stock_putaway_rule_rel
    ADD CONSTRAINT stock_package_type_stock_putaway_rule_rel_pkey PRIMARY KEY (stock_putaway_rule_id, stock_package_type_id);


--
-- Name: stock_picking_backorder_rel stock_picking_backorder_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_picking_backorder_rel
    ADD CONSTRAINT stock_picking_backorder_rel_pkey PRIMARY KEY (stock_backorder_confirmation_id, stock_picking_id);


--
-- Name: stock_picking stock_picking_name_uniq; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_picking
    ADD CONSTRAINT stock_picking_name_uniq UNIQUE (name, company_id);


--
-- Name: CONSTRAINT stock_picking_name_uniq ON stock_picking; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT stock_picking_name_uniq ON public.stock_picking IS 'unique(name, company_id)';


--
-- Name: stock_picking stock_picking_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_picking
    ADD CONSTRAINT stock_picking_pkey PRIMARY KEY (id);


--
-- Name: stock_picking_sms_rel stock_picking_sms_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_picking_sms_rel
    ADD CONSTRAINT stock_picking_sms_rel_pkey PRIMARY KEY (confirm_stock_sms_id, stock_picking_id);


--
-- Name: stock_picking_transfer_rel stock_picking_transfer_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_picking_transfer_rel
    ADD CONSTRAINT stock_picking_transfer_rel_pkey PRIMARY KEY (stock_immediate_transfer_id, stock_picking_id);


--
-- Name: stock_picking_type stock_picking_type_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_picking_type
    ADD CONSTRAINT stock_picking_type_pkey PRIMARY KEY (id);


--
-- Name: stock_putaway_rule stock_putaway_rule_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_putaway_rule
    ADD CONSTRAINT stock_putaway_rule_pkey PRIMARY KEY (id);


--
-- Name: stock_quant_package stock_quant_package_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_quant_package
    ADD CONSTRAINT stock_quant_package_pkey PRIMARY KEY (id);


--
-- Name: stock_quant stock_quant_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_quant
    ADD CONSTRAINT stock_quant_pkey PRIMARY KEY (id);


--
-- Name: stock_quant_stock_request_count_rel stock_quant_stock_request_count_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_quant_stock_request_count_rel
    ADD CONSTRAINT stock_quant_stock_request_count_rel_pkey PRIMARY KEY (stock_request_count_id, stock_quant_id);


--
-- Name: stock_quant_stock_track_confirmation_rel stock_quant_stock_track_confirmation_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_quant_stock_track_confirmation_rel
    ADD CONSTRAINT stock_quant_stock_track_confirmation_rel_pkey PRIMARY KEY (stock_track_confirmation_id, stock_quant_id);


--
-- Name: stock_quantity_history stock_quantity_history_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_quantity_history
    ADD CONSTRAINT stock_quantity_history_pkey PRIMARY KEY (id);


--
-- Name: stock_replenishment_info stock_replenishment_info_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_replenishment_info
    ADD CONSTRAINT stock_replenishment_info_pkey PRIMARY KEY (id);


--
-- Name: stock_replenishment_option stock_replenishment_option_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_replenishment_option
    ADD CONSTRAINT stock_replenishment_option_pkey PRIMARY KEY (id);


--
-- Name: stock_request_count stock_request_count_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_request_count
    ADD CONSTRAINT stock_request_count_pkey PRIMARY KEY (id);


--
-- Name: stock_return_picking_line stock_return_picking_line_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_return_picking_line
    ADD CONSTRAINT stock_return_picking_line_pkey PRIMARY KEY (id);


--
-- Name: stock_return_picking stock_return_picking_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_return_picking
    ADD CONSTRAINT stock_return_picking_pkey PRIMARY KEY (id);


--
-- Name: stock_route_categ stock_route_categ_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_route_categ
    ADD CONSTRAINT stock_route_categ_pkey PRIMARY KEY (route_id, categ_id);


--
-- Name: stock_route_move stock_route_move_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_route_move
    ADD CONSTRAINT stock_route_move_pkey PRIMARY KEY (move_id, route_id);


--
-- Name: stock_route_packaging stock_route_packaging_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_route_packaging
    ADD CONSTRAINT stock_route_packaging_pkey PRIMARY KEY (route_id, packaging_id);


--
-- Name: stock_route stock_route_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_route
    ADD CONSTRAINT stock_route_pkey PRIMARY KEY (id);


--
-- Name: stock_route_product stock_route_product_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_route_product
    ADD CONSTRAINT stock_route_product_pkey PRIMARY KEY (route_id, product_id);


--
-- Name: stock_route_stock_rules_report_rel stock_route_stock_rules_report_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_route_stock_rules_report_rel
    ADD CONSTRAINT stock_route_stock_rules_report_rel_pkey PRIMARY KEY (stock_rules_report_id, stock_route_id);


--
-- Name: stock_route_warehouse stock_route_warehouse_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_route_warehouse
    ADD CONSTRAINT stock_route_warehouse_pkey PRIMARY KEY (route_id, warehouse_id);


--
-- Name: stock_rule stock_rule_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_rule
    ADD CONSTRAINT stock_rule_pkey PRIMARY KEY (id);


--
-- Name: stock_rules_report stock_rules_report_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_rules_report
    ADD CONSTRAINT stock_rules_report_pkey PRIMARY KEY (id);


--
-- Name: stock_rules_report_stock_warehouse_rel stock_rules_report_stock_warehouse_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_rules_report_stock_warehouse_rel
    ADD CONSTRAINT stock_rules_report_stock_warehouse_rel_pkey PRIMARY KEY (stock_rules_report_id, stock_warehouse_id);


--
-- Name: stock_scheduler_compute stock_scheduler_compute_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_scheduler_compute
    ADD CONSTRAINT stock_scheduler_compute_pkey PRIMARY KEY (id);


--
-- Name: stock_scrap stock_scrap_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_scrap
    ADD CONSTRAINT stock_scrap_pkey PRIMARY KEY (id);


--
-- Name: stock_storage_category_capacity stock_storage_category_capacity_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_storage_category_capacity
    ADD CONSTRAINT stock_storage_category_capacity_pkey PRIMARY KEY (id);


--
-- Name: stock_storage_category_capacity stock_storage_category_capacity_unique_package_type; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_storage_category_capacity
    ADD CONSTRAINT stock_storage_category_capacity_unique_package_type UNIQUE (package_type_id, storage_category_id);


--
-- Name: CONSTRAINT stock_storage_category_capacity_unique_package_type ON stock_storage_category_capacity; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT stock_storage_category_capacity_unique_package_type ON public.stock_storage_category_capacity IS 'UNIQUE(package_type_id, storage_category_id)';


--
-- Name: stock_storage_category_capacity stock_storage_category_capacity_unique_product; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_storage_category_capacity
    ADD CONSTRAINT stock_storage_category_capacity_unique_product UNIQUE (product_id, storage_category_id);


--
-- Name: CONSTRAINT stock_storage_category_capacity_unique_product ON stock_storage_category_capacity; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT stock_storage_category_capacity_unique_product ON public.stock_storage_category_capacity IS 'UNIQUE(product_id, storage_category_id)';


--
-- Name: stock_storage_category stock_storage_category_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_storage_category
    ADD CONSTRAINT stock_storage_category_pkey PRIMARY KEY (id);


--
-- Name: stock_traceability_report stock_traceability_report_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_traceability_report
    ADD CONSTRAINT stock_traceability_report_pkey PRIMARY KEY (id);


--
-- Name: stock_track_confirmation stock_track_confirmation_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_track_confirmation
    ADD CONSTRAINT stock_track_confirmation_pkey PRIMARY KEY (id);


--
-- Name: stock_track_line stock_track_line_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_track_line
    ADD CONSTRAINT stock_track_line_pkey PRIMARY KEY (id);


--
-- Name: stock_valuation_layer stock_valuation_layer_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_valuation_layer
    ADD CONSTRAINT stock_valuation_layer_pkey PRIMARY KEY (id);


--
-- Name: stock_valuation_layer_revaluation stock_valuation_layer_revaluation_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_valuation_layer_revaluation
    ADD CONSTRAINT stock_valuation_layer_revaluation_pkey PRIMARY KEY (id);


--
-- Name: stock_warehouse_orderpoint stock_warehouse_orderpoint_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_warehouse_orderpoint
    ADD CONSTRAINT stock_warehouse_orderpoint_pkey PRIMARY KEY (id);


--
-- Name: stock_warehouse_orderpoint stock_warehouse_orderpoint_product_location_check; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_warehouse_orderpoint
    ADD CONSTRAINT stock_warehouse_orderpoint_product_location_check UNIQUE (product_id, location_id, company_id);


--
-- Name: CONSTRAINT stock_warehouse_orderpoint_product_location_check ON stock_warehouse_orderpoint; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT stock_warehouse_orderpoint_product_location_check ON public.stock_warehouse_orderpoint IS 'unique (product_id, location_id, company_id)';


--
-- Name: stock_warehouse stock_warehouse_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_warehouse
    ADD CONSTRAINT stock_warehouse_pkey PRIMARY KEY (id);


--
-- Name: stock_warehouse stock_warehouse_warehouse_code_uniq; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_warehouse
    ADD CONSTRAINT stock_warehouse_warehouse_code_uniq UNIQUE (code, company_id);


--
-- Name: CONSTRAINT stock_warehouse_warehouse_code_uniq ON stock_warehouse; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT stock_warehouse_warehouse_code_uniq ON public.stock_warehouse IS 'unique(code, company_id)';


--
-- Name: stock_warehouse stock_warehouse_warehouse_name_uniq; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_warehouse
    ADD CONSTRAINT stock_warehouse_warehouse_name_uniq UNIQUE (name, company_id);


--
-- Name: CONSTRAINT stock_warehouse_warehouse_name_uniq ON stock_warehouse; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT stock_warehouse_warehouse_name_uniq ON public.stock_warehouse IS 'unique(name, company_id)';


--
-- Name: stock_warn_insufficient_qty_scrap stock_warn_insufficient_qty_scrap_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_warn_insufficient_qty_scrap
    ADD CONSTRAINT stock_warn_insufficient_qty_scrap_pkey PRIMARY KEY (id);


--
-- Name: stock_wh_resupply_table stock_wh_resupply_table_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_wh_resupply_table
    ADD CONSTRAINT stock_wh_resupply_table_pkey PRIMARY KEY (supplied_wh_id, supplier_wh_id);


--
-- Name: survey_invite_partner_ids survey_invite_partner_ids_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.survey_invite_partner_ids
    ADD CONSTRAINT survey_invite_partner_ids_pkey PRIMARY KEY (invite_id, partner_id);


--
-- Name: survey_invite survey_invite_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.survey_invite
    ADD CONSTRAINT survey_invite_pkey PRIMARY KEY (id);


--
-- Name: survey_mail_compose_message_ir_attachments_rel survey_mail_compose_message_ir_attachments_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.survey_mail_compose_message_ir_attachments_rel
    ADD CONSTRAINT survey_mail_compose_message_ir_attachments_rel_pkey PRIMARY KEY (wizard_id, attachment_id);


--
-- Name: survey_question_answer survey_question_answer_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.survey_question_answer
    ADD CONSTRAINT survey_question_answer_pkey PRIMARY KEY (id);


--
-- Name: survey_question survey_question_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.survey_question
    ADD CONSTRAINT survey_question_pkey PRIMARY KEY (id);


--
-- Name: survey_question_survey_user_input_rel survey_question_survey_user_input_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.survey_question_survey_user_input_rel
    ADD CONSTRAINT survey_question_survey_user_input_rel_pkey PRIMARY KEY (survey_user_input_id, survey_question_id);


--
-- Name: survey_survey survey_survey_access_token_unique; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.survey_survey
    ADD CONSTRAINT survey_survey_access_token_unique UNIQUE (access_token);


--
-- Name: CONSTRAINT survey_survey_access_token_unique ON survey_survey; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT survey_survey_access_token_unique ON public.survey_survey IS 'unique(access_token)';


--
-- Name: survey_survey survey_survey_badge_uniq; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.survey_survey
    ADD CONSTRAINT survey_survey_badge_uniq UNIQUE (certification_badge_id);


--
-- Name: CONSTRAINT survey_survey_badge_uniq ON survey_survey; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT survey_survey_badge_uniq ON public.survey_survey IS 'unique (certification_badge_id)';


--
-- Name: survey_survey survey_survey_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.survey_survey
    ADD CONSTRAINT survey_survey_pkey PRIMARY KEY (id);


--
-- Name: survey_survey survey_survey_session_code_unique; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.survey_survey
    ADD CONSTRAINT survey_survey_session_code_unique UNIQUE (session_code);


--
-- Name: CONSTRAINT survey_survey_session_code_unique ON survey_survey; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT survey_survey_session_code_unique ON public.survey_survey IS 'unique(session_code)';


--
-- Name: survey_user_input_line survey_user_input_line_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.survey_user_input_line
    ADD CONSTRAINT survey_user_input_line_pkey PRIMARY KEY (id);


--
-- Name: survey_user_input survey_user_input_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.survey_user_input
    ADD CONSTRAINT survey_user_input_pkey PRIMARY KEY (id);


--
-- Name: survey_user_input survey_user_input_unique_token; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.survey_user_input
    ADD CONSTRAINT survey_user_input_unique_token UNIQUE (access_token);


--
-- Name: CONSTRAINT survey_user_input_unique_token ON survey_user_input; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT survey_user_input_unique_token ON public.survey_user_input IS 'UNIQUE (access_token)';


--
-- Name: task_dependencies_rel task_dependencies_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.task_dependencies_rel
    ADD CONSTRAINT task_dependencies_rel_pkey PRIMARY KEY (task_id, depends_on_id);


--
-- Name: team_favorite_user_rel team_favorite_user_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.team_favorite_user_rel
    ADD CONSTRAINT team_favorite_user_rel_pkey PRIMARY KEY (team_id, user_id);


--
-- Name: theme_ir_asset theme_ir_asset_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.theme_ir_asset
    ADD CONSTRAINT theme_ir_asset_pkey PRIMARY KEY (id);


--
-- Name: theme_ir_attachment theme_ir_attachment_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.theme_ir_attachment
    ADD CONSTRAINT theme_ir_attachment_pkey PRIMARY KEY (id);


--
-- Name: theme_ir_ui_view theme_ir_ui_view_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.theme_ir_ui_view
    ADD CONSTRAINT theme_ir_ui_view_pkey PRIMARY KEY (id);


--
-- Name: theme_website_menu theme_website_menu_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.theme_website_menu
    ADD CONSTRAINT theme_website_menu_pkey PRIMARY KEY (id);


--
-- Name: theme_website_page theme_website_page_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.theme_website_page
    ADD CONSTRAINT theme_website_page_pkey PRIMARY KEY (id);


--
-- Name: uom_category uom_category_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.uom_category
    ADD CONSTRAINT uom_category_pkey PRIMARY KEY (id);


--
-- Name: uom_uom uom_uom_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.uom_uom
    ADD CONSTRAINT uom_uom_pkey PRIMARY KEY (id);


--
-- Name: utm_campaign utm_campaign_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.utm_campaign
    ADD CONSTRAINT utm_campaign_pkey PRIMARY KEY (id);


--
-- Name: utm_campaign utm_campaign_unique_name; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.utm_campaign
    ADD CONSTRAINT utm_campaign_unique_name UNIQUE (name);


--
-- Name: CONSTRAINT utm_campaign_unique_name ON utm_campaign; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT utm_campaign_unique_name ON public.utm_campaign IS 'UNIQUE(name)';


--
-- Name: utm_medium utm_medium_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.utm_medium
    ADD CONSTRAINT utm_medium_pkey PRIMARY KEY (id);


--
-- Name: utm_medium utm_medium_unique_name; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.utm_medium
    ADD CONSTRAINT utm_medium_unique_name UNIQUE (name);


--
-- Name: CONSTRAINT utm_medium_unique_name ON utm_medium; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT utm_medium_unique_name ON public.utm_medium IS 'UNIQUE(name)';


--
-- Name: utm_source utm_source_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.utm_source
    ADD CONSTRAINT utm_source_pkey PRIMARY KEY (id);


--
-- Name: utm_source utm_source_unique_name; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.utm_source
    ADD CONSTRAINT utm_source_unique_name UNIQUE (name);


--
-- Name: CONSTRAINT utm_source_unique_name ON utm_source; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT utm_source_unique_name ON public.utm_source IS 'UNIQUE(name)';


--
-- Name: utm_stage utm_stage_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.utm_stage
    ADD CONSTRAINT utm_stage_pkey PRIMARY KEY (id);


--
-- Name: utm_tag utm_tag_name_uniq; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.utm_tag
    ADD CONSTRAINT utm_tag_name_uniq UNIQUE (name);


--
-- Name: CONSTRAINT utm_tag_name_uniq ON utm_tag; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT utm_tag_name_uniq ON public.utm_tag IS 'unique (name)';


--
-- Name: utm_tag utm_tag_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.utm_tag
    ADD CONSTRAINT utm_tag_pkey PRIMARY KEY (id);


--
-- Name: utm_tag_rel utm_tag_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.utm_tag_rel
    ADD CONSTRAINT utm_tag_rel_pkey PRIMARY KEY (tag_id, campaign_id);


--
-- Name: validate_account_move validate_account_move_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.validate_account_move
    ADD CONSTRAINT validate_account_move_pkey PRIMARY KEY (id);


--
-- Name: web_editor_converter_test web_editor_converter_test_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.web_editor_converter_test
    ADD CONSTRAINT web_editor_converter_test_pkey PRIMARY KEY (id);


--
-- Name: web_editor_converter_test_sub web_editor_converter_test_sub_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.web_editor_converter_test_sub
    ADD CONSTRAINT web_editor_converter_test_sub_pkey PRIMARY KEY (id);


--
-- Name: web_tour_tour web_tour_tour_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.web_tour_tour
    ADD CONSTRAINT web_tour_tour_pkey PRIMARY KEY (id);


--
-- Name: website_configurator_feature website_configurator_feature_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.website_configurator_feature
    ADD CONSTRAINT website_configurator_feature_pkey PRIMARY KEY (id);


--
-- Name: website website_domain_unique; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.website
    ADD CONSTRAINT website_domain_unique UNIQUE (domain);


--
-- Name: CONSTRAINT website_domain_unique ON website; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT website_domain_unique ON public.website IS 'unique(domain)';


--
-- Name: website_lang_rel website_lang_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.website_lang_rel
    ADD CONSTRAINT website_lang_rel_pkey PRIMARY KEY (website_id, lang_id);


--
-- Name: website_menu website_menu_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.website_menu
    ADD CONSTRAINT website_menu_pkey PRIMARY KEY (id);


--
-- Name: website_page website_page_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.website_page
    ADD CONSTRAINT website_page_pkey PRIMARY KEY (id);


--
-- Name: website website_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.website
    ADD CONSTRAINT website_pkey PRIMARY KEY (id);


--
-- Name: website_rewrite website_rewrite_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.website_rewrite
    ADD CONSTRAINT website_rewrite_pkey PRIMARY KEY (id);


--
-- Name: website_robots website_robots_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.website_robots
    ADD CONSTRAINT website_robots_pkey PRIMARY KEY (id);


--
-- Name: website_route website_route_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.website_route
    ADD CONSTRAINT website_route_pkey PRIMARY KEY (id);


--
-- Name: website_snippet_filter website_snippet_filter_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.website_snippet_filter
    ADD CONSTRAINT website_snippet_filter_pkey PRIMARY KEY (id);


--
