-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rename subscription table to lowercase
- Loading branch information
igor-chepurnoi
committed
Nov 9, 2016
1 parent
39775d0
commit ea8f72f
Showing
5 changed files
with
21 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -84,7 +84,7 @@ protected function setupTestDbData() | |
|
||
// Structure : | ||
|
||
$db->createCommand()->createTable('Subscription', [ | ||
$db->createCommand()->createTable('subscription', [ | ||
'id' => 'pk', | ||
'userId' => 'integer not null', | ||
'name' => 'string not null', | ||
|
@@ -97,7 +97,7 @@ protected function setupTestDbData() | |
'updatedAt' => 'timestamp null default null', | ||
])->execute(); | ||
|
||
$db->createCommand()->createTable('User', [ | ||
$db->createCommand()->createTable('user', [ | ||
'id' => 'pk', | ||
'username' => 'string', | ||
'email' => 'string', | ||
|
@@ -107,7 +107,7 @@ protected function setupTestDbData() | |
'trialEndAt' => 'timestamp null default null', | ||
])->execute(); | ||
|
||
$db->createCommand()->insert('User', [ | ||
$db->createCommand()->insert('user', [ | ||
'username' => 'John Doe', | ||
'email' => '[email protected]' | ||
])->execute(); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters