Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'db/ci/migrate/20121004165038_create_builds.rb')
-rw-r--r--db/ci/migrate/20121004165038_create_builds.rb15
1 files changed, 15 insertions, 0 deletions
diff --git a/db/ci/migrate/20121004165038_create_builds.rb b/db/ci/migrate/20121004165038_create_builds.rb
new file mode 100644
index 00000000000..547803489fb
--- /dev/null
+++ b/db/ci/migrate/20121004165038_create_builds.rb
@@ -0,0 +1,15 @@
+class CreateBuilds < ActiveRecord::Migration
+ def up
+ create_table :builds do |t|
+ t.integer :project_id
+ t.string :commit_ref
+ t.string :status
+ t.datetime :finished_at
+ t.text :trace
+ t.timestamps
+ end
+ end
+
+ def down
+ end
+end