(core) updates from grist-core

This commit is contained in:
Paul Fitzpatrick
2023-02-27 09:30:46 -05:00
23 changed files with 1453 additions and 40 deletions

View File

@@ -1188,3 +1188,11 @@ def migration35(tdset):
))
return tdset.apply_doc_actions(doc_actions)
@migration(schema_version=36)
def migration36(tdset):
"""
Add description to column
"""
return tdset.apply_doc_actions([add_column('_grist_Tables_column', 'description', 'Text')])

View File

@@ -15,7 +15,7 @@ import six
import actions
SCHEMA_VERSION = 35
SCHEMA_VERSION = 36
def make_column(col_id, col_type, formula='', isFormula=False):
return {
@@ -70,6 +70,7 @@ def schema_create_actions():
make_column("isFormula", "Bool"),
make_column("formula", "Text"),
make_column("label", "Text"),
make_column("description", "Text"),
# Normally a change to label changes colId as well, unless untieColIdFromLabel is True.
# (We intentionally pick a variable whose default value is false.)