示例#1
0
        private void Createdbtable()
        {
            ADbInteractive db = new ADbInteractive(AStatic.DbPath);

            db.CreateDb(AStatic.DbPath);

            string sql = "create table accounts(id integer primary key, tag text unique not null, category text, url text, user text, password text, phone text, mail text, notes text, lastmodified TimeStamp NOT NULL DEFAULT (datetime('now','localtime')), pyindex text, pyfspell text)";

            db.ExecQuery(sql, null);
        }