#マニフェスト @profilers = { folder: { columns: { }, column_names: [ 'name', 'controller_name', 'action_name', 'category_id', 't', 'parent_id', 'lft', 'rgt', 'depth', ], associations: { }, }, scroll: { columns: { visible: { type: 'source', }, }, column_names: [ 'title', 'description', 'visible', 'author_id', ], associations: { belongs_to: [ 'author', ], has_many: [ 'scroll_panels.by_scroll', 'panels.by_scroll' ], }, }, scroll_panel: { column_names: [ 'scroll_id', 'panel_id', 't', 'author_id', ], associations: { belongs_to: [ 'scroll', 'panel' ], }, }, comic: { column_names: [ 'title', 'description', 'visible', 'author_id', ], associations: { belongs_to: [ 'author', ], has_many: [ 'comic_stories.by_comic', 'stories.by_comic', ], }, }, comic_story: { column_names: [ 'comic_id', 'story_id', 't', ], associations: { belongs_to: [ 'comic', 'story' ], }, }, story: { column_names: [ 'title', 'description', 't', 'visible', ], associations: { belongs_to: [ ], has_many: [ 'comic_stories.by_story', 'comics.by_story', 'story_sheets.by_story', 'sheets.by_story' ], }, }, story_sheet: { column_names: [ 'story_id', 'sheet_id', 't', 'author_id', ], associations: { belongs_to: [ 'story', 'sheet', ], }, }, sheet: { columns: { visible: { type: 'source', }, }, column_names: [ 'caption', 'width', 'height', 'visible', 'author_id', ], associations: { belongs_to: [ 'author', ], has_many: [ 'story_sheets.by_sheet', 'stories.by_sheet', 'sheet_panels.by_sheet' 'panels.by_sheet' ], }, }, sheet_panel: { column_names: [ 'sheet_id', 'panel_id', 'x', 'y', 'z', 't', 'author_id', ], associations: { belongs_to: [ 'sheet', 'panel', ], }, }, panel: { columns: { publish: { type: 'source', }, }, column_names: [ 'width', 'height', 'border', 'caption', 'publish', 'author_id', ], associations: { belongs_to: [ 'author', ], has_many: [ 'scroll_panels.by_panel', 'scrolls.by_panel', 'sheet_panels.by_panel', 'sheets.by_panel', 'panel_pictures.by_panel', 'speech_balloons.by_panel', 'ground_pictures.by_panel', 'ground_colors.by_panel', ], }, }, panel_picture: { column_names: [ 'panel_id', 'picture_id', 'caption', 'x', 'y', 'width', 'height', 'link', 'z', 't', ], associations: { belongs_to: [ 'panel', ], }, }, speech_balloon: { columns: { speech_balloon_template_settings: { type: 'extend', }, }, column_names: [ 'panel_id', 'caption', 'speech_balloon_template_id', 'speech_balloon_template_module_name', 'z', 't', 'speech_balloon_template_settings' ], associations: { belongs_to: [ 'panel', 'speech_balloon_template', ], has_one: [ 'balloons.by_speech_balloon', 'speeches.by_speech_balloon', ], }, }, speech: { columns: { speech_balloon_template_settings: { type: 'extend', }, }, column_names: [ 'speech_balloon_id', 'speech_balloon_template_id', 'speech_balloon_template_module_name', 'writing_format_id', 'writing_format_module_name', 'content', 'font_size', 'text_align', 'fore_color', 'x', 'y', 'width', 'height', 'quotes', 'speech_balloon_template_settings', ], associations: { belongs_to: [ 'speech_balloon', 'writing_format', 'speech_balloon_template', ], }, }, balloon: { columns: { speech_balloon_template_settings: { type: 'extend', }, }, column_names: [ 'speech_balloon_id', 'speech_balloon_template_id', 'speech_balloon_template_module_name', 'system_picture_id', 'x', 'y', 'width', 'height', 'r', 'speech_balloon_template_settings', ], associations: { belongs_to: [ 'speech_balloon', 'system_picture', 'speech_balloon_template', ], }, }, ground_picture: { column_names: [ 'panel_id', 'picture_id', 'caption', 'repeat', 'x', 'y', 'z', 't', ], associations: { belongs_to: [ 'panel', ], }, }, ground_color: { column_names: [ 'panel_id', 'caption', 'code', 'orientation', 'xy', 'wh', 'z', 't', ], associations: { belongs_to: [ 'panel', ], }, }, original_picture: { column_names: [ 'ext', 'width', 'height', 'filesize', 'artist_id', 'md5', 'uploaded_at', 'published_at', 'stopped_at', ], associations: { belongs_to: [ 'artist', ], has_one: [ ], }, }, picture: { columns: { license_group_settings: { type: 'extend', }, credit_picture_settings: { type: 'extend', }, license_settings: { type: 'extend', }, }, column_names: [ 'original_picture_id', 'revision', 'ext', 'width', 'height', 'filesize', 'artist_id', 'license_id', 'md5', 'system_picture_id', 'license_group_settings', 'credit_picture_settings', 'license_settings', 'license_group_module_name', ], associations: { belongs_to: [ 'license', 'artist', ], has_one: [ 'resource_picture_pictures.by_picture', ], }, }, resource_picture: { columns: { license_group_settings: { type: 'extend', args: { boost_name: 'license_group', }, }, credit_picture_settings: { type: 'extend', args: { boost_name: 'credit_picture', }, }, license_settings: { type: 'extend', args: { boost_name: 'license', }, }, }, column_names: [ 'original_picture_id', 'ext', 'width', 'height', 'filesize', 'artist_id', 'license_group_id', 'license_id', 'md5', 'system_picture_id', 'license_group_settings', 'credit_picture_settings', 'license_settings', 'picture_id', 'license_group_module_name', ], associations: { belongs_to: [ 'license_group', 'license', 'artist', ], has_many: [ 'resource_picture_pictures.by_resource_picture', ], }, }, resource_picture_picture: { column_names: [ 'original_picture_id', 'resource_picture_id', 'picture_id', ], associations: { belongs_to: [ 'original_picture', 'resource_picture', 'picture', ], }, }, speech_balloon_template: { columns: { settings: { type: 'json', }, }, column_names: [ 'name', 'module_name', 'caption', 't', 'system_picture_id', 'settings', ], extend_settings: { circle_speech_balloon_speech_balloon: { columns: { }, column_names: [ ], }, circle_speech_balloon_balloon: { columns: { }, column_names: [ ], }, circle_speech_balloon_speech: { columns: { }, column_names: [ ], }, plain_speech_balloon_speech_balloon: { columns: { }, column_names: [ ], }, plain_speech_balloon_balloon: { columns: { }, column_names: [ ], }, plain_speech_balloon_speech: { columns: { }, column_names: [ ], }, square_speech_balloon_speech_balloon: { columns: { }, column_names: [ ], }, square_speech_balloon_balloon: { columns: { }, column_names: [ ], }, square_speech_balloon_speech: { columns: { }, column_names: [ ], }, test_speech_balloon_speech_balloon: { columns: { }, column_names: [ 'a', ], }, test_speech_balloon_balloon: { columns: { }, column_names: [ 'b', ], }, test_speech_balloon_speech: { columns: { }, column_names: [ 'c', ], }, }, associations: { belongs_to: [ 'system_picture', ], has_many: [ 'speech_balloons.by_speech_balloon_template', 'panels.by_speech_balloon_template', ], }, }, writing_format: { columns: { settings: { type: 'json', }, }, column_names: [ 'name', 'module_name', 'caption', 'system_picture_id', 'settings', ], extend_settings: { pettanr_simple_format_writing_format: { columns: { }, column_names: [ ], }, }, associations: { belongs_to: [ 'system_picture', ], has_many: [ #'speeches.by_writing_format', ], }, }, license_group: { column_names: [ 'name', 'module_name', 'caption', 'url', ], extend_settings: { pettanr_creative_commons_v30_licenses_license: { columns: { }, column_names: [ 'open', 'commercial', 'official', 'attribution', 'derive', 'thumbnail', 'gif_convert', 'reverse', 'sync_vh', 'overlap', ], }, pettanr_creative_commons_v30_licenses_credit_picture: { columns: { }, column_names: [ 'source_url_btn_id', 'source_url_off_btn_id', ], }, pettanr_creative_commons_v30_licenses_attribute: { columns: { }, column_names: [ 'artist_name', 'caption', 'artist_url', 'source_url', 'more_permission_url', ], }, pettanr_pettan_commons_v01_licenses_license: { columns: { }, column_names: [ 'open', 'commercial', 'official', 'attribution', 'derive', 'thumbnail', 'gif_convert', 'reverse', 'sync_vh', 'overlap', ], }, pettanr_pettan_commons_v01_licenses_credit_picture: { columns: { }, column_names: [ 'source_url_btn_id', 'source_url_off_btn_id', ], }, pettanr_pettan_commons_v01_licenses_attribute: { columns: { }, column_names: [ 'artist_name', 'caption', 'sources', ], }, pettanr_pettan_protected_v01_licenses_license: { columns: { }, column_names: [ 'open', 'commercial', 'official', 'attribution', 'derive', 'thumbnail', 'gif_convert', 'reverse', 'sync_vh', 'overlap', 'trackback', ], }, pettanr_pettan_protected_v01_licenses_credit_picture: { columns: { }, column_names: [ 'source_url_btn_id', 'source_url_off_btn_id', ], }, pettanr_pettan_protected_v01_licenses_attribute: { columns: { }, column_names: [ 'artist_name', 'caption', 'sources', ], }, pettanr_pettan_public_v01_licenses_license: { columns: { }, column_names: [ 'open', 'commercial', 'official', 'attribution', 'derive', 'thumbnail', 'gif_convert', 'reverse', 'sync_vh', 'overlap', 'trackback', ], }, pettanr_pettan_public_v01_licenses_credit_picture: { columns: { }, column_names: [ 'source_url_btn_id', ], }, pettanr_pettan_public_v01_licenses_attribute: { columns: { }, column_names: [ 'artist_name', 'caption', 'sources', ], }, pettanr_public_domain_v01_licenses_license: { columns: { }, column_names: [ 'open', 'commercial', 'official', 'attribution', 'derive', 'thumbnail', 'gif_convert', 'reverse', 'sync_vh', 'overlap', 'trackback', ], }, pettanr_public_domain_v01_licenses_credit_picture: { columns: { }, column_names: [ 'source_url_btn_id', 'source_url_off_btn_id', ], }, pettanr_public_domain_v01_licenses_attribute: { columns: { }, column_names: [ 'artist_name', 'source_url', 'note', ], }, pettanr_unknown_v01_licenses_license: { columns: { }, column_names: [ 'open', 'commercial', 'official', 'attribution', 'derive', 'thumbnail', 'gif_convert', 'reverse', 'sync_vh', 'overlap', 'trackback', ], }, pettanr_unknown_v01_licenses_credit_picture: { columns: { }, column_names: [ 'source_url_btn_id', 'source_url_off_btn_id', ], }, pettanr_unknown_v01_licenses_attribute: { columns: { }, column_names: [ 'source_url', 'note', ], }, }, associations: { has_many: [ 'resource_pictures.by_license_group', 'licenses.by_license_group', ], }, }, license: { columns: { license_group_settings: { type: 'extend', args: { boost_name: 'license_group', }, }, credit_picture_settings: { type: 'extend', args: { boost_name: 'credit_picture', }, }, }, extend_settings: { pettanr_creative_commons_v30_licenses_attribute: { columns: { }, column_names: [ ], }, pettanr_pettan_commons_v01_licenses_attribute: { columns: { }, column_names: [ ], }, pettanr_pettan_protected_v01_licenses_attribute: { columns: { }, column_names: [ ], }, pettanr_pettan_public_v01_licenses_attribute: { columns: { }, column_names: [ ], }, pettanr_public_domain_v01_licenses_attribute: { columns: { }, column_names: [ ], }, pettanr_unknown_v01_licenses_attribute: { columns: { }, column_names: [ ], }, }, column_names: [ 'license_group_id', 'license_group_module_name', 'name', 'caption', 'system_picture_id', 'url', 'license_group_settings', 'credit_picture_settings', ], associations: { belongs_to: [ 'license_group', 'system_picture', ], has_many: [ 'resource_pictures.by_license', ], }, }, author: { column_names: [ 'name', 'user_id', ], associations: { has_many: [ 'scrolls.by_author', 'scroll_panels.by_author', 'comics.by_author', 'comic_stories.by_author', 'stories.by_author', 'sheets.by_author', 'sheet_panels.by_author', 'panels.by_author', 'panel_pictures.by_author', 'speech_balloons.by_author', 'balloons.by_author', 'speeches.by_author', 'ground_pictures.by_author', 'ground_colors.by_author', ], }, }, artist: { column_names: [ 'name', 'author_id', ], associations: { has_many: [ 'resource_pictures.by_artist', ], }, }, system_picture: { column_names: [ 'ext', 'width', 'height', 'filesize', 'md5', ], associations: { has_many: [ #'balloons.by_system_picture', 'speech_balloon_templates.by_system_picture', 'licenses.by_system_picture', 'writing_formats.by_system_picture', ], }, }, }