File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -43,10 +43,10 @@ Feature: Display information about a given table.
4343
4444 Scenario : Display information about a non default WordPress table
4545 Given a WP install
46- And I run `wp db query "CREATE TABLE not_wp ( id int(5) unsigned NOT NULL AUTO_INCREMENT, awesome_stuff TEXT, PRIMARY KEY (id) );" `
46+ And I run `wp db query "CREATE TABLE not_wp ( id tinyint(3) NOT NULL AUTO_INCREMENT, awesome_stuff TEXT, PRIMARY KEY (id) );" `
4747
4848 When I try `wp db columns not_wp`
4949 Then STDOUT should be a table containing rows:
50- | Field | Type | Null | Key | Default | Extra |
51- | id | int unsigned | NO | PRI | | auto_increment |
52- | awesome_stuff | text | YES | | | |
50+ | Field | Type | Null | Key | Default | Extra |
51+ | id | tinyint ( 3 ) | NO | PRI | | auto_increment |
52+ | awesome_stuff | text | YES | | | |
You can’t perform that action at this time.
0 commit comments