diff options
Diffstat (limited to 'bin/sql_build.sql')
| -rw-r--r-- | bin/sql_build.sql | 4 |
1 files changed, 2 insertions, 2 deletions
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); |
