Why is this an integer and not a boolean? Is that just for future proofing
if we convert to an enum instead of a binary?
On Jun 24, 2013 1:26 AM, "David Fowler" <notifications@github.com> wrote:

> In JabbR/Migrations/201306240509060_EnhanceChatUserBanFlag.cs:
>
> > @@ -0,0 +1,21 @@
> > +namespace JabbR.Models.Migrations
> > +{
> > +    using System;
> > +    using System.Data.Entity.Migrations;
> > +
> > +    public partial class EnhanceChatUserBanFlag : DbMigration
> > +    {
> > +        public override void Up()
> > +        {
> > +            AddColumn("dbo.ChatUsers", "BanStatus", c => c.Int(nullable: false));
> > +            Sql("UPDATE dbo.ChatUsers SET BanStatus = CASE WHEN IsBanned = '1' THEN '1' ELSE '0' END");
>
> This better work on sql azure [image: :smile:]
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/JabbR/JabbR/pull/908/files#r4836235>
> .
>