diff options
author | Patricio Cano <suprnova32@gmail.com> | 2016-08-31 01:17:45 +0300 |
---|---|---|
committer | Patricio Cano <suprnova32@gmail.com> | 2016-08-31 01:17:45 +0300 |
commit | cf37d623e197dae5cc7efb021c1b1d85ca9674ee (patch) | |
tree | e785be171d2400ef751426cc79757cca320f856b /db | |
parent | 63a97c11928d483cfad87d11f83c7df84c29743d (diff) |
Renamed `enable_lfs` to `lfs_enabled` for the Project field, and related fixes.
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.rb | 2 |
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 |