Hi Damith,

When you are implementing the feature, you can add the create table
statement in the database scripts in following location (Assuming you are
doing this for IS). For each type of databse there is a separate .sql file
and you can add the new command to each file.

*<IS_HOME>/dbscripts/identity/*

Then you can start the server with -Dsetup so it will automatically create
the new table in your setup.

This way you can test your feature. Once you complete the feature, you can
send a pull request to [1] adding the new table.

[1]
https://github.com/wso2/carbon-identity/tree/master/components/identity-core/org.wso2.carbon.identity.core/src/main/resources/dbscripts

Regards,
TharinduE

On Mon, Jun 15, 2015 at 11:50 AM, Damith Senanayake <[email protected]>
wrote:

> Hi,
>
> I am trying to implement a new feature and I need to introduce a new table
> to the embedded database. (namely, IDN_UID_USER).
>
>
> What is the normal way to properly do this rather than logging into the H2
> Console through the web interface?
>
> Thanks in advance
> --
> *-Damith Senanayake-*
> +94712205272
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 

Tharindu Edirisinghe
Software Engineer | WSO2 Inc
Identity Server Team
Blog : tharindue.blogspot.com
mobile : +94 775 181586
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to