Redmine 3.4.4

This commit is contained in:
Manuel Cillero 2018-02-02 22:19:29 +01:00
commit 64924a6376
2112 changed files with 259028 additions and 0 deletions

View file

@ -0,0 +1,15 @@
class <%= @migration_class_name %> < ActiveRecord::Migration
def change
create_table :<%= @table_name %> do |t|
<% attributes.each do |attribute| -%>
t.<%= attribute.type %> :<%= attribute.name %><%= attribute.inject_options %>
<% end -%>
<% if options[:timestamps] %>
t.timestamps
<% end -%>
end
<% attributes_with_index.each do |attribute| -%>
add_index :<%= table_name %>, :<%= attribute.index_name %><%= attribute.inject_index_options %>
<% end -%>
end
end

View file

@ -0,0 +1,2 @@
class <%= @model_class %> < ActiveRecord::Base
end

View file

@ -0,0 +1,9 @@
require File.expand_path('../../test_helper', __FILE__)
class <%= @model_class %>Test < ActiveSupport::TestCase
# Replace this with your real tests.
def test_truth
assert true
end
end