# Adding tables to repository\_server

**URL:** <https://forum.servoy.com/t/adding-tables-to-repository-server/14840>\
**Category:** Classic Servoy\
**Created:** [October 10, 2011, 1:54pm UTC](https://forum.servoy.com/t/adding-tables-to-repository-server/14840 "2011-10-10T13:54:19Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![AlanBourke](https://avatars.discourse-cdn.com/v4/letter/a/b5a626/32.png) [@AlanBourke](https://forum.servoy.com/u/AlanBourke)\
**Post date:** [October 10, 2011, 1:54pm UTC](https://forum.servoy.com/t/adding-tables-to-repository-server/14840/1 "2011-10-10T13:54:19Z")

</div>

Is it possible to add tables to the repository\_server db, or is this best avoided ?

---

<div class="post-metadata">

**Author:** ![jcarlos](https://avatars.discourse-cdn.com/v4/letter/j/46a35a/32.png) [@jcarlos](https://forum.servoy.com/u/jcarlos)\
**Post date:** [October 10, 2011, 2:38pm UTC](https://forum.servoy.com/t/adding-tables-to-repository-server/14840/2 "2011-10-10T14:38:03Z")

</div>

Just avoid it!

But for pure curiosity: why would you like to do that?

JC

---

<div class="post-metadata">

**Author:** ![AlanBourke](https://avatars.discourse-cdn.com/v4/letter/a/b5a626/32.png) [@AlanBourke](https://forum.servoy.com/u/AlanBourke)\
**Post date:** [October 10, 2011, 3:13pm UTC](https://forum.servoy.com/t/adding-tables-to-repository-server/14840/3 "2011-10-10T15:13:44Z")

</div>

Thanks.

I have what is effectively additional user information that links a Servoy user to a record in another system. I am also creating Servoy logins from outside Servoy. Obviously I can just have another db with a table that has the Servoy user name (or ID) and this extra info, but that’s more complicated.

I guessed it would be a bad idea, just wanted to make sure.

---

<div class="post-metadata">

**Author:** ![rgansevles](https://avatars.discourse-cdn.com/v4/letter/r/3d9bf3/32.png) [@rgansevles](https://forum.servoy.com/u/rgansevles)\
**Post date:** [October 11, 2011, 6:35am UTC](https://forum.servoy.com/t/adding-tables-to-repository-server/14840/4 "2011-10-11T06:35:52Z")

</div>

Alan,

The repository\_server can be used for user tables, but it is cleaner to keep these separate.  
I would advise against doing queries against the Servoy repository tables because then you touch internal structures which may change in any release.

Rob

---

<div class="post-metadata">

**Author:** ![AlanBourke](https://avatars.discourse-cdn.com/v4/letter/a/b5a626/32.png) [@AlanBourke](https://forum.servoy.com/u/AlanBourke)\
**Post date:** [October 11, 2011, 8:30am UTC](https://forum.servoy.com/t/adding-tables-to-repository-server/14840/5 "2011-10-11T08:30:53Z")

</div>

I don’t particularly like doing it, but I don’t have a choice, unless there is some other way that I can programmatically create Servoy users from an external application.

---

<div class="post-metadata">

**Author:** ![rgansevles](https://avatars.discourse-cdn.com/v4/letter/r/3d9bf3/32.png) [@rgansevles](https://forum.servoy.com/u/rgansevles)\
**Post date:** [October 11, 2011, 11:15am UTC](https://forum.servoy.com/t/adding-tables-to-repository-server/14840/6 "2011-10-11T11:15:09Z")

</div>

Alan,

Using the servoy user management is optional, you can also implement your own user management based on your own way of validating users.

Look at the security.login() and (in case of enhanced security with login solution), security.authenticate().

Rob

---

<div class="post-metadata">

**Author:** ![AlanBourke](https://avatars.discourse-cdn.com/v4/letter/a/b5a626/32.png) [@AlanBourke](https://forum.servoy.com/u/AlanBourke)\
**Post date:** [October 11, 2011, 12:06pm UTC](https://forum.servoy.com/t/adding-tables-to-repository-server/14840/7 "2011-10-11T12:06:27Z")

</div>

I have investigated using Servoy auth with login projects and it seems fairly straightforward, doing what you suggested seems like a good alternative to consider, thanks.
