# Pastebin FP0bGeiT ➜ Red git:(master) raku -I. -e ' use Red; model BBB { has Int $.id is serial; has Str $.a1 is unique; has Str $.a2 is unique; has Str $.a3 is unique; } red-defaults "SQLite"; my $*RED-DEBUG = True; BBB.^create-table ' SQL : CREATE TABLE b_b_b( id integer NOT NULL primary key AUTOINCREMENT, a1 varchar(255) NOT NULL , a2 varchar(255) NOT NULL , a3 varchar(255) NOT NULL , UNIQUE (a2), UNIQUE (a2), UNIQUE (a1, a2), UNIQUE (a1, a2, a3) ) BIND: []