Skip to content

Instantly share code, notes, and snippets.

@faizalmansor
Last active August 29, 2015 14:20
Show Gist options
  • Save faizalmansor/9871f502e9da271391f7 to your computer and use it in GitHub Desktop.
Save faizalmansor/9871f502e9da271391f7 to your computer and use it in GitHub Desktop.
Yii 2.0 - Working with Databases demo table
CREATE TABLE `country` (
`code` CHAR(2) NOT NULL PRIMARY KEY,
`name` CHAR(52) NOT NULL,
`population` INT(11) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment