add schema version to db

This commit is contained in:
Tan Jiang 2016-04-07 16:49:11 +08:00
parent 88303cf2a2
commit 8dd59b77e8

View File

@ -101,3 +101,12 @@ create table access_log (
FOREIGN KEY (user_id) REFERENCES user(user_id),
FOREIGN KEY (project_id) REFERENCES project (project_id)
);
create table properties (
k varchar(64) NOT NULL,
v varchar(128) NOT NULL,
primary key (k)
);
insert into properties (k, v) values
('schema_version', '0.1.1');