Commit 81e95bec by Thomas Pfuhl

minor changes

parent 57c61702
......@@ -4,13 +4,14 @@ locale='en'
# do not use quotes, value must be downcase and may not contain blanks
GDM_NAME=my_data_module
GDM_MAIN_TABLE=projects
GDM_MAIN_TABLE=my_main_table
GDM_DATAMODEL_VERSION=v0_1
GDM_TITLE="My Data Module"
GDM_HOME=/usr/share/app
GDM_PROTOCOL=http
GDM_URL=mydatamodule.gdm.code.naturkundemuseum.berlin
GDM_PORT=80
GDM_INSTITUTION="Museum für Naturkunde Berlin"
GDM_COPYRIGHT="Copyright 2017 Museum für Naturkunde Berlin"
GDM_MANAGER_NAME="John Doe"
......@@ -20,16 +21,16 @@ GDM_MANAGER_EMAIL=john.doe@mfn.berlin
GDM_AUTHORS="John Doe, Erika Mustermann"
# if you change the initial data model, update the excluded tables
SYSTEM_EXCLUDED_TABLES=oauth_identities,gdm_aggregations,languages,users,password_resets,permissions,permission_role,roles,role_user,migrations,DATABASECHANGELOG,DATABASECHANGELOCK
SYSTEM_EXCLUDED_TABLES=oauth_identities,gdm_aggregations,languages,users,password_resets,permissions,permission_role,roles,role_user,migrations,DATABASECHANGELOG,DATABASECHANGELOGLOCK
GDM_EXCLUDED_TABLES=
# local DB
# DB
DB_CONNECTION=mysql
DB_HOST=localhost
DB_DATABASE=my_data_module
DB_USERNAME=root
DB_PASSWORD=xxx
DB_USERNAME=my_db_username
DB_PASSWORD=my_db_password
# keycloak server
KEYCLOAK_SERVER=http://keycloak.server.local:8080
......
......@@ -5,5 +5,6 @@ CREATE TABLE `products` (
`unit` varchar(200) DEFAULT NULL,
`number` int(10) unsigned DEFAULT '0',
`bought_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
`user_id` int(10) unsigned DEFAULT 0,
PRIMARY KEY (`id`)
) ENGINE InnoDB AUTO_INCREMENT 1 DEFAULT CHARACTER SET utf8 COMMENT 'products table';
......@@ -6,7 +6,7 @@ class UserTableSeeder extends Seeder {
public function run() {
DB::table('users')->delete();
//DB::table('users')->delete();
\App\User::create([
'name' => 'Administrator',
......
/home/pfuhl/gdm_instances/gdm20180502/
\ No newline at end of file
Markdown is supported
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