Sha256: 0402450a74d90708bff2ba4f7ba6f5e2e8d600814f6f52a95960763cb97c4906

Contents?: true

Size: 258 Bytes

Versions: 7

Compression:

Stored size: 258 Bytes

Contents

Sequel.migration do
  up do
    LicenseFinder::DB << <<-EOS
        UPDATE dependencies
        SET manually_approved =
        (SELECT state
        FROM
          approvals
        WHERE
          approvals.id = dependencies.approval_id)
    EOS
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
license_finder-1.2 db/migrate/201311192003_reassociate_manual_approval.rb
license_finder-1.2-java db/migrate/201311192003_reassociate_manual_approval.rb
license_finder-1.1.1-java db/migrate/201311192003_reassociate_manual_approval.rb
license_finder-1.1.1 db/migrate/201311192003_reassociate_manual_approval.rb
license_finder-1.1.0 db/migrate/201311192003_reassociate_manual_approval.rb
license_finder-1.0.1 db/migrate/201311192003_reassociate_manual_approval.rb
license_finder-1.0.0.1 db/migrate/201311192003_reassociate_manual_approval.rb