[DBIx-Class-Devel] [dbsrgits/sql-translator] Added support for alter table with unique constraint syntax in MySQL. (#132)
    Yoshiyuki Uehara 
    notifications at github.com
       
    Wed Apr  7 08:34:57 GMT 2021
    
    
  
This adds support for alter table with unique constraint syntax in MySQL alter table.
For example, 
```
create table `example` (
  id integer not null,
  `subid` varchar(255),
  `subid2` varchar(255),
  primary key (`id`)
);
alter table `example`
  add constraint subid_uniq unique key (`subid`, `subid2`);
```
You can view, comment on, or merge this pull request online at:
  https://github.com/dbsrgits/sql-translator/pull/132
-- Commit Summary --
  * Added support for alter table with unique constraint syntax in MySQL.
-- File Changes --
    M lib/SQL/Translator/Parser/MySQL.pm (26)
    M t/02mysql-parser.t (100)
-- Patch Links --
https://github.com/dbsrgits/sql-translator/pull/132.patch
https://github.com/dbsrgits/sql-translator/pull/132.diff
-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/dbsrgits/sql-translator/pull/132
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.scsys.co.uk/pipermail/dbix-class-devel/attachments/20210407/31b6defe/attachment.htm>
    
    
More information about the DBIx-Class-Devel
mailing list