Logo
Explore Help
Register Sign In
Nemcio/Redmine
1
0
Fork 0
You've already forked Redmine
mirror of https://github.com/redmine/redmine.git synced 2025-10-26 15:56:15 +01:00
Code Issues Packages Projects Releases Activity
Files
0cef7928a271fc15c844bb4c4fa41593aef147f2
Redmine/db/migrate/051_add_project_status.rb

10 lines
213 B
Ruby
Raw Normal View History

Merged rails-5.1 branch (#23630). git-svn-id: http://svn.redmine.org/redmine/trunk@16859 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-07-23 11:26:04 +00:00
class AddProjectStatus < ActiveRecord::Migration[4.2]
Added the ability to archive projects: * Only administrators can archive/unarchive projects. * Once archived, the project is visible on the admin project listing only. It doesn't show up anywhere else in the app. Subprojects are also archived. * Archive/unarchive preserve everything on the project (issues, members, ...). * A subproject can not be unarchived if its parent project is archived. git-svn-id: http://redmine.rubyforge.org/svn/trunk@549 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-05-27 17:42:04 +00:00
def self.up
add_column :projects, :status, :integer, :default => 1, :null => false
end
def self.down
remove_column :projects, :status
end
end
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.7 Page: 284ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API