From b7f25faab88480f14adfe855192291867b2d7b05 Mon Sep 17 00:00:00 2001
From: pepper <peppersclothescult@gmail.com>
Date: Tue, 21 Jan 2014 01:01:19 -0800
Subject: changed sql username to varchar

---
 bin/sql_build.sql | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'bin/sql_build.sql')

diff --git a/bin/sql_build.sql b/bin/sql_build.sql
index 38f39fd..cab13c0 100644
--- a/bin/sql_build.sql
+++ b/bin/sql_build.sql
@@ -2,7 +2,7 @@ create database IF NOT EXISTS asdfus;
 grant all privileges on asdfus.* to 'asdfus'@'localhost' identified by 'gTYgT&M6q';
 flush privileges;
 use asdfus;
-select * from INFORMATION_SCHEMA.TABLES where table_name = "shaders" and table_schema = "asdfus" ;
-create table IF NOT EXISTS shaders (id int(11) AUTO_INCREMENT NOT NULL, PRIMARY KEY(id), script blob, image_url blob, thumbnail_url varchar(50), username blob, time bigint(20) NOT NULL, shader_id int(11));
+create table IF NOT EXISTS shaders (id int(11) AUTO_INCREMENT NOT NULL, PRIMARY KEY(id), script blob, image_url blob, thumbnail_url varchar(50), username varchar(30), time bigint(20) NOT NULL, shader_id int(11));
 
 create table IF NOT EXISTS shader_ids (id int(11) AUTO_INCREMENT NOT NULL, PRIMARY KEY(id), username varchar(40));
+alter table shaders modify username varchar(30);
-- 
cgit v1.2.3-70-g09d2

