summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2015-03-06 14:29:11 +0100
committerKamil Trzcinski <ayufan@ayufan.eu>2015-03-06 14:42:04 +0100
commit0c71a4c41465cd620e163e081f31567ce59de766 (patch)
tree5c7a14a7a405a06f571391911eb124e4e958c89a /db
parent1ba0a907f77f9b3693485e3c7080c8de6fdf1b92 (diff)
downloadgitlab-ci-0c71a4c41465cd620e163e081f31567ce59de766.tar.gz
Added runner last contact
Diffstat (limited to 'db')
-rw-r--r--db/migrate/20150306131416_add_contacted_at_to_runner.rb5
-rw-r--r--db/schema.rb3
2 files changed, 7 insertions, 1 deletions
diff --git a/db/migrate/20150306131416_add_contacted_at_to_runner.rb b/db/migrate/20150306131416_add_contacted_at_to_runner.rb
new file mode 100644
index 0000000..b28f1ba
--- /dev/null
+++ b/db/migrate/20150306131416_add_contacted_at_to_runner.rb
@@ -0,0 +1,5 @@
+class AddContactedAtToRunner < ActiveRecord::Migration
+ def change
+ add_column :runners, :contacted_at, :datetime, null: true
+ end
+end
diff --git a/db/schema.rb b/db/schema.rb
index eafe0ee..a1aa0e7 100644
--- a/db/schema.rb
+++ b/db/schema.rb
@@ -11,7 +11,7 @@
#
# It's strongly recommended that you check this file into your version control system.
-ActiveRecord::Schema.define(version: 20150226001835) do
+ActiveRecord::Schema.define(version: 20150306131416) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
@@ -108,6 +108,7 @@ ActiveRecord::Schema.define(version: 20150226001835) do
t.datetime "created_at"
t.datetime "updated_at"
t.string "description"
+ t.datetime "contacted_at"
end
create_table "services", force: true do |t|