瀏覽代碼

Copy templates before migrations

Chris Oliver 6 年之前
父節點
當前提交
82f669f951
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      template.rb

+ 2 - 2
template.rb

@@ -127,6 +127,8 @@ after_bundle do
   add_notifications
   add_multiple_authentication
 
+  copy_templates
+
   # Migrate
   rails_command "db:create"
   rails_command "db:migrate"
@@ -134,8 +136,6 @@ after_bundle do
   # Migrations must be done before this
   add_administrate
 
-  copy_templates
-
   git :init
   git add: "."
   git commit: %Q{ -m 'Initial commit' }