Skip to content

Commit

Permalink
Merge pull request #433 from guzman-raphael/dashed-schemas
Browse files Browse the repository at this point in the history
Update error message
  • Loading branch information
guzman-raphael committed Mar 27, 2023
2 parents f080d9e + b107b46 commit 204327a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions +dj/createSchema.m
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ function createSchema(package, parentdir, db)
if ~dbname
disp 'No database name entered. Quitting.'
elseif isempty(regexp(dbname,'^[a-z][a-z0-9_\-]*$','once'))
error(['Invalid database name. Begin with a letter, only lowercase alphanumerical and ' ...
'underscores.'])
error(['Invalid database name. Valid name must begin with a letter and include ' ...
'only lowercase alphanumerical, dashes, and underscores.'])
else
% create database
s = query(dj.conn, ...
Expand Down

0 comments on commit 204327a

Please sign in to comment.