Skip to content

armgit / Vvveb

Public Imported from GitHub
0

Powerful and easy to use cms to build websites, blogs or ecommerce stores.

324 B
Raw Blame
DROP TABLE IF EXISTS manufacturer_to_site;

CREATE TABLE manufacturer_to_site (
  "manufacturer_id" int check ("manufacturer_id" > 0) NOT NULL,
  "site_id" smallint NOT NULL DEFAULT 0,
  PRIMARY KEY("manufacturer_id","site_id")
);

CREATE INDEX IF NOT EXISTS "manufacturer_to_site_site" ON manufacturer_to_site ("site_id");