Skip to content

Commit

Permalink
Remove time_of_death attribute from Data Provider (#1381)
Browse files Browse the repository at this point in the history
  • Loading branch information
MontrealSergiy authored Mar 6, 2024
1 parent ccc5d8c commit 4e593c4
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@

#
# CBRAIN Project
#
# Copyright (C) 2008-2024
# The Royal Institution for the Advancement of Learning
# McGill University
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#

class RemoveTimeOfDeathFromDataProviders < ActiveRecord::Migration[5.0]
def change
remove_column :data_providers, :time_of_death, :datetime
end
end
3 changes: 1 addition & 2 deletions BrainPortal/db/schema.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#
# It's strongly recommended that you check this file into your version control system.

ActiveRecord::Schema.define(version: 20230418205141) do
ActiveRecord::Schema.define(version: 20240226230749) do

create_table "access_profiles", force: :cascade, options: "ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci" do |t|
t.string "name", null: false
Expand Down Expand Up @@ -104,7 +104,6 @@
t.text "description", limit: 65535
t.datetime "created_at"
t.datetime "updated_at"
t.datetime "time_of_death"
t.boolean "not_syncable", default: false, null: false
t.string "time_zone"
t.string "cloud_storage_client_identifier"
Expand Down

0 comments on commit 4e593c4

Please sign in to comment.