Ferret File System/v0.1/SQL/event/entry

From Woozle Writes Code
< Ferret File System‎ | v0.1‎ | SQL‎ | event
Revision as of 22:56, 27 February 2016 by Woozle (talk | contribs) (Created page with "==About== ===Fields=== * '''didSeek''': We looked for this entry because it already existed in the database. * '''didFind''': This entry was found in the filesystem. (didSeek=...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

About

Fields

  • didSeek: We looked for this entry because it already existed in the database.
  • didFind: This entry was found in the filesystem. (didSeek=FALSE, didFind=TRUE: new file found; didSeek=TRUE, didFind=FALSE: file deleted/moved)

SQL

<mysql>CREATE TABLE `event_entry` (

 `ID_Event` INT NOT NULL,
 `didSeek` BIT,
 `didFind` BIT,
 `Size` LONGINT,
 `WhenCreated` DATETIME DEFAULT NULL COMMENT "entry's creation timestamp, if set",
 `WhenChanged` DATETIME DEFAULT NULL COMMENT "entry's modification timestamp, if set",
 PRIMARY KEY(`ID_Event`)

) </mysql>