##// END OF EJS Templates
Added hook :view_repositories_show_contextual to allow adding items to the...
Added hook :view_repositories_show_contextual to allow adding items to the repository's contextual menu. #2073 git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@1948 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r1785:f7acdd1afde3
r1946:48ae6f38e121
Show More
migration.rb
13 lines | 294 B | text/x-ruby | RubyLexer
class <%= migration_name %> < ActiveRecord::Migration
def self.up
create_table :<%= table_name %> do |t|
<% for attribute in attributes -%>
t.column :<%= attribute.name %>, :<%= attribute.type %>
<% end -%>
end
end
def self.down
drop_table :<%= table_name %>
end
end