You've already forked AstralRinth
forked from didirus/AstralRinth
Authenticate protected routes
This commit is contained in:
3
migrations/20200928195220_add-roles-to-users.sql
Normal file
3
migrations/20200928195220_add-roles-to-users.sql
Normal file
@@ -0,0 +1,3 @@
|
||||
-- Add migration script here
|
||||
ALTER TABLE users
|
||||
ADD COLUMN role varchar(50) NOT NULL default 'developer'
|
||||
3
migrations/20200929034101_add-author-to-versions.sql
Normal file
3
migrations/20200929034101_add-author-to-versions.sql
Normal file
@@ -0,0 +1,3 @@
|
||||
-- Add migration script here
|
||||
ALTER TABLE versions
|
||||
ADD COLUMN author_id bigint REFERENCES users NOT NULL default 0
|
||||
Reference in New Issue
Block a user