diff options
author | Haakon Meland Eriksen <haakon.eriksen@far.no> | 2015-11-07 07:13:33 +0100 |
---|---|---|
committer | Haakon Meland Eriksen <haakon.eriksen@far.no> | 2015-11-07 07:13:33 +0100 |
commit | ce4bb8e5ecd502ba8420dea93256ba4fbebf49ff (patch) | |
tree | 924b094d38bd32fae2af56976e12ab5f38541037 /doc/database/db_attach.bb | |
parent | c40f6060da9c014135e70f165fa7adbfb127bcf2 (diff) | |
parent | 81544538032500c05a14fc90902e2930b1c4b03a (diff) | |
download | volse-hubzilla-ce4bb8e5ecd502ba8420dea93256ba4fbebf49ff.tar.gz volse-hubzilla-ce4bb8e5ecd502ba8420dea93256ba4fbebf49ff.tar.bz2 volse-hubzilla-ce4bb8e5ecd502ba8420dea93256ba4fbebf49ff.zip |
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'doc/database/db_attach.bb')
-rw-r--r-- | doc/database/db_attach.bb | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/doc/database/db_attach.bb b/doc/database/db_attach.bb index 4514c87f8..7d2befb47 100644 --- a/doc/database/db_attach.bb +++ b/doc/database/db_attach.bb @@ -21,7 +21,15 @@ [/td][/tr] [tr][td]folder[/td][td]attach.hash of parent folder[/td][td]char(64)[/td][td]NO[/td][td]MUL[/td][td][/td][td] [/td][/tr] -[tr][td]flags[/td][td]see notes[/td][td]int(10) unsigned[/td][td]NO[/td][td]MUL[/td][td]0[/td][td] +[tr][td]flags[/td][td]no longer used[/td][td]int(10) unsigned[/td][td]NO[/td][td]MUL[/td][td]0[/td][td] +[/td][/tr] +[tr][td]is_dir[/td][td]0 (file) or 1 to indicate a directory[/td][td]tinyint[/td][td]NO[/td][td]MUL[/td][td]0[/td][td] +[/td][/tr] +[tr][td]is_photo[/td][td]if 1, a photo is linked to this resource[/td][td]tinyint[/td][td]NO[/td][td]MUL[/td][td]0[/td][td] +[/td][/tr] +[tr][td]os_storage[/td][td]if 0, data contains content; if 1 data contains path to content (always 1 in hubzilla)[/td][td]tinyint[/td][td]NO[/td][td]MUL[/td][td]0[/td][td] +[/td][/tr] +[tr][td]display_path[/td][td]under construction, store the human readable path[/td][td]mediumtext[/td][td]NO[/td][td]MUL[/td][td]0[/td][td] [/td][/tr] [tr][td]data[/td][td]file data or pathname to stored data if ATTACH_FLAG_OS[/td][td]longblob[/td][td]NO[/td][td][/td][td]NULL[/td][td] [/td][/tr] @@ -39,12 +47,6 @@ [/td][/tr] [/table] - -Bitmasks - -define ( 'ATTACH_FLAG_DIR', 0x0001); This is a directory -define ( 'ATTACH_FLAG_OS', 0x0002); Data content is link to OS file containing data, if unset the data filed contains the file data - permissions are xchan_hash or group_hash surrounded by angle chars. e.g. '<abc123><xyz789>' Return to [zrl=[baseurl]/help/database]database documentation[/zrl]
\ No newline at end of file |