Initial project files: BESCMS full source
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* 更新数据结构
|
||||
**/
|
||||
|
||||
$table = \Phpcmf\Service::M()->dbprefix('member_paylog');
|
||||
if (\Phpcmf\Service::M()->is_table_exists($table)) {
|
||||
if (!\Phpcmf\Service::M()->is_field_exists($table, 'money')) {
|
||||
\Phpcmf\Service::M('table')->add_field($table, 'money', 'decimal(10,2)', 'NOT NULL', '余额');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user