Skip to content

Commit

Permalink
Update team.json
Browse files Browse the repository at this point in the history
  • Loading branch information
mdupierreux committed May 6, 2015
1 parent 6eb566c commit 3034cb5
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions etc/sample/team.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,19 @@
"nullable": false,
"foreignKey": {
"table": "company",
"onDelete": "CASCADE",
},
"onDelete": "CASCADE"
}
},
{
"name": "name",
"type": "String",
"nullable": false,
"nullable": false
},
{
"documentation": "2 letter country code where this team operates.",
"name": "country_code",
"type": "String",
"nullable": false,
"nullable": false
},
{
"documentation": "The serial number of this team.",
Expand All @@ -30,13 +30,13 @@
"table": "serial_number",
"onDelete": "CASCADE"
}
},
}
],

"constraints": [
{
"name": "unique_name",
"definition": "UNIQUE (team__name) ON CONFLICT REPLACE"
},
],
}
]
}

0 comments on commit 3034cb5

Please sign in to comment.