-
Notifications
You must be signed in to change notification settings - Fork 78
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(soft-delete-student-class): update the soft-delete config fo…
…r dependent models
- Loading branch information
1 parent
9863288
commit 16d69dc
Showing
23 changed files
with
106 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -72,3 +72,5 @@ playwright/.cache/ | |
coverage/ | ||
|
||
dump.rdb | ||
.idea | ||
*.iml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
class AddDeletedAtToCourseUsers < ActiveRecord::Migration[7.0] | ||
def change | ||
add_column :course_users, :deleted_at, :datetime | ||
add_index :course_users, :deleted_at | ||
end | ||
end |
6 changes: 6 additions & 0 deletions
6
db/migrate/20241014031800_add_deleted_at_to_course_experience_points_records.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
class AddDeletedAtToCourseExperiencePointsRecords < ActiveRecord::Migration[7.0] | ||
def change | ||
add_column :course_experience_points_records, :deleted_at, :datetime | ||
add_index :course_experience_points_records, :deleted_at | ||
end | ||
end |
6 changes: 6 additions & 0 deletions
6
db/migrate/20241014031803_add_deleted_at_to_course_learning_rate_records.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
class AddDeletedAtToCourseLearningRateRecords < ActiveRecord::Migration[7.0] | ||
def change | ||
add_column :course_learning_rate_records, :deleted_at, :datetime | ||
add_index :course_learning_rate_records, :deleted_at | ||
end | ||
end |
6 changes: 6 additions & 0 deletions
6
db/migrate/20241014031807_add_deleted_at_to_course_user_achievements.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
class AddDeletedAtToCourseUserAchievements < ActiveRecord::Migration[7.0] | ||
def change | ||
add_column :course_user_achievements, :deleted_at, :datetime | ||
add_index :course_user_achievements, :deleted_at | ||
end | ||
end |
6 changes: 6 additions & 0 deletions
6
db/migrate/20241014031810_add_deleted_at_to_course_achievements.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
class AddDeletedAtToCourseAchievements < ActiveRecord::Migration[7.0] | ||
def change | ||
add_column :course_achievements, :deleted_at, :datetime | ||
add_index :course_achievements, :deleted_at | ||
end | ||
end |
6 changes: 6 additions & 0 deletions
6
db/migrate/20241014031814_add_deleted_at_to_course_user_email_unsubscriptions.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
class AddDeletedAtToCourseUserEmailUnsubscriptions < ActiveRecord::Migration[7.0] | ||
def change | ||
add_column :course_user_email_unsubscriptions, :deleted_at, :datetime | ||
add_index :course_user_email_unsubscriptions, :deleted_at | ||
end | ||
end |
6 changes: 6 additions & 0 deletions
6
db/migrate/20241014031817_add_deleted_at_to_course_group_users.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
class AddDeletedAtToCourseGroupUsers < ActiveRecord::Migration[7.0] | ||
def change | ||
add_column :course_group_users, :deleted_at, :datetime | ||
add_index :course_group_users, :deleted_at | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
class AddDeletedAtToCourseGroups < ActiveRecord::Migration[7.0] | ||
def change | ||
add_column :course_groups, :deleted_at, :datetime | ||
add_index :course_groups, :deleted_at | ||
end | ||
end |
6 changes: 6 additions & 0 deletions
6
db/migrate/20241014031824_add_deleted_at_to_course_personal_times.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
class AddDeletedAtToCoursePersonalTimes < ActiveRecord::Migration[7.0] | ||
def change | ||
add_column :course_personal_times, :deleted_at, :datetime | ||
add_index :course_personal_times, :deleted_at | ||
end | ||
end |
6 changes: 6 additions & 0 deletions
6
db/migrate/20241014031828_add_deleted_at_to_course_reference_timelines.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
class AddDeletedAtToCourseReferenceTimelines < ActiveRecord::Migration[7.0] | ||
def change | ||
add_column :course_reference_timelines, :deleted_at, :datetime | ||
add_index :course_reference_timelines, :deleted_at | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters