Revision 441

Date:
2014/10/23 13:23:22
Author:
ahitrov
Revision Log:
New database field - syncro

Files:

Legend:

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

     
    180 180 'db_field' => 'payment',
    181 181 'db_type' => 'integer',
    182 182 },
    183 {
    184 'attr' => 'syncro',
    185 'type' => 'checkbox',
    186 'postshow' => 1,
    187 'facilshow' => 1,
    188 'rusname' => 'Синхронизован',
    189 'db_field' => 'syncro',
    190 'db_type' => 'integer',
    191 'default' => 0,
    192 },
    183 193 );
    184 194
    185 195 # ----------------------------------------------------------------------------
  • utf8/plugins/webshop/sql/TOAST/orders.sql

     
    6 6 class text DEFAULT 'webshop::Order'::text NOT NULL,
    7 7 status smallint default 0 NOT NULL,
    8 8 payment smallint default 0,
    9 syncro smallint default 0,
    9 10 sections integer[],
    10 11 uid integer,
    11 12 company_id integer,
  • utf8/plugins/webshop/sql/TOAST/orders.update.445.sql

     
    1 alter table orders add column syncro integer default 0;