This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
_id: uint, //gives us format :101123 for replies, etc | |
owner_id: int, | |
text: String, | |
room: int, // id of room | |
starred: [user_id], // ids of users | |
flagged: [user_id], // ids of users | |
timestamp: timestamp, // all timestamps are in unix from UTC | |
deleted: timestamp, // null indicates not deleted | |
deletedBy: user_id, // indicates who deleted the message |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
_id: uint, //gives us format :101123 for replies, etc | |
owner_id: int, | |
text: String, | |
room: int, // id of room | |
starred: [user_id], // ids of users | |
flagged: [user_id], // ids of users | |
timestamp: timestamp, // all timestamps are in unix from UTC | |
deleted: timestamp, // null indicates not deleted | |
deletedBy: user_id, // indicates who deleted the message |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Console.WriteLine('test'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.IO; | |
using System.Data; | |
using System.Data.Sql; | |
using System.Data.SqlTypes; | |
using System.Data.SqlClient; | |
using System.Configuration; |