Revision 769

Date:
2019/04/15 23:22:13
Author:
ahitrov
Revision Log:
Yandex && Google ids in order

Files:

Legend:

 
Added
 
Removed
 
Modified
  • utf8/plugins/webshop/lib/webshop/SQL/Order.pm

     
    87 87 'db_opts' => "not null default 0",
    88 88 'default' => 0,
    89 89 },
    90 {
    91 'attr' => 'google_id',
    92 'type' => 'integer',
    93 'rusname' => 'GoogleID',
    94 'db_field' => 'google_id',
    95 'db_type' => 'bigint',
    96 },
    97 {
    98 'attr' => 'yandex_id',
    99 'type' => 'integer',
    100 'rusname' => 'YandexID',
    101 'db_field' => 'yandex_id',
    102 'db_type' => 'bigint',
    103 },
    90 104 { # User ID
    91 105 'attr' => 'manager_id',
    92 106 'type' => 'string',
  • utf8/plugins/webshop/sql/TOAST/orders.sql

     
    11 11 sections integer[],
    12 12 uid integer,
    13 13 company_id integer,
    14 google_id bigint,
    15 yandex_id bigint,
    14 16 manager_id integer,
    15 17 vault_id integer,
    16 18 postman_id integer,
  • utf8/plugins/webshop/sql/TOAST/orders.update.768.sql

     
    1 alter table orders add column google_id bigint;
    2 alter table orders add column yandex_id bigint;