Skip to content

Commit

Permalink
Change creating tables, Create utils module
Browse files Browse the repository at this point in the history
  • Loading branch information
jayralencar committed Apr 20, 2016
1 parent 4cba607 commit d113bff
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 5 deletions.
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
# Change Log
This change log is started in 0.0.9;

## 0.0.9 (2016-04-20)
## 0.0.10 (2016-04-20)
- Change creating tables
- Create utils module
- Change README.md

## 0.0.9 (2016-04-19)
- Creating controller in basel-crud
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ And manipulate the database.
-t, --table <table> Create database table
-c, --columns <columns> Database table columns. Ex: "id:INTEGER, name:TEXT"
-p, --pk <primary> Database table primary key
-r, --references <references> Refences. Ex: '{"id":"table.id_table"}'
-r, --references <references> Refences. Ex: "id":"table.id_table"
-i, --incremental <incremental> incremental columns. Ex: id or "id, number, ..."
```

Expand Down
1 change: 0 additions & 1 deletion bin/basel-crud.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ basel.config.show_menu = program.menu || 1;
if(basel.error){
console.log(basel.error)
}else{
// console.log(basel.config)
wizard(basel.config);
}

Expand Down
2 changes: 1 addition & 1 deletion lib/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ exports.json = function (str) {
var parts = str.split(',');
for(i in parts){
var partsItem = parts[i].split(':');
object[partsItem[0]] = partsItem[1];
object[partsItem[0].trim()] = partsItem[1].trim();
}
return object;
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "basel",
"version": "0.0.9",
"version": "0.0.10",
"description": "Framework for Bootstrap, AngularJS, SQLite, Electron",
"author": "Jayr Alencar <http://github.com/jayralencar>",
"readmeFilename": "README.md" ,
Expand Down

0 comments on commit d113bff

Please sign in to comment.