序号 | 列名 | 数据类型 | 长度 | 小数位 | 标识 | 主键 | 外键 | 允许空 | 默认值 | 说明 |
1 | ID | int | 4 | 0 | 是 | 是 | 否 | |||
2 | Alias | nvarchar | 50 | 0 | 是 | 别名 | ||||
3 | APPKey | nvarchar | 1000 | 0 | 是 | 接口Key | ||||
4 | APPSecret | nvarchar | 1000 | 0 | 是 | 接口密钥 | ||||
5 | CDate | datetime | 8 | 3 | 是 | 创建时间 | ||||
6 | Plat | int | 4 | 0 | 否 | 1:极光,2:百度推送 |
API配置表
GO
CREATE TABLE [dbo].[ZL_Mobile_PushAPI](
[ID] [int] IDENTITY(1,1) NOT NULL,
[Alias] [nvarchar](50) NULL,
[APPKey] [nvarchar](1000) NULL,
[APPSecret] [nvarchar](1000) NULL,
[CDate] [datetime] NULL,
[Plat] [int] NOT NULL,
CONSTRAINT [PK_ZL_Mobile_PushAPI] PRIMARY KEY CLUSTERED
([ID] 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_Mobile_PushAPI
drop table ZL_Mobile_PushAPI
TRUNCATE table ZL_Mobile_PushAPI