Skip to content

Commit

Permalink
feat(defaultColumn): allow disabling default columns
Browse files Browse the repository at this point in the history
Signed-off-by: Tobias Gurtzick <magic@wizardtales.com>
  • Loading branch information
wzrdtales committed Jun 15, 2019
1 parent c3a1583 commit 2d4e92c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/executors/versioned/v2.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@ const execUnit = {
up: async function (context, driver, file) {
const _file = file.get();
const chain = new Chain(context._driver, file, driver, context.internals);
chain.addChain(AddConventions);
if (!_file._meta.noDefaultColumn) {
chain.addChain(AddConventions);
}
chain.addChain(Learn);
chain.addChain(StateTravel);
chain.addChain(Migrate);
Expand Down

0 comments on commit 2d4e92c

Please sign in to comment.