you simply $schema->deploy and it will re-create your tables and pk, fk and
everything. simple as that
On Thu, Jul 5, 2012 at 6:01 PM, Oliver Gorwits wrote:
> On 2012-07-05 10:58, Zbigniew Łukasiak wrote:
>
>> On Thu, Jul 5, 2012 at 11:47 AM, Shantanu Bhadoria
>> wrote:
>>
>>> DBIx::Class. Then
On 2012-07-05 10:58, Zbigniew Łukasiak wrote:
On Thu, Jul 5, 2012 at 11:47 AM, Shantanu Bhadoria
wrote:
DBIx::Class. Then in a stupid move I deleted my db by accident and I
am now
left with only the schema classes.I didnt really have any data in
the db
but is there a way to create a DB schema
On Thu, Jul 5, 2012 at 11:47 AM, Shantanu Bhadoria wrote:
> Hey guys,
>
> I have been recently working a nacent project. I spent two days creating a
> db structure for the project with all foreign keys and such and created a
> DB from it, then I generated schema result classes from the database us
Hey guys,
I have been recently working a nacent project. I spent two days creating a
db structure for the project with all foreign keys and such and created a
DB from it, then I generated schema result classes from the database using
DBIx::Class. Then in a stupid move I deleted my db by accident a