summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
Diffstat (limited to 'db')
-rw-r--r--db/migrate/20160823213309_add_lfs_enabled_to_projects.rb (renamed from db/migrate/20160823213309_add_enable_lfs_to_projects.rb)4
-rw-r--r--db/schema.rb2
2 files changed, 3 insertions, 3 deletions
diff --git a/db/migrate/20160823213309_add_enable_lfs_to_projects.rb b/db/migrate/20160823213309_add_lfs_enabled_to_projects.rb
index 9df1a5078fa..c169084e976 100644
--- a/db/migrate/20160823213309_add_enable_lfs_to_projects.rb
+++ b/db/migrate/20160823213309_add_lfs_enabled_to_projects.rb
@@ -1,7 +1,7 @@
# See http://doc.gitlab.com/ce/development/migration_style_guide.html
# for more information on how to write migrations for GitLab.
-class AddEnableLfsToProjects < ActiveRecord::Migration
+class AddLfsEnabledToProjects < ActiveRecord::Migration
include Gitlab::Database::MigrationHelpers
# Set this constant to true if this migration requires downtime.
@@ -24,6 +24,6 @@ class AddEnableLfsToProjects < ActiveRecord::Migration
# disable_ddl_transaction!
def change
- add_column :projects, :enable_lfs, :boolean
+ add_column :projects, :lfs_enabled, :boolean
end
end
diff --git a/db/schema.rb b/db/schema.rb
index 28711294746..bacc134a98d 100644
--- a/db/schema.rb
+++ b/db/schema.rb
@@ -825,7 +825,7 @@ ActiveRecord::Schema.define(version: 20160824103857) do
t.string "repository_storage", default: "default", null: false
t.boolean "request_access_enabled", default: true, null: false
t.boolean "has_external_wiki"
- t.boolean "enable_lfs"
+ t.boolean "lfs_enabled"
end
add_index "projects", ["ci_id"], name: "index_projects_on_ci_id", using: :btree