Skip to content

Commit

Permalink
Reverting migration until empty clusterization center issue is actual…
Browse files Browse the repository at this point in the history
…ly resolved (#1990)

Reference: CV2-4869
  • Loading branch information
caiosba authored Aug 13, 2024
1 parent be71f00 commit 1a17d76
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
class AllowEmptyProjectMediaIdForClusters < ActiveRecord::Migration[6.1]
def change
change_column_null(:clusters, :project_media_id, true)
end
end
4 changes: 2 additions & 2 deletions 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: 2024_07_19_183518) do
ActiveRecord::Schema.define(version: 2024_08_13_155311) do

# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
Expand Down Expand Up @@ -235,7 +235,7 @@
end

create_table "clusters", force: :cascade do |t|
t.integer "project_media_id", null: false
t.integer "project_media_id"
t.datetime "first_item_at"
t.datetime "last_item_at"
t.datetime "created_at", null: false
Expand Down

0 comments on commit 1a17d76

Please sign in to comment.