lib/generators/cm_admin/install_generator.rb in cm-admin-0.7.8 vs lib/generators/cm_admin/install_generator.rb in cm-admin-0.8.0
- old
+ new
@@ -12,9 +12,11 @@
copy_file 'custom.css', 'app/assets/stylesheets/cm_admin/custom.css'
copy_file 'actiontext.scss', 'app/assets/stylesheets/cm_admin/actiontext.scss'
remove_file 'app/assets/stylesheets/actiontext.scss'
copy_file 'application_policy.rb', 'app/policies/application_policy.rb'
route 'mount CmAdmin::Engine => "/admin"'
+ generate 'migration', 'CreateFileImport associated_model_name:string added_by:references{polymorphic} error_report:jsonb completed_at:datetime status:integer'
+ rake 'db:migrate'
end
end
end
end
\ No newline at end of file