X-Git-Url: http://wagnertech.de/git?p=kivitendo-erp.git;a=blobdiff_plain;f=sql%2FPg-upgrade2%2Fshops.sql;fp=sql%2FPg-upgrade2%2Fshops.sql;h=840b095e0fdabf16823a9a006a1f819c0314f3bf;hp=0000000000000000000000000000000000000000;hb=53593baa211863fbf66540cf1bcc36c8fb37257f;hpb=deb4d2dbb676d7d6f69dfe7815d6e0cb09bd4a44 diff --git a/sql/Pg-upgrade2/shops.sql b/sql/Pg-upgrade2/shops.sql new file mode 100644 index 000000000..840b095e0 --- /dev/null +++ b/sql/Pg-upgrade2/shops.sql @@ -0,0 +1,21 @@ +-- @tag: shops +-- @description: Tabelle für Shops +-- @depends: release_3_5_0 customer_klass_rename_to_pricegroup_id_and_foreign_key +-- @ignore: 0 + +CREATE TABLE shops ( + id SERIAL PRIMARY KEY, + description text, + obsolete BOOLEAN NOT NULL DEFAULT false, + sortkey INTEGER, + connector text, -- hardcoded options, e.g. xtcommerce, shopware + pricetype text, -- netto/brutto + price_source text, -- sellprice/listprice/lastcost or pricegroup id + taxzone_id INTEGER, + last_order_number INTEGER, + orders_to_fetch INTEGER, + url text, + port INTEGER, + login text, -- "user" is reserved + password text +);