Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
35 lines (30 sloc) 966 Bytes
<html>
<head>
<title>Cockroach | Ebean ORM</title>
<meta name="layout" content="_layout2/base-docs.html"/>
<meta name="bread1" content="Database platforms" href="/docs/database"/>
<meta name="bread2" content="Cockroach" href="/docs/database/cockroach"/>
<#assign n0_docs="active">
<#assign n1_platforms="active">
<#assign n2_cockroach="active">
</head>
<body>
<h2>Cockroach</h2>
<h3>Testing</h3>
<p>
To test against Cockroach docker test container set the <em>platform</em> to <code>cockroach</code> in
<code>src/test/resources/application-test.yaml</code>
</p>
<p>
Refer to <a href="/docs/testing">docs / testing</a> if application-test.yaml doesn't exist yet.
</p>
```yml
ebean:
test:
platform: cockroach #, h2, postgres, mysql, oracle, sqlserver
ddlMode: dropCreate # none | dropCreate | migrations | create
dbName: test
```
<@next_edit "NuoDB" "/docs/database/nuodb" "/docs/database/cockroach/index.html"/>
</body>
</html>
You can’t perform that action at this time.