33--
44
55-- Dumped from database version 15.6 (Debian 15.6-1.pgdg120+2)
6- -- Dumped by pg_dump version 15.6 (Ubuntu 15.6 -1.pgdg22.04+1)
6+ -- Dumped by pg_dump version 15.7 (Ubuntu 15.7 -1.pgdg22.04+1)
77
88SET statement_timeout = 0 ;
99SET lock_timeout = 0 ;
@@ -947,15 +947,15 @@ ALTER TABLE ONLY public.clients
947947--
948948
949949ALTER TABLE ONLY public .organization_invitations
950- ADD CONSTRAINT organization_invitations_organization_id_foreign FOREIGN KEY (organization_id) REFERENCES public .organizations (id) ON DELETE CASCADE ;
950+ ADD CONSTRAINT organization_invitations_organization_id_foreign FOREIGN KEY (organization_id) REFERENCES public .organizations (id) ON UPDATE CASCADE ON DELETE RESTRICT ;
951951
952952
953953--
954954-- Name: project_members project_members_member_id_foreign; Type: FK CONSTRAINT; Schema: public; Owner: -
955955--
956956
957957ALTER TABLE ONLY public .project_members
958- ADD CONSTRAINT project_members_member_id_foreign FOREIGN KEY (member_id) REFERENCES public .members (id) ON UPDATE CASCADE ON DELETE CASCADE ;
958+ ADD CONSTRAINT project_members_member_id_foreign FOREIGN KEY (member_id) REFERENCES public .members (id) ON UPDATE CASCADE ON DELETE RESTRICT ;
959959
960960
961961--
@@ -1019,15 +1019,15 @@ ALTER TABLE ONLY public.tasks
10191019--
10201020
10211021ALTER TABLE ONLY public .time_entries
1022- ADD CONSTRAINT time_entries_client_id_foreign FOREIGN KEY (client_id) REFERENCES public .clients (id) ON UPDATE CASCADE ON DELETE CASCADE ;
1022+ ADD CONSTRAINT time_entries_client_id_foreign FOREIGN KEY (client_id) REFERENCES public .clients (id) ON UPDATE CASCADE ON DELETE RESTRICT ;
10231023
10241024
10251025--
10261026-- Name: time_entries time_entries_member_id_foreign; Type: FK CONSTRAINT; Schema: public; Owner: -
10271027--
10281028
10291029ALTER TABLE ONLY public .time_entries
1030- ADD CONSTRAINT time_entries_member_id_foreign FOREIGN KEY (member_id) REFERENCES public .members (id) ON UPDATE CASCADE ON DELETE CASCADE ;
1030+ ADD CONSTRAINT time_entries_member_id_foreign FOREIGN KEY (member_id) REFERENCES public .members (id) ON UPDATE CASCADE ON DELETE RESTRICT ;
10311031
10321032
10331033--
@@ -1071,7 +1071,7 @@ ALTER TABLE ONLY public.time_entries
10711071--
10721072
10731073-- Dumped from database version 15.6 (Debian 15.6-1.pgdg120+2)
1074- -- Dumped by pg_dump version 15.6 (Ubuntu 15.6 -1.pgdg22.04+1)
1074+ -- Dumped by pg_dump version 15.7 (Ubuntu 15.7 -1.pgdg22.04+1)
10751075
10761076SET statement_timeout = 0 ;
10771077SET lock_timeout = 0 ;
@@ -1097,38 +1097,41 @@ COPY public.migrations (id, migration, batch) FROM stdin;
109710976 2016_06_01_000003_create_oauth_refresh_tokens_table 1
109810987 2016_06_01_000004_create_oauth_clients_table 1
109910998 2016_06_01_000005_create_oauth_personal_access_clients_table 1
1100- 9 2019_05_03_000001_create_customers_table 1
1101- 10 2019_05_03_000002_create_subscriptions_table 1
1102- 11 2019_05_03_000003_create_subscription_items_table 1
1103- 12 2019_05_03_000004_create_transactions_table 1
1104- 13 2019_08_19_000000_create_failed_jobs_table 1
1105- 14 2019_12_14_000001_create_personal_access_tokens_table 1
1106- 15 2020_05_21_100000_create_organizations_table 1
1107- 16 2020_05_21_200000_create_organization_user_table 1
1108- 17 2020_05_21_300000_create_organization_invitations_table 1
1109- 18 2024_01_16_161030_create_sessions_table 1
1110- 19 2024_01_20_110218_create_clients_table 1
1111- 20 2024_01_20_110439_create_projects_table 1
1112- 21 2024_01_20_110444_create_tasks_table 1
1113- 22 2024_01_20_110452_create_tags_table 1
1114- 23 2024_01_20_110837_create_time_entries_table 1
1115- 24 2024_03_26_171253_create_project_members_table 1
1116- 25 2024_04_11_150130_create_jobs_table 1
1117- 26 2024_04_12_095010_create_cache_table 1
1118- 27 2024_05_07_134711_move_from_user_id_to_member_id_in_project_members_table 1
1119- 28 2024_05_07_141842_move_from_user_id_to_member_id_in_time_entries_table 1
1120- 29 2024_05_13_171020_rename_table_organization_user_to_members 1
1121- 31 2024_05_22_151226_add_client_id_to_time_entries_table 2
1122- 36 2024_05_30_175801_add_is_billable_column_to_projects_table 3
1123- 37 2024_05_30_175825_add_is_imported_column_to_time_entries_table 3
1100+ 9 2018_08_08_100000_create_telescope_entries_table 1
1101+ 10 2019_05_03_000001_create_customers_table 1
1102+ 11 2019_05_03_000002_create_subscriptions_table 1
1103+ 12 2019_05_03_000003_create_subscription_items_table 1
1104+ 13 2019_05_03_000004_create_transactions_table 1
1105+ 14 2019_08_19_000000_create_failed_jobs_table 1
1106+ 15 2019_12_14_000001_create_personal_access_tokens_table 1
1107+ 16 2020_05_21_100000_create_organizations_table 1
1108+ 17 2020_05_21_200000_create_organization_user_table 1
1109+ 18 2020_05_21_300000_create_organization_invitations_table 1
1110+ 19 2024_01_16_161030_create_sessions_table 1
1111+ 20 2024_01_20_110218_create_clients_table 1
1112+ 21 2024_01_20_110439_create_projects_table 1
1113+ 22 2024_01_20_110444_create_tasks_table 1
1114+ 23 2024_01_20_110452_create_tags_table 1
1115+ 24 2024_01_20_110837_create_time_entries_table 1
1116+ 25 2024_03_26_171253_create_project_members_table 1
1117+ 26 2024_04_11_150130_create_jobs_table 1
1118+ 27 2024_04_12_095010_create_cache_table 1
1119+ 28 2024_05_07_134711_move_from_user_id_to_member_id_in_project_members_table 1
1120+ 29 2024_05_07_141842_move_from_user_id_to_member_id_in_time_entries_table 1
1121+ 30 2024_05_13_171020_rename_table_organization_user_to_members 1
1122+ 31 2024_05_22_151226_add_client_id_to_time_entries_table 1
1123+ 32 2024_05_30_175801_add_is_billable_column_to_projects_table 1
1124+ 33 2024_05_30_175825_add_is_imported_column_to_time_entries_table 1
1125+ 34 2024_06_07_113443_change_member_id_foreign_keys_to_restrict_on_delete 1
1126+ 35 2024_06_10_161831_reset_billable_rates_with_zero_as_value 1
11241127\.
11251128
11261129
11271130--
11281131-- Name: migrations_id_seq; Type: SEQUENCE SET; Schema: public; Owner: -
11291132--
11301133
1131- SELECT pg_catalog .setval (' public.migrations_id_seq' , 37 , true);
1134+ SELECT pg_catalog .setval (' public.migrations_id_seq' , 35 , true);
11321135
11331136
11341137--
0 commit comments