Lukas Halbritter
494c5cf47c
Set the foreign key person_targets->person_id from 'on delete restrict' to 'on
...
delete cascade', since it should be possible to delete a person which is even
and has paid all debts.
Before showing the delete confirmation dialog, it is checked, if there is any
open target.
2018-09-25 15:20:19 +02:00
Lukas Halbritter
b38d7ea54e
Added factory and seeder for sub-bookings.
2018-09-20 16:48:56 +02:00
Lukas Halbritter
204e7527bd
Added seeders for members-states and person targets.
2018-09-14 09:53:01 +02:00
Lukas Halbritter
f394ed773b
Changed foreign key id field name in person_targets and account_classes from
...
'io_type' to 'io_type_id'.
Implemented PersonTarget factory.
2018-09-13 16:04:40 +02:00
Lukas Halbritter
562cbe6b9a
Merge branch 'people' of ssh://halbi.ddnss.de:2122/media/raid/repositories/pollux into people
2018-09-12 11:57:23 +02:00
Lukas Halbritter
b66aaa9566
Added some seeders.
2018-09-12 11:57:04 +02:00
Lukas Halbritter
15c32209b2
Added model factories for the remaining models.
2018-09-12 11:56:28 +02:00
goldnead
4001e4c5b3
Merge branch 'people' of ssh://halbi.ddnss.de:2122/media/raid/repositories/pollux into people
2018-09-12 11:29:43 +02:00
Lukas Halbritter
6ff2da68ed
The PersonFactory is now using factory states to decide if male, female or
...
company.
2018-09-12 10:23:09 +02:00
vagrant
4154c68111
added member-state seeds without checking for birthdates
2018-09-11 22:23:46 +00:00
Lukas Halbritter
da2dfc1701
Commented out the member states section in the people table seeder to please
...
Adrian ;-)
2018-09-11 21:30:09 +02:00
Lukas Halbritter
1a71c405fb
Added empty MemberState factory.
...
Don't forget to use states in the Person factory.
2018-09-11 18:30:45 +02:00
Lukas Halbritter
003ff1435a
Added person factory.
...
Fixed missing comma in TestProjectsTableSeeder.
2018-09-11 15:51:45 +02:00
Lukas Halbritter
1f44202faf
Added seeds for projects table.
2018-09-11 11:40:17 +02:00
Lukas Halbritter
f59ee5247a
Added some test persons and member-states to the seeders.
2018-09-11 11:04:57 +02:00
Lukas Halbritter
3860b5b187
Fixed typo.
2018-09-11 10:55:58 +02:00
Lukas Halbritter
cceec0a6bb
Completed seeder for the account types table.
2018-09-11 10:53:06 +02:00
Lukas Halbritter
276e617b62
Added seeder for account types and account classes.
2018-09-10 12:33:20 +02:00
Lukas Halbritter
5bdb4bf502
Changed scope column name to scope_id in table account_classes.
2018-09-10 12:01:19 +02:00
Lukas Halbritter
965d40c178
Added number column to account classes table.
2018-09-10 11:59:33 +02:00
Lukas Halbritter
7008b54f2c
Added seeders and seeder folder structure.
2018-09-10 11:36:51 +02:00
Lukas Halbritter
dd184c227f
Changed io_type to i_o_type in the foreign key definitions of person targets
...
and account classes.
2018-09-09 11:55:56 +02:00
Lukas Halbritter
a4e4025cd4
Set default for the birthday of a person to null.
2018-09-09 11:52:50 +02:00
Lukas Halbritter
cb0cfacced
Removed merged files from last commit.
2018-09-09 11:46:42 +02:00
Lukas Halbritter
ab3339bc0e
Merged migration files.
2018-09-09 11:44:00 +02:00
Lukas Halbritter
c44ae86dc9
Merge branch 'dev' into people
2018-09-09 10:57:19 +02:00
Lukas Halbritter
39cff71700
Merge branch 'migrations' into dev
2018-09-09 10:56:50 +02:00
Lukas Halbritter
3c772423bb
Added factor field ot i_o_types table.
...
Added seeders for i_o_types and scopes tables.
2018-09-09 10:55:32 +02:00
Lukas Halbritter
bef4571b99
Changed table name 'io_types' to 'i_o_types'.
...
Changed field name 'type' to 'name' in i_o_types table.
2018-09-09 10:05:35 +02:00
Lukas Halbritter
291e227a2a
Made notes column in table bookings nullable.
2018-09-08 12:22:37 +02:00
Lukas Halbritter
cdba55315d
Added a PeopleController.
...
Added a basic route to the index page of all people.
Added views and controller for this purpose.
2018-09-07 22:50:36 +02:00
Lukas Halbritter
b01762fdfb
Added sub-bookings model and migration.
2018-09-07 14:06:29 +02:00
Lukas Halbritter
524378dcae
Added account types model and migration.
2018-09-07 12:26:52 +02:00
Lukas Halbritter
3cf3075292
Added bookings migration and model.
2018-09-07 12:20:43 +02:00
Lukas Halbritter
3d8681ecf8
Changed migration order to avoid creating foreign keys to tables which do not
...
exist.
2018-09-07 12:12:34 +02:00
Lukas Halbritter
d00b21fa0d
Added member state migration and model.
2018-09-07 10:41:16 +02:00
Lukas Halbritter
f62a100376
Added account_classes migration and model.
2018-09-07 10:35:38 +02:00
Lukas Halbritter
eb820c58b2
Added scope migration and vertice in the model diagram.
2018-09-07 10:33:02 +02:00
Lukas Halbritter
cc111ca2ed
Added IO_type migration.
...
Changed person_targets migration to use a foreign key to the io_types table
instead of an enum.
2018-09-07 10:15:07 +02:00
Lukas Halbritter
9a1983d42f
Solved rollback problem in create_people_table (foreign key problem).
2018-09-04 00:29:32 +02:00
Lukas Halbritter
acca76f814
Added migration for projects table.
2018-09-03 17:02:30 +02:00
Lukas Halbritter
18e27144e7
Added person_target migration.
2018-09-03 15:24:07 +02:00
Lukas Halbritter
3fc303e815
Added people migration.
2018-09-03 11:15:44 +02:00
Lukas Halbritter
8d09512669
Initial commit. Just a fresh laravel install.
2018-09-02 18:46:37 +02:00