OSDN Git Service

fix filer
[pettanr/pettanr.git] / app / assets / javascripts / work / models.js.coffee.erb
index ad431b0..03a4112 100644 (file)
@@ -1,6 +1,7 @@
 #マニフェスト\r
 @models = {\r
   folder: {\r
+    table_name: 'folders',\r
     associations: {\r
       belongs_to: {\r
       },\r
@@ -65,6 +66,7 @@
     },\r
   },\r
   scroll: {\r
+    table_name: 'scrolls',\r
     associations: {\r
       belongs_to: {\r
         author: {\r
     },\r
   },\r
   scroll_panel: {\r
+    table_name: 'scroll_panels',\r
     associations: {\r
       belongs_to: {\r
         panel: {\r
     },\r
   },\r
   comic: {\r
+    table_name: 'comics',\r
     associations: {\r
       belongs_to: {\r
         author: {\r
     },\r
   },\r
   comic_story: {\r
+    table_name: 'comic_stories',\r
     associations: {\r
       belongs_to: {\r
         comic: {\r
     },\r
   },\r
   story: {\r
+    table_name: 'stories',\r
     associations: {\r
       belongs_to: {\r
         author: {\r
     },\r
   },\r
   story_sheet: {\r
+    table_name: 'story_sheets',\r
     associations: {\r
       belongs_to: {\r
         story: {\r
     },\r
   },\r
   sheet: {\r
+    table_name: 'sheets',\r
     associations: {\r
       belongs_to: {\r
         author: {\r
     },\r
   },\r
   sheet_panel: {\r
+    table_name: 'sheet_panels',\r
     associations: {\r
       belongs_to: {\r
         sheet: {\r
     },\r
   },\r
   panel: {\r
+    table_name: 'panels',\r
     associations: {\r
       belongs_to: {\r
         author: {\r
     },\r
   },\r
   panel_picture: {\r
+    table_name: 'panel_pictures',\r
     associations: {\r
       belongs_to: {\r
         panel: {\r
     },\r
   },\r
   speech_balloon: {\r
+    table_name: 'speech_balloons',\r
     associations: {\r
       belongs_to: {\r
         panel: {\r
     },\r
   }, \r
   balloon: {\r
+    table_name: 'balloons',\r
     associations: {\r
       belongs_to: {\r
         speech_balloon: {\r
     },\r
   },\r
   speech: {\r
+    table_name: 'speeches',\r
     associations: {\r
       belongs_to: {\r
         speech_balloon: {\r
     },\r
   },\r
   ground_picture: {\r
+    table_name: 'ground_pictures',\r
     associations: {\r
       belongs_to: {\r
         panel: {\r
     },\r
   },\r
   ground_color: {\r
+    table_name: 'ground_colors',\r
     associations: {\r
       belongs_to: {\r
         panel: {\r
     },\r
   },\r
   original_picture: {\r
+    table_name: 'original_pictures',\r
     associations: {\r
       belongs_to: {\r
         artist: {\r
     },\r
   },\r
   picture: {\r
+    table_name: 'pictures',\r
     associations: {\r
       belongs_to: {\r
         license: {\r
     }\r
   },\r
   resource_picture: {\r
+    table_name: 'resource_pictures',\r
     associations: {\r
       belongs_to: {\r
         original_picture: {\r
     },\r
   },\r
   original_picture_license_group: {\r
+    table_name: 'original_picture_license_groups',\r
     associations: {\r
       belongs_to: {\r
         original_picture: {\r
     },\r
   },\r
   original_picture_license: {\r
+    table_name: 'original_picture_licenses',\r
     associations: {\r
       belongs_to: {\r
         original_picture: {\r
     },\r
   },\r
   speech_balloon_template: {\r
+    table_name: 'speech_balloon_templates',\r
     associations: {\r
       belongs_to: {\r
         system_picture: {\r
     },\r
   },\r
   writing_format: {\r
+    table_name: 'writing_formats',\r
     associations: {\r
       belongs_to: {\r
         system_picture: {\r
     },\r
   },\r
   license_group: {\r
+    table_name: 'license_groups',\r
     associations: {\r
       belongs_to: {\r
       },\r
     },\r
   },\r
   license: {\r
+    table_name: 'licenses',\r
     associations: {\r
       belongs_to: {\r
         license_group: {\r
     },\r
   },\r
   author: {\r
+    table_name: 'authors',\r
     associations: {\r
       belongs_to: {\r
       },\r
     },\r
   },\r
   artist: {\r
+    table_name: 'artists',\r
     associations: {\r
       belongs_to: {\r
       },\r
     },\r
   },\r
   system_picture: {\r
+    table_name: 'system_pictures',\r
     associations: {\r
       belongs_to: {\r
       },\r