CREATE TABLE `niins` (
`NIINS_ID` INT(10) NOT NULL AUTO_INCREMENT, ------+
`PARTNO` VARCHAR(250) NOT NULL DEFAULT '', |
`DESCRIPTION` VARCHAR(255) NOT NULL, |
`NSN` VARCHAR(255) NOT NULL, |
INDEX `Index 1` (`NIINS_ID`) |
) |
|
CREATE TABLE `niin` ( |
`NIINS_ID` INT(10) NOT NULL DEFAULT '0', ------+
`NIIN_ID` INT(10) NOT NULL AUTO_INCREMENT, ------+---+---+
`NSN_NUMBER` VARCHAR(255) NOT NULL DEFAULT '0', | | |
<SNIP OTHER FIELDS> | | |
INDEX `Index 1` (`NIIN_ID`) | | |
) | | |
| | |
CREATE TABLE `niinid` ( | | |
`NIINID_ID` INT(10) NOT NULL AUTO_INCREMENT, | | |
`NIIN_ID` INT(10) NOT NULL DEFAULT '0', ----------+ | |
`FIIG` VARCHAR(20) NOT NULL DEFAULT '0', | |
<SNIP OTHER FIELDS> | |
INDEX `Index 1` (`NIINID_ID`), | |
INDEX `Index 2` (`NIIN_ID`) | |
) | |
| |
CREATE TABLE `niinxref` ( | |
`NIINXREF_ID` INT(10) NOT NULL AUTO_INCREMENT, | |
`NIIN_ID` INT(10) NOT NULL DEFAULT '0', --------------+ |
<SNIP OTHER FIELDS> |
INDEX `Index 1` (`NIINXREF_ID`), |
INDEX `Index 2` (`NIIN_ID`) |
) |
|
CREATE TABLE `niinprocurement` ( |
`NIINPROCUREMENT_ID` INT(10) NOT NULL AUTO_INCREMENT, |
`NIIN_ID` INT(10) NOT NULL DEFAULT '0', ------------------+
<SNIP OTHER FIELDS>
INDEX `Index 1` (`NIINPROCUREMENT_ID`),
INDEX `Index 2` (`NIIN_ID`)
) |