Advertisement
ErickStorm

Untitled

Dec 8th, 2016
308
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
SQL 18.50 KB | None | 0 0
  1. /*
  2. Navicat SQL Server Data Transfer
  3.  
  4. Source Server         : StormZ
  5. Source Server Version : 105000
  6. Source Host           : 192.99.45.228,1465:1433
  7. Source Database       : StormZ
  8. Source Schema         : dbo
  9.  
  10. Target Server Type    : SQL Server
  11. Target Server Version : 105000
  12. File Encoding         : 65001
  13.  
  14. Date: 2015-07-05 15:36:51
  15. */
  16.  
  17.  
  18. -- ----------------------------
  19. -- Table structure for WEB_Bulletin
  20. -- ----------------------------
  21. DROP TABLE [WEB_Bulletin]
  22. GO
  23. CREATE TABLE [WEB_Bulletin] (
  24. [id] INT NOT NULL IDENTITY(1,1) ,
  25. [CustomerID] INT NULL ,
  26. [title] VARCHAR(255) NULL ,
  27. [content] text NULL ,
  28. [enableComment] INT NULL ,
  29. [STATUS] INT NULL ,
  30. [datacreated] datetime NULL ,
  31. [TYPE] VARCHAR(20) NULL
  32. )
  33.  
  34.  
  35. GO
  36.  
  37. -- ----------------------------
  38. -- Records of WEB_Bulletin
  39. -- ----------------------------
  40. BEGIN TRANSACTION
  41. GO
  42. SET IDENTITY_INSERT [WEB_Bulletin] ON
  43. GO
  44. SET IDENTITY_INSERT [WEB_Bulletin] OFF
  45. GO
  46. COMMIT TRANSACTION
  47. GO
  48.  
  49. -- ----------------------------
  50. -- Table structure for WEB_Bulletin_Category
  51. -- ----------------------------
  52. DROP TABLE [WEB_Bulletin_Category]
  53. GO
  54. CREATE TABLE [WEB_Bulletin_Category] (
  55. [id] INT NOT NULL IDENTITY(1,1) ,
  56. [name] VARCHAR(255) NULL ,
  57. [STATUS] INT NULL
  58. )
  59.  
  60.  
  61. GO
  62. DBCC CHECKIDENT(N'[WEB_Bulletin_Category]', RESEED, 3)
  63. GO
  64.  
  65. -- ----------------------------
  66. -- Records of WEB_Bulletin_Category
  67. -- ----------------------------
  68. BEGIN TRANSACTION
  69. GO
  70. SET IDENTITY_INSERT [WEB_Bulletin_Category] ON
  71. GO
  72. SET IDENTITY_INSERT [WEB_Bulletin_Category] OFF
  73. GO
  74. COMMIT TRANSACTION
  75. GO
  76.  
  77. -- ----------------------------
  78. -- Table structure for WEB_Bulletin_Comment
  79. -- ----------------------------
  80. DROP TABLE [WEB_Bulletin_Comment]
  81. GO
  82. CREATE TABLE [WEB_Bulletin_Comment] (
  83. [id] INT NOT NULL IDENTITY(1,1) ,
  84. [BulletinID] INT NULL ,
  85. [CustomerID] INT NULL ,
  86. [title] VARCHAR(255) NULL ,
  87. [content] text NULL ,
  88. [datecomment] datetime NULL
  89. )
  90.  
  91.  
  92. GO
  93.  
  94. -- ----------------------------
  95. -- Records of WEB_Bulletin_Comment
  96. -- ----------------------------
  97. BEGIN TRANSACTION
  98. GO
  99. SET IDENTITY_INSERT [WEB_Bulletin_Comment] ON
  100. GO
  101. SET IDENTITY_INSERT [WEB_Bulletin_Comment] OFF
  102. GO
  103. COMMIT TRANSACTION
  104. GO
  105.  
  106. -- ----------------------------
  107. -- Table structure for WEB_Config
  108. -- ----------------------------
  109. DROP TABLE [WEB_Config]
  110. GO
  111. CREATE TABLE [WEB_Config] (
  112. [id] INT NOT NULL IDENTITY(1,1) ,
  113. [config_name] VARCHAR(255) NULL ,
  114. [VALUE] VARCHAR(255) NULL
  115. )
  116.  
  117.  
  118. GO
  119. DBCC CHECKIDENT(N'[WEB_Config]', RESEED, 8)
  120. GO
  121.  
  122. -- ----------------------------
  123. -- Records of WEB_Config
  124. -- ----------------------------
  125. BEGIN TRANSACTION
  126. GO
  127. SET IDENTITY_INSERT [WEB_Config] ON
  128. GO
  129. INSERT INTO [WEB_Config] ([id], [config_name], [VALUE]) VALUES (N'1', N'title', N'StormZ Panel'), (N'2', N'description', N'Content Manager System to StormZ Servers www.stormz.com.br'), (N'3', N'lang', N'en'), (N'4', N'app_name', N'StormZ'), (N'5', N'last_update', N'2015-07-05 02:48:15'), (N'6', N'store', N''), (N'7', N'maintenance', N'0'), (N'8', N'register', N'1')
  130. GO
  131. GO
  132. SET IDENTITY_INSERT [WEB_Config] OFF
  133. GO
  134. COMMIT TRANSACTION
  135. GO
  136.  
  137. -- ----------------------------
  138. -- Table structure for WEB_Donate
  139. -- ----------------------------
  140. DROP TABLE [WEB_Donate]
  141. GO
  142. CREATE TABLE [WEB_Donate] (
  143. [id] INT NOT NULL IDENTITY(1,1) ,
  144. [CustomerID] INT NULL ,
  145. [quantity] INT NULL ,
  146. [lastdonate] datetime NULL DEFAULT (getdate())
  147. )
  148.  
  149.  
  150. GO
  151. DBCC CHECKIDENT(N'[WEB_Donate]', RESEED, 2)
  152. GO
  153.  
  154. -- ----------------------------
  155. -- Records of WEB_Donate
  156. -- ----------------------------
  157. BEGIN TRANSACTION
  158. GO
  159. SET IDENTITY_INSERT [WEB_Donate] ON
  160. GO
  161. SET IDENTITY_INSERT [WEB_Donate] OFF
  162. GO
  163. COMMIT TRANSACTION
  164. GO
  165.  
  166. -- ----------------------------
  167. -- Table structure for WEB_Downloads
  168. -- ----------------------------
  169. DROP TABLE [WEB_Downloads]
  170. GO
  171. CREATE TABLE [WEB_Downloads] (
  172. [id] INT NOT NULL IDENTITY(1,1) ,
  173. [name] VARCHAR(100) NULL ,
  174. [description] VARCHAR(100) NULL ,
  175. [SIZE] VARCHAR(4) NULL ,
  176. [size_type] VARCHAR(2) NULL ,
  177. [url] VARCHAR(255) NULL ,
  178. [dateupdated] datetime NULL DEFAULT (getdate())
  179. )
  180.  
  181.  
  182. GO
  183.  
  184. -- ----------------------------
  185. -- Records of WEB_Downloads
  186. -- ----------------------------
  187. BEGIN TRANSACTION
  188. GO
  189. SET IDENTITY_INSERT [WEB_Downloads] ON
  190. GO
  191. SET IDENTITY_INSERT [WEB_Downloads] OFF
  192. GO
  193. COMMIT TRANSACTION
  194. GO
  195.  
  196. -- ----------------------------
  197. -- Table structure for WEB_H_Category
  198. -- ----------------------------
  199. DROP TABLE [WEB_H_Category]
  200. GO
  201. CREATE TABLE [WEB_H_Category] (
  202. [id] INT NOT NULL IDENTITY(1,1) ,
  203. [name] VARCHAR(50) NULL ,
  204. [STATUS] INT NULL
  205. )
  206.  
  207.  
  208. GO
  209.  
  210. -- ----------------------------
  211. -- Records of WEB_H_Category
  212. -- ----------------------------
  213. BEGIN TRANSACTION
  214. GO
  215. SET IDENTITY_INSERT [WEB_H_Category] ON
  216. GO
  217. SET IDENTITY_INSERT [WEB_H_Category] OFF
  218. GO
  219. COMMIT TRANSACTION
  220. GO
  221.  
  222. -- ----------------------------
  223. -- Table structure for WEB_H_Reply
  224. -- ----------------------------
  225. DROP TABLE [WEB_H_Reply]
  226. GO
  227. CREATE TABLE [WEB_H_Reply] (
  228. [id] INT NOT NULL IDENTITY(1,1) ,
  229. [TicketID] INT NULL ,
  230. [CustomerID] INT NULL ,
  231. [content] text NULL ,
  232. [attach] VARCHAR(255) NULL ,
  233. [datereply] datetime NULL DEFAULT (getdate())
  234. )
  235.  
  236.  
  237. GO
  238.  
  239. -- ----------------------------
  240. -- Records of WEB_H_Reply
  241. -- ----------------------------
  242. BEGIN TRANSACTION
  243. GO
  244. SET IDENTITY_INSERT [WEB_H_Reply] ON
  245. GO
  246. SET IDENTITY_INSERT [WEB_H_Reply] OFF
  247. GO
  248. COMMIT TRANSACTION
  249. GO
  250.  
  251. -- ----------------------------
  252. -- Table structure for WEB_H_Tickets
  253. -- ----------------------------
  254. DROP TABLE [WEB_H_Tickets]
  255. GO
  256. CREATE TABLE [WEB_H_Tickets] (
  257. [id] INT NOT NULL IDENTITY(1,1) ,
  258. [PCustomerID] INT NULL ,
  259. [ACustomerID] INT NULL ,
  260. [title] VARCHAR(255) NULL ,
  261. [content] text NULL ,
  262. [category] INT NULL ,
  263. [STATUS] INT NULL ,
  264. [lastreply] VARCHAR(255) NULL ,
  265. [replydate] datetime NULL DEFAULT '' ,
  266. [createdate] datetime NULL DEFAULT (getdate())
  267. )
  268.  
  269.  
  270. GO
  271.  
  272. -- ----------------------------
  273. -- Records of WEB_H_Tickets
  274. -- ----------------------------
  275. BEGIN TRANSACTION
  276. GO
  277. SET IDENTITY_INSERT [WEB_H_Tickets] ON
  278. GO
  279. SET IDENTITY_INSERT [WEB_H_Tickets] OFF
  280. GO
  281. COMMIT TRANSACTION
  282. GO
  283.  
  284. -- ----------------------------
  285. -- Table structure for WEB_Log
  286. -- ----------------------------
  287. DROP TABLE [WEB_Log]
  288. GO
  289. CREATE TABLE [WEB_Log] (
  290. [id] INT NOT NULL IDENTITY(1,1) ,
  291. [LogID] INT NULL ,
  292. [CustomerID] INT NULL ,
  293. [action] VARCHAR(255) NULL ,
  294. [msg] VARCHAR(255) NULL ,
  295. [datereported] datetime NULL DEFAULT (getdate())
  296. )
  297.  
  298.  
  299. GO
  300. DBCC CHECKIDENT(N'[WEB_Log]', RESEED, 58)
  301. GO
  302.  
  303. -- ----------------------------
  304. -- Records of WEB_Log
  305. -- ----------------------------
  306. BEGIN TRANSACTION
  307. GO
  308. SET IDENTITY_INSERT [WEB_Log] ON
  309. GO
  310. SET IDENTITY_INSERT [WEB_Log] OFF
  311. GO
  312. COMMIT TRANSACTION
  313. GO
  314.  
  315. -- ----------------------------
  316. -- Table structure for WEB_MyPurchases
  317. -- ----------------------------
  318. DROP TABLE [WEB_MyPurchases]
  319. GO
  320. CREATE TABLE [WEB_MyPurchases] (
  321. [id] INT NOT NULL IDENTITY(1,1) ,
  322. [donateID] INT NULL ,
  323. [packid] INT NULL ,
  324. [CustomerID] INT NULL ,
  325. [donatedate] datetime NULL DEFAULT (getdate())
  326. )
  327.  
  328.  
  329. GO
  330. DBCC CHECKIDENT(N'[WEB_MyPurchases]', RESEED, 6)
  331. GO
  332.  
  333. -- ----------------------------
  334. -- Records of WEB_MyPurchases
  335. -- ----------------------------
  336. BEGIN TRANSACTION
  337. GO
  338. SET IDENTITY_INSERT [WEB_MyPurchases] ON
  339. GO
  340. SET IDENTITY_INSERT [WEB_MyPurchases] OFF
  341. GO
  342. COMMIT TRANSACTION
  343. GO
  344.  
  345. -- ----------------------------
  346. -- Table structure for WEB_Perm_Extras
  347. -- ----------------------------
  348. DROP TABLE [WEB_Perm_Extras]
  349. GO
  350. CREATE TABLE [WEB_Perm_Extras] (
  351. [id] INT NOT NULL IDENTITY(1,1) ,
  352. [CustomerID] INT NULL ,
  353. [ban_perm] INT NULL
  354. )
  355.  
  356.  
  357. GO
  358.  
  359. -- ----------------------------
  360. -- Records of WEB_Perm_Extras
  361. -- ----------------------------
  362. BEGIN TRANSACTION
  363. GO
  364. SET IDENTITY_INSERT [WEB_Perm_Extras] ON
  365. GO
  366. SET IDENTITY_INSERT [WEB_Perm_Extras] OFF
  367. GO
  368. COMMIT TRANSACTION
  369. GO
  370.  
  371. -- ----------------------------
  372. -- Table structure for WEB_Perm_Menus
  373. -- ----------------------------
  374. DROP TABLE [WEB_Perm_Menus]
  375. GO
  376. CREATE TABLE [WEB_Perm_Menus] (
  377. [id] INT NOT NULL IDENTITY(1,1) ,
  378. [CustomerID] INT NULL ,
  379. [server_admin] INT NULL ,
  380. [web_admin] INT NULL ,
  381. [management] INT NULL
  382. )
  383.  
  384.  
  385. GO
  386. DBCC CHECKIDENT(N'[WEB_Perm_Menus]', RESEED, 2)
  387. GO
  388.  
  389. -- ----------------------------
  390. -- Records of WEB_Perm_Menus
  391. -- ----------------------------
  392. BEGIN TRANSACTION
  393. GO
  394. SET IDENTITY_INSERT [WEB_Perm_Menus] ON
  395. GO
  396. INSERT INTO [WEB_Perm_Menus] ([id], [CustomerID], [server_admin], [web_admin], [management]) VALUES (N'2', N'1000051', N'1', N'1', N'1')
  397. GO
  398. GO
  399. SET IDENTITY_INSERT [WEB_Perm_Menus] OFF
  400. GO
  401. COMMIT TRANSACTION
  402. GO
  403.  
  404. -- ----------------------------
  405. -- Table structure for WEB_Redeem_Code
  406. -- ----------------------------
  407. DROP TABLE [WEB_Redeem_Code]
  408. GO
  409. CREATE TABLE [WEB_Redeem_Code] (
  410. [id] INT NOT NULL IDENTITY(1,1) ,
  411. [code] VARCHAR(32) NULL ,
  412. [items] VARCHAR(100) NULL ,
  413. [quantity] INT NULL ,
  414. [STATUS] VARCHAR(1) NULL ,
  415. [datecreated] datetime NULL DEFAULT (getdate())
  416. )
  417.  
  418.  
  419. GO
  420. DBCC CHECKIDENT(N'[WEB_Redeem_Code]', RESEED, 9)
  421. GO
  422.  
  423. -- ----------------------------
  424. -- Records of WEB_Redeem_Code
  425. -- ----------------------------
  426. BEGIN TRANSACTION
  427. GO
  428. SET IDENTITY_INSERT [WEB_Redeem_Code] ON
  429. GO
  430. SET IDENTITY_INSERT [WEB_Redeem_Code] OFF
  431. GO
  432. COMMIT TRANSACTION
  433. GO
  434.  
  435. -- ----------------------------
  436. -- Table structure for WEB_Redeem_CodesUsed
  437. -- ----------------------------
  438. DROP TABLE [WEB_Redeem_CodesUsed]
  439. GO
  440. CREATE TABLE [WEB_Redeem_CodesUsed] (
  441. [CodeID] INT NOT NULL ,
  442. [CustomerID] INT NULL ,
  443. [code] VARCHAR(20) NULL ,
  444. [dateused] datetime NULL DEFAULT (getdate())
  445. )
  446.  
  447.  
  448. GO
  449.  
  450. -- ----------------------------
  451. -- Records of WEB_Redeem_CodesUsed
  452. -- ----------------------------
  453. BEGIN TRANSACTION
  454. GO
  455. COMMIT TRANSACTION
  456. GO
  457.  
  458. -- ----------------------------
  459. -- Table structure for WEB_Referral_Status
  460. -- ----------------------------
  461. DROP TABLE [WEB_Referral_Status]
  462. GO
  463. CREATE TABLE [WEB_Referral_Status] (
  464. [ReferralID] INT NOT NULL ,
  465. [CustomerID] INT NULL ,
  466. [STATUS] INT NULL
  467. )
  468.  
  469.  
  470. GO
  471.  
  472. -- ----------------------------
  473. -- Records of WEB_Referral_Status
  474. -- ----------------------------
  475. BEGIN TRANSACTION
  476. GO
  477. COMMIT TRANSACTION
  478. GO
  479.  
  480. -- ----------------------------
  481. -- Table structure for WEB_ServerStatus
  482. -- ----------------------------
  483. DROP TABLE [WEB_ServerStatus]
  484. GO
  485. CREATE TABLE [WEB_ServerStatus] (
  486. [id] INT NOT NULL IDENTITY(1,1) ,
  487. [status_name] VARCHAR(255) NULL ,
  488. [VALUE] VARCHAR(255) NULL
  489. )
  490.  
  491.  
  492. GO
  493.  
  494. -- ----------------------------
  495. -- Records of WEB_ServerStatus
  496. -- ----------------------------
  497. BEGIN TRANSACTION
  498. GO
  499. SET IDENTITY_INSERT [WEB_ServerStatus] ON
  500. GO
  501. INSERT INTO [WEB_ServerStatus] ([id], [status_name], [VALUE]) VALUES (N'1', N'is_online', N'1')
  502. GO
  503. GO
  504. SET IDENTITY_INSERT [WEB_ServerStatus] OFF
  505. GO
  506. COMMIT TRANSACTION
  507. GO
  508.  
  509. -- ----------------------------
  510. -- Table structure for WEB_Store_PayMethods
  511. -- ----------------------------
  512. DROP TABLE [WEB_Store_PayMethods]
  513. GO
  514. CREATE TABLE [WEB_Store_PayMethods] (
  515. [id] INT NOT NULL IDENTITY(1,1) ,
  516. [paypal] INT NULL ,
  517. [paypal_email] VARCHAR(80) NULL
  518. )
  519.  
  520.  
  521. GO
  522.  
  523. -- ----------------------------
  524. -- Records of WEB_Store_PayMethods
  525. -- ----------------------------
  526. BEGIN TRANSACTION
  527. GO
  528. SET IDENTITY_INSERT [WEB_Store_PayMethods] ON
  529. GO
  530. SET IDENTITY_INSERT [WEB_Store_PayMethods] OFF
  531. GO
  532. COMMIT TRANSACTION
  533. GO
  534.  
  535. -- ----------------------------
  536. -- Table structure for WEB_User_Info
  537. -- ----------------------------
  538. DROP TABLE [WEB_User_Info]
  539. GO
  540. CREATE TABLE [WEB_User_Info] (
  541. [CustomerID] INT NOT NULL ,
  542. [name] VARCHAR(100) NULL ,
  543. [last_name] VARCHAR(100) NULL ,
  544. [born] DATE NULL DEFAULT '' ,
  545. [last_login] datetime NULL DEFAULT '' ,
  546. [avatarProfile] VARCHAR(255) NULL ,
  547. [last_update] datetime NULL DEFAULT '' ,
  548. [secret_word] VARCHAR(50) NULL
  549. )
  550.  
  551.  
  552. GO
  553.  
  554. -- ----------------------------
  555. -- Records of WEB_User_Info
  556. -- ----------------------------
  557. BEGIN TRANSACTION
  558. GO
  559. COMMIT TRANSACTION
  560. GO
  561.  
  562. -- ----------------------------
  563. -- Table structure for WEB_UserSerial
  564. -- ----------------------------
  565. DROP TABLE [WEB_UserSerial]
  566. GO
  567. CREATE TABLE [WEB_UserSerial] (
  568. [id] INT NOT NULL IDENTITY(1,1) ,
  569. [CustomerID] INT NULL ,
  570. [email] VARCHAR(255) NULL ,
  571. [serial] VARCHAR(50) NULL ,
  572. [isUsed] INT NULL DEFAULT ((0)) ,
  573. [dateused] datetime NULL DEFAULT (getdate())
  574. )
  575.  
  576.  
  577. GO
  578. DBCC CHECKIDENT(N'[WEB_UserSerial]', RESEED, 6)
  579. GO
  580.  
  581. -- ----------------------------
  582. -- Records of WEB_UserSerial
  583. -- ----------------------------
  584. BEGIN TRANSACTION
  585. GO
  586. SET IDENTITY_INSERT [WEB_UserSerial] ON
  587. GO
  588. SET IDENTITY_INSERT [WEB_UserSerial] OFF
  589. GO
  590. COMMIT TRANSACTION
  591. GO
  592.  
  593. -- ----------------------------
  594. -- Procedure structure for WEB_AddDonate
  595. -- ----------------------------
  596. DROP PROCEDURE [WEB_AddDonate]
  597. GO
  598. CREATE PROCEDURE [WEB_AddDonate]
  599.     @in_CustomerID INT,
  600.     @in_cost INT,
  601.     @in_LastDonate datetime
  602. AS
  603. BEGIN
  604.   UPDATE WEB_Donate SET quantity=(quantity+@in_cost), lastdonate=@in_LastDonate WHERE CustomerID=@in_CustomerID
  605.     RETURN
  606. END
  607. GO
  608.  
  609. -- ----------------------------
  610. -- Indexes structure for table WEB_Bulletin
  611. -- ----------------------------
  612.  
  613. -- ----------------------------
  614. -- Primary Key structure for table WEB_Bulletin
  615. -- ----------------------------
  616. ALTER TABLE [WEB_Bulletin] ADD PRIMARY KEY ([id])
  617. GO
  618.  
  619. -- ----------------------------
  620. -- Indexes structure for table WEB_Bulletin_Category
  621. -- ----------------------------
  622.  
  623. -- ----------------------------
  624. -- Primary Key structure for table WEB_Bulletin_Category
  625. -- ----------------------------
  626. ALTER TABLE [WEB_Bulletin_Category] ADD PRIMARY KEY ([id])
  627. GO
  628.  
  629. -- ----------------------------
  630. -- Indexes structure for table WEB_Bulletin_Comment
  631. -- ----------------------------
  632.  
  633. -- ----------------------------
  634. -- Primary Key structure for table WEB_Bulletin_Comment
  635. -- ----------------------------
  636. ALTER TABLE [WEB_Bulletin_Comment] ADD PRIMARY KEY ([id])
  637. GO
  638.  
  639. -- ----------------------------
  640. -- Indexes structure for table WEB_Config
  641. -- ----------------------------
  642.  
  643. -- ----------------------------
  644. -- Primary Key structure for table WEB_Config
  645. -- ----------------------------
  646. ALTER TABLE [WEB_Config] ADD PRIMARY KEY ([id])
  647. GO
  648.  
  649. -- ----------------------------
  650. -- Indexes structure for table WEB_Donate
  651. -- ----------------------------
  652.  
  653. -- ----------------------------
  654. -- Primary Key structure for table WEB_Donate
  655. -- ----------------------------
  656. ALTER TABLE [WEB_Donate] ADD PRIMARY KEY ([id])
  657. GO
  658.  
  659. -- ----------------------------
  660. -- Indexes structure for table WEB_Downloads
  661. -- ----------------------------
  662.  
  663. -- ----------------------------
  664. -- Primary Key structure for table WEB_Downloads
  665. -- ----------------------------
  666. ALTER TABLE [WEB_Downloads] ADD PRIMARY KEY ([id])
  667. GO
  668.  
  669. -- ----------------------------
  670. -- Indexes structure for table WEB_H_Category
  671. -- ----------------------------
  672.  
  673. -- ----------------------------
  674. -- Primary Key structure for table WEB_H_Category
  675. -- ----------------------------
  676. ALTER TABLE [WEB_H_Category] ADD PRIMARY KEY ([id])
  677. GO
  678.  
  679. -- ----------------------------
  680. -- Indexes structure for table WEB_H_Reply
  681. -- ----------------------------
  682.  
  683. -- ----------------------------
  684. -- Primary Key structure for table WEB_H_Reply
  685. -- ----------------------------
  686. ALTER TABLE [WEB_H_Reply] ADD PRIMARY KEY ([id])
  687. GO
  688.  
  689. -- ----------------------------
  690. -- Indexes structure for table WEB_H_Tickets
  691. -- ----------------------------
  692.  
  693. -- ----------------------------
  694. -- Primary Key structure for table WEB_H_Tickets
  695. -- ----------------------------
  696. ALTER TABLE [WEB_H_Tickets] ADD PRIMARY KEY ([id])
  697. GO
  698.  
  699. -- ----------------------------
  700. -- Indexes structure for table WEB_Log
  701. -- ----------------------------
  702.  
  703. -- ----------------------------
  704. -- Primary Key structure for table WEB_Log
  705. -- ----------------------------
  706. ALTER TABLE [WEB_Log] ADD PRIMARY KEY ([id])
  707. GO
  708.  
  709. -- ----------------------------
  710. -- Indexes structure for table WEB_MyPurchases
  711. -- ----------------------------
  712.  
  713. -- ----------------------------
  714. -- Primary Key structure for table WEB_MyPurchases
  715. -- ----------------------------
  716. ALTER TABLE [WEB_MyPurchases] ADD PRIMARY KEY ([id])
  717. GO
  718.  
  719. -- ----------------------------
  720. -- Indexes structure for table WEB_Perm_Extras
  721. -- ----------------------------
  722.  
  723. -- ----------------------------
  724. -- Primary Key structure for table WEB_Perm_Extras
  725. -- ----------------------------
  726. ALTER TABLE [WEB_Perm_Extras] ADD PRIMARY KEY ([id])
  727. GO
  728.  
  729. -- ----------------------------
  730. -- Indexes structure for table WEB_Perm_Menus
  731. -- ----------------------------
  732.  
  733. -- ----------------------------
  734. -- Primary Key structure for table WEB_Perm_Menus
  735. -- ----------------------------
  736. ALTER TABLE [WEB_Perm_Menus] ADD PRIMARY KEY ([id])
  737. GO
  738.  
  739. -- ----------------------------
  740. -- Indexes structure for table WEB_Redeem_Code
  741. -- ----------------------------
  742.  
  743. -- ----------------------------
  744. -- Primary Key structure for table WEB_Redeem_Code
  745. -- ----------------------------
  746. ALTER TABLE [WEB_Redeem_Code] ADD PRIMARY KEY ([id])
  747. GO
  748.  
  749. -- ----------------------------
  750. -- Indexes structure for table WEB_Redeem_CodesUsed
  751. -- ----------------------------
  752.  
  753. -- ----------------------------
  754. -- Primary Key structure for table WEB_Redeem_CodesUsed
  755. -- ----------------------------
  756. ALTER TABLE [WEB_Redeem_CodesUsed] ADD PRIMARY KEY ([CodeID])
  757. GO
  758.  
  759. -- ----------------------------
  760. -- Indexes structure for table WEB_Referral_Status
  761. -- ----------------------------
  762.  
  763. -- ----------------------------
  764. -- Primary Key structure for table WEB_Referral_Status
  765. -- ----------------------------
  766. ALTER TABLE [WEB_Referral_Status] ADD PRIMARY KEY ([ReferralID])
  767. GO
  768.  
  769. -- ----------------------------
  770. -- Indexes structure for table WEB_ServerStatus
  771. -- ----------------------------
  772.  
  773. -- ----------------------------
  774. -- Primary Key structure for table WEB_ServerStatus
  775. -- ----------------------------
  776. ALTER TABLE [WEB_ServerStatus] ADD PRIMARY KEY ([id])
  777. GO
  778.  
  779. -- ----------------------------
  780. -- Indexes structure for table WEB_Store_PayMethods
  781. -- ----------------------------
  782.  
  783. -- ----------------------------
  784. -- Primary Key structure for table WEB_Store_PayMethods
  785. -- ----------------------------
  786. ALTER TABLE [WEB_Store_PayMethods] ADD PRIMARY KEY ([id])
  787. GO
  788.  
  789. -- ----------------------------
  790. -- Indexes structure for table WEB_User_Info
  791. -- ----------------------------
  792.  
  793. -- ----------------------------
  794. -- Primary Key structure for table WEB_User_Info
  795. -- ----------------------------
  796. ALTER TABLE [WEB_User_Info] ADD PRIMARY KEY ([CustomerID])
  797. GO
  798.  
  799. -- ----------------------------
  800. -- Indexes structure for table WEB_UserSerial
  801. -- ----------------------------
  802.  
  803. -- ----------------------------
  804. -- Primary Key structure for table WEB_UserSerial
  805. -- ----------------------------
  806. ALTER TABLE [WEB_UserSerial] ADD PRIMARY KEY ([id])
  807. GO
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement