DA
Size: a a a
ВМ
ВМ
R
R
tasks (id int(11) NOT NULL AUTO_INCREMENT PRIMARY KEY,name varchar(255) NOT NULL,description text NOT NULL,created timestamp NOT NULL,modified timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,status tinyint(1) NOT NULL DEFAULT 0users (id int(11) NOT NULL AUTO_INCREMENT PRIMARY KEY,name varchar(255) NOT NULLusers_tasks (task_id int(11) NOT NULL,user_id int(11) NOT NULL,author_or_responsible tinyint(1) NOT NULL,task_id, user_id, author_or_responsible ),task_id ) REFERENCES tasks ( id )user_id ) REFERENCES users ( id )