CREATE TYPE JUDGE AS ENUM ('Absolute', 'Points');
CREATE TABLE users (
- id TEXT PRIMARY KEY,
+ id TEXT PRIMARY KEY,
+ passphrase TEXT NOT NULL,
+ admin BOOLEAN NOT NULL DEFAULT FALSE,
name TEXT, -- NOT NULL,
email TEXT, -- NOT NULL,
phone TEXT, -- NOT NULL,
data_type: 'text'
is_nullable: 0
+=head2 passphrase
+
+ data_type: 'text'
+ is_nullable: 0
+
+=head2 admin
+
+ data_type: 'boolean'
+ default_value: false
+ is_nullable: 0
+
=head2 name
data_type: 'text'
__PACKAGE__->add_columns(
"id",
{ data_type => "text", is_nullable => 0 },
+ "passphrase",
+ { data_type => "text", is_nullable => 0 },
+ "admin",
+ { data_type => "boolean", default_value => \"false", is_nullable => 0 },
"name",
{ data_type => "text", is_nullable => 1 },
"email",
);
-# Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-03-26 15:24:46
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:HjxrnH2QdWGaAnArZpyYMA
+# Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-04-18 20:16:26
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:r7hVLUd+6MeYZn+8I4S7Cw
# You can replace this text with custom code or comments, and it will be preserved on regeneration