diff options
| author | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-03-31 19:51:28 +0200 |
|---|---|---|
| committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-04-11 23:32:54 +0200 |
| commit | 5d69f5b46d475f34fb71dfb4e8b683e90897f1da (patch) | |
| tree | 48f268cb483ecab1d8d7e042c60931596838b1a3 /db/migrate | |
| parent | 986b4a54ee159de56a7ebe51327887b49474813b (diff) | |
| download | gitlab-ce-5d69f5b46d475f34fb71dfb4e8b683e90897f1da.tar.gz | |
Use Ci::Commit as Pipeline
Diffstat (limited to 'db/migrate')
| -rw-r--r-- | db/migrate/20160331153918_add_fields_to_ci_commit.rb | 7 | ||||
| -rw-r--r-- | db/migrate/20160331204039_add_action_to_ci_commit.rb | 5 | ||||
| -rw-r--r-- | db/migrate/20160411122626_add_duration_to_ci_commit.rb | 5 |
3 files changed, 17 insertions, 0 deletions
diff --git a/db/migrate/20160331153918_add_fields_to_ci_commit.rb b/db/migrate/20160331153918_add_fields_to_ci_commit.rb new file mode 100644 index 00000000000..03eb9ba4e53 --- /dev/null +++ b/db/migrate/20160331153918_add_fields_to_ci_commit.rb @@ -0,0 +1,7 @@ +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 + end +end diff --git a/db/migrate/20160331204039_add_action_to_ci_commit.rb b/db/migrate/20160331204039_add_action_to_ci_commit.rb new file mode 100644 index 00000000000..e9f8eb624d6 --- /dev/null +++ b/db/migrate/20160331204039_add_action_to_ci_commit.rb @@ -0,0 +1,5 @@ +class AddActionToCiCommit < ActiveRecord::Migration + def change + add_column :ci_commits, :action, :string + end +end diff --git a/db/migrate/20160411122626_add_duration_to_ci_commit.rb b/db/migrate/20160411122626_add_duration_to_ci_commit.rb new file mode 100644 index 00000000000..7def7a48cde --- /dev/null +++ b/db/migrate/20160411122626_add_duration_to_ci_commit.rb @@ -0,0 +1,5 @@ +class AddDurationToCiCommit < ActiveRecord::Migration + def change + add_column :ci_commits, :duration, :integer + end +end |
