[Flow] new typo3_flow_security_account table? I need a quick fix.

mario chiari ml at mariochiari.net
Wed Sep 4 21:59:12 CEST 2013


Hi,

thanks for the reply.
I am still a little confused.

So I have an old install with my toy extension, and some data too, among
which some account records (old table with 'roles' field). Indeed
typo3_flow_security_policy_role is already there, although empty. 

Then I have the newlatest Flow 2.0. install, and I have moved my toy
extension (and data) there. issue is: how do I move the account records
to the new tables? I see a new table: 

 `typo3_flow_security_account_roles_join` (
  `flow_security_account` 
  `flow_policy_role`)

and I guess it is what I need. 
I am ready to fill it by hand, but I am not sure how. 

On Thu, 2013-09-05 at 00:01 +0530, Pankaj Lele wrote:
> Hello mario,
...
> 
> With Flow 2.0 there is a new table (new domain object) 
> typo3_flow_security_policy_role and there is a m:n relation between 
> Account and Role.
> 
> If you run ./flow doctrine:migrate on existing database 

which one, old or new?

> then your 
> accounts will be automatically migrated to new format. There is a 
> migration 20130319131400 in TYPO3.Flow package which handles this.

thanks cheers
mario


> 
> -Pankaj
> 




More information about the Flow mailing list