Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #12 from gabriel403/hotfix-b5

b5 fixes and sqlite db schema
  • Loading branch information...
commit 7f074ff1ba8397bdbc75c76677affa49bbc3628a 2 parents 073ede2 + 2838765
@bjyoungblood authored
Showing with 13 additions and 0 deletions.
  1. +13 −0 data/schema.sqlite.sql
View
13 data/schema.sqlite.sql
@@ -0,0 +1,13 @@
+kkCREATE TABLE IF NOT EXISTS `user_role` (
+ `role_id` VARCHAR(255) NOT NULL,
+ `default` TINYINT(1) NOT NULL,
+ `parent` VARCHAR(255) DEFAULT NULL,
+ PRIMARY KEY (`role_id`)
+);
+
+CREATE TABLE IF NOT EXISTS `user_role_linker` (
+ `user_id` INTEGER NOT NULL,
+ `role_id` VARCHAR(255) NOT NULL,
+ PRIMARY KEY (`user_id`,`role_id`)
+);
+

0 comments on commit 7f074ff

Please sign in to comment.
Something went wrong with that request. Please try again.