Commit be4b6891 authored by Roberto P. Rubio's avatar Roberto P. Rubio
Browse files

Change default on sql

parent e46531cf
......@@ -2,7 +2,7 @@ CREATE TABLE `users` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` char(255) NOT NULL,
`password` char(255) DEFAULT NULL,
`change_password` integer DEFAULT 1,
`change_password` integer DEFAULT 0,
`is_admin` integer DEFAULT 0,
`is_temporary` integer DEFAULT 0,
`is_external` integer DEFAULT 0,
......
......@@ -2,7 +2,7 @@ CREATE TABLE `users` (
`id` integer NOT NULL PRIMARY KEY AUTOINCREMENT
, `name` char(255) NOT NULL
, `password` char(255) DEFAULT NULL
, `change_password` integer DEFAULT 1
, `change_password` integer DEFAULT 0
, `is_admin` integer DEFAULT 0
, `is_temporary` integer DEFAULT 0
, `is_external` integer DEFAULT 0
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment