序号 | 列名 | 数据类型 | 长度 | 小数位 | 标识 | 主键 | 外键 | 允许空 | 默认值 | 说明 |
1 | ExpHisID | int | 4 | 0 | 是 | 是 | 否 | 虚拟币记录主键 | ||
2 | UserID | int | 4 | 0 | 是 | 发起关注的用户 | ||||
3 | Score | money | 8 | 4 | 是 | 积分数值 | ||||
4 | HisTime | datetime | 8 | 3 | 是 | 产生时间 | ||||
5 | Operator | int | 4 | 0 | 是 | 操作人 | ||||
6 | Detail | nvarchar | 1000 | 0 | 是 | 备注 | ||||
7 | OperatorIP | nvarchar | 200 | 0 | 是 | 操作人IP | ||||
8 | ScoreType | int | 4 | 0 | 是 | 积分类型 | ||||
9 | Remark | nvarchar | 200 | 0 | 是 | 使用备注 |
用户虚拟币出入日志
GO
CREATE TABLE [dbo].[ZL_User_DummyPoint](
[ExpHisID] [int] IDENTITY(1,1) NOT NULL,
[UserID] [int] NULL,
[Score] [money] NULL,
[HisTime] [datetime] NULL,
[Operator] [int] NULL,
[Detail] [nvarchar](1000) NULL,
[OperatorIP] [nvarchar](200) NULL,
[ScoreType] [int] NULL,
[Remark] [nvarchar](200) NULL,
CONSTRAINT [PK_ZL_User_DummyPoint] PRIMARY KEY CLUSTERED
([ExpHisID] ASC)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]) ON [PRIMARY]
detele from ZL_User_DummyPoint
drop table ZL_User_DummyPoint
TRUNCATE table ZL_User_DummyPoint