##// END OF EJS Templates
reposman: change #log arguments....
reposman: change #log arguments. git-svn-id: http://redmine.rubyforge.org/svn/trunk@1875 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r1785:f7acdd1afde3
r1873:36aeeb99d901
Show More
migration.rb
13 lines | 294 B | text/x-ruby | RubyLexer
Jean-Philippe Lang
Merged hooks branch @ r1785 into trunk....
r1785 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