Skip to content

Commit

Permalink
adl 1.0 change; (v1,v2) -> (key,value)
Browse files Browse the repository at this point in the history
  • Loading branch information
gmhta committed Mar 3, 2021
1 parent 17ac9a4 commit 248eb58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion typescript/hx-adl/src/gen-sql-alter-format.ts
Original file line number Diff line number Diff line change
Expand Up @@ -535,7 +535,7 @@ function generateTemplate(template: Template, dbtables: DbTable[]) {
const attributes: { [key: string]: {} | null } = {};
attributes['tablename'] = dbtable.name;
for (const annotation of dbtable.scopedDecl.decl.annotations) {
attributes[annotation.v1.name] = annotation.v2;
attributes[annotation.key.name] = annotation.value;
}
return attributes;
}),
Expand Down

0 comments on commit 248eb58

Please sign in to comment.