diff options
| author | pepper <peppersclothescult@gmail.com> | 2014-01-20 01:20:54 -0800 |
|---|---|---|
| committer | pepper <peppersclothescult@gmail.com> | 2014-01-20 01:20:54 -0800 |
| commit | fdf32609f44dc8eb6ae291864f0d7c9e0379782f (patch) | |
| tree | df0ceafdfe241e412bbaeb56e198b6e5caee4f77 /bin/sql_build.sql | |
| parent | 5301a264c8da39a9401ab9d619477e0ea2c83dc1 (diff) | |
added cgi-bin proxy, sql stuff
Diffstat (limited to 'bin/sql_build.sql')
| -rw-r--r-- | bin/sql_build.sql | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/bin/sql_build.sql b/bin/sql_build.sql new file mode 100644 index 0000000..38f39fd --- /dev/null +++ b/bin/sql_build.sql @@ -0,0 +1,8 @@ +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 shader_ids (id int(11) AUTO_INCREMENT NOT NULL, PRIMARY KEY(id), username varchar(40)); |
