• Icon: Sub-task Sub-task
    • Resolution: Duplicate
    • Icon: Major Major
    • None
    • None
    • System
    • None
    • 2
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • 3scale 2019-08-12, 3scale 2019-10-28, 3scale 2019-11-11, 3scale 2019-11-25, 3scale 2019-12-23, 3scale 2020-01-13, 3scale 2020-01-27, 3scale 2020-02-03, 3scale 2020-02-17, 3scale 2020-03-09, 3scale 2020-03-23, Invalid Sprint

      NO QA NEEDED

      Remove the column 'deleted_at' from 'Account'.

      Dev notes

      Right now there is an issue in SaaS production.

      Also this PR should be merged, as we do not want to leave dirty columns in the database.

      Explaining the situation in SaaS production:

      irb(main):001:0> ActiveRecord::SchemaMigration.find_by version: '20190110095221'
      => #<ActiveRecord::SchemaMigration version: "20190110095221", tenant_id: nil>
      
      r = Account.connection.execute 'desc accounts'
      rows = r.to_a
      rows.find{|a| a[0] =~ /delete/}
      => ["deleted_at", "datetime", "YES", "", nil, ""]
      

      We would need operations maintenance for that

              Unassigned Unassigned
              mnoyabon Marta Noya (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: