mirror of
https://github.com/gristlabs/grist-core.git
synced 2026-03-02 04:09:24 +00:00
(core) Add telemetry
Test Plan: Server tests. Reviewers: jarek Differential Revision: https://phab.getgrist.com/D3818
This commit is contained in:
@@ -1196,3 +1196,11 @@ def migration36(tdset):
|
||||
Add description to column
|
||||
"""
|
||||
return tdset.apply_doc_actions([add_column('_grist_Tables_column', 'description', 'Text')])
|
||||
|
||||
|
||||
@migration(schema_version=37)
|
||||
def migration37(tdset):
|
||||
"""
|
||||
Add fileExt column to _grist_Attachments.
|
||||
"""
|
||||
return tdset.apply_doc_actions([add_column('_grist_Attachments', 'fileExt', 'Text')])
|
||||
|
||||
@@ -15,7 +15,7 @@ import six
|
||||
|
||||
import actions
|
||||
|
||||
SCHEMA_VERSION = 36
|
||||
SCHEMA_VERSION = 37
|
||||
|
||||
def make_column(col_id, col_type, formula='', isFormula=False):
|
||||
return {
|
||||
@@ -236,6 +236,7 @@ def schema_create_actions():
|
||||
make_column("fileName", "Text"), # User defined file name
|
||||
make_column("fileType", "Text"), # A string indicating the MIME type of the data
|
||||
make_column("fileSize", "Int"), # The size in bytes
|
||||
make_column("fileExt", "Text"), # The file extension
|
||||
make_column("imageHeight", "Int"), # height in pixels
|
||||
make_column("imageWidth", "Int"), # width in pixels
|
||||
make_column("timeDeleted", "DateTime"),
|
||||
|
||||
Reference in New Issue
Block a user