This repository has been archived on 2020-07-29. You can view files and clone it, but cannot push or open issues or pull requests.
RepairInventoryManager/SQLite-db_create tables.txt

22 lines
737 B
Plaintext

CREATE TABLE `computers_desc` (
`id` TEXT NOT NULL DEFAULT 0000000000 UNIQUE,
`name` TEXT NOT NULL DEFAULT 'ComputerOfDoom',
`etat` INTEGER NOT NULL DEFAULT 0,
`serial` NUMERIC NOT NULL DEFAULT 0,
`comms` TEXT,
`gived` INTEGER NOT NULL DEFAULT 0,
`giveTo` TEXT,
`getBy` NUMERIC NOT NULL DEFAULT 'ISEN'
);
CREATE TABLE `computers_progress` (
`id` TEXT NOT NULL DEFAULT 0000000000 UNIQUE,
`hardware_complete` NUMERIC NOT NULL DEFAULT 0,
`os_complete` NUMERIC NOT NULL DEFAULT 0,
`drivers_complete` NUMERIC NOT NULL DEFAULT 0,
`activate_complete` NUMERIC NOT NULL DEFAULT 0,
`soft_complete` NUMERIC NOT NULL DEFAULT 0,
`arch` INTEGER NOT NULL DEFAULT 1,
`ram` TEXT NOT NULL DEFAULT '1G',
`os` INTEGER NOT NULL DEFAULT 1
);