Skip to content

Commit 7dbe8cc

Browse files
authored
Merge pull request #27 from beansmile/hotfix-remove-template-model
fix: 移除Template model
2 parents c9810d0 + 95c02a6 commit 7dbe8cc

File tree

5 files changed

+0
-35
lines changed

5 files changed

+0
-35
lines changed

app/models/wechat_third_party_platform/draft_template.rb

Lines changed: 0 additions & 15 deletions
This file was deleted.
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
module WechatThirdPartyPlatform
22
class Submition < ApplicationRecord
3-
belongs_to :tempalte
43
belongs_to :application, class_name: WechatThirdPartyPlatform.application_class_name
54
end
65
end

app/models/wechat_third_party_platform/template.rb

Lines changed: 0 additions & 4 deletions
This file was deleted.

lib/generators/wechat_third_party_platform/install_generator.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ def configure_application
2424
end
2525

2626
def copy_migration
27-
migration_template "migrations/create_wechat_third_party_platform_templates.rb.erb", "db/migrate/create_wechat_third_party_platform_templates.rb"
2827
migration_template "migrations/create_wechat_third_party_platform_submitions.rb.erb", "db/migrate/create_wechat_third_party_platform_submitions.rb"
2928
migration_template "migrations/create_wechat_third_party_platform_testers.rb.erb", "db/migrate/create_wechat_third_party_platform_testers.rb"
3029
end

lib/generators/wechat_third_party_platform/templates/migrations/create_wechat_third_party_platform_templates.rb.erb

Lines changed: 0 additions & 14 deletions
This file was deleted.

0 commit comments

Comments
 (0)