From 31f68329b36a6dc4e551f200234e8cdac0cfdf99 Mon Sep 17 00:00:00 2001 From: Wedge Date: Mon, 9 Apr 2018 14:27:32 +0300 Subject: [PATCH] Use sentry for error processing --- app/models/container.rb | 4 ---- db/migrate/20170129102535_create_containers.rb | 10 ---------- .../20170129103216_add_container_to_build_lists.rb | 5 ----- spec/models/container_spec.rb | 5 ----- 4 files changed, 24 deletions(-) delete mode 100644 app/models/container.rb delete mode 100644 db/migrate/20170129102535_create_containers.rb delete mode 100644 db/migrate/20170129103216_add_container_to_build_lists.rb delete mode 100644 spec/models/container_spec.rb diff --git a/app/models/container.rb b/app/models/container.rb deleted file mode 100644 index 1edd52dc8..000000000 --- a/app/models/container.rb +++ /dev/null @@ -1,4 +0,0 @@ -class Container < ActiveRecord::Base - belongs_to :platform - has_many :build_lists -end diff --git a/db/migrate/20170129102535_create_containers.rb b/db/migrate/20170129102535_create_containers.rb deleted file mode 100644 index 69556f7df..000000000 --- a/db/migrate/20170129102535_create_containers.rb +++ /dev/null @@ -1,10 +0,0 @@ -class CreateContainers < ActiveRecord::Migration - def change - create_table :containers do |t| - t.string :name - t.references :platform, index: true, foreign_key: true - - t.timestamps null: false - end - end -end diff --git a/db/migrate/20170129103216_add_container_to_build_lists.rb b/db/migrate/20170129103216_add_container_to_build_lists.rb deleted file mode 100644 index e9d29b4b1..000000000 --- a/db/migrate/20170129103216_add_container_to_build_lists.rb +++ /dev/null @@ -1,5 +0,0 @@ -class AddContainerToBuildLists < ActiveRecord::Migration - def change - add_reference :build_lists, :container, index: true, foreign_key: true - end -end diff --git a/spec/models/container_spec.rb b/spec/models/container_spec.rb deleted file mode 100644 index c74f254d2..000000000 --- a/spec/models/container_spec.rb +++ /dev/null @@ -1,5 +0,0 @@ -require 'rails_helper' - -RSpec.describe Container, type: :model do - pending "add some examples to (or delete) #{__FILE__}" -end