X-Git-Url: http://git.kpe.io/?p=clsql.git;a=blobdiff_plain;f=tests%2Ftest-fddl.lisp;h=34c956a79a7918595556303c146beb15aa39d703;hp=f5527c773f7cce25f3ff017cc3f6c40cddb7f28f;hb=fd2493718d0e1114fcbe3dd578dab658ea383e81;hpb=76c718bea5a32b8252daeb5a487860d112011157 diff --git a/tests/test-fddl.lisp b/tests/test-fddl.lisp index f5527c7..34c956a 100644 --- a/tests/test-fddl.lisp +++ b/tests/test-fddl.lisp @@ -88,9 +88,13 @@ '(:postgresql :postgresql-socket)) :ignore :warn))) - (clsql:create-table [foo] - '(([bar] integer :not-null :unique :primary-key) - ([baz] string :not-null :unique)))) + (case *test-database-underlying-type* + (:mssql (clsql:create-table [foo] + '(([bar] integer :not-null :primary-key) + ([baz] string :not-null :unique)))) + (t (clsql:create-table [foo] + '(([bar] integer :not-null :unique :primary-key) + ([baz] string :not-null :unique)))))) (clsql:table-exists-p [foo])) (progn (clsql:drop-table [foo])