USE deploy_ease_dev;
DROP TABLE IF EXISTS project;
CREATE TABLE project
(
	id           INT AUTO_INCREMENT PRIMARY KEY,
	project_code VARCHAR(50) NOT NULL,
	project_name VARCHAR(50) NOT NULL,
	tenant_code  VARCHAR(50) NOT NULL,
	create_time  DATETIME    NOT NULL DEFAULT NOW(),
	update_time  DATETIME    NOT NULL DEFAULT NOW(),
	is_deleted   TINYINT     NOT NULL DEFAULT 0
);
INSERT INTO project (project_code, project_name, tenant_code)
VALUES ('scp', '计划产品', 'longi');
INSERT INTO project (project_code, project_name, tenant_code)
VALUES ('oms', '订单', 'longi');