Skip to content

Commit

Permalink
Merge pull request EC-CUBE#17 from chihiro-adachi/refactor
Browse files Browse the repository at this point in the history
スキーマ定義の見直し
  • Loading branch information
chihiro-adachi committed May 6, 2016
2 parents baae9f0 + a9e4a77 commit f1fc745
Show file tree
Hide file tree
Showing 13 changed files with 66 additions and 526 deletions.
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,3 +55,7 @@ after_script:
- php app/console plugin:develop disable --code=${PLUGIN_CODE}
# uninstall plugin
- php app/console plugin:develop uninstall --code=${PLUGIN_CODE}
# re install plugin
- php app/console plugin:develop install --code=${PLUGIN_CODE}
# re enable plugin
- php app/console plugin:develop enable --code=${PLUGIN_CODE}
211 changes: 0 additions & 211 deletions Entity/PointInfoAddStatus.php

This file was deleted.

14 changes: 0 additions & 14 deletions Repository/PointInfoAddStatusRepository.php

This file was deleted.

18 changes: 3 additions & 15 deletions Resource/doctrine/Plugin.Point.Entity.Point.dcm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,34 +13,24 @@ Plugin\Point\Entity\Point:
fields:
plg_dynamic_point:
type: integer
nullable: true
nullable: false
unsigned: false
options:
default: 0
order_id:
type: integer
nullable: true
unsigned: false
options:
default: 0
customer_id:
type: integer
nullable: true
nullable: false
unsigned: false
options:
default: 0
plg_point_type:
type: smallint
nullable: false
unsigned: false
options:
default: 0
plg_point_action_name:
type: string
length: 255
nullable: true
options:
default: null
plg_point_product_rate_id:
type: integer
nullable: true
Expand All @@ -49,10 +39,8 @@ Plugin\Point\Entity\Point:
default: null
plg_point_info_id:
type: integer
nullable: true
nullable: false
unsigned: false
options:
default: null
create_date:
type: datetime
nullable: false
Expand Down
8 changes: 2 additions & 6 deletions Resource/doctrine/Plugin.Point.Entity.PointCustomer.dcm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,12 @@ Plugin\Point\Entity\PointCustomer:
fields:
plg_point_current:
type: integer
nullable: true
nullable: false
unsigned: false
options:
default: 0
customer_id:
type: integer
nullable: true
nullable: false
unsigned: false
options:
default: 0
create_date:
type: datetime
nullable: false
Expand Down
14 changes: 2 additions & 12 deletions Resource/doctrine/Plugin.Point.Entity.PointInfo.dcm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,30 +14,20 @@ Plugin\Point\Entity\PointInfo:
plg_add_point_status:
type: smallint
nullable: false
options:
default: 0
plg_basic_point_rate:
type: integer
unsigned: false
nullable: true
options:
default: 0
nullable: false
plg_point_conversion_rate:
type: integer
unsigned: false
nullable: true
options:
default: 0
nullable: false
plg_round_type:
type: smallint
nullable: false
options:
default: 0
plg_calculation_type:
type: smallint
nullable: false
options:
default: 0
create_date:
type: datetime
nullable: false
Expand Down
44 changes: 0 additions & 44 deletions Resource/doctrine/Plugin.Point.Entity.PointInfoAddStatus.dcm.yml

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ Plugin\Point\Entity\PointProductRate:
type: integer
nullable: false
unsigned: false
options:
default: 0
plg_point_product_rate:
type: integer
nullable: true
Expand Down
Loading

0 comments on commit f1fc745

Please sign in to comment.