liquid_feedback_frontend
diff model/file.lua @ 1495:17e7082c377a
Added image attachments for initiatives
author | bsw |
---|---|
date | Mon Feb 10 21:10:49 2020 +0100 (2020-02-10) |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/model/file.lua Mon Feb 10 21:10:49 2020 +0100 1.3 @@ -0,0 +1,8 @@ 1.4 +File = mondelefant.new_class() 1.5 +File.table = "file" 1.6 +File.primary_key = "id" 1.7 + 1.8 +File.binary_columns = { 1.9 + data = true, 1.10 + preview_data = true 1.11 +}