mirror of https://github.com/Fabio286/antares.git
fix: zero fill field option was not saved
This commit is contained in:
parent
242ddec744
commit
3e5770f7de
|
@ -28,10 +28,11 @@ An application created with minimalism and semplicity in mind, with features in
|
||||||
## Current main features
|
## Current main features
|
||||||
|
|
||||||
- Multiple database connections at same time.
|
- Multiple database connections at same time.
|
||||||
- Table's content management (add/edit/delete).
|
- Database management (add/edit/delete).
|
||||||
|
- Tables fields management (add/edit/delete).
|
||||||
|
- Tables content management (add/edit/delete).
|
||||||
- Run queries on multiple tabs.
|
- Run queries on multiple tabs.
|
||||||
- Query suggestions.
|
- Query suggestions.
|
||||||
- Database management (add/edit/delete).
|
|
||||||
- Native dark theme.
|
- Native dark theme.
|
||||||
- Multi language.
|
- Multi language.
|
||||||
- Auto updates.
|
- Auto updates.
|
||||||
|
@ -40,13 +41,13 @@ An application created with minimalism and semplicity in mind, with features in
|
||||||
|
|
||||||
This is a roadmap with major features will come in near future.
|
This is a roadmap with major features will come in near future.
|
||||||
|
|
||||||
- Improvements of query editor area.
|
|
||||||
- Tables management (add/edit/delete).
|
- Tables management (add/edit/delete).
|
||||||
- Users management (add/edit/delete).
|
- Users management (add/edit/delete).
|
||||||
- Stored procedures, views, schedulers and trigger support.
|
- Stored procedures, views, schedulers and triggers support.
|
||||||
- More secure password storage.
|
- More secure password storage.
|
||||||
- Database tools (variables, process list...).
|
- Database tools (variables, process list...).
|
||||||
- Support for other databases.
|
- Support for other databases.
|
||||||
|
- Improvements of query editor area.
|
||||||
- Improvements of query suggestions.
|
- Improvements of query suggestions.
|
||||||
- Query history.
|
- Query history.
|
||||||
- More context menu shortcuts.
|
- More context menu shortcuts.
|
||||||
|
|
|
@ -291,6 +291,7 @@ export class MySQLClient extends AntaresCore {
|
||||||
alterColumns.push(`ADD COLUMN \`${addition.name}\`
|
alterColumns.push(`ADD COLUMN \`${addition.name}\`
|
||||||
${addition.type.toUpperCase()}${length ? `(${length})` : ''}
|
${addition.type.toUpperCase()}${length ? `(${length})` : ''}
|
||||||
${addition.unsigned ? 'UNSIGNED' : ''}
|
${addition.unsigned ? 'UNSIGNED' : ''}
|
||||||
|
${addition.zerofill ? 'ZEROFILL' : ''}
|
||||||
${addition.nullable ? 'NULL' : 'NOT NULL'}
|
${addition.nullable ? 'NULL' : 'NOT NULL'}
|
||||||
${addition.autoIncrement ? 'AUTO_INCREMENT' : ''}
|
${addition.autoIncrement ? 'AUTO_INCREMENT' : ''}
|
||||||
${addition.default ? `DEFAULT ${addition.default}` : ''}
|
${addition.default ? `DEFAULT ${addition.default}` : ''}
|
||||||
|
@ -307,6 +308,7 @@ export class MySQLClient extends AntaresCore {
|
||||||
alterColumns.push(`CHANGE COLUMN \`${change.orgName}\` \`${change.name}\`
|
alterColumns.push(`CHANGE COLUMN \`${change.orgName}\` \`${change.name}\`
|
||||||
${change.type.toUpperCase()}${length ? `(${length})` : ''}
|
${change.type.toUpperCase()}${length ? `(${length})` : ''}
|
||||||
${change.unsigned ? 'UNSIGNED' : ''}
|
${change.unsigned ? 'UNSIGNED' : ''}
|
||||||
|
${change.zerofill ? 'ZEROFILL' : ''}
|
||||||
${change.nullable ? 'NULL' : 'NOT NULL'}
|
${change.nullable ? 'NULL' : 'NOT NULL'}
|
||||||
${change.autoIncrement ? 'AUTO_INCREMENT' : ''}
|
${change.autoIncrement ? 'AUTO_INCREMENT' : ''}
|
||||||
${change.default ? `DEFAULT ${change.default}` : ''}
|
${change.default ? `DEFAULT ${change.default}` : ''}
|
||||||
|
|
Loading…
Reference in New Issue