Skip to content

Commit 204327a

Browse files
Merge pull request #433 from guzman-raphael/dashed-schemas
Update error message
2 parents f080d9e + b107b46 commit 204327a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

+dj/createSchema.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ function createSchema(package, parentdir, db)
1515
if ~dbname
1616
disp 'No database name entered. Quitting.'
1717
elseif isempty(regexp(dbname,'^[a-z][a-z0-9_\-]*$','once'))
18-
error(['Invalid database name. Begin with a letter, only lowercase alphanumerical and ' ...
19-
'underscores.'])
18+
error(['Invalid database name. Valid name must begin with a letter and include ' ...
19+
'only lowercase alphanumerical, dashes, and underscores.'])
2020
else
2121
% create database
2222
s = query(dj.conn, ...

0 commit comments

Comments
 (0)