diff options
Diffstat (limited to 'db/migrate/20160412173416_add_fields_to_ci_commit.rb')
-rw-r--r-- | db/migrate/20160412173416_add_fields_to_ci_commit.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/db/migrate/20160412173416_add_fields_to_ci_commit.rb b/db/migrate/20160412173416_add_fields_to_ci_commit.rb new file mode 100644 index 00000000000..125956a3ddd --- /dev/null +++ b/db/migrate/20160412173416_add_fields_to_ci_commit.rb @@ -0,0 +1,8 @@ +class AddFieldsToCiCommit < ActiveRecord::Migration + def change + add_column :ci_commits, :status, :string + add_column :ci_commits, :started_at, :timestamp + add_column :ci_commits, :finished_at, :timestamp + add_column :ci_commits, :duration, :integer + end +end |