Skip to content

Commit

Permalink
Replace YEAR with VARCHAR #52
Browse files Browse the repository at this point in the history
  • Loading branch information
tyt2y3 committed Sep 11, 2022
1 parent fae2f96 commit 5af8d94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/mysql/sakila-schema.sql
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ CREATE TABLE film (
film_id SMALLINT UNSIGNED NOT NULL AUTO_INCREMENT,
title VARCHAR(128) NOT NULL,
description TEXT DEFAULT NULL,
release_year YEAR DEFAULT NULL,
release_year VARCHAR(4) DEFAULT NULL,
language_id TINYINT UNSIGNED NOT NULL,
original_language_id TINYINT UNSIGNED DEFAULT NULL,
rental_duration TINYINT UNSIGNED NOT NULL DEFAULT 3,
Expand Down

0 comments on commit 5af8d94

Please sign in to comment.