-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adicionado campo para nome social do professor (#137)
* Add attribute Label for civil_name * Add input for social name * Add migration com os comandos sql para o nome social do professor * Adicionado nova tag versão e as modificações na BOARD_MSG * Add título para o tooltip do nome social e civil * Add variableData par Civil Name e Social Name * Add property para Nova coluna na tabela 'instructor_identification': * add ao help os títulos do professor * Format InstructorIdentification
- Loading branch information
1 parent
91084eb
commit 638f4de
Showing
6 changed files
with
35 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 7 additions & 0 deletions
7
app/migrations/2.14.1_add_name_social_professor/add_column_civil_name.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
|
||
-- Cria a coluna `civil_name` na tabela `instructor_identification` | ||
ALTER TABLE `instructor_identification` ADD `civil_name` VARCHAR(100) NOT NULL AFTER `name`; | ||
|
||
--Copia todos os dados da coluna `nome` para a coluna `civil_name` | ||
UPDATE `instructor_identification` SET `civil_name` = `name` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters