-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'release/1.15.3' into deps/bundle-local-gems
- Loading branch information
Showing
88 changed files
with
298 additions
and
373 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
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
2 changes: 0 additions & 2 deletions
2
db/interactions_migrate/20191209143820_create_interactions.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 |
---|---|---|
@@ -1,9 +1,7 @@ | ||
# rubocop:disable Rails/ | ||
class CreateInteractions < ActiveRecord::Migration[6.0] | ||
def change | ||
create_table :interactions do |t| | ||
t.text :session_id | ||
end | ||
end | ||
end | ||
# rubocop:enable Rails/ |
2 changes: 0 additions & 2 deletions
2
db/interactions_migrate/20191209165752_add_details_to_interaction.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 |
---|---|---|
@@ -1,9 +1,7 @@ | ||
# rubocop:disable Rails/ | ||
class AddDetailsToInteraction < ActiveRecord::Migration[6.0] | ||
def change | ||
add_column :interactions, :controller_name, :text | ||
add_column :interactions, :action_name, :text | ||
add_column :interactions, :referrer_url, :text | ||
end | ||
end | ||
# rubocop:enable Rails/ |
2 changes: 0 additions & 2 deletions
2
db/interactions_migrate/20191211155453_remove_details_from_interactions.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 |
---|---|---|
@@ -1,8 +1,6 @@ | ||
# rubocop:disable Rails/ | ||
class RemoveDetailsFromInteractions < ActiveRecord::Migration[6.0] | ||
def change | ||
remove_column :interactions, :controller_name, :text | ||
remove_column :interactions, :action_name, :text | ||
end | ||
end | ||
# rubocop:enable Rails/ |
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 |
---|---|---|
@@ -1,7 +1,5 @@ | ||
# rubocop:disable Rails/ | ||
class DeleteAssetTagJoin < ActiveRecord::Migration[5.1] | ||
def change | ||
drop_table :asset_tag_joins | ||
end | ||
end | ||
# rubocop:enable Rails/ |
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 |
---|---|---|
@@ -1,7 +1,5 @@ | ||
# rubocop:disable Rails/ | ||
class AddAdminToUsers < ActiveRecord::Migration[5.1] | ||
def change | ||
add_column :users, :admin, :boolean | ||
end | ||
end | ||
# rubocop:enable Rails/ |
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 |
---|---|---|
@@ -1,9 +1,7 @@ | ||
# rubocop:disable Rails/ | ||
class DropAsset < ActiveRecord::Migration[5.1] | ||
def change | ||
drop_table :assets | ||
drop_table :asset_medium_joins | ||
drop_table :connections | ||
end | ||
end | ||
# rubocop:enable Rails/ |
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 |
---|---|---|
@@ -1,7 +1,5 @@ | ||
# rubocop:disable Rails/ | ||
class RemoveConfirmablefromDevise < ActiveRecord::Migration[5.1] | ||
def change | ||
remove_columns :users, :confirmation_token, :confirmed_at, :confirmation_sent_at | ||
end | ||
end | ||
# rubocop:enable Rails/ |
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 |
---|---|---|
@@ -1,7 +1,5 @@ | ||
# rubocop:disable Rails/ | ||
class AddKiwiToLecture < ActiveRecord::Migration[5.1] | ||
def change | ||
add_column :lectures, :kiwi, :boolean | ||
end | ||
end | ||
# rubocop:enable Rails/ |
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 |
---|---|---|
@@ -1,8 +1,6 @@ | ||
# rubocop:disable Rails/ | ||
class AddExtrasToMedium < ActiveRecord::Migration[5.1] | ||
def change | ||
add_column :media, :extras_link, :text | ||
add_column :media, :extras_description, :text | ||
end | ||
end | ||
# rubocop:enable Rails/ |
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 |
---|---|---|
@@ -1,7 +1,5 @@ | ||
# rubocop:disable Rails/ | ||
class AddConsentsToUser < ActiveRecord::Migration[5.1] | ||
def change | ||
add_column :users, :consents, :boolean | ||
end | ||
end | ||
# rubocop:enable Rails/ |
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 |
---|---|---|
@@ -1,7 +1,5 @@ | ||
# rubocop:disable Rails/ | ||
class AddNewsToCourseUserJoin < ActiveRecord::Migration[5.2] | ||
def change | ||
add_column :course_user_joins, :news, :boolean | ||
end | ||
end | ||
# rubocop:enable Rails/ |
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 |
---|---|---|
@@ -1,7 +1,5 @@ | ||
# rubocop:disable Rails/ | ||
class AddEditedProfileToUser < ActiveRecord::Migration[5.2] | ||
def change | ||
add_column :users, :edited_profile, :boolean | ||
end | ||
end | ||
# rubocop:enable Rails/ |
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 |
---|---|---|
@@ -1,7 +1,5 @@ | ||
# rubocop:disable Rails/ | ||
class AddTeacherToUser < ActiveRecord::Migration[5.2] | ||
def change | ||
add_column :users, :teacher, :boolean | ||
end | ||
end | ||
# rubocop:enable Rails/ |
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 |
---|---|---|
@@ -1,8 +1,6 @@ | ||
# rubocop:disable Rails/ | ||
class AddEditorAndNameToUser < ActiveRecord::Migration[5.2] | ||
def change | ||
add_column :users, :editor, :boolean | ||
add_column :users, :name, :text | ||
end | ||
end | ||
# rubocop:enable Rails/ |
2 changes: 0 additions & 2 deletions
2
db/migrate/20180820152008_remove_teacher_and_teacher_id_from_user.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 |
---|---|---|
@@ -1,8 +1,6 @@ | ||
# rubocop:disable Rails/ | ||
class RemoveTeacherAndTeacherIdFromUser < ActiveRecord::Migration[5.2] | ||
def change | ||
remove_column :users, :teacher, :boolean | ||
remove_column :users, :teacher_id, :integer | ||
end | ||
end | ||
# rubocop:enable Rails/ |
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 |
---|---|---|
@@ -1,8 +1,6 @@ | ||
# rubocop:disable Rails/ | ||
class RemoveTeacherFragments < ActiveRecord::Migration[5.2] | ||
def change | ||
remove_column :lectures, :teacher_id | ||
remove_reference :users, :teacher, foreign_key: true, index: true | ||
end | ||
end | ||
# rubocop:enable Rails/ |
Oops, something went wrong.