projects
/
platal.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
abed282
)
Adds promo 1920 in database.
author
Stéphane Jacob
<jacou@melix.net>
Mon, 29 Sep 2008 19:10:57 +0000
(21:10 +0200)
committer
Stéphane Jacob
<jacou@melix.net>
Mon, 29 Sep 2008 19:10:57 +0000
(21:10 +0200)
upgrade/merge-0.0.1/000_1920.sql
[new file with mode: 0644]
patch
|
blob
diff --git a/upgrade/merge-0.0.1/000_1920.sql
b/upgrade/merge-0.0.1/000_1920.sql
new file mode 100644
(file)
index 0000000..
0e6a0ed
--- /dev/null
+++ b/
upgrade/merge-0.0.1/000_1920.sql
@@ -0,0
+1,9
@@
+set @n = 19200001;
+
+INSERT INTO auth_user_md5 (matricule, matricule_ax, promo, promo_sortie, nom_ini, prenom_ini, perms, nom, prenom)
+ SELECT @n := @n + 1, id_ancien, promotion_etude, promotion_etude + 3, CONCAT(partic_patro, Nom_patronymique), prenom,
+ 'pending', CONCAT(partic_patro, Nom_patronymique), prenom
+ FROM fusionax_anciens
+ WHERE promotion_etude = 1920;
+
+-- vim:set syntax=mysql: