diff --git a/database/migrations/2024_05_13_091524_add_team_to_addrs_table.php b/database/migrations/2024_05_13_091524_add_team_to_addrs_table.php new file mode 100644 index 00000000..dc1f3473 --- /dev/null +++ b/database/migrations/2024_05_13_091524_add_team_to_addrs_table.php @@ -0,0 +1,27 @@ +foreignId('team_id')->nullable()->constrained()->onDelete('cascade'); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::table('addrs', function (Blueprint $table) { + // + }); + } +}; diff --git a/database/migrations/2024_05_13_091950_add_team_to_chans_table.php b/database/migrations/2024_05_13_091950_add_team_to_chans_table.php new file mode 100644 index 00000000..faf79742 --- /dev/null +++ b/database/migrations/2024_05_13_091950_add_team_to_chans_table.php @@ -0,0 +1,27 @@ +foreignId('team_id')->nullable()->constrained()->onDelete('cascade'); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::table('chans', function (Blueprint $table) { + // + }); + } +}; diff --git a/database/migrations/2024_05_14_080621_add_team_to_people_table.php b/database/migrations/2024_05_14_080621_add_team_to_people_table.php new file mode 100644 index 00000000..9691504d --- /dev/null +++ b/database/migrations/2024_05_14_080621_add_team_to_people_table.php @@ -0,0 +1,28 @@ +foreignId('team_id')->nullable()->constrained()->onDelete('cascade'); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::table('people', function (Blueprint $table) { + $table->dropForeign(['team_id']); + $table->dropColumn('team_id'); + }); + } +}; diff --git a/database/migrations/2024_05_16_080300_add_team_to_person_events_table.php b/database/migrations/2024_05_16_080300_add_team_to_person_events_table.php new file mode 100644 index 00000000..c2ff0213 --- /dev/null +++ b/database/migrations/2024_05_16_080300_add_team_to_person_events_table.php @@ -0,0 +1,27 @@ +foreignId('team_id')->nullable()->constrained()->onDelete('cascade'); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::table('person_events', function (Blueprint $table) { + // + }); + } +}; diff --git a/database/migrations/2024_05_16_080431_add_team_to_person_lds_table.php b/database/migrations/2024_05_16_080431_add_team_to_person_lds_table.php new file mode 100644 index 00000000..42703315 --- /dev/null +++ b/database/migrations/2024_05_16_080431_add_team_to_person_lds_table.php @@ -0,0 +1,27 @@ +foreignId('team_id')->nullable()->constrained()->onDelete('cascade'); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::table('person_lds', function (Blueprint $table) { + // + }); + } +}; diff --git a/database/migrations/2024_05_16_080545_add_team_to_person_name_fone_table.php b/database/migrations/2024_05_16_080545_add_team_to_person_name_fone_table.php new file mode 100644 index 00000000..eadf3bbd --- /dev/null +++ b/database/migrations/2024_05_16_080545_add_team_to_person_name_fone_table.php @@ -0,0 +1,27 @@ +foreignId('team_id')->nullable()->constrained()->onDelete('cascade'); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::table('person_name_fone', function (Blueprint $table) { + // + }); + } +}; diff --git a/database/migrations/2024_05_16_080622_add_team_to_person_name_table.php b/database/migrations/2024_05_16_080622_add_team_to_person_name_table.php new file mode 100644 index 00000000..d1cca45f --- /dev/null +++ b/database/migrations/2024_05_16_080622_add_team_to_person_name_table.php @@ -0,0 +1,27 @@ +foreignId('team_id')->nullable()->constrained()->onDelete('cascade'); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::table('person_name', function (Blueprint $table) { + // + }); + } +}; diff --git a/database/migrations/2024_05_16_080752_add_team_to_person_name_romn_table.php b/database/migrations/2024_05_16_080752_add_team_to_person_name_romn_table.php new file mode 100644 index 00000000..b64e4207 --- /dev/null +++ b/database/migrations/2024_05_16_080752_add_team_to_person_name_romn_table.php @@ -0,0 +1,27 @@ +foreignId('team_id')->nullable()->constrained()->onDelete('cascade'); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::table('person_name_romn', function (Blueprint $table) { + // + }); + } +}; diff --git a/database/migrations/2024_05_16_080822_add_team_to_person_subm_table.php b/database/migrations/2024_05_16_080822_add_team_to_person_subm_table.php new file mode 100644 index 00000000..be29af7a --- /dev/null +++ b/database/migrations/2024_05_16_080822_add_team_to_person_subm_table.php @@ -0,0 +1,27 @@ +foreignId('team_id')->nullable()->constrained()->onDelete('cascade'); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::table('person_subm', function (Blueprint $table) { + // + }); + } +}; diff --git a/database/migrations/2024_05_16_080842_add_team_to_places_table.php b/database/migrations/2024_05_16_080842_add_team_to_places_table.php new file mode 100644 index 00000000..34b8293a --- /dev/null +++ b/database/migrations/2024_05_16_080842_add_team_to_places_table.php @@ -0,0 +1,27 @@ +foreignId('team_id')->nullable()->constrained()->onDelete('cascade'); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::table('places', function (Blueprint $table) { + // + }); + } +}; diff --git a/database/migrations/2024_05_16_081038_add_team_to_publications_table.php b/database/migrations/2024_05_16_081038_add_team_to_publications_table.php new file mode 100644 index 00000000..cdc6c776 --- /dev/null +++ b/database/migrations/2024_05_16_081038_add_team_to_publications_table.php @@ -0,0 +1,27 @@ +foreignId('team_id')->nullable()->constrained()->onDelete('cascade'); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::table('publications', function (Blueprint $table) { + // + }); + } +}; diff --git a/database/migrations/2024_05_16_081111_add_team_to_refn_table.php b/database/migrations/2024_05_16_081111_add_team_to_refn_table.php new file mode 100644 index 00000000..895d55c1 --- /dev/null +++ b/database/migrations/2024_05_16_081111_add_team_to_refn_table.php @@ -0,0 +1,27 @@ +foreignId('team_id')->nullable()->constrained()->onDelete('cascade'); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::table('refn', function (Blueprint $table) { + // + }); + } +}; diff --git a/database/migrations/2024_05_16_081136_add_team_to_source_data_even_table.php b/database/migrations/2024_05_16_081136_add_team_to_source_data_even_table.php new file mode 100644 index 00000000..32a06bd2 --- /dev/null +++ b/database/migrations/2024_05_16_081136_add_team_to_source_data_even_table.php @@ -0,0 +1,27 @@ +foreignId('team_id')->nullable()->constrained()->onDelete('cascade'); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::table('source_data_even', function (Blueprint $table) { + // + }); + } +}; diff --git a/database/migrations/2024_05_16_081203_add_team_to_source_data_table.php b/database/migrations/2024_05_16_081203_add_team_to_source_data_table.php new file mode 100644 index 00000000..cf27d7c1 --- /dev/null +++ b/database/migrations/2024_05_16_081203_add_team_to_source_data_table.php @@ -0,0 +1,27 @@ +foreignId('team_id')->nullable()->constrained()->onDelete('cascade'); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::table('source_data', function (Blueprint $table) { + // + }); + } +}; diff --git a/database/migrations/2024_05_16_081233_add_team_to_sourceref_even_table.php b/database/migrations/2024_05_16_081233_add_team_to_sourceref_even_table.php new file mode 100644 index 00000000..f698e81d --- /dev/null +++ b/database/migrations/2024_05_16_081233_add_team_to_sourceref_even_table.php @@ -0,0 +1,27 @@ +foreignId('team_id')->nullable()->constrained()->onDelete('cascade'); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::table('sourceref_even', function (Blueprint $table) { + // + }); + } +}; diff --git a/database/migrations/2024_05_16_081257_add_team_to_source_ref_table.php b/database/migrations/2024_05_16_081257_add_team_to_source_ref_table.php new file mode 100644 index 00000000..f98d9b58 --- /dev/null +++ b/database/migrations/2024_05_16_081257_add_team_to_source_ref_table.php @@ -0,0 +1,27 @@ +foreignId('team_id')->nullable()->constrained()->onDelete('cascade'); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::table('source_ref', function (Blueprint $table) { + // + }); + } +}; diff --git a/database/migrations/2024_05_16_081327_add_team_to_source_repo_table.php b/database/migrations/2024_05_16_081327_add_team_to_source_repo_table.php new file mode 100644 index 00000000..db7371a3 --- /dev/null +++ b/database/migrations/2024_05_16_081327_add_team_to_source_repo_table.php @@ -0,0 +1,27 @@ +foreignId('team_id')->nullable()->constrained()->onDelete('cascade'); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::table('source_repo', function (Blueprint $table) { + // + }); + } +}; diff --git a/database/migrations/2024_05_16_081450_add_team_to_subms_table.php b/database/migrations/2024_05_16_081450_add_team_to_subms_table.php new file mode 100644 index 00000000..be88ee20 --- /dev/null +++ b/database/migrations/2024_05_16_081450_add_team_to_subms_table.php @@ -0,0 +1,27 @@ +foreignId('team_id')->nullable()->constrained()->onDelete('cascade'); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::table('subms', function (Blueprint $table) { + // + }); + } +}; diff --git a/database/migrations/2024_05_16_081523_add_team_to_subns_table.php b/database/migrations/2024_05_16_081523_add_team_to_subns_table.php new file mode 100644 index 00000000..091ec5cf --- /dev/null +++ b/database/migrations/2024_05_16_081523_add_team_to_subns_table.php @@ -0,0 +1,27 @@ +foreignId('team_id')->nullable()->constrained()->onDelete('cascade'); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::table('subns', function (Blueprint $table) { + // + }); + } +}; diff --git a/database/migrations/2024_05_16_081619_add_team_to_types_table.php b/database/migrations/2024_05_16_081619_add_team_to_types_table.php new file mode 100644 index 00000000..4bb14b2d --- /dev/null +++ b/database/migrations/2024_05_16_081619_add_team_to_types_table.php @@ -0,0 +1,27 @@ +foreignId('team_id')->nullable()->constrained()->onDelete('cascade'); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::table('types', function (Blueprint $table) { + // + }); + } +}; diff --git a/database/migrations/2024_05_16_081701_add_team_to_person_alia_table.php b/database/migrations/2024_05_16_081701_add_team_to_person_alia_table.php new file mode 100644 index 00000000..13925559 --- /dev/null +++ b/database/migrations/2024_05_16_081701_add_team_to_person_alia_table.php @@ -0,0 +1,27 @@ +foreignId('team_id')->nullable()->constrained()->onDelete('cascade'); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::table('person_alia', function (Blueprint $table) { + // + }); + } +}; diff --git a/database/migrations/2024_05_16_081725_add_team_to_person_anci_table.php b/database/migrations/2024_05_16_081725_add_team_to_person_anci_table.php new file mode 100644 index 00000000..db627262 --- /dev/null +++ b/database/migrations/2024_05_16_081725_add_team_to_person_anci_table.php @@ -0,0 +1,27 @@ +foreignId('team_id')->nullable()->constrained()->onDelete('cascade'); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::table('person_anci', function (Blueprint $table) { + // + }); + } +}; diff --git a/database/migrations/2024_05_16_081746_add_team_to_person_asso_table.php b/database/migrations/2024_05_16_081746_add_team_to_person_asso_table.php new file mode 100644 index 00000000..e1b383a6 --- /dev/null +++ b/database/migrations/2024_05_16_081746_add_team_to_person_asso_table.php @@ -0,0 +1,27 @@ +foreignId('team_id')->nullable()->constrained()->onDelete('cascade'); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::table('person_asso', function (Blueprint $table) { + // + }); + } +}; diff --git a/database/migrations/2024_05_16_081819_add_team_to_authors_table.php b/database/migrations/2024_05_16_081819_add_team_to_authors_table.php new file mode 100644 index 00000000..be13d541 --- /dev/null +++ b/database/migrations/2024_05_16_081819_add_team_to_authors_table.php @@ -0,0 +1,27 @@ +foreignId('team_id')->nullable()->constrained()->onDelete('cascade'); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::table('authors', function (Blueprint $table) { + // + }); + } +}; diff --git a/database/migrations/2024_05_16_081839_add_team_to_citations_table.php b/database/migrations/2024_05_16_081839_add_team_to_citations_table.php new file mode 100644 index 00000000..ca108ac2 --- /dev/null +++ b/database/migrations/2024_05_16_081839_add_team_to_citations_table.php @@ -0,0 +1,27 @@ +foreignId('team_id')->nullable()->constrained()->onDelete('cascade'); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::table('citations', function (Blueprint $table) { + // + }); + } +}; diff --git a/database/migrations/2024_05_16_081902_add_team_to_repositories_table.php b/database/migrations/2024_05_16_081902_add_team_to_repositories_table.php new file mode 100644 index 00000000..4ec2a218 --- /dev/null +++ b/database/migrations/2024_05_16_081902_add_team_to_repositories_table.php @@ -0,0 +1,27 @@ +foreignId('team_id')->nullable()->constrained()->onDelete('cascade'); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::table('repositories', function (Blueprint $table) { + // + }); + } +}; diff --git a/database/migrations/2024_05_16_081925_add_team_to_sources_table.php b/database/migrations/2024_05_16_081925_add_team_to_sources_table.php new file mode 100644 index 00000000..f115b5db --- /dev/null +++ b/database/migrations/2024_05_16_081925_add_team_to_sources_table.php @@ -0,0 +1,27 @@ +foreignId('team_id')->nullable()->constrained()->onDelete('cascade'); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::table('sources', function (Blueprint $table) { + // + }); + } +}; diff --git a/database/migrations/2024_05_16_082000_add_team_to_family_events_table.php b/database/migrations/2024_05_16_082000_add_team_to_family_events_table.php new file mode 100644 index 00000000..23cc8506 --- /dev/null +++ b/database/migrations/2024_05_16_082000_add_team_to_family_events_table.php @@ -0,0 +1,27 @@ +foreignId('team_id')->nullable()->constrained()->onDelete('cascade'); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::table('family_events', function (Blueprint $table) { + // + }); + } +}; diff --git a/database/migrations/2024_05_16_082019_add_team_to_families_table.php b/database/migrations/2024_05_16_082019_add_team_to_families_table.php new file mode 100644 index 00000000..7f207e89 --- /dev/null +++ b/database/migrations/2024_05_16_082019_add_team_to_families_table.php @@ -0,0 +1,27 @@ +foreignId('team_id')->nullable()->constrained()->onDelete('cascade'); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::table('families', function (Blueprint $table) { + // + }); + } +}; diff --git a/database/migrations/2024_05_16_082040_add_team_to_family_slgs_table.php b/database/migrations/2024_05_16_082040_add_team_to_family_slgs_table.php new file mode 100644 index 00000000..9677a43b --- /dev/null +++ b/database/migrations/2024_05_16_082040_add_team_to_family_slgs_table.php @@ -0,0 +1,27 @@ +foreignId('team_id')->nullable()->constrained()->onDelete('cascade'); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::table('family_slgs', function (Blueprint $table) { + // + }); + } +}; diff --git a/database/migrations/2024_05_16_082059_add_team_to_notes_table.php b/database/migrations/2024_05_16_082059_add_team_to_notes_table.php new file mode 100644 index 00000000..d595b5c0 --- /dev/null +++ b/database/migrations/2024_05_16_082059_add_team_to_notes_table.php @@ -0,0 +1,27 @@ +foreignId('team_id')->nullable()->constrained()->onDelete('cascade'); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::table('notes', function (Blueprint $table) { + // + }); + } +}; diff --git a/database/migrations/2024_05_16_082125_add_team_to_media_objects_table.php b/database/migrations/2024_05_16_082125_add_team_to_media_objects_table.php new file mode 100644 index 00000000..fef6a60c --- /dev/null +++ b/database/migrations/2024_05_16_082125_add_team_to_media_objects_table.php @@ -0,0 +1,27 @@ +foreignId('team_id')->nullable()->constrained()->onDelete('cascade'); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::table('media_objects', function (Blueprint $table) { + // + }); + } +}; diff --git a/database/migrations/2024_05_16_134546_add_team_to_dnas_table.php b/database/migrations/2024_05_16_134546_add_team_to_dnas_table.php new file mode 100644 index 00000000..02be945e --- /dev/null +++ b/database/migrations/2024_05_16_134546_add_team_to_dnas_table.php @@ -0,0 +1,27 @@ +foreignId('team_id')->nullable()->constrained()->onDelete('cascade'); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::table('dnas', function (Blueprint $table) { + // + }); + } +};