Exemplo n.º 1
0
        internal static void CreateTable(FSpotDatabaseConnection database)
        {
            if (database.TableExists("jobs"))
            {
                return;
            }

            database.Execute(
                "CREATE TABLE jobs (\n" +
                "	id		INTEGER PRIMARY KEY NOT NULL, \n"+
                "	job_type	TEXT NOT NULL, \n"+
                "	job_options	TEXT NOT NULL, \n"+
                "	run_at		INTEGER, \n"+
                "	job_priority	INTEGER NOT NULL\n"+
                ")");
        }