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-12-16 05:20:28 +01:00
Code Issues Packages Projects Releases Activity
Files
5861160ffc350a97b5ff41465fbd7e03008853e4
Redmine/db/migrate/20121213084931_add_attachments_disk_directory.rb

12 lines
236 B
Ruby
Raw Normal View History

Add "frozen_string_literal: false" for all files (#26561). This will be changed to true in the future. git-svn-id: http://svn.redmine.org/redmine/trunk@17947 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-15 01:32:57 +00:00
# frozen_string_literal: false
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 AddAttachmentsDiskDirectory < ActiveRecord::Migration[4.2]
Store attachments in subdirectories (#5298). Existing files can be moved to their target subdirectories using rake redmine:attachments:move_to_subdirectories. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10990 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-13 12:07:19 +00:00
def up
add_column :attachments, :disk_directory, :string
end
def down
remove_column :attachments, :disk_directory
end
end
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.1 Page: 153ms 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