Commit df5b3737 authored by Marin Jankovski's avatar Marin Jankovski

Add merge request rebase enabled column to projects table.

parent ba8e9fac
class AddMergeRequestRebaseEnabledToProjects < ActiveRecord::Migration
def change
add_column :projects, :merge_requests_rebase_enabled, :boolean, default: false
end
end
......@@ -11,7 +11,7 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema.define(version: 20141118150935) do
ActiveRecord::Schema.define(version: 20141126120926) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
......@@ -318,6 +318,7 @@ ActiveRecord::Schema.define(version: 20141118150935) do
t.float "repository_size", default: 0.0
t.integer "star_count", default: 0, null: false
t.text "merge_requests_template"
t.boolean "merge_requests_rebase_enabled", default: false
end
add_index "projects", ["creator_id"], name: "index_projects_on_creator_id", using: :btree
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment