Skip to content

Commit 38c9be1

Browse files
committed
Refresh samples
1 parent a6c2ac1 commit 38c9be1

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

samples/schema/petstore/mysql/mysql_schema.sql

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -494,6 +494,11 @@ CREATE TABLE IF NOT EXISTS `XmlItem` (
494494
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
495495

496496

497+
--
498+
-- OAuth2 framework tables
499+
-- Thanks to https://github.com/dsquier/oauth2-server-php-mysql repo
500+
--
501+
497502
--
498503
-- Table structure for table `oauth_clients`
499504
--
@@ -550,7 +555,7 @@ CREATE TABLE IF NOT EXISTS `oauth_refresh_tokens` (
550555
--
551556
CREATE TABLE IF NOT EXISTS `oauth_users` (
552557
`username` VARCHAR(80) DEFAULT NULL,
553-
`password` VARCHAR(80) DEFAULT NULL,
558+
`password` VARCHAR(255) DEFAULT NULL,
554559
`first_name` VARCHAR(80) DEFAULT NULL,
555560
`last_name` VARCHAR(80) DEFAULT NULL,
556561
`email` VARCHAR(2000) DEFAULT NULL,

0 commit comments

Comments
 (0)