Skip to content

Commit b107b46

Browse files
Update error message.
1 parent f0c2b7f commit b107b46

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)