Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added apps/www/Sjekkliste_opplæring.pdf
Binary file not shown.
8 changes: 0 additions & 8 deletions apps/www/migrations/0017_lively_spacker_dave.sql

This file was deleted.

1 change: 1 addition & 0 deletions apps/www/migrations/0017_magenta_white_tiger.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ALTER TABLE `user` ADD `phone` text;
1 change: 1 addition & 0 deletions apps/www/migrations/0018_nostalgic_boomer.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ALTER TABLE `user` ADD `is_trained` integer DEFAULT false NOT NULL;
39 changes: 0 additions & 39 deletions apps/www/migrations/0018_ordinary_may_parker.sql

This file was deleted.

13 changes: 0 additions & 13 deletions apps/www/migrations/0019_charming_magik.sql

This file was deleted.

2 changes: 0 additions & 2 deletions apps/www/migrations/0020_silent_infant_terrible.sql

This file was deleted.

14 changes: 0 additions & 14 deletions apps/www/migrations/0021_broken_professor_monster.sql

This file was deleted.

10 changes: 10 additions & 0 deletions apps/www/migrations/0026_puzzling_shadowcat.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
CREATE TABLE `referral` (
`id` text PRIMARY KEY NOT NULL,
`referred_by` text NOT NULL,
`referred` text NOT NULL,
`status` text DEFAULT 'pending' NOT NULL,
`created_at` integer NOT NULL,
`completed_at` integer,
FOREIGN KEY (`referred_by`) REFERENCES `user`(`id`) ON UPDATE no action ON DELETE no action,
FOREIGN KEY (`referred`) REFERENCES `user`(`id`) ON UPDATE no action ON DELETE no action
);
7 changes: 7 additions & 0 deletions apps/www/migrations/0027_nice_bushwacker.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
CREATE TABLE `producers` (
`id` text PRIMARY KEY NOT NULL,
`name` text NOT NULL,
`image_id` text,
`created_at` text NOT NULL,
`updated_at` text NOT NULL
);
1 change: 1 addition & 0 deletions apps/www/migrations/0028_youthful_absorbing_man.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ALTER TABLE `user` ADD `training_completed` integer DEFAULT false NOT NULL;
1 change: 1 addition & 0 deletions apps/www/migrations/0029_rename_training_column.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ALTER TABLE `user` DROP COLUMN `training_completed`;
Loading
Loading