📜  sqlite 唯一多列 - SQL 代码示例

📅  最后修改于: 2022-03-11 15:05:11.909000             🧑  作者: Mango

代码示例1
create table projects (
    _id integer primary key autoincrement,
    project_type text not null,
    name text not null,
    description text,
    last_updated datetime default current_timestamp,
    date_created datetime default current_timestamp,
    unique (project_type, name)
);