<?xml version="1.0" encoding="utf-8"?>
<!-- generator="FeedCreator 1.7.2-ppt DokuWiki" -->
<?xml-stylesheet href="http://54.172.204.229/conhecimento/lib/exe/css.php?s=feed" type="text/css"?>
<feed xmlns="http://www.w3.org/2005/Atom">
    <title>Base de conhecimento softwares:schoolweb:requisitos:documentacao_tecnica:dados</title>
    <subtitle></subtitle>
    <link rel="alternate" type="text/html" href="http://54.172.204.229/conhecimento/"/>
    <id>http://54.172.204.229/conhecimento/</id>
    <updated>2026-04-20T19:02:19+00:00</updated>
    <generator>FeedCreator 1.7.2-ppt DokuWiki</generator>
<link rel="self" type="application/atom+xml" href="http://54.172.204.229/conhecimento/feed.php" />
    <entry>
        <title>Remodelar Banco de Dados</title>
        <link rel="alternate" type="text/html" href="http://54.172.204.229/conhecimento/doku.php?id=softwares:schoolweb:requisitos:documentacao_tecnica:dados:modelo_dados&amp;rev=1638359539"/>
        <published>2021-12-01T11:52:19+00:00</published>
        <updated>2021-12-01T11:52:19+00:00</updated>
        <id>http://54.172.204.229/conhecimento/doku.php?id=softwares:schoolweb:requisitos:documentacao_tecnica:dados:modelo_dados&amp;rev=1638359539</id>
        <summary>Resumo

Campos

tabaluno

codigousuario: alterar para varchar(36)

Catálago de Configuração



Triggers

tabaluno

Insert
CREATE DEFINER=`root`@`localhost` TRIGGER `school`.`tabaluno_AFTER_INSERT` AFTER INSERT ON `tabaluno` FOR EACH ROW
BEGINif new.login &lt;&gt; &quot;&quot; and new.senha &lt;&gt; &quot;&quot; then
INSERT INTO `tabusuarios` (`idbanco`,`codigousuario`,`nome`,`login`,`senha`,`tipoacesso`) VALUES (new.idbanco,uuid(),new.nome,new.login,new.senha,5);if new.emailpai &lt;&gt; &quot;&quot; &amp;&amp; new.emailpai not in (select email from e…</summary>
    </entry>
</feed>
