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
path: root/db
diff options
context:
space:
mode:
authorValery Sizov <vsv2711@gmail.com>2011-12-28 01:21:26 +0400
committerValery Sizov <vsv2711@gmail.com>2011-12-28 01:21:26 +0400
commit66fb3909a564d2e7905f5b720fd55ea61286605e (patch)
treef84c4d7d378b37ae1c2ec35ae3bedf42dcf393b8 /db
parentfbf412eaa0ee68812cdbab9e96f194e03fedd334 (diff)
parent5ca836048d4f3319d24d2d4580912102eed54618 (diff)
Merge branch 'web_hooks' of https://github.com/ariejan/gitlabhq into ariejan-web_hooks
Conflicts: app/models/project.rb config/routes.rb db/schema.rb
Diffstat (limited to 'db')
-rw-r--r--db/migrate/20111214091851_create_web_hooks.rb9
-rw-r--r--db/schema.rb14
2 files changed, 23 insertions, 0 deletions
diff --git a/db/migrate/20111214091851_create_web_hooks.rb b/db/migrate/20111214091851_create_web_hooks.rb
new file mode 100644
index 00000000000..c6ba89c10e1
--- /dev/null
+++ b/db/migrate/20111214091851_create_web_hooks.rb
@@ -0,0 +1,9 @@
+class CreateWebHooks < ActiveRecord::Migration
+ def change
+ create_table :web_hooks do |t|
+ t.string :url
+ t.integer :project_id
+ t.timestamps
+ end
+ end
+end
diff --git a/db/schema.rb b/db/schema.rb
index 18a3486ee55..7b500f1437c 100644
--- a/db/schema.rb
+++ b/db/schema.rb
@@ -145,4 +145,18 @@ ActiveRecord::Schema.define(:version => 20111220190817) do
t.integer "project_access", :default => 0, :null => false
end
+ create_table "web_hook_urls", :force => true do |t|
+ t.string "url"
+ t.integer "project_id"
+ t.datetime "created_at"
+ t.datetime "updated_at"
+ end
+
+ create_table "web_hooks", :force => true do |t|
+ t.string "url"
+ t.integer "project_id"
+ t.datetime "created_at"
+ t.datetime "updated_at"
+ end
+
end