Changeset 2424757
- Timestamp:
- 11/24/2020 03:00:32 PM (5 years ago)
- Location:
- stephino-rpg/trunk/lib/Stephino/Rpg/Db/Table
- Files:
-
- 12 edited
-
Buildings.php (modified) (1 diff)
-
Cities.php (modified) (1 diff)
-
Convoys.php (modified) (1 diff)
-
Entities.php (modified) (1 diff)
-
Islands.php (modified) (1 diff)
-
Messages.php (modified) (1 diff)
-
PtfPlays.php (modified) (1 diff)
-
Ptfs.php (modified) (1 diff)
-
Queues.php (modified) (1 diff)
-
ResearchFields.php (modified) (1 diff)
-
Statistics.php (modified) (1 diff)
-
Users.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
stephino-rpg/trunk/lib/Stephino/Rpg/Db/Table/Buildings.php
r2358167 r2424757 73 73 */ 74 74 public function getCreateStatement() { 75 return "CREATE TABLE `$this` (75 return "CREATE TABLE IF NOT EXISTS `$this` ( 76 76 `" . self::COL_ID . "` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, 77 77 `" . self::COL_BUILDING_USER_ID . "` bigint(20) UNSIGNED NOT NULL DEFAULT '0', -
stephino-rpg/trunk/lib/Stephino/Rpg/Db/Table/Cities.php
r2415900 r2424757 150 150 */ 151 151 public function getCreateStatement() { 152 return "CREATE TABLE `$this` (152 return "CREATE TABLE IF NOT EXISTS `$this` ( 153 153 `" . self::COL_ID . "` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, 154 154 `" . self::COL_CITY_CREATED . "` int(11) UNSIGNED NOT NULL DEFAULT '0', -
stephino-rpg/trunk/lib/Stephino/Rpg/Db/Table/Convoys.php
r2358167 r2424757 134 134 */ 135 135 public function getCreateStatement() { 136 return "CREATE TABLE `$this` (136 return "CREATE TABLE IF NOT EXISTS `$this` ( 137 137 `" . self::COL_ID . "` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, 138 138 `" . self::COL_CONVOY_FROM_USER_ID . "` bigint(20) UNSIGNED NOT NULL, -
stephino-rpg/trunk/lib/Stephino/Rpg/Db/Table/Entities.php
r2424637 r2424757 80 80 */ 81 81 public function getCreateStatement() { 82 return "CREATE TABLE `$this` (82 return "CREATE TABLE IF NOT EXISTS `$this` ( 83 83 `" . self::COL_ID . "` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, 84 84 `" . self::COL_ENTITY_USER_ID . "` bigint(20) UNSIGNED NOT NULL DEFAULT '0', -
stephino-rpg/trunk/lib/Stephino/Rpg/Db/Table/Islands.php
r2358167 r2424757 66 66 */ 67 67 public function getCreateStatement() { 68 return "CREATE TABLE `$this` (68 return "CREATE TABLE IF NOT EXISTS `$this` ( 69 69 `" . self::COL_ID . "` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, 70 70 `" . self::COL_ISLAND_NAME . "` varchar(128) NOT NULL, -
stephino-rpg/trunk/lib/Stephino/Rpg/Db/Table/Messages.php
r2424637 r2424757 102 102 */ 103 103 public function getCreateStatement() { 104 return "CREATE TABLE `$this` (104 return "CREATE TABLE IF NOT EXISTS `$this` ( 105 105 `" . self::COL_ID . "` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, 106 106 `" . self::COL_MESSAGE_TO . "` bigint(20) UNSIGNED NOT NULL, -
stephino-rpg/trunk/lib/Stephino/Rpg/Db/Table/PtfPlays.php
r2424637 r2424757 94 94 */ 95 95 public function getCreateStatement() { 96 return "CREATE TABLE `$this` (96 return "CREATE TABLE IF NOT EXISTS `$this` ( 97 97 `" . self::COL_ID . "` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, 98 98 `" . self::COL_PTF_PLAY_PTF_ID . "` bigint(20) UNSIGNED NOT NULL DEFAULT '0', -
stephino-rpg/trunk/lib/Stephino/Rpg/Db/Table/Ptfs.php
r2424637 r2424757 148 148 */ 149 149 public function getCreateStatement() { 150 return "CREATE TABLE `$this` (150 return "CREATE TABLE IF NOT EXISTS `$this` ( 151 151 `" . self::COL_ID . "` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, 152 152 `" . self::COL_PTF_USER_ID . "` bigint(20) UNSIGNED NOT NULL DEFAULT '0', -
stephino-rpg/trunk/lib/Stephino/Rpg/Db/Table/Queues.php
r2358167 r2424757 98 98 */ 99 99 public function getCreateStatement() { 100 return "CREATE TABLE `$this` (100 return "CREATE TABLE IF NOT EXISTS `$this` ( 101 101 `" . self::COL_ID . "` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, 102 102 `" . self::COL_QUEUE_USER_ID . "` bigint(20) UNSIGNED NOT NULL DEFAULT '0', -
stephino-rpg/trunk/lib/Stephino/Rpg/Db/Table/ResearchFields.php
r2358167 r2424757 52 52 */ 53 53 public function getCreateStatement() { 54 return "CREATE TABLE `$this` (54 return "CREATE TABLE IF NOT EXISTS `$this` ( 55 55 `" . self::COL_ID . "` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, 56 56 `" . self::COL_RESEARCH_FIELD_USER_ID . "` bigint(20) UNSIGNED NOT NULL DEFAULT '0', -
stephino-rpg/trunk/lib/Stephino/Rpg/Db/Table/Statistics.php
r2415900 r2424757 52 52 */ 53 53 public function getCreateStatement() { 54 return "CREATE TABLE `$this` (54 return "CREATE TABLE IF NOT EXISTS `$this` ( 55 55 `" . self::COL_ID . "` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, 56 56 `" . self::COL_STAT_DATE . "` DATE NOT NULL, -
stephino-rpg/trunk/lib/Stephino/Rpg/Db/Table/Users.php
r2424637 r2424757 143 143 */ 144 144 public function getCreateStatement() { 145 return "CREATE TABLE `$this` (145 return "CREATE TABLE IF NOT EXISTS `$this` ( 146 146 `" . self::COL_ID . "` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, 147 147 `" . self::COL_USER_WP_ID . "` bigint(20) UNSIGNED,
Note: See TracChangeset
for help on using the changeset viewer.