You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@atlas.apache.org by kb...@apache.org on 2018/11/01 05:06:39 UTC

atlas git commit: ATLAS-2941 : Add schema rendering attribute for rdbms type

Repository: atlas
Updated Branches:
  refs/heads/master 9eedb2d1d -> e8f5c4d94


ATLAS-2941 : Add schema rendering attribute for rdbms type


Project: http://git-wip-us.apache.org/repos/asf/atlas/repo
Commit: http://git-wip-us.apache.org/repos/asf/atlas/commit/e8f5c4d9
Tree: http://git-wip-us.apache.org/repos/asf/atlas/tree/e8f5c4d9
Diff: http://git-wip-us.apache.org/repos/asf/atlas/diff/e8f5c4d9

Branch: refs/heads/master
Commit: e8f5c4d942c15bf440d2a5adfcde963f8a9b8749
Parents: 9eedb2d
Author: kevalbhatt <kb...@apache.org>
Authored: Wed Oct 31 23:20:59 2018 +0530
Committer: kevalbhatt <kb...@apache.org>
Committed: Thu Nov 1 10:35:39 2018 +0530

----------------------------------------------------------------------
 .../001-rdbms_column_table_add_options.json     | 22 ++++++++++++++++++++
 1 file changed, 22 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/atlas/blob/e8f5c4d9/addons/models/2000-RDBMS/patches/001-rdbms_column_table_add_options.json
----------------------------------------------------------------------
diff --git a/addons/models/2000-RDBMS/patches/001-rdbms_column_table_add_options.json b/addons/models/2000-RDBMS/patches/001-rdbms_column_table_add_options.json
new file mode 100644
index 0000000..202fade
--- /dev/null
+++ b/addons/models/2000-RDBMS/patches/001-rdbms_column_table_add_options.json
@@ -0,0 +1,22 @@
+{
+  "patches": [
+    {
+      "action": "UPDATE_TYPEDEF_OPTIONS",
+      "typeName": "rdbms_column",
+      "applyToVersion": "1.0",
+      "updateToVersion": "1.1",
+      "typeDefOptions": {
+        "schemaAttributes": "[\"name\", \"description\", \"owner\", \"data_type\", \"comment\", \" isPrimaryKey\", \" isNullable\"]"
+      }
+    },
+    {
+      "action": "UPDATE_TYPEDEF_OPTIONS",
+      "typeName": "rdbms_table",
+      "applyToVersion": "1.0",
+      "updateToVersion": "1.1",
+      "typeDefOptions": {
+        "schemaElementsAttribute": "columns"
+      }
+    }
+  ]
+}
\ No newline at end of file