Skip to content

create table default data for integer #19

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

kojirock5260
Copy link
Contributor

CREATE TABLE `orders`
(
	`id` INTEGER(11) UNSIGNED NOT NULL AUTO_INCREMENT,
	`user_id` INTEGER(11) UNSIGNED,
	`price` INTEGER(11) UNSIGNED NOT NULL DEFAULT 0,
	`created_on`  timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
	`modified_on` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
	PRIMARY KEY (`id`)
)ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

Notice Error...

Notice Error: Uninitialized string offset: 0 in [/path/to/vendor/vimeo/php-mysql-engine/src/Parser/CreateTableParser.php, line 936]

@muglug muglug merged commit 6078af6 into vimeo:master Apr 14, 2021
@muglug
Copy link
Collaborator

muglug commented Apr 14, 2021

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants