Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenDocCN
yii2_fecshop
提交
5ef245df
Y
yii2_fecshop
项目概览
OpenDocCN
/
yii2_fecshop
通知
17
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
Y
yii2_fecshop
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
5ef245df
编写于
7月 31, 2019
作者:
T
Terry
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
mysql update
上级
1f1efd6a
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
2 addition
and
27 deletion
+2
-27
migrations/mysqldb/m170228_072156_fecshop_tables.php
migrations/mysqldb/m170228_072156_fecshop_tables.php
+1
-26
migrations/mysqldb/m190730_130707_fecshop_tables.php
migrations/mysqldb/m190730_130707_fecshop_tables.php
+1
-1
未找到文件。
migrations/mysqldb/m170228_072156_fecshop_tables.php
浏览文件 @
5ef245df
...
...
@@ -472,32 +472,7 @@ class m170228_072156_fecshop_tables extends Migration
KEY `custom_url_key` (`custom_url_key`),
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=52 ;
"
,
"
INSERT INTO `url_rewrite` (`id`, `type`, `custom_url_key`, `origin_url`) VALUES
(1, '1', '1', '1'),
(2, 'system', '/4444444444.html', '/cms/article/index?_id=57919ea0f656f2154de25ca9'),
(3, 'system', '/72527', '/cms/article/index?_id=0'),
(4, 'system', '/fashion-women.html', '/cms/article/index?_id=57936c63f656f2f42ce25ca4'),
(5, 'system', '/fashion-women-74341929', '/cms/article/index?_id=57936ae1f656f2f42ce25ca3'),
(6, 'system', '/67535963', '/cms/article/index?_id=57937062f656f2e944e25ca5'),
(7, 'system', '/11571166', '/cms/article/index?_id=57937114f656f2f42ce25ca5'),
(8, 'system', '/98145363', '/cms/article/index?id=27'),
(9, 'system', '/55555555555', '/cms/article/index?id=26'),
(10, 'system', '/67786962', '/cms/article/index?id=29'),
(11, 'system', '/fashion-hand-bag-for-women22', '/cms/article/index?id=30'),
(12, 'system', '/57161191', '/?_id=57aa815bf656f26e70e25ca3'),
(13, 'system', '/67274789', '/?_id=57aa897cf656f26e70e25ca4'),
(14, 'system', '/432432', '/catalog/category/index?_id=57aa8d7ff656f2107ee25ca3'),
(15, 'system', '/111111111111111', '/catalog/category/index?_id=57aa8d91f656f24c5fe25ca3'),
(16, 'system', '/women', '/catalog/category/index?_id=57aa8f18f656f24c5fe25ca4'),
(17, 'system', '/men', '/catalog/category/index?_id=57aa8f1ef656f26e70e25ca5'),
(18, 'system', '/lady', '/catalog/category/index?_id=57aa8f27f656f2107ee25ca4'),
(19, 'system', '/2121', '/catalog/category/index?_id=57aacb89f656f22e0be25ca3'),
(20, 'system', '/1111en', '/catalog/category/index?_id=57aacbbcf656f2f610e25ca3'),
(21, 'system', '/1111en-66254841', '/catalog/category/index?_id=57aacbe3f656f22e0be25ca4'),
(22, 'system', '/2222222', '/catalog/category/index?_id=57aacc35f656f22e0be25ca5'),
(23, 'system', '/1111', '/catalog/category/index?_id=57aacdf0f656f2b00ee25ca3'),
(45, 'system', '/1111111111111111', '/catalog/product/index?_id=57b5936af656f2ff293bf56e');"
,
"
,
];
// ALTER TABLE `admin_role_menu` ADD INDEX ( `created_at` )
...
...
migrations/mysqldb/m190730_130707_fecshop_tables.php
浏览文件 @
5ef245df
...
...
@@ -111,7 +111,7 @@ class m190730_130707_fecshop_tables extends Migration
$this
->
execute
(
"INSERT INTO `admin_role_url_key` (`role_id`, `url_key_id`, `created_at`, `updated_at`) VALUES (4, "
.
$lastInsertId
.
", 1541129239, 1541129239)"
);
// 15
$this
->
execute
(
"INSERT INTO `admin_url_key` (`name`, `tag`, `tag_sort_order`, `url_key`, `created_at`, `updated_at`, `can_delete`) VALUES ('Config Base Manager', 'config_base_manager', 1, '/config/base/manager', 1563809630, 1563809630,
,
1)"
);
$this
->
execute
(
"INSERT INTO `admin_url_key` (`name`, `tag`, `tag_sort_order`, `url_key`, `created_at`, `updated_at`, `can_delete`) VALUES ('Config Base Manager', 'config_base_manager', 1, '/config/base/manager', 1563809630, 1563809630,1)"
);
$lastInsertId
=
$this
->
db
->
getLastInsertID
()
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录