Tag: primary key
-
Post Views: 22 1. In Yii 2.0, create a primary key column based on database migration. $this->primaryKey() is used by default. The created primary key column is int(11) by default. as shown in Figure 1 2. Some colleagues plan to create a primary key column of type VARCHAR(32). as shown in Figure 2 3. Method primaryKey() only supports passing in…
-
Post Views: 21 1. The request interface, the total number of resources in the response parameters is 30. Resources containing ids equal to 37918 are duplicates. A total of 2. as shown in Figure 1 2. Check the model class, /common/models/redis/cmc_console/user.php 3. Check /common/components/redis/activerecord.php , which defines the prefix and applies to all AR keys. 4. Open RedisDesktopManager, check the…
