diff --git a/.github/workflows/deploy-docker.yml b/.github/workflows/deploy-docker.yml index e97a16a..55580fb 100644 --- a/.github/workflows/deploy-docker.yml +++ b/.github/workflows/deploy-docker.yml @@ -142,8 +142,6 @@ jobs: TARGET_COMPOSE="" fi - # Submodule update removed for faster VPS deployments - if command -v "docker" >/dev/null 2>&1 && docker compose version >/dev/null 2>&1; then COMPOSE_CMD="docker compose" elif command -v docker-compose >/dev/null 2>&1; then @@ -154,8 +152,6 @@ jobs: fi # Construct compose arguments - docker rm -f imphenbot-app || true - if [ -n "$TARGET_COMPOSE" ]; then COMPOSE_ARGS="" for f in $TARGET_COMPOSE; do @@ -196,10 +192,6 @@ jobs: echo "🧹 Clearing Git locks..." rm -f .git/shallow.lock || true - # Cooldown to allow daemon to settle (optional but kept for safety) - # echo "⏳ Waiting for Docker daemon to settle..." - # sleep 2 - echo "🧹 Removing stale target containers by container_name..." # Extract all explicitly defined container_names from compose files and remove them to prevent conflicts if [ -n "$TARGET_COMPOSE" ]; then @@ -235,20 +227,3 @@ jobs: fi EOF -# - name: Restart coolify-proxy (delay 1 min) -# env: -# SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }} -# VPS_HOST: ${{ secrets.VPS_HOST }} -# VPS_USER: ${{ secrets.VPS_USER }} -# run: | -# mkdir -p ~/.ssh -# echo "$SSH_PRIVATE_KEY" > ~/.ssh/id_rsa -# chmod 600 ~/.ssh/id_rsa -# ssh-keyscan -H "$VPS_HOST" >> ~/.ssh/known_hosts -# -# echo "⏳ Waiting 60s for containers to settle before restarting proxy..." -# sleep 60 -# -# echo "πŸ”„ Restarting coolify-proxy..." -# ssh "${VPS_USER}@${VPS_HOST}" "docker restart coolify-proxy" -# echo "βœ… coolify-proxy restarted." diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index c43e48d..b0196da 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -5,15 +5,15 @@ on: pull_request: branches: [main] paths: - - 'apps/*/src/**/*.ts' - - 'apps/*/src/**/*.tsx' - 'biome.json' + - '*.json' + - '*.js' push: branches: [main] paths: - - 'apps/*/src/**/*.ts' - - 'apps/*/src/**/*.tsx' - 'biome.json' + - '*.json' + - '*.js' jobs: biome: @@ -23,8 +23,6 @@ jobs: - uses: actions/checkout@v6 with: submodules: recursive - - uses: actions/setup-node@v4 - with: - node-version: 22 - - run: npm install -g @biomejs/biome - - run: biome ci . --no-errors-on-unmatched + - uses: oven-sh/setup-bun@v2 + - run: bun install --frozen-lockfile + - run: bun run ci diff --git a/.gitignore b/.gitignore index 5478ff4..9377110 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,3 @@ -apps/gmw/ # See https://docs.github.com/en/get-started/getting-started-with-git/ignoring-files for more about ignoring files. # compiled output diff --git a/.nvmrc b/.nvmrc deleted file mode 100644 index 7af24b7..0000000 --- a/.nvmrc +++ /dev/null @@ -1 +0,0 @@ -22.11.0 diff --git a/CHANGELOG.md b/CHANGELOG.md index 5587792..da8e0fc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,8 +12,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Restructured the repository into a lightweight hub repo with standalone app submodules. - Simplified root tooling to plain `package.json` scripts and per-service commands. - Kept infrastructure, deployment workflows, and documentation in the root hub repo. +- Cleaned up Traefik SSL config: removed legacy `asephstech`/`asephscloud` cert references, synced volume mounts, fixed `api.insecure`. +- Pruned `.env.example` from 145 legacy vars (Firebase, Discord, Coolify, Portainer, YouTube, etc.) to 30 focused vars. +- Optimized `scraper.Dockerfile`: removed Node.js and Chromium from runtime image. +- Simplified CI/CD workflows: removed orphan container reference, commented code blocks. +- Cleaned up scripts: removed stale MySQL config, fixed package references, simplified update-deps. ### Removed - Removed deprecated services from apps, compose files, Dockerfiles, Traefik routes, and workflows. - Removed stale monorepo orchestration configs and hook tooling from the root repo. +- Removed `.nvmrc` (duplicate of `.node-version`), `renovate.json` (using dependabot). +- Removed stale documentation: `dependency-map.md`, `observability.md`, `handoff-log.jsonl`, `quality-gates.json`, `workflow-state.json`. +- Removed deprecated `docs/superpowers/` design docs. +- Removed `infra/config/mysql/` (no active MySQL service) and `docs/config/squid.conf.archived`. diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 0adf438..6810afd 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -14,7 +14,7 @@ ## Prerequisites - **Git** with LFS support -- **Node.js** >= 22.11.0 (via `.node-version` or `.nvmrc`) +- **Node.js** >= 22.11.0 (via `.node-version`) - **Bun** >= 1.3.11 (package manager) - **Docker** and **Docker Compose** (for shared infrastructure) diff --git a/Makefile b/Makefile index c10ce6b..fdafbd2 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -.PHONY: help dev lint format test clean update-submodules deploy init-submodules status +.PHONY: help dev update-submodules deploy init-submodules status SHELL := /bin/bash @@ -8,16 +8,6 @@ help: ## Show this help dev: ## Start development infrastructure (Redis etc.) docker compose -f infra/compose/shared.yml up -d -lint: ## Run Biome linter - biome lint . - -format: ## Format code with Biome - biome format --write . - -clean: ## Clean build artifacts - rm -rf apps/*/dist apps/*/.next apps/*/target 2>/dev/null || true - rm -rf node_modules 2>/dev/null || true - update-submodules: ## Update all git submodules to latest remote git submodule update --remote --merge --recursive diff --git a/README.md b/README.md index 434f704..54cab6d 100644 --- a/README.md +++ b/README.md @@ -176,6 +176,3 @@ Panduan langkah demi langkah untuk menambahkan aplikasi baru ada di `docs/add-ne ## License MIT - -# PR-Agent V3 Test -Testing with corrected model prefix. diff --git a/docs/config/squid.conf.archived b/docs/config/squid.conf.archived deleted file mode 100644 index 42e9cc5..0000000 --- a/docs/config/squid.conf.archived +++ /dev/null @@ -1,39 +0,0 @@ -# Squid Proxy Configuration (Archived) - -**Status**: Archived; not referenced by active infrastructure. - -**Date archived**: 2026-06-04 - -**Original location**: `infra/squid.conf` - -**Reason**: No active Docker Compose service mounts or starts Squid. The config is preserved here for reference if Squid proxying is restored later. - -## Original configuration - -```squid -# Allow localhost access only -acl localhost src 127.0.0.1/32 ::1/128 -http_access allow localhost - -# Allow Docker bridge subnets (Adjusted for our expected subnets) -acl docker_bridge src 172.16.0.0/12 -http_access allow docker_bridge - -# Deny all other access -http_access deny all - -# Standard port - Explicitly bind to all interfaces -http_port 0.0.0.0:3128 - -# Hide source info -forwarded_for off -via off -``` - -## Restore checklist - -1. Copy this config back to `infra/squid.conf`. -2. Add a Squid service to an active compose file. -3. Mount the config into the Squid container. -4. Document which services should use the proxy. -5. Validate network exposure and authentication before production use. diff --git a/docs/superpowers/plans/2026-05-24-moonrepo-migration.md b/docs/superpowers/plans/2026-05-24-moonrepo-migration.md deleted file mode 100644 index 72a935c..0000000 --- a/docs/superpowers/plans/2026-05-24-moonrepo-migration.md +++ /dev/null @@ -1,686 +0,0 @@ -# Moonrepo Migration Implementation Plan - -> **For agentic workers:** REQUIRED SUB-SKILL: Use superpowers:subagent-driven-development (recommended) or superpowers:executing-plans to implement this plan task-by-task. Steps use checkbox (`- [ ]`) syntax for tracking. - -**Goal:** Migrate the monorepo to moonrepo for centralized task orchestration, caching, and consistent dependency management across all 7 apps. - -**Architecture:** moonrepo sits as a task orchestration layer above the existing Nix build system. `.moon/tasks/` holds shared task definitions (TypeScript and Rust). Each app gets a `moon.yml` with tags and inter-project dependencies. Nix, Docker Compose, git submodules, and infra remain untouched. - -**Tech Stack:** moonrepo CLI, Node 22, Bun, TypeScript 5+, Cargo (Rust) - ---- - -### Task 1: Install moonrepo CLI and scaffold .moon/ directory - -**Files:** -- Create: `.moon/workspace.yml` -- Create: `.moon/toolchain.yml` -- Create: `.moon/tasks/` (directory) - -- [ ] **Step 1: Install moonrepo CLI via curl** - -```bash -curl -fsSL https://moonrepo.dev/install/moon.sh | bash -``` - -- [ ] **Step 2: Verify installation** - -Run: `moon --version` -Expected: prints version number (e.g., `moon 1.x.x`) - -- [ ] **Step 3: Create .moon/ scaffold directories** - -```bash -mkdir -p .moon/tasks -``` - -- [ ] **Step 4: Commit** - -```bash -git add .moon/ -git commit -m "chore: scaffold .moon/ directory for moonrepo" -``` - ---- - -### Task 2: Configure workspace.yml - -**Files:** -- Create: `.moon/workspace.yml` - -- [ ] **Step 1: Write .moon/workspace.yml** - -```yaml -# https://moonrepo.dev/docs/config/workspace -$schema: "https://moonrepo.dev/schemas/workspace.json" - -projects: - - "apps/*" - -vcs: - manager: "git" - defaultBranch: "main" - -runner: - implicitDeps: - # TypeScript apps: lint depends on build (for typecheck path) - - "typescript-build.build" - - cacheTtl: 604800 -``` - -- [ ] **Step 2: Validate config structure** - -Run: `moon check` -Expected: no errors (will warn about missing project configs β€” expected) - -- [ ] **Step 3: Commit** - -```bash -git add .moon/workspace.yml -git commit -m "chore: configure moonrepo workspace with project glob" -``` - ---- - -### Task 3: Configure toolchain.yml - -**Files:** -- Create: `.moon/toolchain.yml` - -- [ ] **Step 1: Write .moon/toolchain.yml** - -```yaml -# https://moonrepo.dev/docs/config/toolchain -$schema: "https://moonrepo.dev/schemas/toolchain.json" - -node: - version: "22.11.0" - packageManager: "bun" - bun: - version: "1.3.11" - -typescript: - syncProjectReferences: true - createMissingConfig: false - routeOutDirToCache: false -``` - -- [ ] **Step 2: Commit** - -```bash -git add .moon/toolchain.yml -git commit -m "chore: configure moonrepo toolchain (Node 22, Bun 1.3)" -``` - ---- - -### Task 4: Create shared TypeScript task definitions - -**Files:** -- Create: `.moon/tasks/typescript-build.yml` -- Create: `.moon/tasks/typescript-lint.yml` -- Create: `.moon/tasks/typescript-test.yml` - -- [ ] **Step 1: Write .moon/tasks/typescript-build.yml** - -```yaml -# https://moonrepo.dev/docs/config/tasks -$schema: "https://moonrepo.dev/schemas/tasks.json" - -tasks: - build: - command: "bun run build" - inputs: - - "src/**/*" - - "tsconfig.json" - - "package.json" - outputs: - - ".next" - - "dist" - - ".output" - options: - cache: true - dev: - command: "bun run dev" - local: true - options: - persistent: true -``` - -- [ ] **Step 2: Write .moon/tasks/typescript-lint.yml** - -```yaml -# https://moonrepo.dev/docs/config/tasks -$schema: "https://moonrepo.dev/schemas/tasks.json" - -tasks: - lint: - command: "bun run lint" - inputs: - - "src/**/*" - - "eslint.config.mjs" - - "tsconfig.json" - options: - cache: false - typecheck: - command: "bun run check-types" - inputs: - - "src/**/*" - - "tsconfig.json" - options: - cache: false -``` - -- [ ] **Step 3: Write .moon/tasks/typescript-test.yml** - -```yaml -# https://moonrepo.dev/docs/config/tasks -$schema: "https://moonrepo.dev/schemas/tasks.json" - -tasks: - test: - command: "bun test" - inputs: - - "src/**/*" - - "test/**/*" - - "tests/**/*" - - "vitest.config.ts" - options: - cache: false - e2e: - command: "noop" - local: true - options: - cache: false -``` - -- [ ] **Step 4: Commit** - -```bash -git add .moon/tasks/typescript-build.yml .moon/tasks/typescript-lint.yml .moon/tasks/typescript-test.yml -git commit -m "chore: add shared TypeScript task definitions" -``` - ---- - -### Task 5: Create shared Rust task definitions - -**Files:** -- Create: `.moon/tasks/rust-build.yml` -- Create: `.moon/tasks/rust-test.yml` -- Create: `.moon/tasks/rust-lint.yml` - -- [ ] **Step 1: Write .moon/tasks/rust-build.yml** - -```yaml -# https://moonrepo.dev/docs/config/tasks -$schema: "https://moonrepo.dev/schemas/tasks.json" - -tasks: - build: - command: "cargo build --release" - platform: system - inputs: - - "src/**/*" - - "Cargo.toml" - - "Cargo.lock" - - "build.rs" - outputs: - - "target/release/*" - options: - cache: true - envFile: false - dev: - command: "cargo run" - platform: system - local: true - options: - persistent: true - envFile: false -``` - -- [ ] **Step 2: Write .moon/tasks/rust-test.yml** - -```yaml -# https://moonrepo.dev/docs/config/tasks -$schema: "https://moonrepo.dev/schemas/tasks.json" - -tasks: - test: - command: "cargo test" - platform: system - inputs: - - "src/**/*" - - "Cargo.toml" - - "Cargo.lock" - - "tests/**/*" - options: - cache: false - envFile: false -``` - -- [ ] **Step 3: Write .moon/tasks/rust-lint.yml** - -```yaml -# https://moonrepo.dev/docs/config/tasks -$schema: "https://moonrepo.dev/schemas/tasks.json" - -tasks: - lint: - command: "cargo clippy -- -D warnings" - platform: system - inputs: - - "src/**/*" - - "Cargo.toml" - options: - cache: false - envFile: false - fmt-check: - command: "cargo fmt --check" - platform: system - inputs: - - "src/**/*" - options: - cache: false - envFile: false -``` - -- [ ] **Step 4: Commit** - -```bash -git add .moon/tasks/rust-build.yml .moon/tasks/rust-test.yml .moon/tasks/rust-lint.yml -git commit -m "chore: add shared Rust task definitions" -``` - ---- - -### Task 6: Create per-app moon.yml for TypeScript apps - -**Files:** -- Create: `apps/nextjs/moon.yml` -- Create: `apps/elysia/moon.yml` -- Create: `apps/solidjs/moon.yml` - -- [ ] **Step 1: Write apps/nextjs/moon.yml** - -```yaml -# https://moonrepo.dev/docs/config/project -$schema: "https://moonrepo.dev/schemas/project.json" - -type: "application" -language: "typescript" -platform: "node" -tags: - - "lang:typescript" - - "type:frontend" - -dependsOn: - - id: "rust-auth" - - id: "elysia" -``` - -- [ ] **Step 2: Write apps/elysia/moon.yml** - -```yaml -# https://moonrepo.dev/docs/config/project -$schema: "https://moonrepo.dev/schemas/project.json" - -type: "application" -language: "typescript" -platform: "bun" -tags: - - "lang:typescript" - - "type:backend" -``` - -- [ ] **Step 3: Write apps/solidjs/moon.yml** - -```yaml -# https://moonrepo.dev/docs/config/project -$schema: "https://moonrepo.dev/schemas/project.json" - -type: "application" -language: "typescript" -platform: "bun" -tags: - - "lang:typescript" - - "type:frontend" - -dependsOn: - - id: "elysia" - - id: "rust-auth" -``` - -- [ ] **Step 4: Commit** - -```bash -git add apps/nextjs/moon.yml apps/elysia/moon.yml apps/solidjs/moon.yml -git commit -m "chore: add moon.yml for TypeScript apps (nextjs, elysia, solidjs)" -``` - ---- - -### Task 7: Create per-app moon.yml for Rust apps - -**Files:** -- Create: `apps/rust/moon.yml` -- Create: `apps/rust-auth/moon.yml` -- Create: `apps/leptos/moon.yml` - -- [ ] **Step 1: Write apps/rust/moon.yml** - -```yaml -# https://moonrepo.dev/docs/config/project -$schema: "https://moonrepo.dev/schemas/project.json" - -type: "application" -language: "rust" -platform: "system" -tags: - - "lang:rust" - - "type:backend" - -fileGroups: - sources: - - "src/**/*.rs" - - "Cargo.toml" - - "Cargo.lock" - - "build.rs" - - "rustfmt.toml" -``` - -- [ ] **Step 2: Write apps/rust-auth/moon.yml** - -```yaml -# https://moonrepo.dev/docs/config/project -$schema: "https://moonrepo.dev/schemas/project.json" - -type: "application" -language: "rust" -platform: "system" -tags: - - "lang:rust" - - "type:backend" - -fileGroups: - sources: - - "src/**/*.rs" - - "Cargo.toml" - - "Cargo.lock" -``` - -- [ ] **Step 3: Write apps/leptos/moon.yml** - -```yaml -# https://moonrepo.dev/docs/config/project -$schema: "https://moonrepo.dev/schemas/project.json" - -type: "application" -language: "rust" -platform: "system" -tags: - - "lang:rust" - - "type:frontend" - -dependsOn: - - id: "rust" - -fileGroups: - sources: - - "src/**/*.rs" - - "Cargo.toml" - - "Cargo.lock" - - "Trunk.toml" - - "rust-toolchain.toml" -``` - -- [ ] **Step 4: Commit** - -```bash -git add apps/rust/moon.yml apps/rust-auth/moon.yml apps/leptos/moon.yml -git commit -m "chore: add moon.yml for Rust apps (rust, rust-auth, leptos)" -``` - ---- - -### Task 8: Create moon.yml for 9router - -**Files:** -- Create: `apps/9router/moon.yml` - -- [ ] **Step 1: Write apps/9router/moon.yml** - -```yaml -# https://moonrepo.dev/docs/config/project -$schema: "https://moonrepo.dev/schemas/project.json" - -type: "application" -language: "unknown" -platform: "system" -tags: - - "type:router" - -fileGroups: - sources: - - "src/**/*" - - "next.config.mjs" - - "package.json" -``` - -- [ ] **Step 2: Commit** - -```bash -git add apps/9router/moon.yml -git commit -m "chore: add moon.yml for 9router" -``` - ---- - -### Task 9: Update flake.nix β€” add moon CLI to devShell - -**Files:** -- Modify: `flake.nix` - -- [ ] **Step 1: Add moon to nativeBuildInputs in flake.nix** - -Find the `devShells.default` block in `flake.nix`. Add `moon` to `nativeBuildInputs`: - -``` -devShells.default = pkgs.mkShell { - name = "ultimate-asepharyana-dev"; - nativeBuildInputs = with pkgs; [ - rustToolchain - bun - nodejs_22 - pkg-config - openssl - trunk - wasm-bindgen-cli - binaryen - process-compose - mysql84 - redis - minio-client - gh - git - moon # <-- add this line - ]; - # ... shellHook unchanged -}; -``` - -- [ ] **Step 2: Verify Nix can still evaluate the flake** - -Run: `nix flake check --no-build 2>&1 | head -20` -Expected: no evaluation errors - -- [ ] **Step 3: Commit** - -```bash -git add flake.nix -git commit -m "chore: add moon CLI to Nix devShell" -``` - ---- - -### Task 10: Update .gitignore - -**Files:** -- Modify: `.gitignore` - -- [ ] **Step 1: Add moonrepo cache entries to .gitignore** - -Append to `.gitignore`: - -```gitignore -# moonrepo -.moon/cache -.~moon -``` - -- [ ] **Step 2: Commit** - -```bash -git add .gitignore -git commit -m "chore: add moonrepo cache entries to .gitignore" -``` - ---- - -### Task 11: Validate installation with moon check - -**Files:** (none β€” validation only) - -- [ ] **Step 1: Run moon check** - -```bash -moon check -``` - -Expected: `OK` or zero errors. If warnings about unresolved project IDs appear, verify that `apps/*` glob in `workspace.yml` matches all project directories. - -- [ ] **Step 2: Run moon query projects** - -```bash -moon query projects -``` - -Expected: lists all 7 projects with their tags: nextjs, elysia, solidjs, rust, rust-auth, leptos, 9router - -- [ ] **Step 3: Verify tag queries work** - -```bash -moon query projects --tag lang:typescript -``` - -Expected: nextjs, elysia, solidjs - -```bash -moon query projects --tag lang:rust -``` - -Expected: rust, rust-auth, leptos - -- [ ] **Step 4: Commit (if any fixes were needed)** - -No commit needed if check passes clean. - ---- - -### Task 12: Test β€” moon run build on TypeScript apps - -**Files:** (none β€” test only) - -- [ ] **Step 1: Build nextjs** - -```bash -moon run nextjs:build -``` - -Expected: `next build` runs successfully, outputs to `.next/` - -- [ ] **Step 2: Build elysia** - -```bash -moon run elysia:build -``` - -Expected: `bun build` runs successfully, outputs to `dist/` - -- [ ] **Step 3: Build solidjs** - -```bash -moon run solidjs:build -``` - -Expected: `vinxi build` runs successfully, outputs to `.output/` - -- [ ] **Step 4: Verify caching on second build (nextjs)** - -```bash -moon run nextjs:build -``` - -Expected: `Cached` β€” no rebuild, uses moonrepo cache - ---- - -### Task 13: Test β€” moon run lint and test - -**Files:** (none β€” test only) - -- [ ] **Step 1: Run lint across TypeScript apps** - -```bash -moon run :lint -``` - -Expected: all apps with a `lint` task run it. Note failures as they exist pre-migration (not caused by moonrepo). - -- [ ] **Step 2: Run tests across TypeScript apps** - -```bash -moon run :test -``` - -Expected: all apps with a `test` task run it. - -- [ ] **Step 3: Run tag-scoped commands** - -```bash -moon run --tag lang:typescript :build -``` - -Expected: builds nextjs, elysia, solidjs only (not Rust apps). - ---- - -### Task 14: Final commit and documentation - -**Files:** -- Modify: `.gitignore` (if any final updates) - -- [ ] **Step 1: Final moon check** - -```bash -moon check -``` - -Expected: clean, no errors. - -- [ ] **Step 2: Commit any remaining changes** - -```bash -git status -``` - -If nothing outstanding, move on. - -- [ ] **Step 3: Verify the full workspace is clean** - -```bash -git status -``` - -Expected: working tree clean. diff --git a/docs/superpowers/plans/2026-05-25-postgresql-migration.md b/docs/superpowers/plans/2026-05-25-postgresql-migration.md deleted file mode 100644 index efd20bb..0000000 --- a/docs/superpowers/plans/2026-05-25-postgresql-migration.md +++ /dev/null @@ -1,712 +0,0 @@ -# PostgreSQL Migration Implementation Plan - -> **For agentic workers:** REQUIRED SUB-SKILL: Use superpowers:subagent-driven-development (recommended) or superpowers:executing-plans to implement this plan task-by-task. Steps use checkbox (`- [ ]`) syntax for tracking. - -**Goal:** Migrate elysia (Drizzle ORM + MySQL) and rust (SeaORM + MySQL) apps to PostgreSQL via direct cutover. - -**Architecture:** Export MySQL data, convert schema to PostgreSQL format, import into target PostgreSQL instance, update app drivers and connection strings, deploy and validate. - -**Tech Stack:** MySQL (source), PostgreSQL (target), Drizzle ORM (elysia), SeaORM (rust), pgloader or manual conversion for schema migration. - ---- - -## File Structure - -### Elysia App Changes -- `apps/elysia/src/db/lib/database.ts` β€” Replace mysql2 driver with postgres driver -- `apps/elysia/src/db/lib/schema.ts` β€” Replace mysqlTable with pgTable, update column types -- `apps/elysia/package.json` β€” Replace mysql2 with pg dependency -- `.env` or config file β€” Update DATABASE_URL to PostgreSQL connection string - -### Rust App Changes -- `apps/rust/Cargo.toml` β€” Replace sqlx-mysql feature with sqlx-postgres -- `apps/rust/src/infra/db_setup.rs` β€” Update DbBackend::MySql to DbBackend::Postgres, adjust SQL syntax -- Config/environment β€” Update DATABASE_URL to PostgreSQL connection string - -### Migration Artifacts -- `mysql_backup.sql` β€” MySQL dump (created during migration, not committed) -- `converted.sql` β€” PostgreSQL-compatible dump (created during migration, not committed) - ---- - -## Task Breakdown - -### Task 1: Backup MySQL and Export Schema - -**Files:** -- Create: `mysql_backup.sql` (temporary, not committed) - -- [ ] **Step 1: Export MySQL database** - -```bash -cd /mnt/code/bp3/ultimate-asepharyana.tech -mysqldump -u -p -h > mysql_backup.sql -``` - -Expected: File created with full schema + data. Verify file size > 1MB (contains data). - --[]**Step 2: Verify backup integrity** - -```bash -# Check row counts in backup -grep "INSERT INTO" mysql_backup.sql | wc -l -``` - -Expected: Multiple INSERT statements present. Note row counts for later validation. - -- [ ] **Step 3: Document backup location** - -Store `mysql_backup.sql` in safe location (not in git). This is rollback insurance. - ---- - -### Task 2: Convert MySQL Schema to PostgreSQL - -**Files:** -- Create: `converted.sql` (temporary, not committed) - -- [ ] **Step 1: Install pgloader (if not present)** - -```bash -# macOS -brew install pgloader - -# Linux (Ubuntu/Debian) -sudo apt-get install pgloader - -# Or use Docker -docker run --rm -v $(pwd):/data pgloader/pgloader pgloader /data/mysql_backup.sql postgresql://asephs:hunterz@100.108.1.124:5432/hub -``` - -- [ ] **Step 2: Convert MySQL dump to PostgreSQL** - -```bash -pgloader mysql_backup.sql postgresql://asephs:hunterz@100.108.1.124:5432/hub -``` - -Or manually convert if pgloader unavailable: -- Replace `AUTO_INCREMENT` with `SERIAL` or `BIGSERIAL` -- Replace `DATETIME` with `TIMESTAMP` -- Replace backticks with double quotes -- Update index syntax for PostgreSQL - -Expected: Conversion completes without errors. Check for warnings about type conversions. - -- [ ] **Step 3: Verify conversion output** - -```bash -# If using pgloader, it creates converted.sql automatically -# If manual, save converted schema to file -cat converted.sql | head -50 -``` - -Expected: PostgreSQL-compatible SQL syntax (no backticks, SERIAL types, TIMESTAMP). - ---- - -### Task 3: Test PostgreSQL Import - -**Files:** -- Target: PostgreSQL instance at `postgresql://asephs:hunterz@100.108.1.124:5432/hub` - -- [ ] **Step 1: Connect to target PostgreSQL** - -```bash -psql postgresql://asephs:hunterz@100.108.1.124:5432/hub -``` - -Expected: Connected to PostgreSQL. Prompt shows `hub=#`. - -- [ ] **Step 2: Import converted schema** - -```bash -psql postgresql://asephs:hunterz@100.108.1.124:5432/hub < converted.sql -``` - -Expected: Import completes. Check for errors (should be none). - -- [ ] **Step 3: Validate table creation** - -```bash -psql postgresql://asephs:hunterz@100.108.1.124:5432/hub -c "\dt" -``` - -Expected: All tables listed (User, Account, Session, Role, Permission, UserRole, ImageCache, etc.). - -- []**Step 4: Validate row counts** - -```bash -psql postgresql://asephs:hunterz@100.108.1.124:5432/hub -c "SELECT COUNT(*) FROM \"User\";" -psql postgresql://asephs:hunterz@100.108.1.124:5432/hub -c "SELECT COUNT(*) FROM \"Account\";" -``` - -Expected: Row counts match MySQL backup (from Task 1, Step 2). - -- [ ] **Step 5: Validate indexes** - -```bash -psql postgresql://asephs:hunterz@100.108.1.124:5432/hub -c "\di" -``` - -Expected: All indexes present (email_idx, username_idx, userId_idx, sessionToken_idx, etc.). - -- [ ] **Step 6: Validate foreign keys** - -```bash -psql postgresql://asephs:hunterz@100.108.1.124:5432/hub -c "SELECT constraint_name, table_name FROM information_schema.table_constraints WHERE constraint_type = 'FOREIGN KEY';" -``` - -Expected: Foreign key constraints listed (Userβ†’Account, Userβ†’Session, etc.). - ---- - -### Task 4: Update Elysia Database Driver - -**Files:** -- Modify: `apps/elysia/src/db/lib/database.ts` -- Modify: `apps/elysia/src/db/lib/schema.ts` -- Modify: `apps/elysia/package.json` - -- [ ] **Step 1: Update package.json dependencies** - -Replace mysql2 with pg: - -```json -{ - "dependencies": { - "drizzle-orm": "^0.45.2", - "pg": "^8.11.0", - "elysia": "^1.4.28" - }, - "devDependencies": { - "drizzle-kit": "^0.31.10" - } -} -``` - -Run: `cd apps/elysia && bun install` - -Expected: pg installed, mysql2 removed from node_modules. - -- [ ] **Step 2: Update database.ts driver** - -Replace entire file: - -```typescript -import type { PostgresJsDatabase } from 'drizzle-orm/postgres-js' -import { drizzle } from 'drizzle-orm/postgres-js' -import postgres from 'postgres' -import * as schema from './schema' - -export type Database = PostgresJsDatabase - -let dbInstance: Database | null = null -let sqlInstance: ReturnType | null = null - -export function initializeDb(databaseUrl: string): Database { - if (dbInstance) { - return dbInstance - } - - sqlInstance = postgres(databaseUrl) - dbInstance = drizzle(sqlInstance, { schema, mode: 'default' }) - - return dbInstance -} - -export function getDb(): Database { - if (!dbInstance) { - throw new Error('Database not initialized. Call initializeDb first.') - } - return dbInstance -} - -export async function closeDb() { - if (sqlInstance) { - await sqlInstance.end() - sqlInstance = null - dbInstance = null - } -} -``` - -Expected: File updated. No syntax errors. - -- [ ] **Step 3: Update schema.ts imports** - -Replace: -```typescript -import { - index, - int, - mysqlTable, - primaryKey, - text, - timestamp, - varchar, -} from 'drizzle-orm/mysql-core' -``` - -With: -```typescript -import { - index, - integer, - pgTable, - primaryKey, - text, - timestamp, - varchar, -} from 'drizzle-orm/postgres-core' -``` - -- [ ] **Step 4: Update schema.ts table definitions** - -Replace all `mysqlTable` with `pgTable` and `int` with `integer`: - -```typescript -// Before -export const users = mysqlTable( - 'User', - { - id: varchar('id', { length: 255 }).primaryKey(), - name: varchar('name', { length: 255 }), - // ... - }, - // ... -) - -// After -export const users = pgTable( - 'User', - { - id: varchar('id', { length: 255 }).primaryKey(), - name: varchar('name', { length: 255 }), - // ... - }, - // ... -) -``` - -Do this for all tables: users, accounts, sessions, roles, permissions, userRoles, and any others. - -Expected: All `mysqlTable` β†’ `pgTable`, all `int` β†’ `integer`. - -- [ ] **Step 5: Update environment variable** - -Set DATABASE_URL in `.env` or deployment config: - -```bash -DATABASE_URL=postgresql://asephs:hunterz@100.108.1.124:5432/hub -``` - -Expected: Environment variable set and accessible to elysia app. - -- [ ] **Step 6: Test elysia connection** - -```bash -cd apps/elysia -bun run src/index.ts -``` - -Expected: App starts without connection errors. Check logs for "Database initialized" or similar. - -- [ ] **Step 7: Commit elysia changes** - -```bash -cd /mnt/code/bp3/ultimate-asepharyana.tech -git add apps/elysia/src/db/lib/database.ts apps/elysia/src/db/lib/schema.ts apps/elysia/package.json -git commit -m "feat(elysia): migrate database driver from MySQL to PostgreSQL" -``` - -Expected: Commit created with message. - ---- - -### Task 5: Update Rust Database Driver - -**Files:** -- Modify: `apps/rust/Cargo.toml` -- Modify: `apps/rust/src/infra/db_setup.rs` - -- [ ] **Step 1: Update Cargo.toml features** - -Replace: -```toml -sea-orm = { version = "1.1.19", features = ["sqlx-mysql", "runtime-tokio-rustls", "macros", "with-chrono", "with-uuid"] } -``` - -With: -```toml -sea-orm = { version = "1.1.19", features = ["sqlx-postgres", "runtime-tokio-rustls", "macros", "with-chrono", "with-uuid"] } -``` - -Expected: Cargo.toml updated. Feature changed from sqlx-mysql to sqlx-postgres. - -- [ ] **Step 2: Update db_setup.rs backend check** - -Replace: -```rust -match backend { - DbBackend::MySql => { - // MySQL-specific logic - } - _ => { - info!("ℹ️ Skipping schema init for non-MySQL backend"); - } -} -``` - -With: -```rust -match backend { - DbBackend::Postgres => { - // PostgreSQL-specific logic - let tables = vec![( - "ImageCache", - schema - .create_table_from_entity(image_cache::Entity) - .if_not_exists() - .to_owned(), - )]; - - for (name, stmt) in tables { - match db.execute(backend.build(&stmt)).await { - Ok(_) => info!(" βœ“ Table '{}' checked/created", name), - Err(e) => { - error!(" [!] Failed to create table '{}': {}", name, e); - return Err(e); - } - } - } - - // PostgreSQL index creation (different syntax) - let index_sql = "CREATE INDEX IF NOT EXISTS idx_image_cache_cdn_url ON \"ImageCache\" (cdn_url)"; - match db.execute(Statement::from_string(backend, index_sql)).await { - Ok(_) => info!(" βœ“ Index 'idx_image_cache_cdn_url' ensured"), - Err(e) => { - let err_str = e.to_string(); - // PostgreSQL duplicate index error - if err_str.contains("already exists") { - info!(" βœ“ Index 'idx_image_cache_cdn_url' already exists"); - } else { - error!(" [!] Failed to create index on ImageCache: {}", e); - } - } - } - - info!("βœ… Database schema initialization complete."); - } - _ => { - info!("ℹ️ Skipping schema init for non-PostgreSQL backend"); - } -} -``` - -Expected: db_setup.rs updated with PostgreSQL backend handling. - -- [ ] **Step 3: Update environment variable** - -Set DATABASE_URL in `.env` or deployment config: - -```bash -DATABASE_URL=postgresql://asephs:hunterz@100.108.1.124:5432/hub -``` - -Expected: Environment variable set and accessible to rust app. - -- [ ] **Step 4: Rebuild rust app** - -```bash -cd apps/rust -cargo build --release -``` - -Expected: Build completes without errors. Compilation uses sqlx-postgres feature. - -- [ ] **Step 5: Test rust connection** - -```bash -cd apps/rust -cargo run -``` - -Expected: App starts without connection errors. Check logs for "Database schema initialization complete" or similar. - -- [ ] **Step 6: Commit rust changes** - -```bash -cd /mnt/code/bp3/ultimate-asepharyana.tech -git add apps/rust/Cargo.toml apps/rust/src/infra/db_setup.rs -git commit -m "feat(rust): migrate database driver from MySQL to PostgreSQL" -``` - -Expected: Commit created with message. - ---- - -### Task 6: Smoke Tests - Elysia App - -**Files:** -- Test: Manual testing via HTTP requests or app UI - -- [ ] **Step 1: Start elysia app** - -```bash -cd apps/elysia -bun run src/index.ts -``` - -Expected: App running on configured port (check logs for port). - -- [ ] **Step 2: Test user login** - -```bash -curl -X POST http://localhost:3000/auth/login \ - -H "Content-Type: application/json" \ - -d '{"email":"test@example.com","password":"password"}' -``` - -Expected: Response 200 or 401 (auth error is OK, connection error is not). - --[]**Step 3: Test user creation (if endpoint exists)** - -```bash -curl -X POST http://localhost:3000/users \ - -H "Content-Type: application/json" \ - -d '{"name":"Test User","email":"newuser@example.com"}' -``` - -Expected: Response 200/201 or 400 (validation error is OK). - -- [ ] **Step 4: Test session retrieval** - -```bash -curl -X GET http://localhost:3000/sessions \ - -H "Authorization: Bearer " -``` - -Expected: Response 200 with session data or 401 (auth error is OK). - -- [ ] **Step 5: Check database logs** - -```bash -# In elysia app logs, verify queries are executing against PostgreSQL -# Look for connection strings or query logs showing PostgreSQL -``` - -Expected: Logs show PostgreSQL queries (not MySQL). - ---- - -### Task 7: Smoke Tests - Rust App - -**Files:** -- Test: Manual testing via HTTP requests or app UI - -- [ ] **Step 1: Start rust app** - -```bash -cd apps/rust -cargo run --release -``` - -Expected: App running on configured port (check logs for port). - -- [ ] **Step 2: Test image cache endpoint (if exists)** - -```bash -curl -X GET http://localhost:8000/api/cache/status -``` - -Expected: Response 200 with cache status or 404 (endpoint may not exist). - -- [ ] **Step 3: Test scraping/CDN endpoint** - -```bash -curl -X GET http://localhost:8000/api/health -``` - -Expected: Response 200 with health status. - -- [ ] **Step 4: Check database logs** - -```bash -# In rust app logs, verify queries are executing against PostgreSQL -# Look for connection strings or query logs showing PostgreSQL -``` - -Expected: Logs show PostgreSQL queries (not MySQL). - ---- - -### Task 8: Data Integrity Validation - -**Files:** -- Test: PostgreSQL queries - -- [] **Step 1: Verify user count** - -```bash -psql postgresql://asephs:hunterz@100.108.1.124:5432/hub -c "SELECT COUNT(*) as user_count FROM \"User\";" -``` - -Expected: Count matches MySQL backup count (from Task 1, Step 2). - -- [ ] **Step 2: Verify account count** - -```bash -psql postgresql://asephs:hunterz@100.108.1.124:5432/hub -c "SELECT COUNT(*) as account_count FROM \"Account\";" -``` - -Expected: Count matches MySQL backup. - -- [ ] **Step 3: Verify session count** - -```bash -psql postgresql://asephs:hunterz@100.108.1.124:5432/hub -c "SELECT COUNT(*) as session_count FROM \"Session\";" -``` - -Expected: Count matches MySQL backup. - -- [] **Step 4: Verify no orphaned foreign keys** - -```bash -psql postgresql://asephs:hunterz@100.108.1.124:5432/hub -c " -SELECT a.id FROM \"Account\" a -LEFT JOIN \"User\" u ON a.user_id = u.id -WHERE u.id IS NULL; -" -``` - -Expected: No rows returned (no orphaned accounts). - -- [ ] **Step 5: Verify role/permission relationships** - -```bash -psql postgresql://asephs:hunterz@100.108.1.124:5432/hub -c "SELECT COUNT(*) as role_count FROM \"Role\";" -psql postgresql://asephs:hunterz@100.108.1.124:5432/hub -c "SELECT COUNT(*) as permission_count FROM \"Permission\";" -``` - -Expected: Counts match MySQL backup. - ---- - -### Task 9: Performance Baseline - -**Files:** -- Test: Query performance comparison - -- [ ] **Step 1: Benchmark user query on PostgreSQL** - -```bash -psql postgresql://asephs:hunterz@100.108.1.124:5432/hub -c "EXPLAIN ANALYZE SELECT * FROM \"User\" WHERE email = 'test@example.com';" -``` - -Expected: Query plan shows index usage (Seq Scan or Index Scan). Note execution time. - -- [ ] **Step 2: Benchmark account query on PostgreSQL** - -```bash -psql postgresql://asephs:hunterz@100.108.1.124:5432/hub -c "EXPLAIN ANALYZE SELECT * FROM \"Account\" WHERE user_id = 'user-123';" -``` - -Expected: Query plan shows index usage. Note execution time. - -- [ ] **Step 3: Compare with MySQL baseline (if available)** - -If MySQL is still running, run same queries and compare execution times. - -Expected: PostgreSQL performance similar or better than MySQL. - ---- - -### Task 10: Cleanup and Documentation - -**Files:** -- Create: `MIGRATION_LOG.md` (optional, for documentation) - -- [ ] **Step 1: Remove temporary files** - -```bash -rm mysql_backup.sql converted.sql -``` - -Expected: Temporary migration files deleted. - -- [ ] **Step 2: Document migration completion** - -Create `MIGRATION_LOG.md`: - -```markdown -# PostgreSQL Migration Log - -**Date:** 2026-05-25 -**Status:** βœ… Complete - -## Summary -- Migrated elysia app from MySQL to PostgreSQL -- Migrated rust app from MySQL to PostgreSQL -- All data validated and integrity confirmed -- Apps tested and operational - -## Changes -- elysia: Updated database driver (mysql2 β†’ postgres), schema (mysqlTable β†’ pgTable) -- rust: Updated Cargo.toml feature (sqlx-mysql β†’ sqlx-postgres), db_setup.rs backend handling - -## Validation -- Row counts match pre-migration -- Foreign keys intact -- Indexes present and performant -- Auth flow functional -- Session management working - -## Rollback -MySQL backup available at: [location if kept] -To rollback: Restore MySQL from backup, revert connection strings, redeploy apps. -``` - -- [ ] **Step 3: Final commit** - -```bash -git add MIGRATION_LOG.md -git commit -m "docs: add PostgreSQL migration completion log" -``` - -Expected: Commit created. - -- [ ] **Step 4: Verify all apps running** - -```bash -# Check elysia -curl http://localhost:3000/health - -# Check rust -curl http://localhost:8000/health -``` - -Expected: Both apps respond with 200 status. - ---- - -## Self-Review - -**Spec Coverage:** -- βœ… Pre-migration (backup, convert, test) β€” Tasks 1-3 -- βœ… Elysia code updates (driver, schema, env) β€” Task 4 -- βœ… Rust code updates (Cargo.toml, db_setup.rs, env) β€” Task 5 -- βœ… Smoke tests (auth, endpoints, logs) β€” Tasks 6-7 -- βœ… Data validation (row counts, foreign keys) β€” Task 8 -- βœ… Performance baseline β€” Task 9 -- βœ… Cleanup and documentation β€” Task 10 - -**Placeholder Scan:** -- βœ… No TBD/TODO -- βœ… All code blocks complete -- βœ… All commands exact with expected output -- βœ… All file paths exact - -**Type Consistency:** -- βœ… Database type: `PostgresJsDatabase` (elysia), `DbBackend::Postgres` (rust) -- βœ… Connection string format consistent: `postgresql://asephs:hunterz@100.108.1.124:5432/hub` -- βœ… Table names consistent: "User", "Account", "Session", etc. diff --git a/docs/superpowers/plans/2026-05-27-production-github-actions.md b/docs/superpowers/plans/2026-05-27-production-github-actions.md deleted file mode 100644 index 15e5e01..0000000 --- a/docs/superpowers/plans/2026-05-27-production-github-actions.md +++ /dev/null @@ -1,533 +0,0 @@ -# Production GitHub Actions Implementation Plan - -> **For agentic workers:** REQUIRED SUB-SKILL: Use superpowers:subagent-driven-development (recommended) or superpowers:executing-plans to implement this plan task-by-task. Steps use checkbox (`- [ ]`) syntax for tracking. - -**Goal:** Rework GitHub Actions build/deploy workflows into a production baseline with reliable React submodule updates, least-privilege permissions, clear deploy behavior, and current official action versions. - -**Architecture:** Keep two workflows: `docker-build-push.yml` for detect/build/manifest updates, and `deploy-docker.yml` for VPS deployment. Add dispatch submodule SHA readiness checks before parent pointer updates, and remove recursive submodule checkout from deploy runner. - -**Tech Stack:** GitHub Actions YAML, GitHub-hosted Ubuntu runners, Docker Buildx, GHCR, git submodules, Docker Compose over SSH. - ---- - -## File Structure - -- Modify `.github/workflows/docker-build-push.yml`: add default permissions, validate repository dispatch payloads, wait for submodule SHAs, keep selective matrix builds, harden manifest update. -- Modify `.github/workflows/deploy-docker.yml`: add default permissions, remove recursive checkout, keep auto deploy from successful build, make deploy logs clearer. -- Modify `.github/dependabot.yml`: add GitHub Actions update config so official actions stay current. - ---- - -### Task 1: Harden build workflow permissions and dispatch validation - -**Files:** -- Modify: `.github/workflows/docker-build-push.yml` - -- [ ] **Step 1: Add workflow-level read permissions** - -At top level, after `concurrency`, add: - -```yaml -permissions: - contents: read -``` - -Expected shape: - -```yaml -concurrency: - group: ${{ github.workflow }}-${{ github.ref }} - cancel-in-progress: false - -permissions: - contents: read - -env: - REGISTRY: ghcr.io -``` - -- [ ] **Step 2: Replace dispatch parser with payload validation** - -In `.github/workflows/docker-build-push.yml`, replace `Parse repository_dispatch payload` step body with: - -```yaml - - name: Parse repository_dispatch payload - id: dispatch - if: github.event_name == 'repository_dispatch' - env: - SERVICE: ${{ github.event.client_payload.service }} - SHA: ${{ github.event.client_payload.sha }} - run: | - set -euo pipefail - - if [ -z "${SERVICE:-}" ]; then - echo "::error::repository_dispatch payload missing service" - exit 1 - fi - - if [ -z "${SHA:-}" ]; then - echo "::error::repository_dispatch payload missing sha" - exit 1 - fi - - case "$SERVICE" in - rust-api|elysia-api|react-web|9router) ;; - *) - echo "::error::Unsupported service '$SERVICE'. Expected one of: rust-api, elysia-api, react-web, 9router" - exit 1 - ;; - esac - - case "$SHA" in - *[!0-9a-fA-F]*|???????????????????????????????????????|?????????????????????????????????????????*) - echo "::error::Invalid sha '$SHA'. Expected 40 hex characters" - exit 1 - ;; - esac - - declare -a SERVICES=("rust-api" "elysia-api" "react-web" "9router") - for svc in "${SERVICES[@]}"; do - if [ "$SERVICE" = "$svc" ]; then - echo "${svc}=true" >> "$GITHUB_OUTPUT" - else - echo "${svc}=false" >> "$GITHUB_OUTPUT" - fi - done -``` - -- [ ] **Step 3: Run YAML syntax check** - -Run: - -```bash -python - <<'PY' -from pathlib import Path -import yaml -for path in Path('.github/workflows').glob('*.yml'): - yaml.safe_load(path.read_text()) - print(f'OK {path}') -PY -``` - -Expected: - -```text -OK .github/workflows/deploy-docker.yml -OK .github/workflows/docker-build-push.yml -``` - -- [ ] **Step 4: Commit** - -```bash -git add .github/workflows/docker-build-push.yml -git commit -m "ci: validate dispatch payloads" -``` - ---- - -### Task 2: Add submodule SHA readiness wait before build/update - -**Files:** -- Modify: `.github/workflows/docker-build-push.yml` - -- [ ] **Step 1: Add readiness job after changes job** - -Insert this job between `changes` and `build`: - -```yaml - wait-submodule-ref: - needs: [changes] - if: github.event_name == 'repository_dispatch' - runs-on: ubuntu-latest - steps: - - name: Wait for submodule ref - env: - SERVICE: ${{ github.event.client_payload.service }} - SHA: ${{ github.event.client_payload.sha }} - run: | - set -euo pipefail - - case "$SERVICE" in - "rust-api") REPO="https://github.com/MythEclipse/ultimate-asepharyana-tech-rust.git" ;; - "elysia-api") REPO="https://github.com/MythEclipse/ultimate-asepharyana-tech-elysia.git" ;; - "react-web") REPO="https://github.com/MythEclipse/ultimate-asepharyana-tech-react.git" ;; - "9router") REPO="https://github.com/MythEclipse/9router.git" ;; - *) - echo "::error::Unsupported service '$SERVICE'" - exit 1 - ;; - esac - - echo "Waiting for $SERVICE ref $SHA in $REPO" - for attempt in {1..30}; do - if git ls-remote --exit-code "$REPO" "$SHA" >/dev/null 2>&1; then - echo "Submodule ref $SHA is fetchable for $SERVICE" - exit 0 - fi - echo "Attempt $attempt/30: $SHA not visible yet; waiting 10s" - sleep 10 - done - - echo "::error::Submodule ref $SHA for $SERVICE was not fetchable after 300s" - exit 1 -``` - -- [ ] **Step 2: Make build wait for readiness job without blocking push/manual events** - -Change build job header from: - -```yaml - build: - needs: [changes] -``` - -to: - -```yaml - build: - needs: [changes, wait-submodule-ref] - if: | - always() && - needs.changes.result == 'success' && - (needs.wait-submodule-ref.result == 'success' || needs.wait-submodule-ref.result == 'skipped') && - needs.changes.outputs.matrix != '[]' -``` - -Remove existing build-level line: - -```yaml - if: needs.changes.outputs.matrix != '[]' -``` - -- [ ] **Step 3: Make update-manifest wait for readiness job** - -Change update-manifest header from: - -```yaml - update-manifest: - needs: [changes, build] - if: | - always() && - (needs.build.result == 'success' || needs.build.result == 'skipped') -``` - -to: - -```yaml - update-manifest: - needs: [changes, wait-submodule-ref, build] - if: | - always() && - needs.changes.result == 'success' && - (needs.wait-submodule-ref.result == 'success' || needs.wait-submodule-ref.result == 'skipped') && - (needs.build.result == 'success' || needs.build.result == 'skipped') -``` - -- [ ] **Step 4: Run YAML syntax check** - -Run same command from Task 1 Step 3. - -Expected both workflow files print `OK`. - -- [ ] **Step 5: Commit** - -```bash -git add .github/workflows/docker-build-push.yml -git commit -m "ci: wait for submodule refs before builds" -``` - ---- - -### Task 3: Harden manifest update and submodule checkout - -**Files:** -- Modify: `.github/workflows/docker-build-push.yml` - -- [ ] **Step 1: Add job permissions to build and manifest jobs** - -Ensure build job contains: - -```yaml - permissions: - contents: read - packages: write -``` - -Ensure update-manifest job contains: - -```yaml - permissions: - contents: write -``` - -- [ ] **Step 2: Replace dispatch submodule checkout block** - -Inside `Update tags and submodules`, replace the repository_dispatch submodule update block with: - -```bash - if [ "${{ github.event_name }}" == "repository_dispatch" ] && [ "${{ github.event.client_payload.service }}" == "$id" ]; then - SHA_DISPATCH="${{ github.event.client_payload.sha }}" - SUB_PATH="${PATHS[$id]}" - if [ -n "$SHA_DISPATCH" ]; then - echo "Updating submodule $SUB_PATH to $SHA_DISPATCH" - git submodule update --init "$SUB_PATH" - git -C "$SUB_PATH" fetch origin "$SHA_DISPATCH" - git -C "$SUB_PATH" checkout "$SHA_DISPATCH" - git add "$SUB_PATH" - CHANGED=true - fi - fi -``` - -- [ ] **Step 3: Add pull/rebase retry before push** - -Replace: - -```bash - git commit -m "chore: update manifests and submodules [skip ci]" - git pull --rebase origin main - git push origin main -``` - -with: - -```bash - git commit -m "chore: update manifests and submodules [skip ci]" - - for attempt in {1..3}; do - if git pull --rebase origin main && git push origin main; then - exit 0 - fi - echo "Manifest push attempt $attempt/3 failed; retrying" - git rebase --abort || true - git pull --rebase origin main || true - sleep 5 - done - - echo "::error::Failed to push manifest update after 3 attempts" - exit 1 -``` - -- [ ] **Step 4: Run YAML syntax check** - -Run same command from Task 1 Step 3. - -Expected both workflow files print `OK`. - -- [ ] **Step 5: Commit** - -```bash -git add .github/workflows/docker-build-push.yml -git commit -m "ci: harden manifest updates" -``` - ---- - -### Task 4: Make deploy checkout submodule-free and least privilege - -**Files:** -- Modify: `.github/workflows/deploy-docker.yml` - -- [ ] **Step 1: Add workflow-level read permissions** - -After `concurrency`, add: - -```yaml -permissions: - contents: read -``` - -Expected shape: - -```yaml -concurrency: - group: deploy-vps - cancel-in-progress: false - -permissions: - contents: read -``` - -If current `cancel-in-progress` is `true`, change it to `false`. - -- [ ] **Step 2: Make checkout non-recursive** - -Replace checkout step: - -```yaml - - name: Checkout repository - uses: actions/checkout@v4 - with: - submodules: recursive -``` - -with: - -```yaml - - name: Checkout repository - uses: actions/checkout@v4 - with: - fetch-depth: 1 - submodules: false -``` - -- [ ] **Step 3: Add deploy context log** - -At start of `Deploy with Docker Compose on VPS` run script, after `set -euo pipefail`, add: - -```bash - echo "Deploy event: ${{ github.event_name }}" - echo "Deploy ref: ${{ github.ref }}" - echo "Deploy sha: ${{ github.sha }}" -``` - -- [ ] **Step 4: Run YAML syntax check** - -Run same command from Task 1 Step 3. - -Expected both workflow files print `OK`. - -- [ ] **Step 5: Commit** - -```bash -git add .github/workflows/deploy-docker.yml -git commit -m "ci: avoid submodule checkout during deploy" -``` - ---- - -### Task 5: Add GitHub Actions Dependabot updates - -**Files:** -- Modify: `.github/dependabot.yml` - -- [ ] **Step 1: Add github-actions ecosystem** - -Append this update entry under `updates:`: - -```yaml - - package-ecosystem: 'github-actions' - directory: '/' - schedule: - interval: weekly - groups: - github-actions: - patterns: - - '*' -``` - -Expected file shape: - -```yaml -version: 2 -updates: - - package-ecosystem: 'devcontainers' - directory: '/' - schedule: - interval: weekly - - - package-ecosystem: 'github-actions' - directory: '/' - schedule: - interval: weekly - groups: - github-actions: - patterns: - - '*' -``` - -- [ ] **Step 2: Run YAML syntax check** - -Run: - -```bash -python - <<'PY' -from pathlib import Path -import yaml -paths = [Path('.github/dependabot.yml'), *Path('.github/workflows').glob('*.yml')] -for path in paths: - yaml.safe_load(path.read_text()) - print(f'OK {path}') -PY -``` - -Expected: - -```text -OK .github/dependabot.yml -OK .github/workflows/deploy-docker.yml -OK .github/workflows/docker-build-push.yml -``` - -- [ ] **Step 3: Commit** - -```bash -git add .github/dependabot.yml -git commit -m "ci: enable github actions dependency updates" -``` - ---- - -### Task 6: Final validation - -**Files:** -- Validate: `.github/workflows/docker-build-push.yml` -- Validate: `.github/workflows/deploy-docker.yml` -- Validate: `.github/dependabot.yml` - -- [ ] **Step 1: Run YAML syntax check** - -Run: - -```bash -python - <<'PY' -from pathlib import Path -import yaml -paths = [Path('.github/dependabot.yml'), *Path('.github/workflows').glob('*.yml')] -for path in paths: - yaml.safe_load(path.read_text()) - print(f'OK {path}') -PY -``` - -Expected all files print `OK`. - -- [ ] **Step 2: Check workflows recognized by GitHub CLI** - -Run: - -```bash -gh workflow list -``` - -Expected output includes: - -```text -Build and Push Docker Images -Deploy Docker to VPS -``` - -- [ ] **Step 3: Inspect final diff** - -Run: - -```bash -git diff -- .github/workflows .github/dependabot.yml -``` - -Expected: - -- `docker-build-push.yml` has dispatch validation, `wait-submodule-ref`, job permissions, and manifest push retry. -- `deploy-docker.yml` has non-recursive checkout and read-only permissions. -- `dependabot.yml` has `github-actions` updates. - -- [ ] **Step 4: Commit any final validation fixes** - -If Step 1 or Step 2 required fixes, commit them: - -```bash -git add .github/workflows .github/dependabot.yml -git commit -m "ci: finalize production workflow hardening" -``` - -If no fixes were needed, do not create an empty commit. diff --git a/docs/superpowers/plans/2026-05-27-react-direct-runtime-and-images.md b/docs/superpowers/plans/2026-05-27-react-direct-runtime-and-images.md deleted file mode 100644 index a57b024..0000000 --- a/docs/superpowers/plans/2026-05-27-react-direct-runtime-and-images.md +++ /dev/null @@ -1,29 +0,0 @@ -# React Direct Runtime and Images Implementation Plan - -> **For agentic workers:** REQUIRED SUB-SKILL: Use superpowers:subagent-driven-development (recommended) or superpowers:executing-plans to implement this plan task-by-task. Steps use checkbox (`- [ ]`) syntax for tracking. - -**Goal:** Serve the React SPA without nginx and remove frontend image-cache proxy calls so browser uses direct image/API URLs. - -**Architecture:** The React Docker image still builds with Bun/Vite, but runtime uses `vite preview` from Bun instead of nginx. `CachedImage` normalizes image URLs and renders them directly, keeping fallback/retry UI but removing `/proxy/image-cache` auditing. Traefik keeps routing `react-web:80`, so compose and dynamic routing stay stable. - -**Tech Stack:** Bun, Vite, React, TypeScript, Docker, Docker Compose, Traefik. - ---- - -## Tasks - -### Task 1: Switch React Runtime From nginx to Bun/Vite Preview - -Modify `infra/docker/react.Dockerfile` so runtime stage uses `oven/bun:1-alpine`, installs production deps, copies `/app/dist`, exposes 80, and runs `bunx vite preview --host 0.0.0.0 --port 80`. Verify nginx runtime/copy lines are gone and Vite preview command exists. - -### Task 2: Remove Image Cache Proxy From CachedImage - -Modify `apps/react/src/components/ui/cached-image.tsx` to remove `API_BASE_URL` import, `/proxy/image-cache` POST, audit state/function, and auditing overlay. Keep direct normalized image URLs, retry behavior, and fallback image. - -### Task 3: Verify Build and Config - -Run static checks for both tasks, `bun --cwd apps/react run build`, `docker build -f infra/docker/react.Dockerfile -t react-web:test .`, start test container on `18080:80`, curl root, clean container, and run `git diff --check`. - -### Task 4: Commit and Push - -Commit changed files: `infra/docker/react.Dockerfile`, `apps/react/src/components/ui/cached-image.tsx`, `docs/superpowers/plans/2026-05-27-react-direct-runtime-and-images.md`. Push branch only after verification if user asks; do not push from worktree unless explicitly instructed. diff --git a/docs/superpowers/specs/2026-05-24-moonrepo-migration-design.md b/docs/superpowers/specs/2026-05-24-moonrepo-migration-design.md deleted file mode 100644 index 464e2f1..0000000 --- a/docs/superpowers/specs/2026-05-24-moonrepo-migration-design.md +++ /dev/null @@ -1,130 +0,0 @@ -# Moonrepo Migration Design - -**Date:** 2026-05-24 -**Status:** approved - -## Context - -Ultimate Asepharyana Tech is a polyglot monorepo with 7 applications managed as git submodules: nextjs (React/Next.js), elysia (Bun/Elysia), solidjs (SolidStart), rust (Axum), rust-auth (Axum auth service), leptos (Leptos WASM), and 9router. Nix flakes handle system dependencies and Docker image builds. Docker Compose manages deployment. - -## Problem - -- No centralized task orchestration β€” running build/lint/test across all apps is manual and error-prone -- No dependency caching β€” builds are not incremental across apps -- Inconsistent developer experience β€” each app has its own conventions, onboarding is slow - -## Goal - -Adopt moonrepo for task orchestration, caching, and dependency graph management across all 7 apps while preserving the existing Nix build system, Docker Compose deployment, and git submodule structure. - -## Architecture - -### Directory Structure - -``` -ultimate-asepharyana.tech/ -β”œβ”€β”€ .moon/ -β”‚ β”œβ”€β”€ workspace.yml -β”‚ β”œβ”€β”€ toolchain.yml -β”‚ └── tasks/ -β”‚ β”œβ”€β”€ typescript-build.yml -β”‚ β”œβ”€β”€ typescript-lint.yml -β”‚ β”œβ”€β”€ typescript-test.yml -β”‚ β”œβ”€β”€ rust-build.yml -β”‚ β”œβ”€β”€ rust-test.yml -β”‚ └── rust-lint.yml -β”œβ”€β”€ apps/ -β”‚ β”œβ”€β”€ nextjs/moon.yml -β”‚ β”œβ”€β”€ elysia/moon.yml -β”‚ β”œβ”€β”€ solidjs/moon.yml -β”‚ β”œβ”€β”€ rust/moon.yml -β”‚ β”œβ”€β”€ rust-auth/moon.yml -β”‚ β”œβ”€β”€ leptos/moon.yml -β”‚ └── 9router/moon.yml -β”œβ”€β”€ .moon/workspace.yml # unchanged β€” Nix build + deployment -β”œβ”€β”€ flake.nix # unchanged -β”œβ”€β”€ infra/ # unchanged β€” Docker Compose, Traefik, nginx -└── scripts/ # unchanged -``` - -### Tag Taxonomy - -| Tag | Projects | -|-----|----------| -| `lang:typescript` | nextjs, elysia, solidjs | -| `lang:rust` | rust, rust-auth, leptos | -| `type:frontend` | nextjs, solidjs, leptos | -| `type:backend` | rust, elysia, rust-auth | -| `type:router` | 9router | - -### Toolchain - -- moonrepo manages Node 22, Bun, and TypeScript versions via `.moon/toolchain.yml` for consistent access across all TypeScript apps -- Rust toolchain remains managed by Nix/devShell β€” moonrepo does not touch Rust installation -- Nix devShell gains the moon CLI binary - -### Project Dependencies - -- **nextjs** depends on `rust-auth` and `elysia` (frontend consumes both APIs) -- **solidjs** depends on `elysia` and `rust-auth` -- **leptos** depends on `rust` (CSR frontend consumes rust backend API) -- **elysia**, **rust**, **rust-auth**, **9router** β€” no project dependencies - -## Task Definitions - -### Shared Tasks: TypeScript - -All TypeScript apps inherit from `.moon/tasks/typescript-*.yml`: - -| Task | Command | Inputs | Outputs | -|------|---------|--------|---------| -| `build` | `bun run build` | `src/**/*`, `tsconfig.json`, `package.json` | `.next`, `dist`, `.output` | -| `lint` | `bun run lint` | `src/**/*`, `eslint.config.mjs`, `tsconfig.json` | β€” | -| `typecheck` | `bun run check-types` | `src/**/*`, `tsconfig.json` | β€” | -| `test` | `bun test` | `src/**/*`, `test/**/*` | β€” | -| `e2e` | overridden per app | β€” | β€” | - -### Shared Tasks: Rust - -All Rust apps inherit from `.moon/tasks/rust-*.yml`, using system tasks: - -| Task | Command | Inputs | Outputs | -|------|---------|--------|---------| -| `build` | `cargo build --release` | `src/**/*`, `Cargo.toml`, `Cargo.lock`, `build.rs` | `target/release/*` | -| `test` | `cargo test` | `src/**/*`, `Cargo.toml`, `Cargo.lock`, `tests/**/*` | β€” | -| `lint` | `cargo clippy -- -D warnings` | `src/**/*`, `Cargo.toml` | β€” | -| `fmt-check` | `cargo fmt --check` | `src/**/*` | β€” | - -### Implicit Dependencies - -Configured in `workspace.yml`: `lint` implicitly depends on `build` for TypeScript apps (typecheck path), and `build` propagates to dependents when source inputs change. - -## Key Commands - -```bash -moon run :build # build all changed apps + dependents -moon run :lint # lint all -moon run :test # test all -moon run --tag lang:rust :test # test Rust apps only -moon run --affected :build # build only what changed -moon query projects --tag lang:typescript # list TypeScript projects -``` - -## What Does NOT Change - -- **Nix flakes** β€” system dependencies, Docker image builds, devShell remain as-is -- **Docker Compose** β€” deployment continues through existing compose files in `infra/compose/` -- **Git submodules** β€” all 7 app repos stay as submodules under `apps/` -- **infra/** β€” Traefik and Docker Compose deployment remain under `infra/`; legacy Grafana/Prometheus/Alertmanager configs have been removed -- **scripts/** β€” existing utility scripts unchanged - -## Migration Steps (High-Level) - -1. Install moonrepo CLI, create `.moon/` scaffolding -2. Create shared task definitions in `.moon/tasks/` -3. Configure `workspace.yml` with project list, tags, and dependency constraints -4. Configure `toolchain.yml` for Node 22 + Bun -5. Add `moon.yml` to each of the 7 app directories -6. Validate: `moon check`, `moon run :build`, `moon run :lint`, `moon run :test` -7. Add moon CLI to Nix devShell -8. Commit and document diff --git a/docs/superpowers/specs/2026-05-25-postgresql-migration-design.md b/docs/superpowers/specs/2026-05-25-postgresql-migration-design.md deleted file mode 100644 index f27f821..0000000 --- a/docs/superpowers/specs/2026-05-25-postgresql-migration-design.md +++ /dev/null @@ -1,197 +0,0 @@ -# PostgreSQL Migration Design -**Date:** 2026-05-25 -**Scope:** Migrate elysia (Drizzle ORM + MySQL) and rust (SeaORM + MySQL) apps to PostgreSQL -**Approach:** Direct cutover (Approach B) -**Connection String:** `postgresql://asephs:hunterz@100.108.1.124:5432/hub` - ---- - -## Current State - -### Elysia App -- **ORM:** Drizzle ORM v0.45.2 -- **Driver:** mysql2 v3.20.0 -- **Schema Location:** `apps/elysia/src/db/lib/schema.ts` -- **Tables:** users, accounts, sessions, roles, permissions, userRoles, and related junction tables -- **Database File:** `apps/elysia/src/db/lib/database.ts` - -### Rust App -- **ORM:** SeaORM v1.1.19 -- **Feature:** sqlx-mysql -- **DB Setup:** `apps/rust/src/infra/db_setup.rs` -- **Tables:** ImageCache (primary table managed by app) -- **Config:** Environment-based connection string - -### Apps NOT Migrating -- 9router (uses SQLite runtime, excluded per requirements) -- nextjs (frontend, minimal DB usage) -- leptos, solidjs, rust-auth (frontends, no DB) - ---- - -## Migration Steps - -### Phase 1: Pre-Migration (Preparation) -1. **Backup MySQL** - ```bash - mysqldump -u -p > mysql_backup.sql - ``` -2. **Convert MySQL dump to PostgreSQL** - - Use `pgloader` or manual conversion for schema compatibility - - Handle type conversions: - - `INT` β†’ `INTEGER` - - `VARCHAR(n)` β†’ `VARCHAR(n)` (PostgreSQL compatible) - - `DATETIME` β†’ `TIMESTAMP` - - `AUTO_INCREMENT` β†’ `SERIAL` or `BIGSERIAL` - - Verify indexes and foreign keys convert correctly -3. **Test import into target PostgreSQL** - ```bash - psql postgresql://asephs:hunterz@100.108.1.124:5432/hub < converted.sql - ``` -4. **Validate data integrity** - - Row counts match MySQL - - Indexes exist - - Foreign key constraints enforced - -### Phase 2: Code Updates - -#### Elysia App -1. **Update `apps/elysia/src/db/lib/database.ts`** - - Replace `mysql2` import with `postgres` driver - - Change Drizzle dialect from `drizzle-orm/mysql2` to `drizzle-orm/postgres` - - Update connection string format - -2. **Update `apps/elysia/src/db/lib/schema.ts`** - - Replace `drizzle-orm/mysql-core` imports with `drizzle-orm/postgres-core` - - Change `mysqlTable` to `pgTable` - - Adjust column types if needed (e.g., `int` β†’ `integer`) - -3. **Update `apps/elysia/package.json`** - - Replace `mysql2` with `pg` (PostgreSQL driver) - - Keep `drizzle-orm` and `drizzle-kit` versions - -4. **Update environment/config** - - Change `DATABASE_URL` to PostgreSQL connection string - -#### Rust App -1. **Update `apps/rust/Cargo.toml`** - - Replace `sqlx-mysql` feature with `sqlx-postgres` in sea-orm dependency - - Add `postgres` feature if needed - -2. **Update `apps/rust/src/infra/db_setup.rs`** - - Change `DbBackend::MySql` check to `DbBackend::Postgres` - - Adjust SQL syntax for PostgreSQL (e.g., index creation) - - Update error code handling (PostgreSQL uses different error codes) - -3. **Update config/environment** - - Change `DATABASE_URL` to PostgreSQL connection string - -### Phase 3: Cutover (Execution) -1. **Stop all apps** - ```bash - # Stop elysia - # Stop rust app - ``` -2. **Export MySQL data** - ```bash - mysqldump -u -p > final_backup.sql - ``` -3. **Convert and import to PostgreSQL** - ```bash - # Convert dump - # Import to PostgreSQL - psql postgresql://asephs:hunterz@100.108.1.124:5432/hub < converted.sql - ``` -4. **Deploy updated apps** - - Deploy elysia with PostgreSQL driver - - Deploy rust with PostgreSQL feature -5. **Verify connectivity** - - Test database queries from both apps - - Check auth flow (users table) - - Verify session management - -### Phase 4: Validation -1. **Smoke tests** - - User login/logout - - Session creation and retrieval - - Role/permission queries - - ImageCache operations (rust app) -2. **Data integrity checks** - - Row counts match pre-migration - - No orphaned foreign keys - - Indexes performing as expected -3. **Performance baseline** - - Compare query times MySQL vs PostgreSQL - - Monitor connection pool usage - -### Phase 5: Rollback Plan (if needed) -1. **Stop apps** -2. **Restore MySQL from backup** - ```bash - mysql -u -p < mysql_backup.sql - ``` -3. **Revert connection strings in apps** -4. **Redeploy with MySQL drivers** -5. **Restart apps** - ---- - -## Technical Details - -### Elysia Driver Change -**Before:** -```typescript -import { drizzle } from 'drizzle-orm/mysql2' -import { createPool } from 'mysql2/promise' -``` - -**After:** -```typescript -import { drizzle } from 'drizzle-orm/postgres-js' -import postgres from 'postgres' -``` - -### Rust Feature Change -**Before:** -```toml -sea-orm = { version = "1.1.19", features = ["sqlx-mysql", ...] } -``` - -**After:** -```toml -sea-orm = { version = "1.1.19", features = ["sqlx-postgres", ...] } -``` - ---- - -## Risk Assessment - -| Risk | Mitigation | -|------|-----------| -| Data loss during migration | Full MySQL backup before cutover; test import first | -| App downtime | Cutover during low-traffic window; rollback plan ready | -| Connection string misconfiguration | Test connection before deploying apps | -| Schema incompatibilities | Pre-test conversion; validate indexes/constraints | -| Performance regression | Baseline MySQL performance; monitor PostgreSQL after cutover | - ---- - -## Success Criteria - -- βœ… All data migrated to PostgreSQL (row counts match) -- βœ… Elysia app connects and queries work -- βœ… Rust app connects and queries work -- βœ… Auth flow functional (login/logout) -- βœ… No orphaned foreign keys -- βœ… Indexes present and performant -- βœ… Rollback plan tested and documented - ---- - -## Timeline - -- **Pre-migration:** 30 min (backup, convert, test) -- **Code updates:** 1-2 hours (driver changes, testing) -- **Cutover:** 15-30 min (stop apps, migrate data, restart) -- **Validation:** 30 min (smoke tests, data checks) -- **Total:** ~3-4 hours (including buffer) diff --git a/docs/superpowers/specs/2026-05-26-remove-nix-docker-only-design.md b/docs/superpowers/specs/2026-05-26-remove-nix-docker-only-design.md deleted file mode 100644 index a4f7601..0000000 --- a/docs/superpowers/specs/2026-05-26-remove-nix-docker-only-design.md +++ /dev/null @@ -1,21 +0,0 @@ -# Hapus Nix, Docker-Only - -**Goal:** Remove all Nix configuration and adapt CI/dev to Docker-only. - -**Scope:** -- Delete: `flake.nix`, `flake.lock`, `nix/`, `.envrc`, `.direnv/` -- Modify: `.github/workflows/docker-build-push.yml` β€” remove Nix steps, move `rust-api` to Dockerfile build -- Modify: `.vscode/settings.json` β€” remove `nixEnvSelector` -- Modify: `README.md` β€” replace `nix build` with `docker build` - -**CI Changes:** -- `rust-api` uses `infra/docker/rust.Dockerfile` (already exists) -- Remove `cachix/install-nix-action`, `cachix/cachix-action`, `nix build` step -- Remove `flake.nix`, `flake.lock`, `nix/**` from path triggers -- Update path filters: `nix/apps/*.nix` β†’ `infra/docker/*.Dockerfile` -- Remove `repository_dispatch` Nix `--override-input` logic -- Add `rust-api` to Dockerfile case + push branch - -**Dev Workflow:** -- Rust toolchain via `rustup`/`rust-toolchain.toml` in `apps/rust/` -- Dev via `docker compose` instead of `process-compose` diff --git a/docs/superpowers/specs/2026-05-27-production-github-actions-design.md b/docs/superpowers/specs/2026-05-27-production-github-actions-design.md deleted file mode 100644 index de73aa4..0000000 --- a/docs/superpowers/specs/2026-05-27-production-github-actions-design.md +++ /dev/null @@ -1,100 +0,0 @@ -# Production GitHub Actions redesign - -## Goal - -Rework `.github/workflows` into a production baseline that balances reliability, security, speed, and clear failures while keeping automatic deploys from `main`. - -## Current problems - -- Deploy runner checks out submodules recursively even though deploy work happens on the VPS. Fresh submodule SHAs can fail with `not our ref` before deploy starts. -- Repository dispatch can update a parent submodule pointer before the submodule SHA is fetchable by GitHub Actions. -- Build and deploy permissions are broader than needed at workflow level. -- Failure logs do not clearly separate build, manifest update, submodule readiness, and deployment phases. - -## Chosen approach - -Use a split pipeline: - -1. `docker-build-push.yml` remains the build and manifest update pipeline. -2. `deploy-docker.yml` remains deploy-only. -3. Repository dispatch waits for the requested submodule SHA to be fetchable before building and updating the parent pointer. -4. Deploy checkout no longer uses recursive submodules; the VPS updates submodules after resetting to `origin/main`. - -## Build workflow design - -Triggers: - -- `push` to `main` for app/package/docker/workflow changes. -- `repository_dispatch` with `service` and `sha` payload. -- `workflow_dispatch` for manual full builds. - -Jobs: - -- `changes`: detects the service matrix and validates dispatch payloads. -- `build`: builds and pushes only selected service images using Docker Buildx registry cache. -- `update-manifest`: updates compose image tags and, for dispatch events, updates the matching submodule pointer. - -Repository dispatch handling: - -- For dispatch events, wait until `git ls-remote` or equivalent fetch confirms the payload SHA exists in the service submodule remote. -- Retry for a bounded timeout and fail with an explicit message if the SHA never becomes visible. -- Only after readiness is confirmed, checkout the SHA in the submodule and commit the parent pointer update. - -## Deploy workflow design - -Triggers: - -- `workflow_run` from successful `Build and Push Docker Images` on `main`. -- `push` to `main` for `infra/compose/**` and deploy workflow changes. -- `workflow_dispatch`. - -Behavior: - -- Keep automatic deploy from `main`. -- Keep a single deploy concurrency group. -- Use non-recursive checkout on the runner. -- On the VPS, fetch/reset `origin/main`, update submodules, compute changed compose stacks, pull images, and run Docker Compose. - -## Permissions and action trust - -Defaults: - -```yaml -permissions: - contents: read -``` - -Job-specific permissions: - -- Build job: `contents: read`, `packages: write`. -- Manifest update job: `contents: write`. -- Deploy job: `contents: read`. - -Action pinning: - -- GitHub-owned and Docker official actions may use major versions such as `actions/checkout@v4` and `docker/build-push-action@v6`. -- Any future third-party action should be pinned to a full commit SHA. - -## Reliability details - -- Keep `set -euo pipefail` in shell steps. -- Add bounded retry around submodule SHA readiness. -- Add clear logs for selected services, image tags, compose files changed, and dispatch payload values. -- Avoid recursive submodule checkout in deploy to eliminate fresh-SHA checkout race. -- Manifest commits continue using `[skip ci]` to prevent build loops. - -## Speed details - -- Keep selective matrix builds. -- Keep Docker Buildx registry cache. -- Keep deploy checkout shallow and submodule-free. -- Avoid rebuilding from compose-only manifest commits. - -## Validation - -Before marking implementation complete: - -- Validate workflow YAML syntax. -- Run `gh workflow list` or equivalent sanity checks. -- Verify build workflow still detects React updates. -- Verify deploy workflow no longer fails during runner checkout for fresh submodule SHAs. diff --git a/docs/superpowers/specs/2026-07-09-monorepo-restructure-design.md b/docs/superpowers/specs/2026-07-09-monorepo-restructure-design.md deleted file mode 100644 index cd905ce..0000000 --- a/docs/superpowers/specs/2026-07-09-monorepo-restructure-design.md +++ /dev/null @@ -1,125 +0,0 @@ -# Monorepo Restructure: ultimate-asepharyana.tech β†’ asepharyana-hub - -**Date:** 2026-07-09 -**Status:** Approved -**Owner:** @asepharyana - -## Background - -Proyek ini sebelumnya bernama `ultimate-asepharyana.tech` β€” sebuah monorepo yang berisi beberapa service aplikasi, infrastruktur, dokumentasi, dan utility scripts. Karena GitHub org `MythEclipse` kena banned, semua remote repos tidak bisa diakses. Perlu dilakukan restruktur dan rename project secara menyeluruh. - -## Goals - -1. Rename project dari `ultimate-asepharyana.tech` ke `asepharyana-hub` -2. Hapus service docker-manager dan teleuploader dari proyek -3. Hapus semua pointer `.git` submodule (clean slate) -4. Update `.gitmodules` dengan remote baru ke `github.com/asepharyana/*` -5. Update semua referensi: workflows, konfigurasi, dokumentasi, image names -6. Siapkan struktur lokal β€” inisialisasi git dan push dilakukan terpisah - -## Service yang tetap dipertahankan - -| Service | Path | Git remote baru | -|---------|------|----------------| -| Scraper | `apps/scraper` | `asepharyana/asepharyana-hub-scraper` | - -## Service yang dihapus - -| Service | Path | -|---------|------| -| Docker Manager | `apps/docker-manager/` | -| TeleUploader | `apps/teleuploader/` | -| Elysia API | `apps/elysia/` | -| React Frontend | `apps/react/` | -| Rust Auth | `apps/rust-auth/` | - -## File yang akan dihapus (gelombang 1) - -- `apps/docker-manager/` (seluruh direktori) -- `apps/teleuploader/` (seluruh direktori) -- `infra/compose/docker-manager.yml` -- `infra/compose/teleuploader.yml` -- `infra/docker/docker-manager.Dockerfile` -- `infra/docker/teleuploader.Dockerfile` - -## File pointer `.git` submodule yang dihapus - -- `apps/elysia/.git` -- `apps/react/.git` -- `apps/scraper/.git` -- `apps/rust-auth/.git` - -## Rename mapping - -| Lokasi | Dari | Ke | -|--------|------|----| -| `package.json` `name` | `ultimate-asepharyana.tech` | `asepharyana-hub` | -| `README.md` | judul & path references | `asepharyana-hub` | -| `ARCHITECTURE.md` | directory tree, paths | `asepharyana-hub` | -| `CONTRIBUTING.md` | repo names & paths | `asepharyana-hub-*` | -| `infra/README.md` | deskripsi | `asepharyana-hub` | -| `.env.example` | `TRAEFIK_CONFIG_PATH` | `asepharyana-hub` | -| Perlengkapan infra Traefik | path config references | `asepharyana-hub` | -| `scripts/cleanup-ghcr.sh` | `MythEclipse` | `asepharyana` | -| `docs/add-new-app.md` | path references | `asepharyana-hub` | -| `docs/adr/*.md` | path references | `asepharyana-hub` | - -## Image name migration (GHCR) - -| Lama | Baru | -|------|------| -| `ghcr.io/mytheclipse/ultimate-asepharyana.tech/scraper-api:*` | `ghcr.io/asepharyana/asepharyana-hub/scraper-api:*` | -| `ghcr.io/mytheclipse/ultimate-asepharyana.tech/elysia-api:*` | β€” (dihapus) | -| `ghcr.io/mytheclipse/ultimate-asepharyana.tech/react-web:*` | β€” (dihapus) | -| `ghcr.io/mytheclipse/ultimate-asepharyana.tech/rust-auth:*` | β€” (dihapus) | -| `ghcr.io/mytheclipse/ultimate-asepharyana.tech/docker-manager:*` | β€” (dihapus) | -| `ghcr.io/mytheclipse/ultimate-asepharyana.tech/teleuploader:*` | β€” (dihapus) | - -## Workflow changes - -### `docker-build-push.yml` -- `IMAGE_NAME_PREFIX`: `mytheclipse/ultimate-asepharyana.tech` β†’ `asepharyana/asepharyana-hub` -- Hapus service entries: `docker-manager`, `teleuploader`, `elysia-api`, `react-web`, `rust-auth` -- Update repo URLs di `wait-submodule-ref` dari `MythEclipse/*` ke `asepharyana/*` -- Update `update-manifest` phase β€” hapus service docker-manager, teleuploader, elysia-api, react-web, rust-auth - -### `deploy-docker.yml` -- Update `git remote add origin` -- Hapus docker-manager, teleuploader, elysia-api, react-web, rust-auth dari compose list dan checkout - -### `update-submodule.yml` -- Hapus service docker-manager, teleuploader, elysia-api, react-web, rust-auth - -## `.gitmodules` - -Hanya berisi 1 app scraper: - -```ini -[submodule "apps/scraper"] - path = apps/scraper - url = https://github.com/asepharyana/asepharyana-hub-scraper.git -``` - -## Execution plan - -1. Hapus docker-manager & teleuploader direktori + file infra -2. Hapus `.git` pointer di submodule -3. Update `.gitmodules` -4. Update `package.json` -5. Update `README.md`, `ARCHITECTURE.md`, `CONTRIBUTING.md` -6. Update `infra/compose/*.yml` image tags -7. Update `.env.example`, `infra/README.md`, docs traefik -8. Update `docker-build-push.yml` -9. Update `deploy-docker.yml` -10. Update `update-submodule.yml` -11. Update `scripts/cleanup-ghcr.sh` -12. Update `docs/add-new-app.md` -13. Update `docs/adr/*.md` path references (historical) - -## Post-execution state - -- Root direktori `asepharyana-hub/` dengan source code apps utuh (tanpa git) -- 1 app submodule (scraper) terdaftar di `.gitmodules` dengan remote baru -- Infra/docs/scripts tetap menyatu di root -- 0 references ke `MythEclipse/ultimate-asepharyana.tech` di file konfigurasi -- Siap untuk `git init && git add && git commit` kapan saja diff --git a/infra/README.md b/infra/README.md index 9e23d3f..29e2f05 100644 --- a/infra/README.md +++ b/infra/README.md @@ -60,9 +60,7 @@ Traefik reads dynamic config from `infra/traefik/dynamic/`: - `apps.yaml` β€” routers and upstream services - `middlewares.yaml` β€” shared middleware chains -- `ssl.yaml` β€” TLS certificates - -The primary certificate intentionally pairs `asephstech.pem` with `asephscloud.key` to preserve the current production layout. +- `ssl.yaml` β€” TLS certificates for `asepharyana.my.id` and `asepharyana.web.id` ## Validation diff --git a/infra/compose/scraper.yml b/infra/compose/scraper.yml index 6726040..c570e7d 100644 --- a/infra/compose/scraper.yml +++ b/infra/compose/scraper.yml @@ -1,7 +1,13 @@ services: scraper-api: container_name: scraper-api +<<<<<<< HEAD image: ghcr.io/asepharyana/asepharyana-hub/scraper-api:sha-80027ee +||||||| parent of 092c0b3 (Refactor Dockerfile for scraper, update Traefik configuration, and clean up scripts) + image: ghcr.io/asepharyana/asepharyana-hub/scraper-api:sha-b199f8c +======= + image: ghcr.io/asepharyana/asepharyana-hub/scraper-api:latest +>>>>>>> 092c0b3 (Refactor Dockerfile for scraper, update Traefik configuration, and clean up scripts) restart: always networks: app-shared-net: @@ -9,12 +15,16 @@ services: - scraper-api env_file: - ../../.env + healthcheck: + test: ['CMD', 'curl', '-f', 'http://localhost:4091/health'] + interval: 30s + timeout: 5s + retries: 3 + start_period: 15s environment: - REDIS_URL=redis://redis:6379 - JWT_SECRET=${JWT_SECRET:?JWT_SECRET is required} - DATABASE_URL=${DATABASE_URL} - - OTEL_EXPORTER_OTLP_ENDPOINT=http://otlp-metrics-backend:4317 - - OTEL_SERVICE_NAME=scraper-api networks: app-shared-net: name: app-shared-net diff --git a/infra/compose/shared.yml b/infra/compose/shared.yml index 9345cde..9a5f708 100644 --- a/infra/compose/shared.yml +++ b/infra/compose/shared.yml @@ -9,6 +9,12 @@ services: - redis ports: - '${SHARED_REDIS_EXPOSE:-127.0.0.1:6379:6379}' + healthcheck: + test: ['CMD', 'redis-cli', 'ping'] + interval: 10s + timeout: 3s + retries: 3 + start_period: 5s volumes: - 'redis_data:/data' diff --git a/infra/compose/traefik.yml b/infra/compose/traefik.yml index d838861..8508ef4 100644 --- a/infra/compose/traefik.yml +++ b/infra/compose/traefik.yml @@ -49,6 +49,13 @@ services: - '--experimental.plugins.real-ip.version=v1.0.3' - '--experimental.plugins.blockpath.moduleName=github.com/traefik/plugin-blockpath' - '--experimental.plugins.blockpath.version=v0.2.1' + - '--ping=true' + healthcheck: + test: ['CMD', 'wget', '--spider', 'http://localhost:8080/ping'] + interval: 30s + timeout: 5s + retries: 3 + start_period: 15s environment: - DOCKER_API_VERSION=1.41 - GOMEMLIMIT=4096MiB @@ -56,10 +63,10 @@ services: volumes: - /var/run/docker.sock:/var/run/docker.sock:ro - ${TRAEFIK_CONFIG_PATH:-/root/asepharyana-hub/infra/traefik/dynamic}:/etc/traefik/dynamic:ro - - ${TRAEFIK_CERT_ASEPHARYANA_MY_ID_PEM:-/root/asepharyana.my.id.pem}:/etc/traefik/certs/asepharyana.my.id.pem:ro - - ${TRAEFIK_CERT_ASEPHARYANA_MY_ID_KEY:-/root/asepharyana.my.id.key}:/etc/traefik/certs/asepharyana.my.id.key:ro - - ${TRAEFIK_CERT_ASEPHARYANA_WEB_ID_PEM:-/root/asepharyana.web.id.pem}:/etc/traefik/certs/asepharyana.web.id.pem:ro - - ${TRAEFIK_CERT_ASEPHARYANA_WEB_ID_KEY:-/root/asepharyana.web.id.key}:/etc/traefik/certs/asepharyana.web.id.key:ro + - ${TRAEFIK_CERT_MY_ID_PEM:-/root/asepharyana.my.id.pem}:/etc/traefik/certs/asepharyana.my.id.pem:ro + - ${TRAEFIK_CERT_MY_ID_KEY:-/root/asepharyana.my.id.key}:/etc/traefik/certs/asepharyana.my.id.key:ro + - ${TRAEFIK_CERT_WEB_ID_PEM:-/root/asepharyana.web.id.pem}:/etc/traefik/certs/asepharyana.web.id.pem:ro + - ${TRAEFIK_CERT_WEB_ID_KEY:-/root/asepharyana.web.id.key}:/etc/traefik/certs/asepharyana.web.id.key:ro labels: - 'traefik.enable=true' - 'traefik.http.routers.traefik.rule=Host(`traefik.asepharyana.my.id`) || Host(`traefik.asepharyana.web.id`)' diff --git a/infra/config/mysql/init.sql/00_init_user.sql b/infra/config/mysql/init.sql/00_init_user.sql deleted file mode 100644 index 2784633..0000000 --- a/infra/config/mysql/init.sql/00_init_user.sql +++ /dev/null @@ -1,10 +0,0 @@ --- Create database if not exists -CREATE DATABASE IF NOT EXISTS `tracer_study`; - --- Create dedicated user for tracer_study -CREATE USER IF NOT EXISTS 'tracerstudy'@'%' IDENTIFIED BY 'tracerstudy_secret'; -GRANT ALL PRIVILEGES ON `tracer_study`.* TO 'tracerstudy'@'%'; - - --- Flush privileges -FLUSH PRIVILEGES; diff --git a/infra/config/mysql/init.sql/tracer_study.sql b/infra/config/mysql/init.sql/tracer_study.sql deleted file mode 100644 index 88d51ed..0000000 --- a/infra/config/mysql/init.sql/tracer_study.sql +++ /dev/null @@ -1,1329 +0,0 @@ --- phpMyAdmin SQL Dump --- version 5.2.0 --- https://www.phpmyadmin.net/ --- --- Host: localhost:3306 --- Generation Time: Mar 07, 2026 at 10:39 AM --- Server version: 8.0.30 --- PHP Version: 8.3.19 - -SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; -START TRANSACTION; -SET time_zone = "+00:00"; - - -/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; -/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; -/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; -/*!40101 SET NAMES utf8mb4 */; - --- --- Database: `tracer_study` --- - --- -------------------------------------------------------- - --- --- Table structure for table `alumnis` --- - -CREATE TABLE `alumnis` ( - `id` bigint UNSIGNED NOT NULL, - `user_id` bigint UNSIGNED NOT NULL, - `nim` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, - `username` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, - `birth_place` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, - `birth_date` date NOT NULL, - `gender` enum('male','female') COLLATE utf8mb4_unicode_ci NOT NULL, - `address` text COLLATE utf8mb4_unicode_ci NOT NULL, - `phone_number` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, - `email` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, - `gpa` decimal(3,2) NOT NULL, - `faculty` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, - `major` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, - `entry_year` year NOT NULL, - `graduation_year` year NOT NULL, - `status` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, - `category_field` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, - `waiting_period` int DEFAULT NULL, - `job_position` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, - `company_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, - `foto` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, - `created_at` timestamp NULL DEFAULT NULL, - `updated_at` timestamp NULL DEFAULT NULL -) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; - --- --- Dumping data for table `alumnis` --- - -INSERT INTO `alumnis` (`id`, `user_id`, `nim`, `username`, `birth_place`, `birth_date`, `gender`, `address`, `phone_number`, `email`, `gpa`, `faculty`, `major`, `entry_year`, `graduation_year`, `status`, `category_field`, `waiting_period`, `job_position`, `company_name`, `foto`, `created_at`, `updated_at`) VALUES -(11, 12, '701220220', 'Jaka', 'Jambi', '2003-12-18', 'male', 'muaro,jambi', '081520222070', 'jaka@gmail.com', '4.00', 'Sains dan Teknologi', 'Sistem Informasi', 2023, 2027, 'bekerja', 'product & analysis', 2, 'Business Analyst', 'PT Teknologi Maju', NULL, '2025-12-28 13:22:37', '2026-01-21 00:23:19'), -(12, 13, '701220127', 'Nadia Oktarina', 'Palembang', '2003-10-01', 'female', 'muaro,jambi', '081520222026', 'nadiaokta847@gmail.com', '4.00', 'Sains dan Teknologi', 'Sistem Informasi', 2022, 2026, 'bekerja', 'design & ux', 1, 'UI/UX Designer', 'PT PERTAMINA PERSERO', NULL, '2025-12-28 13:53:07', '2026-03-03 03:24:50'), -(13, 14, '701220001', 'Ahmad Fauzi', 'Bandung', '2000-01-15', 'male', 'Jl. Merdeka No 1', '081234567801', 'ahmad.fauzi@gmail.com', '3.45', 'Sains dan Teknologi', 'Sistem Informasi', 2018, 2022, 'bekerja', 'it & development', 7, 'Programmer', 'PT Teknologi Maju', NULL, '2025-12-28 14:25:04', '2026-01-21 00:34:57'), -(14, 15, '701220002', 'Siti Aisyah', 'Jakarta', '1999-05-20', 'female', 'Jl. Sudirman No 10', '081234567802', 'siti.aisyah@gmail.com', '3.80', 'Sains dan Teknologi', 'Sistem Informasi', 2017, 2021, 'bekerja', 'product & analysis', 9, 'System Analyst', 'PT Digital Solusi', NULL, '2025-12-28 14:25:04', '2026-01-21 00:34:32'), -(15, 16, '701220003', 'Budi Santoso', 'Surabaya', '2000-03-10', 'male', 'Jl. Pahlawan No 5', '081234567803', 'budi.santoso@gmail.com', '3.20', 'Sains dan Teknologi', 'Sistem Informasi', 2018, 2022, 'belum bekerja', NULL, NULL, NULL, NULL, NULL, '2025-12-28 14:25:05', '2026-01-21 00:33:56'), -(16, 17, '701220004', 'Rina Marlina', 'Bogor', '2001-07-08', 'female', 'Jl. Raya Bogor Km 30', '081234567804', 'rina.marlina@gmail.com', '3.60', 'Sains dan Teknologi', 'Sistem Informasi', 2019, 2023, 'bekerja', 'design & ux', 19, 'UI/UX Designer', 'PT Kreatif Digital', NULL, '2025-12-28 14:25:05', '2026-01-21 00:33:26'), -(17, 18, '701220005', 'Dedi Pratama', 'Medan', '1999-11-25', 'male', 'Jl. Gatot Subroto No 12', '081234567805', 'dedi.pratama@gmail.com', '3.10', 'Sains dan Teknologi', 'Sistem Informasi', 2017, 2021, 'belum bekerja', NULL, NULL, NULL, NULL, NULL, '2025-12-28 14:25:05', '2026-01-21 00:32:45'), -(18, 19, '701220006', 'Lina Putri', 'Padang', '2000-09-14', 'female', 'Jl. Veteran No 7', '081234567806', 'lina.putri@gmail.com', '3.75', 'Sains dan Teknologi', 'Sistem Informasi', 2018, 2022, 'bekerja', 'product & analysis', 24, 'Data Analyst', 'PT Data Cerdas', NULL, '2025-12-28 14:25:06', '2026-01-21 00:32:19'), -(19, 20, '701220007', 'Rizky Maulana', 'Depok', '2001-02-02', 'male', 'Jl. Margonda Raya', '081234567807', 'rizky.maulana@gmail.com', '3.50', 'Sains dan Teknologi', 'Sistem Informasi', 2019, 2023, 'bekerja', 'it & development', 30, 'Backend Developer', 'PT Software Nusantara', NULL, '2025-12-28 14:25:06', '2026-01-21 00:31:07'), -(20, 21, '701220008', 'Putri Ananda', 'Palembang', '2000-06-18', 'female', 'Jl. Sudirman Ilir', '081234567808', 'putri.ananda@gmail.com', '3.90', 'Sains dan Teknologi', 'Sistem Informasi', 2018, 2022, 'bekerja', 'it & development', 22, 'Mobile Developer', 'PT Aplikasi Hebat', NULL, '2025-12-28 14:25:07', '2026-01-21 00:30:35'), -(21, 22, '701220009', 'Andi Wijaya', 'Makassar', '1999-12-30', 'male', 'Jl. Pettarani No 9', '081234567809', 'andi.wijaya@gmail.com', '3.00', 'Sains dan Teknologi', 'Sistem Informasi', 2017, 2021, 'belum bekerja', NULL, NULL, NULL, NULL, NULL, '2025-12-28 14:25:07', '2026-01-21 00:29:08'), -(22, 23, '701220010', 'Nurul Hidayah', 'Yogyakarta', '2001-04-05', 'female', 'Jl. Kaliurang Km 5', '081234567810', 'nurul.hidayah@gmail.com', '3.85', 'Sains dan Teknologi', 'Sistem Informasi', 2019, 2023, 'bekerja', 'product & analysis', 19, 'Risk Analyst', 'PT BTN tbk', NULL, '2025-12-28 14:25:07', '2026-01-21 00:29:43'), -(80, 50, '701220015', 'Dedi Pratama', 'Medan', '1996-03-23', 'male', 'Jl. Gatot Subroto', '081355566678', 'dedi.pratama20@gmail.com', '3.10', 'Sains dan Teknologi', 'Sistem Informasi', 2016, 2020, 'wirausaha', NULL, NULL, NULL, 'Usaha Mandiri', NULL, '2026-01-13 02:44:37', '2026-01-21 00:28:44'), -(98, 68, '701220011', 'Ahmad Fauzi', 'Bandung', '1999-05-12', 'male', 'Jl. Merdeka No. 10', '081234567890', 'ahmad.fauzi02@gmail.com', '3.45', 'Sains dan Teknologi', 'Sistem Informasi', 2018, 2022, 'bekerja', 'it & development', 2, 'Software Engineer', 'PT Teknologi Nusantara', NULL, '2026-01-13 03:06:32', '2026-01-21 00:28:04'), -(99, 69, '701220012', 'Siti Aminah', 'Jakarta', '2000-02-20', 'female', 'Jl. Sudirman No. 5', '081298765432', 'siti.aminah@gmail.com', '3.67', 'Sains dan Teknologi', 'Sistem Informasi', 2019, 2023, 'bekerja', 'product & analysis', 3, 'Product Analyst', 'PT Digital Solusi', NULL, '2026-01-13 03:06:32', '2026-01-21 00:27:30'), -(100, 70, '701220013', 'Budi Santoso', 'Surabaya', '1998-11-03', 'male', 'Jl. Ahmad Yani No. 21', '081377788899', 'budi.santoso22@gmail.com', '3.20', 'Sains dan Teknologi', 'Sistem Informasi', 2017, 2021, 'belum bekerja', NULL, NULL, NULL, NULL, NULL, '2026-01-13 03:06:33', '2026-01-21 00:26:52'), -(101, 84, '701220014', 'Rina badria', 'Yogyakarta', '1999-07-15', 'female', 'Jl. Kaliurang Km 7', '081366679088', 'rinabadr@gmail.com', '3.80', 'Sains dan Teknologi', 'Sistem Informasi', 2019, 2023, 'bekerja', 'business & management', 1, 'Business Analyst', 'PT Konsultan Maju', NULL, '2026-01-13 03:06:34', '2026-02-27 21:36:08'), -(102, 72, '701220133', 'M Syarifuddin', 'Palembang', '2003-01-16', 'male', 'jambi, batang hari', '081520222234', 'udin@gmail.com', '3.29', 'Sains dan Teknologi', 'Sistem Informasi', 2020, 2024, 'wirausaha', NULL, NULL, NULL, 'Bisnis Service Leptop', NULL, '2026-01-14 08:09:07', '2026-01-21 00:25:24'), -(104, 78, '701220251', 'Ahmad Fairuz Akbar', 'Surakarta', '2000-02-27', 'male', 'Jl. Merdeka No. 10', '81234567890', 'ahmadfairuz1@gmail.com', '3.45', 'Fakultas Ilmu Komputer', 'Sistem Informasi', 2018, 2022, 'bekerja', 'it & development', 2, 'Software Engineer', 'PT Teknologi Nusantara', NULL, '2026-01-26 01:00:24', '2026-02-28 00:50:13'), -(106, 80, '701220335', 'Mustofa', 'Palembang', '2002-10-12', 'male', 'Jln Sunan Ampel No 10, Kota Palembang', '081532236770', 'mustop4@gmail.com', '3.98', 'Sains dan Teknologi', 'Sistem Informasi', 2021, 2025, 'belum bekerja', NULL, NULL, NULL, NULL, NULL, '2026-02-27 20:13:10', '2026-02-27 20:13:10'), -(107, 81, '701220515', 'Ikbal', 'Bandung', '1999-08-12', 'male', 'Jl. Merdeka No. 10', '081234556890', 'ikbal2@gmail.com', '3.65', 'Sains dan Teknologi', 'Sistem Informasi', 2019, 2023, 'bekerja', 'it & development', 6, 'Software Engineer', 'PT Teknologi Nusantara', NULL, '2026-02-27 21:22:01', '2026-02-27 21:22:01'), -(108, 82, '701220516', 'Siti Rohaya', 'Brebes', '2001-02-20', 'female', 'Jl. Sudirman No. 5', '081599765432', 'sitiryh@gmail.com', '3.69', 'Sains dan Teknologi', 'Sistem Informasi', 2019, 2023, 'bekerja', 'product & analysis', 10, 'Product Analyst', 'PT Digital Solusi', NULL, '2026-02-27 21:22:01', '2026-02-27 21:22:01'), -(109, 83, '701220518', 'Budiman', 'Jakarta', '1999-12-03', 'male', 'Jl. Ahmad Yani No. 21', '081377788899', 'budiman02@gmail.com', '3.70', 'Fakultas Ilmu Komputer', 'Sistem Informasi', 2019, 2023, 'belum bekerja', NULL, NULL, NULL, NULL, NULL, '2026-02-27 21:22:02', '2026-02-27 21:36:07'), -(123, 85, '701220615', 'Rendi Pratama', 'Medan', '1999-03-08', 'male', 'Jl. Gatot Subroto', '081353566677', 'rendipratama10@gmail.com', '3.70', 'Sains dan Teknologi', 'Sistem Informasi', 2019, 2023, 'bekerja', 'operation & support', 4, 'IT Support', 'Usaha Mandiri', NULL, '2026-02-27 21:36:09', '2026-02-27 21:36:09'); - --- -------------------------------------------------------- - --- --- Table structure for table `cache` --- - -CREATE TABLE `cache` ( - `key` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, - `value` mediumtext COLLATE utf8mb4_unicode_ci NOT NULL, - `expiration` int NOT NULL -) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; - --- --- Dumping data for table `cache` --- - -INSERT INTO `cache` (`key`, `value`, `expiration`) VALUES -('tracer-study-cache-livewire-rate-limiter:62dcdddd2131784090e8a5916c260a90678e71b3', 'i:1;', 1772534892), -('tracer-study-cache-livewire-rate-limiter:62dcdddd2131784090e8a5916c260a90678e71b3:timer', 'i:1772534892;', 1772534892), -('tracer-study-cache-livewire-rate-limiter:a17961fa74e9275d529f489537f179c05d50c2f3', 'i:1;', 1772537303), -('tracer-study-cache-livewire-rate-limiter:a17961fa74e9275d529f489537f179c05d50c2f3:timer', 'i:1772537303;', 1772537303), -('tracer-study-cache-livewire-rate-limiter:c9648cc0cb3d6646e566f360255b7283d9012d02', 'i:2;', 1772535874), -('tracer-study-cache-livewire-rate-limiter:c9648cc0cb3d6646e566f360255b7283d9012d02:timer', 'i:1772535874;', 1772535874), -('tracer-study-cache-spatie.permission.cache', 'a:3:{s:5:\"alias\";a:4:{s:1:\"a\";s:2:\"id\";s:1:\"b\";s:4:\"name\";s:1:\"c\";s:10:\"guard_name\";s:1:\"r\";s:5:\"roles\";}s:11:\"permissions\";a:33:{i:0;a:4:{s:1:\"a\";i:1;s:1:\"b\";s:11:\"view_alumni\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:1:{i:0;i:1;}}i:1;a:4:{s:1:\"a\";i:2;s:1:\"b\";s:13:\"create_alumni\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:1:{i:0;i:1;}}i:2;a:4:{s:1:\"a\";i:3;s:1:\"b\";s:11:\"edit_alumni\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:1:{i:0;i:1;}}i:3;a:4:{s:1:\"a\";i:4;s:1:\"b\";s:13:\"delete_alumni\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:1:{i:0;i:1;}}i:4;a:4:{s:1:\"a\";i:5;s:1:\"b\";s:13:\"import_alumni\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:1:{i:0;i:1;}}i:5;a:4:{s:1:\"a\";i:6;s:1:\"b\";s:13:\"export_alumni\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:1:{i:0;i:1;}}i:6;a:4:{s:1:\"a\";i:7;s:1:\"b\";s:18:\"view_questionnaire\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:1:{i:0;i:1;}}i:7;a:4:{s:1:\"a\";i:8;s:1:\"b\";s:20:\"create_questionnaire\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:1:{i:0;i:1;}}i:8;a:4:{s:1:\"a\";i:9;s:1:\"b\";s:18:\"edit_questionnaire\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:1:{i:0;i:1;}}i:9;a:4:{s:1:\"a\";i:10;s:1:\"b\";s:20:\"delete_questionnaire\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:1:{i:0;i:1;}}i:10;a:4:{s:1:\"a\";i:11;s:1:\"b\";s:14:\"view_responses\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:1:{i:0;i:1;}}i:11;a:4:{s:1:\"a\";i:12;s:1:\"b\";s:16:\"export_responses\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:1:{i:0;i:1;}}i:12;a:4:{s:1:\"a\";i:13;s:1:\"b\";s:18:\"fill_questionnaire\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:1:{i:0;i:2;}}i:13;a:4:{s:1:\"a\";i:14;s:1:\"b\";s:8:\"view_job\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:2:{i:0;i:1;i:1;i:2;}}i:14;a:4:{s:1:\"a\";i:15;s:1:\"b\";s:10:\"create_job\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:2:{i:0;i:1;i:1;i:2;}}i:15;a:4:{s:1:\"a\";i:16;s:1:\"b\";s:12:\"edit_own_job\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:2:{i:0;i:1;i:1;i:2;}}i:16;a:4:{s:1:\"a\";i:17;s:1:\"b\";s:14:\"delete_own_job\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:2:{i:0;i:1;i:1;i:2;}}i:17;a:4:{s:1:\"a\";i:18;s:1:\"b\";s:16:\"view_scholarship\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:2:{i:0;i:1;i:1;i:2;}}i:18;a:4:{s:1:\"a\";i:19;s:1:\"b\";s:18:\"create_scholarship\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:2:{i:0;i:1;i:1;i:2;}}i:19;a:4:{s:1:\"a\";i:20;s:1:\"b\";s:20:\"edit_own_scholarship\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:2:{i:0;i:1;i:1;i:2;}}i:20;a:4:{s:1:\"a\";i:21;s:1:\"b\";s:22:\"delete_own_scholarship\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:2:{i:0;i:1;i:1;i:2;}}i:21;a:4:{s:1:\"a\";i:22;s:1:\"b\";s:15:\"view_internship\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:2:{i:0;i:1;i:1;i:2;}}i:22;a:4:{s:1:\"a\";i:23;s:1:\"b\";s:17:\"create_internship\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:2:{i:0;i:1;i:1;i:2;}}i:23;a:4:{s:1:\"a\";i:24;s:1:\"b\";s:19:\"edit_own_internship\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:2:{i:0;i:1;i:1;i:2;}}i:24;a:4:{s:1:\"a\";i:25;s:1:\"b\";s:21:\"delete_own_internship\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:2:{i:0;i:1;i:1;i:2;}}i:25;a:4:{s:1:\"a\";i:26;s:1:\"b\";s:20:\"view_admin_dashboard\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:1:{i:0;i:1;}}i:26;a:4:{s:1:\"a\";i:27;s:1:\"b\";s:21:\"view_alumni_dashboard\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:1:{i:0;i:2;}}i:27;a:4:{s:1:\"a\";i:28;s:1:\"b\";s:10:\"view_forum\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:2:{i:0;i:1;i:1;i:2;}}i:28;a:4:{s:1:\"a\";i:29;s:1:\"b\";s:18:\"create_forum_topic\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:2:{i:0;i:1;i:1;i:2;}}i:29;a:4:{s:1:\"a\";i:30;s:1:\"b\";s:20:\"edit_own_forum_topic\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:2:{i:0;i:1;i:1;i:2;}}i:30;a:4:{s:1:\"a\";i:31;s:1:\"b\";s:22:\"delete_own_forum_topic\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:2:{i:0;i:1;i:1;i:2;}}i:31;a:4:{s:1:\"a\";i:32;s:1:\"b\";s:17:\"reply_forum_topic\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:2:{i:0;i:1;i:1;i:2;}}i:32;a:4:{s:1:\"a\";i:33;s:1:\"b\";s:14:\"moderate_forum\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:1:{i:0;i:1;}}}s:5:\"roles\";a:2:{i:0;a:3:{s:1:\"a\";i:1;s:1:\"b\";s:5:\"admin\";s:1:\"c\";s:3:\"web\";}i:1;a:3:{s:1:\"a\";i:2;s:1:\"b\";s:6:\"alumni\";s:1:\"c\";s:3:\"web\";}}}', 1772622265); - --- -------------------------------------------------------- - --- --- Table structure for table `cache_locks` --- - -CREATE TABLE `cache_locks` ( - `key` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, - `owner` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, - `expiration` int NOT NULL -) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; - --- --- Dumping data for table `cache_locks` --- - -INSERT INTO `cache_locks` (`key`, `owner`, `expiration`) VALUES -('tracer-study-cache-laravel-queue-overlap:Filament\\Actions\\Imports\\Jobs\\ImportCsv:import3', 'rPXYSGIT8gg4QdZR', 1768297580), -('tracer-study-cache-laravel-queue-overlap:Filament\\Actions\\Imports\\Jobs\\ImportCsv:import4', 'tDnwFiMR7ZsnggVu', 1768298088), -('tracer-study-cache-laravel-queue-overlap:Filament\\Actions\\Imports\\Jobs\\ImportCsv:import6', 'a1iKRUkkRI4MSMv8', 1772253156); - --- -------------------------------------------------------- - --- --- Table structure for table `exports` --- - -CREATE TABLE `exports` ( - `id` bigint UNSIGNED NOT NULL, - `completed_at` timestamp NULL DEFAULT NULL, - `file_disk` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, - `file_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, - `exporter` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, - `processed_rows` int UNSIGNED NOT NULL DEFAULT '0', - `total_rows` int UNSIGNED NOT NULL, - `successful_rows` int UNSIGNED NOT NULL DEFAULT '0', - `user_id` bigint UNSIGNED NOT NULL, - `created_at` timestamp NULL DEFAULT NULL, - `updated_at` timestamp NULL DEFAULT NULL -) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; - --- --- Dumping data for table `exports` --- - -INSERT INTO `exports` (`id`, `completed_at`, `file_disk`, `file_name`, `exporter`, `processed_rows`, `total_rows`, `successful_rows`, `user_id`, `created_at`, `updated_at`) VALUES -(1, '2025-12-28 12:51:02', 'local', 'export-1-alumnis', 'App\\Filament\\Exports\\AlumniExporter', 10, 10, 10, 1, '2025-12-28 12:51:01', '2025-12-28 12:51:02'), -(2, '2025-12-29 21:16:11', 'local', 'export-2-questionnaire-responses', 'App\\Filament\\Exports\\QuestionnaireResponseExporter', 2, 2, 2, 1, '2025-12-29 21:16:05', '2025-12-29 21:16:11'), -(3, '2026-01-13 02:32:40', 'local', 'export-3-alumnis', 'App\\Filament\\Exports\\AlumniExporter', 13, 13, 13, 1, '2026-01-13 02:32:33', '2026-01-13 02:32:40'), -(4, '2026-01-27 02:07:27', 'local', 'export-4-questionnaire-responses', 'App\\Filament\\Exports\\QuestionnaireResponseExporter', 10, 10, 10, 1, '2026-01-27 02:07:22', '2026-01-27 02:07:27'), -(5, '2026-01-29 03:11:14', 'local', 'export-5-questionnaire-responses', 'App\\Filament\\Exports\\QuestionnaireResponseExporter', 7, 7, 7, 1, '2026-01-29 03:11:05', '2026-01-29 03:11:14'), -(6, '2026-02-01 05:22:46', 'local', 'ekspor-6-questionnaire-responses', 'App\\Filament\\Exports\\QuestionnaireResponseExporter', 1, 1, 1, 1, '2026-02-01 05:22:39', '2026-02-01 05:22:46'); - --- -------------------------------------------------------- - --- --- Table structure for table `failed_import_rows` --- - -CREATE TABLE `failed_import_rows` ( - `id` bigint UNSIGNED NOT NULL, - `data` json NOT NULL, - `import_id` bigint UNSIGNED NOT NULL, - `validation_error` text COLLATE utf8mb4_unicode_ci, - `created_at` timestamp NULL DEFAULT NULL, - `updated_at` timestamp NULL DEFAULT NULL -) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; - --- -------------------------------------------------------- - --- --- Table structure for table `failed_jobs` --- - -CREATE TABLE `failed_jobs` ( - `id` bigint UNSIGNED NOT NULL, - `uuid` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, - `connection` text COLLATE utf8mb4_unicode_ci NOT NULL, - `queue` text COLLATE utf8mb4_unicode_ci NOT NULL, - `payload` longtext COLLATE utf8mb4_unicode_ci NOT NULL, - `exception` longtext COLLATE utf8mb4_unicode_ci NOT NULL, - `failed_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP -) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; - --- -------------------------------------------------------- - --- --- Table structure for table `forum_replies` --- - -CREATE TABLE `forum_replies` ( - `id` bigint UNSIGNED NOT NULL, - `topic_id` bigint UNSIGNED NOT NULL, - `user_id` bigint UNSIGNED NOT NULL, - `content` text COLLATE utf8mb4_unicode_ci NOT NULL, - `created_at` timestamp NULL DEFAULT NULL, - `updated_at` timestamp NULL DEFAULT NULL -) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; - --- --- Dumping data for table `forum_replies` --- - -INSERT INTO `forum_replies` (`id`, `topic_id`, `user_id`, `content`, `created_at`, `updated_at`) VALUES -(1, 1, 78, 'info dong', '2026-01-31 05:54:19', '2026-01-31 05:54:19'), -(11, 3, 78, 'baik pak', '2026-02-01 03:27:51', '2026-02-01 03:27:51'); - --- -------------------------------------------------------- - --- --- Table structure for table `forum_topics` --- - -CREATE TABLE `forum_topics` ( - `id` bigint UNSIGNED NOT NULL, - `user_id` bigint UNSIGNED NOT NULL, - `title` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, - `content` text COLLATE utf8mb4_unicode_ci NOT NULL, - `is_pinned` tinyint(1) NOT NULL DEFAULT '0', - `is_locked` tinyint(1) NOT NULL DEFAULT '0', - `views_count` int NOT NULL DEFAULT '0', - `created_at` timestamp NULL DEFAULT NULL, - `updated_at` timestamp NULL DEFAULT NULL -) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; - --- --- Dumping data for table `forum_topics` --- - -INSERT INTO `forum_topics` (`id`, `user_id`, `title`, `content`, `is_pinned`, `is_locked`, `views_count`, `created_at`, `updated_at`) VALUES -(1, 78, 'Info Magang', '

teman-teman adakah info magang sebagai admin disekitaran mendalo

', 0, 1, 66, '2026-01-31 05:46:15', '2026-02-28 01:12:31'), -(2, 1, 'Isi kuesioner ', '

Silahkan isi kuesioner tahunan kalian

', 0, 0, 42, '2026-01-31 06:11:51', '2026-02-28 01:12:58'), -(3, 1, 'Info Pengambilan Ijazah', '

Yang posisi lagi di jambi, kalo mau ambil ijazah tunggu masuk kuliah tanggal 22

note: bawa kelengkapan berkas

', 1, 0, 10, '2026-02-01 03:22:35', '2026-02-28 01:12:13'); - --- -------------------------------------------------------- - --- --- Table structure for table `imports` --- - -CREATE TABLE `imports` ( - `id` bigint UNSIGNED NOT NULL, - `completed_at` timestamp NULL DEFAULT NULL, - `file_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, - `file_path` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, - `importer` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, - `processed_rows` int UNSIGNED NOT NULL DEFAULT '0', - `total_rows` int UNSIGNED NOT NULL, - `successful_rows` int UNSIGNED NOT NULL DEFAULT '0', - `user_id` bigint UNSIGNED NOT NULL, - `created_at` timestamp NULL DEFAULT NULL, - `updated_at` timestamp NULL DEFAULT NULL -) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; - --- --- Dumping data for table `imports` --- - -INSERT INTO `imports` (`id`, `completed_at`, `file_name`, `file_path`, `importer`, `processed_rows`, `total_rows`, `successful_rows`, `user_id`, `created_at`, `updated_at`) VALUES -(1, '2025-12-28 14:25:08', 'alumni_import.csv', 'D:\\laragon\\www\\sisfor_alumni2\\filament-starter\\storage\\app/private\\livewire-tmp/cWfV2xhlYy2Rxr9PHGGeXoHjYZ0VLH-metaYWx1bW5pX2ltcG9ydC5jc3Y=-.csv', 'App\\Filament\\Imports\\AlumniImporter', 10, 10, 10, 1, '2025-12-28 14:25:02', '2025-12-28 14:25:08'), -(2, '2026-01-02 22:24:17', 'alumni_import.csv', 'D:\\laragon\\www\\sisfor_alumni2\\filament-starter\\storage\\app/private\\livewire-tmp/Qw3Se9MhdU3K7qQjEknAkuRtbZPM75-metaYWx1bW5pX2ltcG9ydC5jc3Y=-.csv', 'App\\Filament\\Imports\\AlumniImporter', 10, 10, 10, 1, '2026-01-02 22:24:08', '2026-01-02 22:24:17'), -(5, '2026-01-13 03:06:34', 'template_import_alumni.csv', 'D:\\laragon\\www\\sisfor_alumni2\\filament-starter\\storage\\app/private\\livewire-tmp/q03r9qdRsjBSWJSeLmTidKfSoxeXSc-metadGVtcGxhdGVfaW1wb3J0X2FsdW1uaS5jc3Y=-.csv', 'App\\Filament\\Imports\\AlumniImporter', 5, 5, 5, 1, '2026-01-13 03:06:29', '2026-01-13 03:06:34'), -(7, '2026-02-27 21:36:09', 'test1.csv', 'D:\\laragon\\www\\sisfor_alumni2\\filament-starter\\storage\\app/private\\livewire-tmp/a6mIDStEO7yGVnbdW4Nq5PGkARAMZL-metadGVzdDEuY3N2-.csv', 'App\\Filament\\Imports\\AlumniImporter', 5, 5, 5, 1, '2026-02-27 21:36:02', '2026-02-27 21:36:09'); - --- -------------------------------------------------------- - --- --- Table structure for table `internships` --- - -CREATE TABLE `internships` ( - `id` bigint UNSIGNED NOT NULL, - `user_id` bigint UNSIGNED NOT NULL, - `title` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, - `company` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, - `location` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, - `description` text COLLATE utf8mb4_unicode_ci NOT NULL, - `requirements` text COLLATE utf8mb4_unicode_ci, - `duration` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, - `deadline` date DEFAULT NULL, - `contact_info` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, - `created_at` timestamp NULL DEFAULT NULL, - `updated_at` timestamp NULL DEFAULT NULL -) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; - --- --- Dumping data for table `internships` --- - -INSERT INTO `internships` (`id`, `user_id`, `title`, `company`, `location`, `description`, `requirements`, `duration`, `deadline`, `contact_info`, `created_at`, `updated_at`) VALUES -(1, 18, 'Magang Web Developer', 'PT Teknologi Maju Bersama', 'Yogyakarta, DI Yogyakarta', '

 PT Teknologi Maju Bersama membuka program magang Web Developer bagi fresh graduate yang ingin mengembangkan kemampuan dalam pengembangan aplikasi berbasis web. Peserta magang akan terlibat langsung dalam proyek pengembangan internal perusahaan. 

', '
  • Mahasiswa aktif atau fresh graduate jurusan Sistem Informasi / Teknik Informatika
  • Menguasai dasar HTML, CSS, dan JavaScript
  • Memahami framework Laravel menjadi nilai tambah
  • Bersedia bekerja secara tim dan mengikuti jadwal magang
', '6 bulan', '2026-02-05', 'internship@teknologimaju.co.id', '2026-01-02 23:13:14', '2026-01-02 23:13:14'); - --- -------------------------------------------------------- - --- --- Table structure for table `jobs` --- - -CREATE TABLE `jobs` ( - `id` bigint UNSIGNED NOT NULL, - `queue` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, - `payload` longtext COLLATE utf8mb4_unicode_ci NOT NULL, - `attempts` tinyint UNSIGNED NOT NULL, - `reserved_at` int UNSIGNED DEFAULT NULL, - `available_at` int UNSIGNED NOT NULL, - `created_at` int UNSIGNED NOT NULL -) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; - --- -------------------------------------------------------- - --- --- Table structure for table `job_batches` --- - -CREATE TABLE `job_batches` ( - `id` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, - `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, - `total_jobs` int NOT NULL, - `pending_jobs` int NOT NULL, - `failed_jobs` int NOT NULL, - `failed_job_ids` longtext COLLATE utf8mb4_unicode_ci NOT NULL, - `options` mediumtext COLLATE utf8mb4_unicode_ci, - `cancelled_at` int DEFAULT NULL, - `created_at` int NOT NULL, - `finished_at` int DEFAULT NULL -) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; - --- --- Dumping data for table `job_batches` --- - -INSERT INTO `job_batches` (`id`, `name`, `total_jobs`, `pending_jobs`, `failed_jobs`, `failed_job_ids`, `options`, `cancelled_at`, `created_at`, `finished_at`) VALUES -('a0b40b37-4a90-4670-a51d-f6fd8076b373', '', 1, 0, 0, '[]', 'a:2:{s:13:\"allowFailures\";b:1;s:7:\"finally\";a:1:{i:0;O:47:\"Laravel\\SerializableClosure\\SerializableClosure\":1:{s:12:\"serializable\";O:46:\"Laravel\\SerializableClosure\\Serializers\\Signed\":2:{s:12:\"serializable\";s:3952:\"O:46:\"Laravel\\SerializableClosure\\Serializers\\Native\":5:{s:3:\"use\";a:4:{s:9:\"columnMap\";a:17:{s:3:\"nim\";s:3:\"nim\";s:8:\"username\";s:8:\"username\";s:11:\"birth_place\";s:11:\"birth_place\";s:10:\"birth_date\";s:10:\"birth_date\";s:6:\"gender\";s:6:\"gender\";s:7:\"address\";s:7:\"address\";s:12:\"phone_number\";s:12:\"phone_number\";s:5:\"email\";s:5:\"email\";s:3:\"gpa\";s:3:\"gpa\";s:7:\"faculty\";s:7:\"faculty\";s:5:\"major\";s:5:\"major\";s:10:\"entry_year\";s:10:\"entry_year\";s:15:\"graduation_year\";s:15:\"graduation_year\";s:6:\"status\";s:6:\"status\";s:12:\"job_position\";s:12:\"job_position\";s:12:\"company_name\";s:12:\"company_name\";s:4:\"foto\";s:4:\"foto\";}s:6:\"import\";O:45:\"Illuminate\\Contracts\\Database\\ModelIdentifier\":5:{s:5:\"class\";s:38:\"Filament\\Actions\\Imports\\Models\\Import\";s:2:\"id\";i:1;s:9:\"relations\";a:0:{}s:10:\"connection\";s:5:\"mysql\";s:15:\"collectionClass\";N;}s:13:\"jobConnection\";N;s:7:\"options\";a:0:{}}s:8:\"function\";s:2925:\"function () use ($columnMap, $import, $jobConnection, $options) {\n $import->touch(\'completed_at\');\n\n event(new \\Filament\\Actions\\Imports\\Events\\ImportCompleted($import, $columnMap, $options));\n\n if (! $import->user instanceof \\Illuminate\\Contracts\\Auth\\Authenticatable) {\n return;\n }\n\n $failedRowsCount = $import->getFailedRowsCount();\n\n \\Filament\\Notifications\\Notification::make()\n ->title($import->importer::getCompletedNotificationTitle($import))\n ->body($import->importer::getCompletedNotificationBody($import))\n ->when(\n ! $failedRowsCount,\n fn (\\Filament\\Notifications\\Notification $notification) => $notification->success(),\n )\n ->when(\n $failedRowsCount && ($failedRowsCount < $import->total_rows),\n fn (\\Filament\\Notifications\\Notification $notification) => $notification->warning(),\n )\n ->when(\n $failedRowsCount === $import->total_rows,\n fn (\\Filament\\Notifications\\Notification $notification) => $notification->danger(),\n )\n ->when(\n $failedRowsCount,\n fn (\\Filament\\Notifications\\Notification $notification) => $notification->actions([\n \\Filament\\Notifications\\Actions\\Action::make(\'downloadFailedRowsCsv\')\n ->label(trans_choice(\'filament-actions::import.notifications.completed.actions.download_failed_rows_csv.label\', $failedRowsCount, [\n \'count\' => \\Illuminate\\Support\\Number::format($failedRowsCount),\n ]))\n ->color(\'danger\')\n ->url(route(\'filament.imports.failed-rows.download\', [\'import\' => $import], absolute: false), shouldOpenInNewTab: true)\n ->markAsRead(),\n ]),\n )\n ->when(\n ($jobConnection === \'sync\') ||\n (blank($jobConnection) && (config(\'queue.default\') === \'sync\')),\n fn (\\Filament\\Notifications\\Notification $notification) => $notification\n ->persistent()\n ->send(),\n fn (\\Filament\\Notifications\\Notification $notification) => $notification->sendToDatabase($import->user, isEventDispatched: true),\n );\n }\";s:5:\"scope\";s:36:\"Filament\\Tables\\Actions\\ImportAction\";s:4:\"this\";N;s:4:\"self\";s:32:\"0000000000000e0e0000000000000000\";}\";s:4:\"hash\";s:44:\"Il55kOM50sNFDkx0J1btTaCHBmZXRBPm1BERwLmAvMg=\";}}}}', NULL, 1766951427, 1766951432), -('a0b40b6c-e64b-4a5c-bed9-73d2ff339213', '', 2, 0, 0, '[]', 'a:2:{s:13:\"allowFailures\";b:1;s:7:\"finally\";a:1:{i:0;O:47:\"Laravel\\SerializableClosure\\SerializableClosure\":1:{s:12:\"serializable\";O:46:\"Laravel\\SerializableClosure\\Serializers\\Signed\":2:{s:12:\"serializable\";s:7132:\"O:46:\"Laravel\\SerializableClosure\\Serializers\\Native\":5:{s:3:\"use\";a:1:{s:4:\"next\";O:46:\"Filament\\Actions\\Exports\\Jobs\\ExportCompletion\":7:{s:11:\"\0*\0exporter\";O:35:\"App\\Filament\\Exports\\AlumniExporter\":3:{s:9:\"\0*\0export\";O:38:\"Filament\\Actions\\Exports\\Models\\Export\":33:{s:13:\"\0*\0connection\";s:5:\"mysql\";s:8:\"\0*\0table\";N;s:13:\"\0*\0primaryKey\";s:2:\"id\";s:10:\"\0*\0keyType\";s:3:\"int\";s:12:\"incrementing\";b:1;s:7:\"\0*\0with\";a:0:{}s:12:\"\0*\0withCount\";a:0:{}s:19:\"preventsLazyLoading\";b:0;s:10:\"\0*\0perPage\";i:15;s:6:\"exists\";b:1;s:18:\"wasRecentlyCreated\";b:1;s:28:\"\0*\0escapeWhenCastingToString\";b:0;s:13:\"\0*\0attributes\";a:8:{s:7:\"user_id\";i:1;s:8:\"exporter\";s:35:\"App\\Filament\\Exports\\AlumniExporter\";s:10:\"total_rows\";i:10;s:9:\"file_disk\";s:5:\"local\";s:10:\"updated_at\";s:19:\"2025-12-28 19:51:01\";s:10:\"created_at\";s:19:\"2025-12-28 19:51:01\";s:2:\"id\";i:1;s:9:\"file_name\";s:16:\"export-1-alumnis\";}s:11:\"\0*\0original\";a:8:{s:7:\"user_id\";i:1;s:8:\"exporter\";s:35:\"App\\Filament\\Exports\\AlumniExporter\";s:10:\"total_rows\";i:10;s:9:\"file_disk\";s:5:\"local\";s:10:\"updated_at\";s:19:\"2025-12-28 19:51:01\";s:10:\"created_at\";s:19:\"2025-12-28 19:51:01\";s:2:\"id\";i:1;s:9:\"file_name\";s:16:\"export-1-alumnis\";}s:10:\"\0*\0changes\";a:1:{s:9:\"file_name\";s:16:\"export-1-alumnis\";}s:11:\"\0*\0previous\";a:0:{}s:8:\"\0*\0casts\";a:4:{s:12:\"completed_at\";s:9:\"timestamp\";s:14:\"processed_rows\";s:7:\"integer\";s:10:\"total_rows\";s:7:\"integer\";s:15:\"successful_rows\";s:7:\"integer\";}s:17:\"\0*\0classCastCache\";a:0:{}s:21:\"\0*\0attributeCastCache\";a:0:{}s:13:\"\0*\0dateFormat\";N;s:10:\"\0*\0appends\";a:0:{}s:19:\"\0*\0dispatchesEvents\";a:0:{}s:14:\"\0*\0observables\";a:0:{}s:12:\"\0*\0relations\";a:0:{}s:10:\"\0*\0touches\";a:0:{}s:27:\"\0*\0relationAutoloadCallback\";N;s:26:\"\0*\0relationAutoloadContext\";N;s:10:\"timestamps\";b:1;s:13:\"usesUniqueIds\";b:0;s:9:\"\0*\0hidden\";a:0:{}s:10:\"\0*\0visible\";a:0:{}s:11:\"\0*\0fillable\";a:0:{}s:10:\"\0*\0guarded\";a:0:{}}s:12:\"\0*\0columnMap\";a:18:{s:7:\"user_id\";s:7:\"User id\";s:3:\"nim\";s:3:\"Nim\";s:8:\"username\";s:8:\"Username\";s:11:\"birth_place\";s:11:\"Birth place\";s:10:\"birth_date\";s:10:\"Birth date\";s:6:\"gender\";s:6:\"Gender\";s:7:\"address\";s:7:\"Address\";s:12:\"phone_number\";s:12:\"Phone number\";s:5:\"email\";s:5:\"Email\";s:3:\"gpa\";s:3:\"Gpa\";s:7:\"faculty\";s:7:\"Faculty\";s:5:\"major\";s:5:\"Major\";s:10:\"entry_year\";s:10:\"Entry year\";s:15:\"graduation_year\";s:15:\"Graduation year\";s:6:\"status\";s:6:\"Status\";s:12:\"job_position\";s:12:\"Job position\";s:12:\"company_name\";s:12:\"Company name\";s:4:\"foto\";s:4:\"Foto\";}s:10:\"\0*\0options\";a:0:{}}s:9:\"\0*\0export\";O:45:\"Illuminate\\Contracts\\Database\\ModelIdentifier\":5:{s:5:\"class\";s:38:\"Filament\\Actions\\Exports\\Models\\Export\";s:2:\"id\";i:1;s:9:\"relations\";a:0:{}s:10:\"connection\";s:5:\"mysql\";s:15:\"collectionClass\";N;}s:12:\"\0*\0columnMap\";a:18:{s:7:\"user_id\";s:7:\"User id\";s:3:\"nim\";s:3:\"Nim\";s:8:\"username\";s:8:\"Username\";s:11:\"birth_place\";s:11:\"Birth place\";s:10:\"birth_date\";s:10:\"Birth date\";s:6:\"gender\";s:6:\"Gender\";s:7:\"address\";s:7:\"Address\";s:12:\"phone_number\";s:12:\"Phone number\";s:5:\"email\";s:5:\"Email\";s:3:\"gpa\";s:3:\"Gpa\";s:7:\"faculty\";s:7:\"Faculty\";s:5:\"major\";s:5:\"Major\";s:10:\"entry_year\";s:10:\"Entry year\";s:15:\"graduation_year\";s:15:\"Graduation year\";s:6:\"status\";s:6:\"Status\";s:12:\"job_position\";s:12:\"Job position\";s:12:\"company_name\";s:12:\"Company name\";s:4:\"foto\";s:4:\"Foto\";}s:10:\"\0*\0formats\";a:2:{i:0;E:47:\"Filament\\Actions\\Exports\\Enums\\ExportFormat:Csv\";i:1;E:48:\"Filament\\Actions\\Exports\\Enums\\ExportFormat:Xlsx\";}s:10:\"\0*\0options\";a:0:{}s:7:\"chained\";a:1:{i:0;s:3217:\"O:44:\"Filament\\Actions\\Exports\\Jobs\\CreateXlsxFile\":4:{s:11:\"\0*\0exporter\";O:35:\"App\\Filament\\Exports\\AlumniExporter\":3:{s:9:\"\0*\0export\";O:38:\"Filament\\Actions\\Exports\\Models\\Export\":33:{s:13:\"\0*\0connection\";s:5:\"mysql\";s:8:\"\0*\0table\";N;s:13:\"\0*\0primaryKey\";s:2:\"id\";s:10:\"\0*\0keyType\";s:3:\"int\";s:12:\"incrementing\";b:1;s:7:\"\0*\0with\";a:0:{}s:12:\"\0*\0withCount\";a:0:{}s:19:\"preventsLazyLoading\";b:0;s:10:\"\0*\0perPage\";i:15;s:6:\"exists\";b:1;s:18:\"wasRecentlyCreated\";b:1;s:28:\"\0*\0escapeWhenCastingToString\";b:0;s:13:\"\0*\0attributes\";a:8:{s:7:\"user_id\";i:1;s:8:\"exporter\";s:35:\"App\\Filament\\Exports\\AlumniExporter\";s:10:\"total_rows\";i:10;s:9:\"file_disk\";s:5:\"local\";s:10:\"updated_at\";s:19:\"2025-12-28 19:51:01\";s:10:\"created_at\";s:19:\"2025-12-28 19:51:01\";s:2:\"id\";i:1;s:9:\"file_name\";s:16:\"export-1-alumnis\";}s:11:\"\0*\0original\";a:8:{s:7:\"user_id\";i:1;s:8:\"exporter\";s:35:\"App\\Filament\\Exports\\AlumniExporter\";s:10:\"total_rows\";i:10;s:9:\"file_disk\";s:5:\"local\";s:10:\"updated_at\";s:19:\"2025-12-28 19:51:01\";s:10:\"created_at\";s:19:\"2025-12-28 19:51:01\";s:2:\"id\";i:1;s:9:\"file_name\";s:16:\"export-1-alumnis\";}s:10:\"\0*\0changes\";a:1:{s:9:\"file_name\";s:16:\"export-1-alumnis\";}s:11:\"\0*\0previous\";a:0:{}s:8:\"\0*\0casts\";a:4:{s:12:\"completed_at\";s:9:\"timestamp\";s:14:\"processed_rows\";s:7:\"integer\";s:10:\"total_rows\";s:7:\"integer\";s:15:\"successful_rows\";s:7:\"integer\";}s:17:\"\0*\0classCastCache\";a:0:{}s:21:\"\0*\0attributeCastCache\";a:0:{}s:13:\"\0*\0dateFormat\";N;s:10:\"\0*\0appends\";a:0:{}s:19:\"\0*\0dispatchesEvents\";a:0:{}s:14:\"\0*\0observables\";a:0:{}s:12:\"\0*\0relations\";a:0:{}s:10:\"\0*\0touches\";a:0:{}s:27:\"\0*\0relationAutoloadCallback\";N;s:26:\"\0*\0relationAutoloadContext\";N;s:10:\"timestamps\";b:1;s:13:\"usesUniqueIds\";b:0;s:9:\"\0*\0hidden\";a:0:{}s:10:\"\0*\0visible\";a:0:{}s:11:\"\0*\0fillable\";a:0:{}s:10:\"\0*\0guarded\";a:0:{}}s:12:\"\0*\0columnMap\";a:18:{s:7:\"user_id\";s:7:\"User id\";s:3:\"nim\";s:3:\"Nim\";s:8:\"username\";s:8:\"Username\";s:11:\"birth_place\";s:11:\"Birth place\";s:10:\"birth_date\";s:10:\"Birth date\";s:6:\"gender\";s:6:\"Gender\";s:7:\"address\";s:7:\"Address\";s:12:\"phone_number\";s:12:\"Phone number\";s:5:\"email\";s:5:\"Email\";s:3:\"gpa\";s:3:\"Gpa\";s:7:\"faculty\";s:7:\"Faculty\";s:5:\"major\";s:5:\"Major\";s:10:\"entry_year\";s:10:\"Entry year\";s:15:\"graduation_year\";s:15:\"Graduation year\";s:6:\"status\";s:6:\"Status\";s:12:\"job_position\";s:12:\"Job position\";s:12:\"company_name\";s:12:\"Company name\";s:4:\"foto\";s:4:\"Foto\";}s:10:\"\0*\0options\";a:0:{}}s:9:\"\0*\0export\";O:45:\"Illuminate\\Contracts\\Database\\ModelIdentifier\":5:{s:5:\"class\";s:38:\"Filament\\Actions\\Exports\\Models\\Export\";s:2:\"id\";i:1;s:9:\"relations\";a:0:{}s:10:\"connection\";s:5:\"mysql\";s:15:\"collectionClass\";N;}s:12:\"\0*\0columnMap\";a:18:{s:7:\"user_id\";s:7:\"User id\";s:3:\"nim\";s:3:\"Nim\";s:8:\"username\";s:8:\"Username\";s:11:\"birth_place\";s:11:\"Birth place\";s:10:\"birth_date\";s:10:\"Birth date\";s:6:\"gender\";s:6:\"Gender\";s:7:\"address\";s:7:\"Address\";s:12:\"phone_number\";s:12:\"Phone number\";s:5:\"email\";s:5:\"Email\";s:3:\"gpa\";s:3:\"Gpa\";s:7:\"faculty\";s:7:\"Faculty\";s:5:\"major\";s:5:\"Major\";s:10:\"entry_year\";s:10:\"Entry year\";s:15:\"graduation_year\";s:15:\"Graduation year\";s:6:\"status\";s:6:\"Status\";s:12:\"job_position\";s:12:\"Job position\";s:12:\"company_name\";s:12:\"Company name\";s:4:\"foto\";s:4:\"Foto\";}s:10:\"\0*\0options\";a:0:{}}\";}s:19:\"chainCatchCallbacks\";a:0:{}}}s:8:\"function\";s:266:\"function (\\Illuminate\\Bus\\Batch $batch) use ($next) {\n if (! $batch->cancelled()) {\n \\Illuminate\\Container\\Container::getInstance()->make(\\Illuminate\\Contracts\\Bus\\Dispatcher::class)->dispatch($next);\n }\n }\";s:5:\"scope\";s:27:\"Illuminate\\Bus\\ChainedBatch\";s:4:\"this\";N;s:4:\"self\";s:32:\"00000000000009740000000000000000\";}\";s:4:\"hash\";s:44:\"pqKSC78MefRaewEgLAWwiqS7IqmCa0ZSeZu8cYc6PjU=\";}}}}', NULL, 1766951462, 1766951462), -('a0b42d0a-679b-4f32-a8b2-105969130d4c', '', 1, 0, 0, '[]', 'a:2:{s:13:\"allowFailures\";b:1;s:7:\"finally\";a:1:{i:0;O:47:\"Laravel\\SerializableClosure\\SerializableClosure\":1:{s:12:\"serializable\";O:46:\"Laravel\\SerializableClosure\\Serializers\\Signed\":2:{s:12:\"serializable\";s:3952:\"O:46:\"Laravel\\SerializableClosure\\Serializers\\Native\":5:{s:3:\"use\";a:4:{s:9:\"columnMap\";a:17:{s:3:\"nim\";s:3:\"nim\";s:8:\"username\";s:8:\"username\";s:11:\"birth_place\";s:11:\"birth_place\";s:10:\"birth_date\";s:10:\"birth_date\";s:6:\"gender\";s:6:\"gender\";s:7:\"address\";s:7:\"address\";s:12:\"phone_number\";s:12:\"phone_number\";s:5:\"email\";s:5:\"email\";s:3:\"gpa\";s:3:\"gpa\";s:7:\"faculty\";s:7:\"faculty\";s:5:\"major\";s:5:\"major\";s:10:\"entry_year\";s:10:\"entry_year\";s:15:\"graduation_year\";s:15:\"graduation_year\";s:6:\"status\";s:6:\"status\";s:12:\"job_position\";s:12:\"job_position\";s:12:\"company_name\";s:12:\"company_name\";s:4:\"foto\";s:4:\"foto\";}s:6:\"import\";O:45:\"Illuminate\\Contracts\\Database\\ModelIdentifier\":5:{s:5:\"class\";s:38:\"Filament\\Actions\\Imports\\Models\\Import\";s:2:\"id\";i:1;s:9:\"relations\";a:0:{}s:10:\"connection\";s:5:\"mysql\";s:15:\"collectionClass\";N;}s:13:\"jobConnection\";N;s:7:\"options\";a:0:{}}s:8:\"function\";s:2925:\"function () use ($columnMap, $import, $jobConnection, $options) {\n $import->touch(\'completed_at\');\n\n event(new \\Filament\\Actions\\Imports\\Events\\ImportCompleted($import, $columnMap, $options));\n\n if (! $import->user instanceof \\Illuminate\\Contracts\\Auth\\Authenticatable) {\n return;\n }\n\n $failedRowsCount = $import->getFailedRowsCount();\n\n \\Filament\\Notifications\\Notification::make()\n ->title($import->importer::getCompletedNotificationTitle($import))\n ->body($import->importer::getCompletedNotificationBody($import))\n ->when(\n ! $failedRowsCount,\n fn (\\Filament\\Notifications\\Notification $notification) => $notification->success(),\n )\n ->when(\n $failedRowsCount && ($failedRowsCount < $import->total_rows),\n fn (\\Filament\\Notifications\\Notification $notification) => $notification->warning(),\n )\n ->when(\n $failedRowsCount === $import->total_rows,\n fn (\\Filament\\Notifications\\Notification $notification) => $notification->danger(),\n )\n ->when(\n $failedRowsCount,\n fn (\\Filament\\Notifications\\Notification $notification) => $notification->actions([\n \\Filament\\Notifications\\Actions\\Action::make(\'downloadFailedRowsCsv\')\n ->label(trans_choice(\'filament-actions::import.notifications.completed.actions.download_failed_rows_csv.label\', $failedRowsCount, [\n \'count\' => \\Illuminate\\Support\\Number::format($failedRowsCount),\n ]))\n ->color(\'danger\')\n ->url(route(\'filament.imports.failed-rows.download\', [\'import\' => $import], absolute: false), shouldOpenInNewTab: true)\n ->markAsRead(),\n ]),\n )\n ->when(\n ($jobConnection === \'sync\') ||\n (blank($jobConnection) && (config(\'queue.default\') === \'sync\')),\n fn (\\Filament\\Notifications\\Notification $notification) => $notification\n ->persistent()\n ->send(),\n fn (\\Filament\\Notifications\\Notification $notification) => $notification->sendToDatabase($import->user, isEventDispatched: true),\n );\n }\";s:5:\"scope\";s:36:\"Filament\\Tables\\Actions\\ImportAction\";s:4:\"this\";N;s:4:\"self\";s:32:\"0000000000000e0e0000000000000000\";}\";s:4:\"hash\";s:44:\"Il55kOM50sNFDkx0J1btTaCHBmZXRBPm1BERwLmAvMg=\";}}}}', NULL, 1766957102, 1766957107), -('a0b6c30f-c73e-47c8-98e4-1902f8eafaa8', '', 2, 0, 0, '[]', 'a:2:{s:13:\"allowFailures\";b:1;s:7:\"finally\";a:1:{i:0;O:47:\"Laravel\\SerializableClosure\\SerializableClosure\":1:{s:12:\"serializable\";O:46:\"Laravel\\SerializableClosure\\Serializers\\Signed\":2:{s:12:\"serializable\";s:6182:\"O:46:\"Laravel\\SerializableClosure\\Serializers\\Native\":5:{s:3:\"use\";a:1:{s:4:\"next\";O:46:\"Filament\\Actions\\Exports\\Jobs\\ExportCompletion\":7:{s:11:\"\0*\0exporter\";O:50:\"App\\Filament\\Exports\\QuestionnaireResponseExporter\":3:{s:9:\"\0*\0export\";O:38:\"Filament\\Actions\\Exports\\Models\\Export\":33:{s:13:\"\0*\0connection\";s:5:\"mysql\";s:8:\"\0*\0table\";N;s:13:\"\0*\0primaryKey\";s:2:\"id\";s:10:\"\0*\0keyType\";s:3:\"int\";s:12:\"incrementing\";b:1;s:7:\"\0*\0with\";a:0:{}s:12:\"\0*\0withCount\";a:0:{}s:19:\"preventsLazyLoading\";b:0;s:10:\"\0*\0perPage\";i:15;s:6:\"exists\";b:1;s:18:\"wasRecentlyCreated\";b:1;s:28:\"\0*\0escapeWhenCastingToString\";b:0;s:13:\"\0*\0attributes\";a:8:{s:7:\"user_id\";i:1;s:8:\"exporter\";s:50:\"App\\Filament\\Exports\\QuestionnaireResponseExporter\";s:10:\"total_rows\";i:2;s:9:\"file_disk\";s:5:\"local\";s:10:\"updated_at\";s:19:\"2025-12-30 04:16:06\";s:10:\"created_at\";s:19:\"2025-12-30 04:16:05\";s:2:\"id\";i:2;s:9:\"file_name\";s:32:\"export-2-questionnaire-responses\";}s:11:\"\0*\0original\";a:8:{s:7:\"user_id\";i:1;s:8:\"exporter\";s:50:\"App\\Filament\\Exports\\QuestionnaireResponseExporter\";s:10:\"total_rows\";i:2;s:9:\"file_disk\";s:5:\"local\";s:10:\"updated_at\";s:19:\"2025-12-30 04:16:06\";s:10:\"created_at\";s:19:\"2025-12-30 04:16:05\";s:2:\"id\";i:2;s:9:\"file_name\";s:32:\"export-2-questionnaire-responses\";}s:10:\"\0*\0changes\";a:2:{s:10:\"updated_at\";s:19:\"2025-12-30 04:16:06\";s:9:\"file_name\";s:32:\"export-2-questionnaire-responses\";}s:11:\"\0*\0previous\";a:1:{s:10:\"updated_at\";s:19:\"2025-12-30 04:16:05\";}s:8:\"\0*\0casts\";a:4:{s:12:\"completed_at\";s:9:\"timestamp\";s:14:\"processed_rows\";s:7:\"integer\";s:10:\"total_rows\";s:7:\"integer\";s:15:\"successful_rows\";s:7:\"integer\";}s:17:\"\0*\0classCastCache\";a:0:{}s:21:\"\0*\0attributeCastCache\";a:0:{}s:13:\"\0*\0dateFormat\";N;s:10:\"\0*\0appends\";a:0:{}s:19:\"\0*\0dispatchesEvents\";a:0:{}s:14:\"\0*\0observables\";a:0:{}s:12:\"\0*\0relations\";a:0:{}s:10:\"\0*\0touches\";a:0:{}s:27:\"\0*\0relationAutoloadCallback\";N;s:26:\"\0*\0relationAutoloadContext\";N;s:10:\"timestamps\";b:1;s:13:\"usesUniqueIds\";b:0;s:9:\"\0*\0hidden\";a:0:{}s:10:\"\0*\0visible\";a:0:{}s:11:\"\0*\0fillable\";a:0:{}s:10:\"\0*\0guarded\";a:0:{}}s:12:\"\0*\0columnMap\";a:6:{s:19:\"questionnaire.title\";s:9:\"Kuesioner\";s:9:\"user.name\";s:6:\"Alumni\";s:15:\"user.alumni.nim\";s:3:\"NIM\";s:17:\"user.alumni.major\";s:7:\"Jurusan\";s:7:\"answers\";s:17:\"Ringkasan Jawaban\";s:12:\"submitted_at\";s:14:\"Tanggal Submit\";}s:10:\"\0*\0options\";a:0:{}}s:9:\"\0*\0export\";O:45:\"Illuminate\\Contracts\\Database\\ModelIdentifier\":5:{s:5:\"class\";s:38:\"Filament\\Actions\\Exports\\Models\\Export\";s:2:\"id\";i:2;s:9:\"relations\";a:0:{}s:10:\"connection\";s:5:\"mysql\";s:15:\"collectionClass\";N;}s:12:\"\0*\0columnMap\";a:6:{s:19:\"questionnaire.title\";s:9:\"Kuesioner\";s:9:\"user.name\";s:6:\"Alumni\";s:15:\"user.alumni.nim\";s:3:\"NIM\";s:17:\"user.alumni.major\";s:7:\"Jurusan\";s:7:\"answers\";s:17:\"Ringkasan Jawaban\";s:12:\"submitted_at\";s:14:\"Tanggal Submit\";}s:10:\"\0*\0formats\";a:2:{i:0;E:47:\"Filament\\Actions\\Exports\\Enums\\ExportFormat:Csv\";i:1;E:48:\"Filament\\Actions\\Exports\\Enums\\ExportFormat:Xlsx\";}s:10:\"\0*\0options\";a:0:{}s:7:\"chained\";a:1:{i:0;s:2742:\"O:44:\"Filament\\Actions\\Exports\\Jobs\\CreateXlsxFile\":4:{s:11:\"\0*\0exporter\";O:50:\"App\\Filament\\Exports\\QuestionnaireResponseExporter\":3:{s:9:\"\0*\0export\";O:38:\"Filament\\Actions\\Exports\\Models\\Export\":33:{s:13:\"\0*\0connection\";s:5:\"mysql\";s:8:\"\0*\0table\";N;s:13:\"\0*\0primaryKey\";s:2:\"id\";s:10:\"\0*\0keyType\";s:3:\"int\";s:12:\"incrementing\";b:1;s:7:\"\0*\0with\";a:0:{}s:12:\"\0*\0withCount\";a:0:{}s:19:\"preventsLazyLoading\";b:0;s:10:\"\0*\0perPage\";i:15;s:6:\"exists\";b:1;s:18:\"wasRecentlyCreated\";b:1;s:28:\"\0*\0escapeWhenCastingToString\";b:0;s:13:\"\0*\0attributes\";a:8:{s:7:\"user_id\";i:1;s:8:\"exporter\";s:50:\"App\\Filament\\Exports\\QuestionnaireResponseExporter\";s:10:\"total_rows\";i:2;s:9:\"file_disk\";s:5:\"local\";s:10:\"updated_at\";s:19:\"2025-12-30 04:16:06\";s:10:\"created_at\";s:19:\"2025-12-30 04:16:05\";s:2:\"id\";i:2;s:9:\"file_name\";s:32:\"export-2-questionnaire-responses\";}s:11:\"\0*\0original\";a:8:{s:7:\"user_id\";i:1;s:8:\"exporter\";s:50:\"App\\Filament\\Exports\\QuestionnaireResponseExporter\";s:10:\"total_rows\";i:2;s:9:\"file_disk\";s:5:\"local\";s:10:\"updated_at\";s:19:\"2025-12-30 04:16:06\";s:10:\"created_at\";s:19:\"2025-12-30 04:16:05\";s:2:\"id\";i:2;s:9:\"file_name\";s:32:\"export-2-questionnaire-responses\";}s:10:\"\0*\0changes\";a:2:{s:10:\"updated_at\";s:19:\"2025-12-30 04:16:06\";s:9:\"file_name\";s:32:\"export-2-questionnaire-responses\";}s:11:\"\0*\0previous\";a:1:{s:10:\"updated_at\";s:19:\"2025-12-30 04:16:05\";}s:8:\"\0*\0casts\";a:4:{s:12:\"completed_at\";s:9:\"timestamp\";s:14:\"processed_rows\";s:7:\"integer\";s:10:\"total_rows\";s:7:\"integer\";s:15:\"successful_rows\";s:7:\"integer\";}s:17:\"\0*\0classCastCache\";a:0:{}s:21:\"\0*\0attributeCastCache\";a:0:{}s:13:\"\0*\0dateFormat\";N;s:10:\"\0*\0appends\";a:0:{}s:19:\"\0*\0dispatchesEvents\";a:0:{}s:14:\"\0*\0observables\";a:0:{}s:12:\"\0*\0relations\";a:0:{}s:10:\"\0*\0touches\";a:0:{}s:27:\"\0*\0relationAutoloadCallback\";N;s:26:\"\0*\0relationAutoloadContext\";N;s:10:\"timestamps\";b:1;s:13:\"usesUniqueIds\";b:0;s:9:\"\0*\0hidden\";a:0:{}s:10:\"\0*\0visible\";a:0:{}s:11:\"\0*\0fillable\";a:0:{}s:10:\"\0*\0guarded\";a:0:{}}s:12:\"\0*\0columnMap\";a:6:{s:19:\"questionnaire.title\";s:9:\"Kuesioner\";s:9:\"user.name\";s:6:\"Alumni\";s:15:\"user.alumni.nim\";s:3:\"NIM\";s:17:\"user.alumni.major\";s:7:\"Jurusan\";s:7:\"answers\";s:17:\"Ringkasan Jawaban\";s:12:\"submitted_at\";s:14:\"Tanggal Submit\";}s:10:\"\0*\0options\";a:0:{}}s:9:\"\0*\0export\";O:45:\"Illuminate\\Contracts\\Database\\ModelIdentifier\":5:{s:5:\"class\";s:38:\"Filament\\Actions\\Exports\\Models\\Export\";s:2:\"id\";i:2;s:9:\"relations\";a:0:{}s:10:\"connection\";s:5:\"mysql\";s:15:\"collectionClass\";N;}s:12:\"\0*\0columnMap\";a:6:{s:19:\"questionnaire.title\";s:9:\"Kuesioner\";s:9:\"user.name\";s:6:\"Alumni\";s:15:\"user.alumni.nim\";s:3:\"NIM\";s:17:\"user.alumni.major\";s:7:\"Jurusan\";s:7:\"answers\";s:17:\"Ringkasan Jawaban\";s:12:\"submitted_at\";s:14:\"Tanggal Submit\";}s:10:\"\0*\0options\";a:0:{}}\";}s:19:\"chainCatchCallbacks\";a:0:{}}}s:8:\"function\";s:266:\"function (\\Illuminate\\Bus\\Batch $batch) use ($next) {\n if (! $batch->cancelled()) {\n \\Illuminate\\Container\\Container::getInstance()->make(\\Illuminate\\Contracts\\Bus\\Dispatcher::class)->dispatch($next);\n }\n }\";s:5:\"scope\";s:27:\"Illuminate\\Bus\\ChainedBatch\";s:4:\"this\";N;s:4:\"self\";s:32:\"00000000000008fd0000000000000000\";}\";s:4:\"hash\";s:44:\"LYnbg9f8eVk3HQiI2EPE64SkSGp8Ss/aI1Ho8geoFDI=\";}}}}', NULL, 1767068170, 1767068171), -('a0bee752-6f7c-4ad8-a672-301fa493da46', '', 1, 0, 0, '[]', 'a:2:{s:13:\"allowFailures\";b:1;s:7:\"finally\";a:1:{i:0;O:47:\"Laravel\\SerializableClosure\\SerializableClosure\":1:{s:12:\"serializable\";O:46:\"Laravel\\SerializableClosure\\Serializers\\Signed\":2:{s:12:\"serializable\";s:3952:\"O:46:\"Laravel\\SerializableClosure\\Serializers\\Native\":5:{s:3:\"use\";a:4:{s:9:\"columnMap\";a:17:{s:3:\"nim\";s:3:\"nim\";s:8:\"username\";s:8:\"username\";s:11:\"birth_place\";s:11:\"birth_place\";s:10:\"birth_date\";s:10:\"birth_date\";s:6:\"gender\";s:6:\"gender\";s:7:\"address\";s:7:\"address\";s:12:\"phone_number\";s:12:\"phone_number\";s:5:\"email\";s:5:\"email\";s:3:\"gpa\";s:3:\"gpa\";s:7:\"faculty\";s:7:\"faculty\";s:5:\"major\";s:5:\"major\";s:10:\"entry_year\";s:10:\"entry_year\";s:15:\"graduation_year\";s:15:\"graduation_year\";s:6:\"status\";s:6:\"status\";s:12:\"job_position\";s:12:\"job_position\";s:12:\"company_name\";s:12:\"company_name\";s:4:\"foto\";s:4:\"foto\";}s:6:\"import\";O:45:\"Illuminate\\Contracts\\Database\\ModelIdentifier\":5:{s:5:\"class\";s:38:\"Filament\\Actions\\Imports\\Models\\Import\";s:2:\"id\";i:2;s:9:\"relations\";a:0:{}s:10:\"connection\";s:5:\"mysql\";s:15:\"collectionClass\";N;}s:13:\"jobConnection\";N;s:7:\"options\";a:0:{}}s:8:\"function\";s:2925:\"function () use ($columnMap, $import, $jobConnection, $options) {\n $import->touch(\'completed_at\');\n\n event(new \\Filament\\Actions\\Imports\\Events\\ImportCompleted($import, $columnMap, $options));\n\n if (! $import->user instanceof \\Illuminate\\Contracts\\Auth\\Authenticatable) {\n return;\n }\n\n $failedRowsCount = $import->getFailedRowsCount();\n\n \\Filament\\Notifications\\Notification::make()\n ->title($import->importer::getCompletedNotificationTitle($import))\n ->body($import->importer::getCompletedNotificationBody($import))\n ->when(\n ! $failedRowsCount,\n fn (\\Filament\\Notifications\\Notification $notification) => $notification->success(),\n )\n ->when(\n $failedRowsCount && ($failedRowsCount < $import->total_rows),\n fn (\\Filament\\Notifications\\Notification $notification) => $notification->warning(),\n )\n ->when(\n $failedRowsCount === $import->total_rows,\n fn (\\Filament\\Notifications\\Notification $notification) => $notification->danger(),\n )\n ->when(\n $failedRowsCount,\n fn (\\Filament\\Notifications\\Notification $notification) => $notification->actions([\n \\Filament\\Notifications\\Actions\\Action::make(\'downloadFailedRowsCsv\')\n ->label(trans_choice(\'filament-actions::import.notifications.completed.actions.download_failed_rows_csv.label\', $failedRowsCount, [\n \'count\' => \\Illuminate\\Support\\Number::format($failedRowsCount),\n ]))\n ->color(\'danger\')\n ->url(route(\'filament.imports.failed-rows.download\', [\'import\' => $import], absolute: false), shouldOpenInNewTab: true)\n ->markAsRead(),\n ]),\n )\n ->when(\n ($jobConnection === \'sync\') ||\n (blank($jobConnection) && (config(\'queue.default\') === \'sync\')),\n fn (\\Filament\\Notifications\\Notification $notification) => $notification\n ->persistent()\n ->send(),\n fn (\\Filament\\Notifications\\Notification $notification) => $notification->sendToDatabase($import->user, isEventDispatched: true),\n );\n }\";s:5:\"scope\";s:36:\"Filament\\Tables\\Actions\\ImportAction\";s:4:\"this\";N;s:4:\"self\";s:32:\"0000000000000e0e0000000000000000\";}\";s:4:\"hash\";s:44:\"GCZAyQdkaHJYMqjhOd28P1Xgsw5xrUOo6jYQ3ta+7s8=\";}}}}', NULL, 1767417852, 1767417857), -('a0d35e04-f74d-41a6-aef0-e8e37eafc79e', '', 2, 0, 0, '[]', 'a:2:{s:13:\"allowFailures\";b:1;s:7:\"finally\";a:1:{i:0;O:47:\"Laravel\\SerializableClosure\\SerializableClosure\":1:{s:12:\"serializable\";O:46:\"Laravel\\SerializableClosure\\Serializers\\Signed\":2:{s:12:\"serializable\";s:7984:\"O:46:\"Laravel\\SerializableClosure\\Serializers\\Native\":5:{s:3:\"use\";a:1:{s:4:\"next\";O:46:\"Filament\\Actions\\Exports\\Jobs\\ExportCompletion\":7:{s:11:\"\0*\0exporter\";O:35:\"App\\Filament\\Exports\\AlumniExporter\":3:{s:9:\"\0*\0export\";O:38:\"Filament\\Actions\\Exports\\Models\\Export\":33:{s:13:\"\0*\0connection\";s:5:\"mysql\";s:8:\"\0*\0table\";N;s:13:\"\0*\0primaryKey\";s:2:\"id\";s:10:\"\0*\0keyType\";s:3:\"int\";s:12:\"incrementing\";b:1;s:7:\"\0*\0with\";a:0:{}s:12:\"\0*\0withCount\";a:0:{}s:19:\"preventsLazyLoading\";b:0;s:10:\"\0*\0perPage\";i:15;s:6:\"exists\";b:1;s:18:\"wasRecentlyCreated\";b:1;s:28:\"\0*\0escapeWhenCastingToString\";b:0;s:13:\"\0*\0attributes\";a:8:{s:7:\"user_id\";i:1;s:8:\"exporter\";s:35:\"App\\Filament\\Exports\\AlumniExporter\";s:10:\"total_rows\";i:13;s:9:\"file_disk\";s:5:\"local\";s:10:\"updated_at\";s:19:\"2026-01-13 09:32:35\";s:10:\"created_at\";s:19:\"2026-01-13 09:32:33\";s:2:\"id\";i:3;s:9:\"file_name\";s:16:\"export-3-alumnis\";}s:11:\"\0*\0original\";a:8:{s:7:\"user_id\";i:1;s:8:\"exporter\";s:35:\"App\\Filament\\Exports\\AlumniExporter\";s:10:\"total_rows\";i:13;s:9:\"file_disk\";s:5:\"local\";s:10:\"updated_at\";s:19:\"2026-01-13 09:32:35\";s:10:\"created_at\";s:19:\"2026-01-13 09:32:33\";s:2:\"id\";i:3;s:9:\"file_name\";s:16:\"export-3-alumnis\";}s:10:\"\0*\0changes\";a:2:{s:10:\"updated_at\";s:19:\"2026-01-13 09:32:35\";s:9:\"file_name\";s:16:\"export-3-alumnis\";}s:11:\"\0*\0previous\";a:1:{s:10:\"updated_at\";s:19:\"2026-01-13 09:32:33\";}s:8:\"\0*\0casts\";a:4:{s:12:\"completed_at\";s:9:\"timestamp\";s:14:\"processed_rows\";s:7:\"integer\";s:10:\"total_rows\";s:7:\"integer\";s:15:\"successful_rows\";s:7:\"integer\";}s:17:\"\0*\0classCastCache\";a:0:{}s:21:\"\0*\0attributeCastCache\";a:0:{}s:13:\"\0*\0dateFormat\";N;s:10:\"\0*\0appends\";a:0:{}s:19:\"\0*\0dispatchesEvents\";a:0:{}s:14:\"\0*\0observables\";a:0:{}s:12:\"\0*\0relations\";a:0:{}s:10:\"\0*\0touches\";a:0:{}s:27:\"\0*\0relationAutoloadCallback\";N;s:26:\"\0*\0relationAutoloadContext\";N;s:10:\"timestamps\";b:1;s:13:\"usesUniqueIds\";b:0;s:9:\"\0*\0hidden\";a:0:{}s:10:\"\0*\0visible\";a:0:{}s:11:\"\0*\0fillable\";a:0:{}s:10:\"\0*\0guarded\";a:0:{}}s:12:\"\0*\0columnMap\";a:21:{s:2:\"id\";s:2:\"ID\";s:3:\"nim\";s:3:\"NIM\";s:8:\"username\";s:11:\"Nama Alumni\";s:11:\"birth_place\";s:12:\"Tempat Lahir\";s:10:\"birth_date\";s:13:\"Tanggal Lahir\";s:6:\"gender\";s:13:\"Jenis Kelamin\";s:7:\"address\";s:6:\"Alamat\";s:12:\"phone_number\";s:5:\"No HP\";s:5:\"email\";s:5:\"Email\";s:3:\"gpa\";s:3:\"IPK\";s:7:\"faculty\";s:8:\"Fakultas\";s:5:\"major\";s:13:\"Program Studi\";s:10:\"entry_year\";s:11:\"Tahun Masuk\";s:15:\"graduation_year\";s:11:\"Tahun Lulus\";s:6:\"status\";s:6:\"Status\";s:14:\"category_field\";s:15:\"Kategori Bidang\";s:14:\"waiting_period\";s:11:\"Masa Tunggu\";s:12:\"job_position\";s:16:\"Posisi Pekerjaan\";s:12:\"company_name\";s:24:\"Nama Instansi/Perusahaan\";s:10:\"created_at\";s:14:\"Tanggal dibuat\";s:10:\"updated_at\";s:18:\"Tanggal diperbarui\";}s:10:\"\0*\0options\";a:0:{}}s:9:\"\0*\0export\";O:45:\"Illuminate\\Contracts\\Database\\ModelIdentifier\":5:{s:5:\"class\";s:38:\"Filament\\Actions\\Exports\\Models\\Export\";s:2:\"id\";i:3;s:9:\"relations\";a:0:{}s:10:\"connection\";s:5:\"mysql\";s:15:\"collectionClass\";N;}s:12:\"\0*\0columnMap\";a:21:{s:2:\"id\";s:2:\"ID\";s:3:\"nim\";s:3:\"NIM\";s:8:\"username\";s:11:\"Nama Alumni\";s:11:\"birth_place\";s:12:\"Tempat Lahir\";s:10:\"birth_date\";s:13:\"Tanggal Lahir\";s:6:\"gender\";s:13:\"Jenis Kelamin\";s:7:\"address\";s:6:\"Alamat\";s:12:\"phone_number\";s:5:\"No HP\";s:5:\"email\";s:5:\"Email\";s:3:\"gpa\";s:3:\"IPK\";s:7:\"faculty\";s:8:\"Fakultas\";s:5:\"major\";s:13:\"Program Studi\";s:10:\"entry_year\";s:11:\"Tahun Masuk\";s:15:\"graduation_year\";s:11:\"Tahun Lulus\";s:6:\"status\";s:6:\"Status\";s:14:\"category_field\";s:15:\"Kategori Bidang\";s:14:\"waiting_period\";s:11:\"Masa Tunggu\";s:12:\"job_position\";s:16:\"Posisi Pekerjaan\";s:12:\"company_name\";s:24:\"Nama Instansi/Perusahaan\";s:10:\"created_at\";s:14:\"Tanggal dibuat\";s:10:\"updated_at\";s:18:\"Tanggal diperbarui\";}s:10:\"\0*\0formats\";a:2:{i:0;E:47:\"Filament\\Actions\\Exports\\Enums\\ExportFormat:Csv\";i:1;E:48:\"Filament\\Actions\\Exports\\Enums\\ExportFormat:Xlsx\";}s:10:\"\0*\0options\";a:0:{}s:7:\"chained\";a:1:{i:0;s:3643:\"O:44:\"Filament\\Actions\\Exports\\Jobs\\CreateXlsxFile\":4:{s:11:\"\0*\0exporter\";O:35:\"App\\Filament\\Exports\\AlumniExporter\":3:{s:9:\"\0*\0export\";O:38:\"Filament\\Actions\\Exports\\Models\\Export\":33:{s:13:\"\0*\0connection\";s:5:\"mysql\";s:8:\"\0*\0table\";N;s:13:\"\0*\0primaryKey\";s:2:\"id\";s:10:\"\0*\0keyType\";s:3:\"int\";s:12:\"incrementing\";b:1;s:7:\"\0*\0with\";a:0:{}s:12:\"\0*\0withCount\";a:0:{}s:19:\"preventsLazyLoading\";b:0;s:10:\"\0*\0perPage\";i:15;s:6:\"exists\";b:1;s:18:\"wasRecentlyCreated\";b:1;s:28:\"\0*\0escapeWhenCastingToString\";b:0;s:13:\"\0*\0attributes\";a:8:{s:7:\"user_id\";i:1;s:8:\"exporter\";s:35:\"App\\Filament\\Exports\\AlumniExporter\";s:10:\"total_rows\";i:13;s:9:\"file_disk\";s:5:\"local\";s:10:\"updated_at\";s:19:\"2026-01-13 09:32:35\";s:10:\"created_at\";s:19:\"2026-01-13 09:32:33\";s:2:\"id\";i:3;s:9:\"file_name\";s:16:\"export-3-alumnis\";}s:11:\"\0*\0original\";a:8:{s:7:\"user_id\";i:1;s:8:\"exporter\";s:35:\"App\\Filament\\Exports\\AlumniExporter\";s:10:\"total_rows\";i:13;s:9:\"file_disk\";s:5:\"local\";s:10:\"updated_at\";s:19:\"2026-01-13 09:32:35\";s:10:\"created_at\";s:19:\"2026-01-13 09:32:33\";s:2:\"id\";i:3;s:9:\"file_name\";s:16:\"export-3-alumnis\";}s:10:\"\0*\0changes\";a:2:{s:10:\"updated_at\";s:19:\"2026-01-13 09:32:35\";s:9:\"file_name\";s:16:\"export-3-alumnis\";}s:11:\"\0*\0previous\";a:1:{s:10:\"updated_at\";s:19:\"2026-01-13 09:32:33\";}s:8:\"\0*\0casts\";a:4:{s:12:\"completed_at\";s:9:\"timestamp\";s:14:\"processed_rows\";s:7:\"integer\";s:10:\"total_rows\";s:7:\"integer\";s:15:\"successful_rows\";s:7:\"integer\";}s:17:\"\0*\0classCastCache\";a:0:{}s:21:\"\0*\0attributeCastCache\";a:0:{}s:13:\"\0*\0dateFormat\";N;s:10:\"\0*\0appends\";a:0:{}s:19:\"\0*\0dispatchesEvents\";a:0:{}s:14:\"\0*\0observables\";a:0:{}s:12:\"\0*\0relations\";a:0:{}s:10:\"\0*\0touches\";a:0:{}s:27:\"\0*\0relationAutoloadCallback\";N;s:26:\"\0*\0relationAutoloadContext\";N;s:10:\"timestamps\";b:1;s:13:\"usesUniqueIds\";b:0;s:9:\"\0*\0hidden\";a:0:{}s:10:\"\0*\0visible\";a:0:{}s:11:\"\0*\0fillable\";a:0:{}s:10:\"\0*\0guarded\";a:0:{}}s:12:\"\0*\0columnMap\";a:21:{s:2:\"id\";s:2:\"ID\";s:3:\"nim\";s:3:\"NIM\";s:8:\"username\";s:11:\"Nama Alumni\";s:11:\"birth_place\";s:12:\"Tempat Lahir\";s:10:\"birth_date\";s:13:\"Tanggal Lahir\";s:6:\"gender\";s:13:\"Jenis Kelamin\";s:7:\"address\";s:6:\"Alamat\";s:12:\"phone_number\";s:5:\"No HP\";s:5:\"email\";s:5:\"Email\";s:3:\"gpa\";s:3:\"IPK\";s:7:\"faculty\";s:8:\"Fakultas\";s:5:\"major\";s:13:\"Program Studi\";s:10:\"entry_year\";s:11:\"Tahun Masuk\";s:15:\"graduation_year\";s:11:\"Tahun Lulus\";s:6:\"status\";s:6:\"Status\";s:14:\"category_field\";s:15:\"Kategori Bidang\";s:14:\"waiting_period\";s:11:\"Masa Tunggu\";s:12:\"job_position\";s:16:\"Posisi Pekerjaan\";s:12:\"company_name\";s:24:\"Nama Instansi/Perusahaan\";s:10:\"created_at\";s:14:\"Tanggal dibuat\";s:10:\"updated_at\";s:18:\"Tanggal diperbarui\";}s:10:\"\0*\0options\";a:0:{}}s:9:\"\0*\0export\";O:45:\"Illuminate\\Contracts\\Database\\ModelIdentifier\":5:{s:5:\"class\";s:38:\"Filament\\Actions\\Exports\\Models\\Export\";s:2:\"id\";i:3;s:9:\"relations\";a:0:{}s:10:\"connection\";s:5:\"mysql\";s:15:\"collectionClass\";N;}s:12:\"\0*\0columnMap\";a:21:{s:2:\"id\";s:2:\"ID\";s:3:\"nim\";s:3:\"NIM\";s:8:\"username\";s:11:\"Nama Alumni\";s:11:\"birth_place\";s:12:\"Tempat Lahir\";s:10:\"birth_date\";s:13:\"Tanggal Lahir\";s:6:\"gender\";s:13:\"Jenis Kelamin\";s:7:\"address\";s:6:\"Alamat\";s:12:\"phone_number\";s:5:\"No HP\";s:5:\"email\";s:5:\"Email\";s:3:\"gpa\";s:3:\"IPK\";s:7:\"faculty\";s:8:\"Fakultas\";s:5:\"major\";s:13:\"Program Studi\";s:10:\"entry_year\";s:11:\"Tahun Masuk\";s:15:\"graduation_year\";s:11:\"Tahun Lulus\";s:6:\"status\";s:6:\"Status\";s:14:\"category_field\";s:15:\"Kategori Bidang\";s:14:\"waiting_period\";s:11:\"Masa Tunggu\";s:12:\"job_position\";s:16:\"Posisi Pekerjaan\";s:12:\"company_name\";s:24:\"Nama Instansi/Perusahaan\";s:10:\"created_at\";s:14:\"Tanggal dibuat\";s:10:\"updated_at\";s:18:\"Tanggal diperbarui\";}s:10:\"\0*\0options\";a:0:{}}\";}s:19:\"chainCatchCallbacks\";a:0:{}}}s:8:\"function\";s:266:\"function (\\Illuminate\\Bus\\Batch $batch) use ($next) {\n if (! $batch->cancelled()) {\n \\Illuminate\\Container\\Container::getInstance()->make(\\Illuminate\\Contracts\\Bus\\Dispatcher::class)->dispatch($next);\n }\n }\";s:5:\"scope\";s:27:\"Illuminate\\Bus\\ChainedBatch\";s:4:\"this\";N;s:4:\"self\";s:32:\"00000000000008fd0000000000000000\";}\";s:4:\"hash\";s:44:\"eMaUhkuyXG6iehMNkJX6EIaLtEgZoE5Cwa2qF4TWSfM=\";}}}}', NULL, 1768296759, 1768296760), -('a0d36a1f-1bef-439d-b045-3647f3b37b25', '', 1, 0, 0, '[]', 'a:2:{s:13:\"allowFailures\";b:1;s:7:\"finally\";a:1:{i:0;O:47:\"Laravel\\SerializableClosure\\SerializableClosure\":1:{s:12:\"serializable\";O:46:\"Laravel\\SerializableClosure\\Serializers\\Signed\":2:{s:12:\"serializable\";s:4040:\"O:46:\"Laravel\\SerializableClosure\\Serializers\\Native\":5:{s:3:\"use\";a:4:{s:9:\"columnMap\";a:19:{s:3:\"nim\";s:3:\"nim\";s:8:\"username\";s:8:\"username\";s:11:\"birth_place\";s:11:\"birth_place\";s:10:\"birth_date\";s:10:\"birth_date\";s:6:\"gender\";s:6:\"gender\";s:7:\"address\";s:7:\"address\";s:12:\"phone_number\";s:12:\"phone_number\";s:5:\"email\";s:5:\"email\";s:3:\"gpa\";s:3:\"gpa\";s:7:\"faculty\";s:7:\"faculty\";s:5:\"major\";s:5:\"major\";s:10:\"entry_year\";s:10:\"entry_year\";s:15:\"graduation_year\";s:15:\"graduation_year\";s:6:\"status\";s:6:\"status\";s:14:\"category_field\";s:14:\"category_field\";s:14:\"waiting_period\";s:14:\"waiting_period\";s:12:\"job_position\";s:12:\"job_position\";s:12:\"company_name\";s:12:\"company_name\";s:4:\"foto\";s:4:\"foto\";}s:6:\"import\";O:45:\"Illuminate\\Contracts\\Database\\ModelIdentifier\":5:{s:5:\"class\";s:38:\"Filament\\Actions\\Imports\\Models\\Import\";s:2:\"id\";i:5;s:9:\"relations\";a:0:{}s:10:\"connection\";s:5:\"mysql\";s:15:\"collectionClass\";N;}s:13:\"jobConnection\";N;s:7:\"options\";a:0:{}}s:8:\"function\";s:2925:\"function () use ($columnMap, $import, $jobConnection, $options) {\n $import->touch(\'completed_at\');\n\n event(new \\Filament\\Actions\\Imports\\Events\\ImportCompleted($import, $columnMap, $options));\n\n if (! $import->user instanceof \\Illuminate\\Contracts\\Auth\\Authenticatable) {\n return;\n }\n\n $failedRowsCount = $import->getFailedRowsCount();\n\n \\Filament\\Notifications\\Notification::make()\n ->title($import->importer::getCompletedNotificationTitle($import))\n ->body($import->importer::getCompletedNotificationBody($import))\n ->when(\n ! $failedRowsCount,\n fn (\\Filament\\Notifications\\Notification $notification) => $notification->success(),\n )\n ->when(\n $failedRowsCount && ($failedRowsCount < $import->total_rows),\n fn (\\Filament\\Notifications\\Notification $notification) => $notification->warning(),\n )\n ->when(\n $failedRowsCount === $import->total_rows,\n fn (\\Filament\\Notifications\\Notification $notification) => $notification->danger(),\n )\n ->when(\n $failedRowsCount,\n fn (\\Filament\\Notifications\\Notification $notification) => $notification->actions([\n \\Filament\\Notifications\\Actions\\Action::make(\'downloadFailedRowsCsv\')\n ->label(trans_choice(\'filament-actions::import.notifications.completed.actions.download_failed_rows_csv.label\', $failedRowsCount, [\n \'count\' => \\Illuminate\\Support\\Number::format($failedRowsCount),\n ]))\n ->color(\'danger\')\n ->url(route(\'filament.imports.failed-rows.download\', [\'import\' => $import], absolute: false), shouldOpenInNewTab: true)\n ->markAsRead(),\n ]),\n )\n ->when(\n ($jobConnection === \'sync\') ||\n (blank($jobConnection) && (config(\'queue.default\') === \'sync\')),\n fn (\\Filament\\Notifications\\Notification $notification) => $notification\n ->persistent()\n ->send(),\n fn (\\Filament\\Notifications\\Notification $notification) => $notification->sendToDatabase($import->user, isEventDispatched: true),\n );\n }\";s:5:\"scope\";s:36:\"Filament\\Tables\\Actions\\ImportAction\";s:4:\"this\";N;s:4:\"self\";s:32:\"0000000000000ea30000000000000000\";}\";s:4:\"hash\";s:44:\"GW5zTMvFxTdGGeVixyQBmL8UQ2Z5B8pP4RkvrmLwlwg=\";}}}}', NULL, 1768298789, 1768298794); -INSERT INTO `job_batches` (`id`, `name`, `total_jobs`, `pending_jobs`, `failed_jobs`, `failed_job_ids`, `options`, `cancelled_at`, `created_at`, `finished_at`) VALUES -('a0ef7ec8-8c61-4a5d-b019-79294f90db93', '', 2, 0, 0, '[]', 'a:2:{s:13:\"allowFailures\";b:1;s:7:\"finally\";a:1:{i:0;O:47:\"Laravel\\SerializableClosure\\SerializableClosure\":1:{s:12:\"serializable\";O:46:\"Laravel\\SerializableClosure\\Serializers\\Signed\":2:{s:12:\"serializable\";s:6006:\"O:46:\"Laravel\\SerializableClosure\\Serializers\\Native\":5:{s:3:\"use\";a:1:{s:4:\"next\";O:46:\"Filament\\Actions\\Exports\\Jobs\\ExportCompletion\":7:{s:11:\"\0*\0exporter\";O:50:\"App\\Filament\\Exports\\QuestionnaireResponseExporter\":3:{s:9:\"\0*\0export\";O:38:\"Filament\\Actions\\Exports\\Models\\Export\":33:{s:13:\"\0*\0connection\";s:5:\"mysql\";s:8:\"\0*\0table\";N;s:13:\"\0*\0primaryKey\";s:2:\"id\";s:10:\"\0*\0keyType\";s:3:\"int\";s:12:\"incrementing\";b:1;s:7:\"\0*\0with\";a:0:{}s:12:\"\0*\0withCount\";a:0:{}s:19:\"preventsLazyLoading\";b:0;s:10:\"\0*\0perPage\";i:15;s:6:\"exists\";b:1;s:18:\"wasRecentlyCreated\";b:1;s:28:\"\0*\0escapeWhenCastingToString\";b:0;s:13:\"\0*\0attributes\";a:8:{s:7:\"user_id\";i:1;s:8:\"exporter\";s:50:\"App\\Filament\\Exports\\QuestionnaireResponseExporter\";s:10:\"total_rows\";i:10;s:9:\"file_disk\";s:5:\"local\";s:10:\"updated_at\";s:19:\"2026-01-27 09:07:22\";s:10:\"created_at\";s:19:\"2026-01-27 09:07:22\";s:2:\"id\";i:4;s:9:\"file_name\";s:32:\"export-4-questionnaire-responses\";}s:11:\"\0*\0original\";a:8:{s:7:\"user_id\";i:1;s:8:\"exporter\";s:50:\"App\\Filament\\Exports\\QuestionnaireResponseExporter\";s:10:\"total_rows\";i:10;s:9:\"file_disk\";s:5:\"local\";s:10:\"updated_at\";s:19:\"2026-01-27 09:07:22\";s:10:\"created_at\";s:19:\"2026-01-27 09:07:22\";s:2:\"id\";i:4;s:9:\"file_name\";s:32:\"export-4-questionnaire-responses\";}s:10:\"\0*\0changes\";a:1:{s:9:\"file_name\";s:32:\"export-4-questionnaire-responses\";}s:11:\"\0*\0previous\";a:0:{}s:8:\"\0*\0casts\";a:4:{s:12:\"completed_at\";s:9:\"timestamp\";s:14:\"processed_rows\";s:7:\"integer\";s:10:\"total_rows\";s:7:\"integer\";s:15:\"successful_rows\";s:7:\"integer\";}s:17:\"\0*\0classCastCache\";a:0:{}s:21:\"\0*\0attributeCastCache\";a:0:{}s:13:\"\0*\0dateFormat\";N;s:10:\"\0*\0appends\";a:0:{}s:19:\"\0*\0dispatchesEvents\";a:0:{}s:14:\"\0*\0observables\";a:0:{}s:12:\"\0*\0relations\";a:0:{}s:10:\"\0*\0touches\";a:0:{}s:27:\"\0*\0relationAutoloadCallback\";N;s:26:\"\0*\0relationAutoloadContext\";N;s:10:\"timestamps\";b:1;s:13:\"usesUniqueIds\";b:0;s:9:\"\0*\0hidden\";a:0:{}s:10:\"\0*\0visible\";a:0:{}s:11:\"\0*\0fillable\";a:0:{}s:10:\"\0*\0guarded\";a:0:{}}s:12:\"\0*\0columnMap\";a:6:{s:19:\"questionnaire.title\";s:9:\"Kuesioner\";s:9:\"user.name\";s:6:\"Alumni\";s:15:\"user.alumni.nim\";s:3:\"NIM\";s:17:\"user.alumni.major\";s:7:\"Jurusan\";s:7:\"answers\";s:17:\"Ringkasan Jawaban\";s:12:\"submitted_at\";s:14:\"Tanggal Submit\";}s:10:\"\0*\0options\";a:0:{}}s:9:\"\0*\0export\";O:45:\"Illuminate\\Contracts\\Database\\ModelIdentifier\":5:{s:5:\"class\";s:38:\"Filament\\Actions\\Exports\\Models\\Export\";s:2:\"id\";i:4;s:9:\"relations\";a:0:{}s:10:\"connection\";s:5:\"mysql\";s:15:\"collectionClass\";N;}s:12:\"\0*\0columnMap\";a:6:{s:19:\"questionnaire.title\";s:9:\"Kuesioner\";s:9:\"user.name\";s:6:\"Alumni\";s:15:\"user.alumni.nim\";s:3:\"NIM\";s:17:\"user.alumni.major\";s:7:\"Jurusan\";s:7:\"answers\";s:17:\"Ringkasan Jawaban\";s:12:\"submitted_at\";s:14:\"Tanggal Submit\";}s:10:\"\0*\0formats\";a:2:{i:0;E:47:\"Filament\\Actions\\Exports\\Enums\\ExportFormat:Csv\";i:1;E:48:\"Filament\\Actions\\Exports\\Enums\\ExportFormat:Xlsx\";}s:10:\"\0*\0options\";a:0:{}s:7:\"chained\";a:1:{i:0;s:2654:\"O:44:\"Filament\\Actions\\Exports\\Jobs\\CreateXlsxFile\":4:{s:11:\"\0*\0exporter\";O:50:\"App\\Filament\\Exports\\QuestionnaireResponseExporter\":3:{s:9:\"\0*\0export\";O:38:\"Filament\\Actions\\Exports\\Models\\Export\":33:{s:13:\"\0*\0connection\";s:5:\"mysql\";s:8:\"\0*\0table\";N;s:13:\"\0*\0primaryKey\";s:2:\"id\";s:10:\"\0*\0keyType\";s:3:\"int\";s:12:\"incrementing\";b:1;s:7:\"\0*\0with\";a:0:{}s:12:\"\0*\0withCount\";a:0:{}s:19:\"preventsLazyLoading\";b:0;s:10:\"\0*\0perPage\";i:15;s:6:\"exists\";b:1;s:18:\"wasRecentlyCreated\";b:1;s:28:\"\0*\0escapeWhenCastingToString\";b:0;s:13:\"\0*\0attributes\";a:8:{s:7:\"user_id\";i:1;s:8:\"exporter\";s:50:\"App\\Filament\\Exports\\QuestionnaireResponseExporter\";s:10:\"total_rows\";i:10;s:9:\"file_disk\";s:5:\"local\";s:10:\"updated_at\";s:19:\"2026-01-27 09:07:22\";s:10:\"created_at\";s:19:\"2026-01-27 09:07:22\";s:2:\"id\";i:4;s:9:\"file_name\";s:32:\"export-4-questionnaire-responses\";}s:11:\"\0*\0original\";a:8:{s:7:\"user_id\";i:1;s:8:\"exporter\";s:50:\"App\\Filament\\Exports\\QuestionnaireResponseExporter\";s:10:\"total_rows\";i:10;s:9:\"file_disk\";s:5:\"local\";s:10:\"updated_at\";s:19:\"2026-01-27 09:07:22\";s:10:\"created_at\";s:19:\"2026-01-27 09:07:22\";s:2:\"id\";i:4;s:9:\"file_name\";s:32:\"export-4-questionnaire-responses\";}s:10:\"\0*\0changes\";a:1:{s:9:\"file_name\";s:32:\"export-4-questionnaire-responses\";}s:11:\"\0*\0previous\";a:0:{}s:8:\"\0*\0casts\";a:4:{s:12:\"completed_at\";s:9:\"timestamp\";s:14:\"processed_rows\";s:7:\"integer\";s:10:\"total_rows\";s:7:\"integer\";s:15:\"successful_rows\";s:7:\"integer\";}s:17:\"\0*\0classCastCache\";a:0:{}s:21:\"\0*\0attributeCastCache\";a:0:{}s:13:\"\0*\0dateFormat\";N;s:10:\"\0*\0appends\";a:0:{}s:19:\"\0*\0dispatchesEvents\";a:0:{}s:14:\"\0*\0observables\";a:0:{}s:12:\"\0*\0relations\";a:0:{}s:10:\"\0*\0touches\";a:0:{}s:27:\"\0*\0relationAutoloadCallback\";N;s:26:\"\0*\0relationAutoloadContext\";N;s:10:\"timestamps\";b:1;s:13:\"usesUniqueIds\";b:0;s:9:\"\0*\0hidden\";a:0:{}s:10:\"\0*\0visible\";a:0:{}s:11:\"\0*\0fillable\";a:0:{}s:10:\"\0*\0guarded\";a:0:{}}s:12:\"\0*\0columnMap\";a:6:{s:19:\"questionnaire.title\";s:9:\"Kuesioner\";s:9:\"user.name\";s:6:\"Alumni\";s:15:\"user.alumni.nim\";s:3:\"NIM\";s:17:\"user.alumni.major\";s:7:\"Jurusan\";s:7:\"answers\";s:17:\"Ringkasan Jawaban\";s:12:\"submitted_at\";s:14:\"Tanggal Submit\";}s:10:\"\0*\0options\";a:0:{}}s:9:\"\0*\0export\";O:45:\"Illuminate\\Contracts\\Database\\ModelIdentifier\":5:{s:5:\"class\";s:38:\"Filament\\Actions\\Exports\\Models\\Export\";s:2:\"id\";i:4;s:9:\"relations\";a:0:{}s:10:\"connection\";s:5:\"mysql\";s:15:\"collectionClass\";N;}s:12:\"\0*\0columnMap\";a:6:{s:19:\"questionnaire.title\";s:9:\"Kuesioner\";s:9:\"user.name\";s:6:\"Alumni\";s:15:\"user.alumni.nim\";s:3:\"NIM\";s:17:\"user.alumni.major\";s:7:\"Jurusan\";s:7:\"answers\";s:17:\"Ringkasan Jawaban\";s:12:\"submitted_at\";s:14:\"Tanggal Submit\";}s:10:\"\0*\0options\";a:0:{}}\";}s:19:\"chainCatchCallbacks\";a:0:{}}}s:8:\"function\";s:266:\"function (\\Illuminate\\Bus\\Batch $batch) use ($next) {\n if (! $batch->cancelled()) {\n \\Illuminate\\Container\\Container::getInstance()->make(\\Illuminate\\Contracts\\Bus\\Dispatcher::class)->dispatch($next);\n }\n }\";s:5:\"scope\";s:27:\"Illuminate\\Bus\\ChainedBatch\";s:4:\"this\";N;s:4:\"self\";s:32:\"00000000000009260000000000000000\";}\";s:4:\"hash\";s:44:\"71kZRCoXQupQTIZKNNfO0c89dX8YTVq8Sxk7a46ap2A=\";}}}}', NULL, 1769504847, 1769504847), -('a0f39b8e-ec88-46f2-84f1-7fee5144d044', '', 2, 0, 0, '[]', 'a:2:{s:13:\"allowFailures\";b:1;s:7:\"finally\";a:1:{i:0;O:47:\"Laravel\\SerializableClosure\\SerializableClosure\":1:{s:12:\"serializable\";O:46:\"Laravel\\SerializableClosure\\Serializers\\Signed\":2:{s:12:\"serializable\";s:6182:\"O:46:\"Laravel\\SerializableClosure\\Serializers\\Native\":5:{s:3:\"use\";a:1:{s:4:\"next\";O:46:\"Filament\\Actions\\Exports\\Jobs\\ExportCompletion\":7:{s:11:\"\0*\0exporter\";O:50:\"App\\Filament\\Exports\\QuestionnaireResponseExporter\":3:{s:9:\"\0*\0export\";O:38:\"Filament\\Actions\\Exports\\Models\\Export\":33:{s:13:\"\0*\0connection\";s:5:\"mysql\";s:8:\"\0*\0table\";N;s:13:\"\0*\0primaryKey\";s:2:\"id\";s:10:\"\0*\0keyType\";s:3:\"int\";s:12:\"incrementing\";b:1;s:7:\"\0*\0with\";a:0:{}s:12:\"\0*\0withCount\";a:0:{}s:19:\"preventsLazyLoading\";b:0;s:10:\"\0*\0perPage\";i:15;s:6:\"exists\";b:1;s:18:\"wasRecentlyCreated\";b:1;s:28:\"\0*\0escapeWhenCastingToString\";b:0;s:13:\"\0*\0attributes\";a:8:{s:7:\"user_id\";i:1;s:8:\"exporter\";s:50:\"App\\Filament\\Exports\\QuestionnaireResponseExporter\";s:10:\"total_rows\";i:7;s:9:\"file_disk\";s:5:\"local\";s:10:\"updated_at\";s:19:\"2026-01-29 10:11:06\";s:10:\"created_at\";s:19:\"2026-01-29 10:11:05\";s:2:\"id\";i:5;s:9:\"file_name\";s:32:\"export-5-questionnaire-responses\";}s:11:\"\0*\0original\";a:8:{s:7:\"user_id\";i:1;s:8:\"exporter\";s:50:\"App\\Filament\\Exports\\QuestionnaireResponseExporter\";s:10:\"total_rows\";i:7;s:9:\"file_disk\";s:5:\"local\";s:10:\"updated_at\";s:19:\"2026-01-29 10:11:06\";s:10:\"created_at\";s:19:\"2026-01-29 10:11:05\";s:2:\"id\";i:5;s:9:\"file_name\";s:32:\"export-5-questionnaire-responses\";}s:10:\"\0*\0changes\";a:2:{s:10:\"updated_at\";s:19:\"2026-01-29 10:11:06\";s:9:\"file_name\";s:32:\"export-5-questionnaire-responses\";}s:11:\"\0*\0previous\";a:1:{s:10:\"updated_at\";s:19:\"2026-01-29 10:11:05\";}s:8:\"\0*\0casts\";a:4:{s:12:\"completed_at\";s:9:\"timestamp\";s:14:\"processed_rows\";s:7:\"integer\";s:10:\"total_rows\";s:7:\"integer\";s:15:\"successful_rows\";s:7:\"integer\";}s:17:\"\0*\0classCastCache\";a:0:{}s:21:\"\0*\0attributeCastCache\";a:0:{}s:13:\"\0*\0dateFormat\";N;s:10:\"\0*\0appends\";a:0:{}s:19:\"\0*\0dispatchesEvents\";a:0:{}s:14:\"\0*\0observables\";a:0:{}s:12:\"\0*\0relations\";a:0:{}s:10:\"\0*\0touches\";a:0:{}s:27:\"\0*\0relationAutoloadCallback\";N;s:26:\"\0*\0relationAutoloadContext\";N;s:10:\"timestamps\";b:1;s:13:\"usesUniqueIds\";b:0;s:9:\"\0*\0hidden\";a:0:{}s:10:\"\0*\0visible\";a:0:{}s:11:\"\0*\0fillable\";a:0:{}s:10:\"\0*\0guarded\";a:0:{}}s:12:\"\0*\0columnMap\";a:6:{s:19:\"questionnaire.title\";s:9:\"Kuesioner\";s:9:\"user.name\";s:6:\"Alumni\";s:15:\"user.alumni.nim\";s:3:\"NIM\";s:17:\"user.alumni.major\";s:7:\"Jurusan\";s:7:\"answers\";s:17:\"Ringkasan Jawaban\";s:12:\"submitted_at\";s:14:\"Tanggal Submit\";}s:10:\"\0*\0options\";a:0:{}}s:9:\"\0*\0export\";O:45:\"Illuminate\\Contracts\\Database\\ModelIdentifier\":5:{s:5:\"class\";s:38:\"Filament\\Actions\\Exports\\Models\\Export\";s:2:\"id\";i:5;s:9:\"relations\";a:0:{}s:10:\"connection\";s:5:\"mysql\";s:15:\"collectionClass\";N;}s:12:\"\0*\0columnMap\";a:6:{s:19:\"questionnaire.title\";s:9:\"Kuesioner\";s:9:\"user.name\";s:6:\"Alumni\";s:15:\"user.alumni.nim\";s:3:\"NIM\";s:17:\"user.alumni.major\";s:7:\"Jurusan\";s:7:\"answers\";s:17:\"Ringkasan Jawaban\";s:12:\"submitted_at\";s:14:\"Tanggal Submit\";}s:10:\"\0*\0formats\";a:2:{i:0;E:47:\"Filament\\Actions\\Exports\\Enums\\ExportFormat:Csv\";i:1;E:48:\"Filament\\Actions\\Exports\\Enums\\ExportFormat:Xlsx\";}s:10:\"\0*\0options\";a:0:{}s:7:\"chained\";a:1:{i:0;s:2742:\"O:44:\"Filament\\Actions\\Exports\\Jobs\\CreateXlsxFile\":4:{s:11:\"\0*\0exporter\";O:50:\"App\\Filament\\Exports\\QuestionnaireResponseExporter\":3:{s:9:\"\0*\0export\";O:38:\"Filament\\Actions\\Exports\\Models\\Export\":33:{s:13:\"\0*\0connection\";s:5:\"mysql\";s:8:\"\0*\0table\";N;s:13:\"\0*\0primaryKey\";s:2:\"id\";s:10:\"\0*\0keyType\";s:3:\"int\";s:12:\"incrementing\";b:1;s:7:\"\0*\0with\";a:0:{}s:12:\"\0*\0withCount\";a:0:{}s:19:\"preventsLazyLoading\";b:0;s:10:\"\0*\0perPage\";i:15;s:6:\"exists\";b:1;s:18:\"wasRecentlyCreated\";b:1;s:28:\"\0*\0escapeWhenCastingToString\";b:0;s:13:\"\0*\0attributes\";a:8:{s:7:\"user_id\";i:1;s:8:\"exporter\";s:50:\"App\\Filament\\Exports\\QuestionnaireResponseExporter\";s:10:\"total_rows\";i:7;s:9:\"file_disk\";s:5:\"local\";s:10:\"updated_at\";s:19:\"2026-01-29 10:11:06\";s:10:\"created_at\";s:19:\"2026-01-29 10:11:05\";s:2:\"id\";i:5;s:9:\"file_name\";s:32:\"export-5-questionnaire-responses\";}s:11:\"\0*\0original\";a:8:{s:7:\"user_id\";i:1;s:8:\"exporter\";s:50:\"App\\Filament\\Exports\\QuestionnaireResponseExporter\";s:10:\"total_rows\";i:7;s:9:\"file_disk\";s:5:\"local\";s:10:\"updated_at\";s:19:\"2026-01-29 10:11:06\";s:10:\"created_at\";s:19:\"2026-01-29 10:11:05\";s:2:\"id\";i:5;s:9:\"file_name\";s:32:\"export-5-questionnaire-responses\";}s:10:\"\0*\0changes\";a:2:{s:10:\"updated_at\";s:19:\"2026-01-29 10:11:06\";s:9:\"file_name\";s:32:\"export-5-questionnaire-responses\";}s:11:\"\0*\0previous\";a:1:{s:10:\"updated_at\";s:19:\"2026-01-29 10:11:05\";}s:8:\"\0*\0casts\";a:4:{s:12:\"completed_at\";s:9:\"timestamp\";s:14:\"processed_rows\";s:7:\"integer\";s:10:\"total_rows\";s:7:\"integer\";s:15:\"successful_rows\";s:7:\"integer\";}s:17:\"\0*\0classCastCache\";a:0:{}s:21:\"\0*\0attributeCastCache\";a:0:{}s:13:\"\0*\0dateFormat\";N;s:10:\"\0*\0appends\";a:0:{}s:19:\"\0*\0dispatchesEvents\";a:0:{}s:14:\"\0*\0observables\";a:0:{}s:12:\"\0*\0relations\";a:0:{}s:10:\"\0*\0touches\";a:0:{}s:27:\"\0*\0relationAutoloadCallback\";N;s:26:\"\0*\0relationAutoloadContext\";N;s:10:\"timestamps\";b:1;s:13:\"usesUniqueIds\";b:0;s:9:\"\0*\0hidden\";a:0:{}s:10:\"\0*\0visible\";a:0:{}s:11:\"\0*\0fillable\";a:0:{}s:10:\"\0*\0guarded\";a:0:{}}s:12:\"\0*\0columnMap\";a:6:{s:19:\"questionnaire.title\";s:9:\"Kuesioner\";s:9:\"user.name\";s:6:\"Alumni\";s:15:\"user.alumni.nim\";s:3:\"NIM\";s:17:\"user.alumni.major\";s:7:\"Jurusan\";s:7:\"answers\";s:17:\"Ringkasan Jawaban\";s:12:\"submitted_at\";s:14:\"Tanggal Submit\";}s:10:\"\0*\0options\";a:0:{}}s:9:\"\0*\0export\";O:45:\"Illuminate\\Contracts\\Database\\ModelIdentifier\":5:{s:5:\"class\";s:38:\"Filament\\Actions\\Exports\\Models\\Export\";s:2:\"id\";i:5;s:9:\"relations\";a:0:{}s:10:\"connection\";s:5:\"mysql\";s:15:\"collectionClass\";N;}s:12:\"\0*\0columnMap\";a:6:{s:19:\"questionnaire.title\";s:9:\"Kuesioner\";s:9:\"user.name\";s:6:\"Alumni\";s:15:\"user.alumni.nim\";s:3:\"NIM\";s:17:\"user.alumni.major\";s:7:\"Jurusan\";s:7:\"answers\";s:17:\"Ringkasan Jawaban\";s:12:\"submitted_at\";s:14:\"Tanggal Submit\";}s:10:\"\0*\0options\";a:0:{}}\";}s:19:\"chainCatchCallbacks\";a:0:{}}}s:8:\"function\";s:266:\"function (\\Illuminate\\Bus\\Batch $batch) use ($next) {\n if (! $batch->cancelled()) {\n \\Illuminate\\Container\\Container::getInstance()->make(\\Illuminate\\Contracts\\Bus\\Dispatcher::class)->dispatch($next);\n }\n }\";s:5:\"scope\";s:27:\"Illuminate\\Bus\\ChainedBatch\";s:4:\"this\";N;s:4:\"self\";s:32:\"00000000000009260000000000000000\";}\";s:4:\"hash\";s:44:\"I6qGVrctjDxayuzSurnIBrRG8ApwB6fGyFaEQnmp9Fg=\";}}}}', NULL, 1769681473, 1769681474), -('a0f9d38d-45c0-47a3-b613-419b978c68fe', '', 2, 0, 0, '[]', 'a:2:{s:13:\"allowFailures\";b:1;s:7:\"finally\";a:1:{i:0;O:47:\"Laravel\\SerializableClosure\\SerializableClosure\":1:{s:12:\"serializable\";O:46:\"Laravel\\SerializableClosure\\Serializers\\Signed\":2:{s:12:\"serializable\";s:6646:\"O:46:\"Laravel\\SerializableClosure\\Serializers\\Native\":5:{s:3:\"use\";a:1:{s:4:\"next\";O:46:\"Filament\\Actions\\Exports\\Jobs\\ExportCompletion\":7:{s:11:\"\0*\0exporter\";O:50:\"App\\Filament\\Exports\\QuestionnaireResponseExporter\":3:{s:9:\"\0*\0export\";O:38:\"Filament\\Actions\\Exports\\Models\\Export\":33:{s:13:\"\0*\0connection\";s:5:\"mysql\";s:8:\"\0*\0table\";N;s:13:\"\0*\0primaryKey\";s:2:\"id\";s:10:\"\0*\0keyType\";s:3:\"int\";s:12:\"incrementing\";b:1;s:7:\"\0*\0with\";a:0:{}s:12:\"\0*\0withCount\";a:0:{}s:19:\"preventsLazyLoading\";b:0;s:10:\"\0*\0perPage\";i:15;s:6:\"exists\";b:1;s:18:\"wasRecentlyCreated\";b:1;s:28:\"\0*\0escapeWhenCastingToString\";b:0;s:13:\"\0*\0attributes\";a:8:{s:7:\"user_id\";i:1;s:8:\"exporter\";s:50:\"App\\Filament\\Exports\\QuestionnaireResponseExporter\";s:10:\"total_rows\";i:1;s:9:\"file_disk\";s:5:\"local\";s:10:\"updated_at\";s:19:\"2026-02-01 12:22:40\";s:10:\"created_at\";s:19:\"2026-02-01 12:22:39\";s:2:\"id\";i:6;s:9:\"file_name\";s:32:\"ekspor-6-questionnaire-responses\";}s:11:\"\0*\0original\";a:8:{s:7:\"user_id\";i:1;s:8:\"exporter\";s:50:\"App\\Filament\\Exports\\QuestionnaireResponseExporter\";s:10:\"total_rows\";i:1;s:9:\"file_disk\";s:5:\"local\";s:10:\"updated_at\";s:19:\"2026-02-01 12:22:40\";s:10:\"created_at\";s:19:\"2026-02-01 12:22:39\";s:2:\"id\";i:6;s:9:\"file_name\";s:32:\"ekspor-6-questionnaire-responses\";}s:10:\"\0*\0changes\";a:2:{s:10:\"updated_at\";s:19:\"2026-02-01 12:22:40\";s:9:\"file_name\";s:32:\"ekspor-6-questionnaire-responses\";}s:11:\"\0*\0previous\";a:1:{s:10:\"updated_at\";s:19:\"2026-02-01 12:22:39\";}s:8:\"\0*\0casts\";a:4:{s:12:\"completed_at\";s:9:\"timestamp\";s:14:\"processed_rows\";s:7:\"integer\";s:10:\"total_rows\";s:7:\"integer\";s:15:\"successful_rows\";s:7:\"integer\";}s:17:\"\0*\0classCastCache\";a:0:{}s:21:\"\0*\0attributeCastCache\";a:0:{}s:13:\"\0*\0dateFormat\";N;s:10:\"\0*\0appends\";a:0:{}s:19:\"\0*\0dispatchesEvents\";a:0:{}s:14:\"\0*\0observables\";a:0:{}s:12:\"\0*\0relations\";a:0:{}s:10:\"\0*\0touches\";a:0:{}s:27:\"\0*\0relationAutoloadCallback\";N;s:26:\"\0*\0relationAutoloadContext\";N;s:10:\"timestamps\";b:1;s:13:\"usesUniqueIds\";b:0;s:9:\"\0*\0hidden\";a:0:{}s:10:\"\0*\0visible\";a:0:{}s:11:\"\0*\0fillable\";a:0:{}s:10:\"\0*\0guarded\";a:0:{}}s:12:\"\0*\0columnMap\";a:9:{s:19:\"questionnaire.title\";s:9:\"Kuesioner\";s:9:\"user.name\";s:6:\"Alumni\";s:15:\"user.alumni.nim\";s:3:\"NIM\";s:17:\"user.alumni.major\";s:7:\"Jurusan\";s:7:\"answers\";s:17:\"Ringkasan Jawaban\";s:11:\"total_point\";s:10:\"Total Poin\";s:16:\"point_percentage\";s:10:\"Persentase\";s:14:\"point_category\";s:8:\"Kategori\";s:12:\"submitted_at\";s:14:\"Tanggal Submit\";}s:10:\"\0*\0options\";a:0:{}}s:9:\"\0*\0export\";O:45:\"Illuminate\\Contracts\\Database\\ModelIdentifier\":5:{s:5:\"class\";s:38:\"Filament\\Actions\\Exports\\Models\\Export\";s:2:\"id\";i:6;s:9:\"relations\";a:0:{}s:10:\"connection\";s:5:\"mysql\";s:15:\"collectionClass\";N;}s:12:\"\0*\0columnMap\";a:9:{s:19:\"questionnaire.title\";s:9:\"Kuesioner\";s:9:\"user.name\";s:6:\"Alumni\";s:15:\"user.alumni.nim\";s:3:\"NIM\";s:17:\"user.alumni.major\";s:7:\"Jurusan\";s:7:\"answers\";s:17:\"Ringkasan Jawaban\";s:11:\"total_point\";s:10:\"Total Poin\";s:16:\"point_percentage\";s:10:\"Persentase\";s:14:\"point_category\";s:8:\"Kategori\";s:12:\"submitted_at\";s:14:\"Tanggal Submit\";}s:10:\"\0*\0formats\";a:2:{i:0;E:47:\"Filament\\Actions\\Exports\\Enums\\ExportFormat:Csv\";i:1;E:48:\"Filament\\Actions\\Exports\\Enums\\ExportFormat:Xlsx\";}s:10:\"\0*\0options\";a:0:{}s:7:\"chained\";a:1:{i:0;s:2974:\"O:44:\"Filament\\Actions\\Exports\\Jobs\\CreateXlsxFile\":4:{s:11:\"\0*\0exporter\";O:50:\"App\\Filament\\Exports\\QuestionnaireResponseExporter\":3:{s:9:\"\0*\0export\";O:38:\"Filament\\Actions\\Exports\\Models\\Export\":33:{s:13:\"\0*\0connection\";s:5:\"mysql\";s:8:\"\0*\0table\";N;s:13:\"\0*\0primaryKey\";s:2:\"id\";s:10:\"\0*\0keyType\";s:3:\"int\";s:12:\"incrementing\";b:1;s:7:\"\0*\0with\";a:0:{}s:12:\"\0*\0withCount\";a:0:{}s:19:\"preventsLazyLoading\";b:0;s:10:\"\0*\0perPage\";i:15;s:6:\"exists\";b:1;s:18:\"wasRecentlyCreated\";b:1;s:28:\"\0*\0escapeWhenCastingToString\";b:0;s:13:\"\0*\0attributes\";a:8:{s:7:\"user_id\";i:1;s:8:\"exporter\";s:50:\"App\\Filament\\Exports\\QuestionnaireResponseExporter\";s:10:\"total_rows\";i:1;s:9:\"file_disk\";s:5:\"local\";s:10:\"updated_at\";s:19:\"2026-02-01 12:22:40\";s:10:\"created_at\";s:19:\"2026-02-01 12:22:39\";s:2:\"id\";i:6;s:9:\"file_name\";s:32:\"ekspor-6-questionnaire-responses\";}s:11:\"\0*\0original\";a:8:{s:7:\"user_id\";i:1;s:8:\"exporter\";s:50:\"App\\Filament\\Exports\\QuestionnaireResponseExporter\";s:10:\"total_rows\";i:1;s:9:\"file_disk\";s:5:\"local\";s:10:\"updated_at\";s:19:\"2026-02-01 12:22:40\";s:10:\"created_at\";s:19:\"2026-02-01 12:22:39\";s:2:\"id\";i:6;s:9:\"file_name\";s:32:\"ekspor-6-questionnaire-responses\";}s:10:\"\0*\0changes\";a:2:{s:10:\"updated_at\";s:19:\"2026-02-01 12:22:40\";s:9:\"file_name\";s:32:\"ekspor-6-questionnaire-responses\";}s:11:\"\0*\0previous\";a:1:{s:10:\"updated_at\";s:19:\"2026-02-01 12:22:39\";}s:8:\"\0*\0casts\";a:4:{s:12:\"completed_at\";s:9:\"timestamp\";s:14:\"processed_rows\";s:7:\"integer\";s:10:\"total_rows\";s:7:\"integer\";s:15:\"successful_rows\";s:7:\"integer\";}s:17:\"\0*\0classCastCache\";a:0:{}s:21:\"\0*\0attributeCastCache\";a:0:{}s:13:\"\0*\0dateFormat\";N;s:10:\"\0*\0appends\";a:0:{}s:19:\"\0*\0dispatchesEvents\";a:0:{}s:14:\"\0*\0observables\";a:0:{}s:12:\"\0*\0relations\";a:0:{}s:10:\"\0*\0touches\";a:0:{}s:27:\"\0*\0relationAutoloadCallback\";N;s:26:\"\0*\0relationAutoloadContext\";N;s:10:\"timestamps\";b:1;s:13:\"usesUniqueIds\";b:0;s:9:\"\0*\0hidden\";a:0:{}s:10:\"\0*\0visible\";a:0:{}s:11:\"\0*\0fillable\";a:0:{}s:10:\"\0*\0guarded\";a:0:{}}s:12:\"\0*\0columnMap\";a:9:{s:19:\"questionnaire.title\";s:9:\"Kuesioner\";s:9:\"user.name\";s:6:\"Alumni\";s:15:\"user.alumni.nim\";s:3:\"NIM\";s:17:\"user.alumni.major\";s:7:\"Jurusan\";s:7:\"answers\";s:17:\"Ringkasan Jawaban\";s:11:\"total_point\";s:10:\"Total Poin\";s:16:\"point_percentage\";s:10:\"Persentase\";s:14:\"point_category\";s:8:\"Kategori\";s:12:\"submitted_at\";s:14:\"Tanggal Submit\";}s:10:\"\0*\0options\";a:0:{}}s:9:\"\0*\0export\";O:45:\"Illuminate\\Contracts\\Database\\ModelIdentifier\":5:{s:5:\"class\";s:38:\"Filament\\Actions\\Exports\\Models\\Export\";s:2:\"id\";i:6;s:9:\"relations\";a:0:{}s:10:\"connection\";s:5:\"mysql\";s:15:\"collectionClass\";N;}s:12:\"\0*\0columnMap\";a:9:{s:19:\"questionnaire.title\";s:9:\"Kuesioner\";s:9:\"user.name\";s:6:\"Alumni\";s:15:\"user.alumni.nim\";s:3:\"NIM\";s:17:\"user.alumni.major\";s:7:\"Jurusan\";s:7:\"answers\";s:17:\"Ringkasan Jawaban\";s:11:\"total_point\";s:10:\"Total Poin\";s:16:\"point_percentage\";s:10:\"Persentase\";s:14:\"point_category\";s:8:\"Kategori\";s:12:\"submitted_at\";s:14:\"Tanggal Submit\";}s:10:\"\0*\0options\";a:0:{}}\";}s:19:\"chainCatchCallbacks\";a:0:{}}}s:8:\"function\";s:266:\"function (\\Illuminate\\Bus\\Batch $batch) use ($next) {\n if (! $batch->cancelled()) {\n \\Illuminate\\Container\\Container::getInstance()->make(\\Illuminate\\Contracts\\Bus\\Dispatcher::class)->dispatch($next);\n }\n }\";s:5:\"scope\";s:27:\"Illuminate\\Bus\\ChainedBatch\";s:4:\"this\";N;s:4:\"self\";s:32:\"00000000000009360000000000000000\";}\";s:4:\"hash\";s:44:\"JkwpW1GemcJFNo8+DB1runfLgpqhc0OmIaN+AA/i1cI=\";}}}}', NULL, 1769948565, 1769948566), -('a12f7d37-1b1d-48be-afba-eeb5c33f232f', '', 1, 0, 0, '[]', 'a:2:{s:13:\"allowFailures\";b:1;s:7:\"finally\";a:1:{i:0;O:47:\"Laravel\\SerializableClosure\\SerializableClosure\":1:{s:12:\"serializable\";O:46:\"Laravel\\SerializableClosure\\Serializers\\Signed\":2:{s:12:\"serializable\";s:4040:\"O:46:\"Laravel\\SerializableClosure\\Serializers\\Native\":5:{s:3:\"use\";a:4:{s:9:\"columnMap\";a:19:{s:3:\"nim\";s:3:\"nim\";s:8:\"username\";s:8:\"username\";s:11:\"birth_place\";s:11:\"birth_place\";s:10:\"birth_date\";s:10:\"birth_date\";s:6:\"gender\";s:6:\"gender\";s:7:\"address\";s:7:\"address\";s:12:\"phone_number\";s:12:\"phone_number\";s:5:\"email\";s:5:\"email\";s:3:\"gpa\";s:3:\"gpa\";s:7:\"faculty\";s:7:\"faculty\";s:5:\"major\";s:5:\"major\";s:10:\"entry_year\";s:10:\"entry_year\";s:15:\"graduation_year\";s:15:\"graduation_year\";s:6:\"status\";s:6:\"status\";s:14:\"category_field\";s:14:\"category_field\";s:14:\"waiting_period\";s:14:\"waiting_period\";s:12:\"job_position\";s:12:\"job_position\";s:12:\"company_name\";s:12:\"company_name\";s:4:\"foto\";s:4:\"foto\";}s:6:\"import\";O:45:\"Illuminate\\Contracts\\Database\\ModelIdentifier\":5:{s:5:\"class\";s:38:\"Filament\\Actions\\Imports\\Models\\Import\";s:2:\"id\";i:7;s:9:\"relations\";a:0:{}s:10:\"connection\";s:5:\"mysql\";s:15:\"collectionClass\";N;}s:13:\"jobConnection\";N;s:7:\"options\";a:0:{}}s:8:\"function\";s:2925:\"function () use ($columnMap, $import, $jobConnection, $options) {\n $import->touch(\'completed_at\');\n\n event(new \\Filament\\Actions\\Imports\\Events\\ImportCompleted($import, $columnMap, $options));\n\n if (! $import->user instanceof \\Illuminate\\Contracts\\Auth\\Authenticatable) {\n return;\n }\n\n $failedRowsCount = $import->getFailedRowsCount();\n\n \\Filament\\Notifications\\Notification::make()\n ->title($import->importer::getCompletedNotificationTitle($import))\n ->body($import->importer::getCompletedNotificationBody($import))\n ->when(\n ! $failedRowsCount,\n fn (\\Filament\\Notifications\\Notification $notification) => $notification->success(),\n )\n ->when(\n $failedRowsCount && ($failedRowsCount < $import->total_rows),\n fn (\\Filament\\Notifications\\Notification $notification) => $notification->warning(),\n )\n ->when(\n $failedRowsCount === $import->total_rows,\n fn (\\Filament\\Notifications\\Notification $notification) => $notification->danger(),\n )\n ->when(\n $failedRowsCount,\n fn (\\Filament\\Notifications\\Notification $notification) => $notification->actions([\n \\Filament\\Notifications\\Actions\\Action::make(\'downloadFailedRowsCsv\')\n ->label(trans_choice(\'filament-actions::import.notifications.completed.actions.download_failed_rows_csv.label\', $failedRowsCount, [\n \'count\' => \\Illuminate\\Support\\Number::format($failedRowsCount),\n ]))\n ->color(\'danger\')\n ->url(route(\'filament.imports.failed-rows.download\', [\'import\' => $import], absolute: false), shouldOpenInNewTab: true)\n ->markAsRead(),\n ]),\n )\n ->when(\n ($jobConnection === \'sync\') ||\n (blank($jobConnection) && (config(\'queue.default\') === \'sync\')),\n fn (\\Filament\\Notifications\\Notification $notification) => $notification\n ->persistent()\n ->send(),\n fn (\\Filament\\Notifications\\Notification $notification) => $notification->sendToDatabase($import->user, isEventDispatched: true),\n );\n }\";s:5:\"scope\";s:36:\"Filament\\Tables\\Actions\\ImportAction\";s:4:\"this\";N;s:4:\"self\";s:32:\"0000000000000ee00000000000000000\";}\";s:4:\"hash\";s:44:\"kimKbbWMUdhF8ZpjeuAEs3Uv23Hmwap8FBf6DnJnGtU=\";}}}}', NULL, 1772253363, 1772253369); - --- -------------------------------------------------------- - --- --- Table structure for table `job_opportunities` --- - -CREATE TABLE `job_opportunities` ( - `id` bigint UNSIGNED NOT NULL, - `user_id` bigint UNSIGNED NOT NULL, - `title` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, - `company` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, - `location` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, - `description` text COLLATE utf8mb4_unicode_ci NOT NULL, - `requirements` text COLLATE utf8mb4_unicode_ci, - `salary_range` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, - `deadline` date DEFAULT NULL, - `contact_info` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, - `created_at` timestamp NULL DEFAULT NULL, - `updated_at` timestamp NULL DEFAULT NULL -) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; - --- --- Dumping data for table `job_opportunities` --- - -INSERT INTO `job_opportunities` (`id`, `user_id`, `title`, `company`, `location`, `description`, `requirements`, `salary_range`, `deadline`, `contact_info`, `created_at`, `updated_at`) VALUES -(1, 1, 'Junior Web Developer', 'PT Digital Solusi Nusantara', 'Bandung, Jawa Barat', '

 PT Digital Solusi Nusantara membuka kesempatan bagi lulusan baru untuk bergabung sebagai Junior Web Developer. Posisi ini bertanggung jawab dalam pengembangan dan pemeliharaan aplikasi berbasis web menggunakan teknologi modern. 

', '
  • Lulusan D3/S1 Teknik Informatika atau Sistem Informasi
  • Menguasai dasar HTML, CSS, dan JavaScript
  • Familiar dengan framework Laravel atau React
  • Mampu bekerja dalam tim dan memiliki kemauan belajar tinggi
', 'Rp 5.000.000 – Rp 7.000.000 per bulan', '2026-01-10', 'hrd@digitalsolusi.co.id', '2025-12-28 13:12:36', '2025-12-28 13:12:36'), -(3, 1, 'System Analyst Junior', 'PT Solusi Informatika Global', 'Jakarta Barat', '
 Perusahaan membuka posisi System Analyst Junior untuk membantu analisis kebutuhan sistem, pembuatan dokumentasi, dan koordinasi dengan tim developer dalam pengembangan aplikasi perusahaan. 
', '
  • Lulusan S1 Sistem Informasi
  • Memahami SDLC dan UML
  • Mampu membuat dokumen kebutuhan sistem
  • Memiliki kemampuan komunikasi yang baik
', 'Rp 5.000.000 – Rp 7.000.000 per bulan', '2026-03-19', 'recruitment@siginfo.co.id', '2026-01-18 03:39:09', '2026-01-18 03:39:09'), -(4, 1, 'Junior Web Developer', 'PT Digital Solusi Nusantara', 'Bandung, Jawa Barat', '
 PT Digital Solusi Nusantara membuka kesempatan bagi lulusan baru untuk bergabung sebagai Junior Web Developer. Posisi ini bertanggung jawab dalam pengembangan dan pemeliharaan aplikasi berbasis web menggunakan teknologi modern. 
', '
  • Lulusan S1 Sistem Informasi
  • Menguasai dasar HTML, CSS, dan JavaScript
  • Familiar dengan framework Laravel atau React
  • Mampu bekerja dalam tim dan memiliki kemauan belajar tinggi
', 'Rp 8.000.000 – Rp 10.000.000 per bulan', '2026-04-03', '0812-3456-7890', '2026-01-18 03:42:37', '2026-01-18 03:42:37'); - --- -------------------------------------------------------- - --- --- Table structure for table `migrations` --- - -CREATE TABLE `migrations` ( - `id` int UNSIGNED NOT NULL, - `migration` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, - `batch` int NOT NULL -) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; - --- --- Dumping data for table `migrations` --- - -INSERT INTO `migrations` (`id`, `migration`, `batch`) VALUES -(33, '0001_01_01_000000_create_users_table', 1), -(34, '0001_01_01_000001_create_cache_table', 1), -(35, '0001_01_01_000002_create_jobs_table', 1), -(36, '2025_12_12_042503_create_alumnis_table', 1), -(37, '2025_12_23_034532_create_permission_tables', 1), -(38, '2025_12_23_051722_create_questionnaires_table', 1), -(39, '2025_12_23_074959_create_questionnaire_questions_table', 1), -(40, '2025_12_23_075229_create_questionnaire_responses_table', 1), -(41, '2025_12_23_075712_create_response_answers_table', 1), -(42, '2025_12_23_151007_create_notifications_table', 1), -(43, '2025_12_23_151222_create_imports_table', 1), -(44, '2025_12_23_151223_create_exports_table', 1), -(45, '2025_12_23_151224_create_failed_import_rows_table', 1), -(46, '2025_12_24_081956_create_job_opportunities_table', 1), -(47, '2025_12_24_082547_create_scholarships_table', 1), -(48, '2025_12_24_083203_create_internships_table', 1), -(50, '2026_01_11_084609_add_category_field_and_waiting_period_to_alumnis_table', 2), -(51, '2026_01_31_111857_create_forum_topics_table', 3), -(52, '2026_01_31_112014_create_forum_replies_table', 3), -(53, '2026_02_01_111402_add_max_point_to_questionnaire_questions_table', 4), -(54, '2026_02_01_111552_add_point_to_response_answers_table', 4); - --- -------------------------------------------------------- - --- --- Table structure for table `model_has_permissions` --- - -CREATE TABLE `model_has_permissions` ( - `permission_id` bigint UNSIGNED NOT NULL, - `model_type` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, - `model_id` bigint UNSIGNED NOT NULL -) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; - --- -------------------------------------------------------- - --- --- Table structure for table `model_has_roles` --- - -CREATE TABLE `model_has_roles` ( - `role_id` bigint UNSIGNED NOT NULL, - `model_type` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, - `model_id` bigint UNSIGNED NOT NULL -) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; - --- --- Dumping data for table `model_has_roles` --- - -INSERT INTO `model_has_roles` (`role_id`, `model_type`, `model_id`) VALUES -(1, 'App\\Models\\User', 1), -(2, 'App\\Models\\User', 12), -(2, 'App\\Models\\User', 13), -(2, 'App\\Models\\User', 14), -(2, 'App\\Models\\User', 15), -(2, 'App\\Models\\User', 16), -(2, 'App\\Models\\User', 17), -(2, 'App\\Models\\User', 18), -(2, 'App\\Models\\User', 19), -(2, 'App\\Models\\User', 20), -(2, 'App\\Models\\User', 21), -(2, 'App\\Models\\User', 22), -(2, 'App\\Models\\User', 23), -(2, 'App\\Models\\User', 24), -(2, 'App\\Models\\User', 50), -(2, 'App\\Models\\User', 68), -(2, 'App\\Models\\User', 69), -(2, 'App\\Models\\User', 70), -(2, 'App\\Models\\User', 71), -(2, 'App\\Models\\User', 72), -(2, 'App\\Models\\User', 77), -(2, 'App\\Models\\User', 78), -(2, 'App\\Models\\User', 79), -(2, 'App\\Models\\User', 80), -(2, 'App\\Models\\User', 81), -(2, 'App\\Models\\User', 82), -(2, 'App\\Models\\User', 83), -(2, 'App\\Models\\User', 84), -(2, 'App\\Models\\User', 85); - --- -------------------------------------------------------- - --- --- Table structure for table `notifications` --- - -CREATE TABLE `notifications` ( - `id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL, - `type` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, - `notifiable_type` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, - `notifiable_id` bigint UNSIGNED NOT NULL, - `data` text COLLATE utf8mb4_unicode_ci NOT NULL, - `read_at` timestamp NULL DEFAULT NULL, - `created_at` timestamp NULL DEFAULT NULL, - `updated_at` timestamp NULL DEFAULT NULL -) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; - --- --- Dumping data for table `notifications` --- - -INSERT INTO `notifications` (`id`, `type`, `notifiable_type`, `notifiable_id`, `data`, `read_at`, `created_at`, `updated_at`) VALUES -('00fa1033-a30d-43ab-ae0a-3e1ddac62529', 'Filament\\Notifications\\DatabaseNotification', 'App\\Models\\User', 1, '{\"actions\":[{\"name\":\"download_csv\",\"color\":null,\"event\":null,\"eventData\":[],\"dispatchDirection\":false,\"dispatchToComponent\":null,\"extraAttributes\":[],\"icon\":null,\"iconPosition\":\"before\",\"iconSize\":null,\"isOutlined\":false,\"isDisabled\":false,\"label\":\"Unduh .csv\",\"shouldClose\":false,\"shouldMarkAsRead\":true,\"shouldMarkAsUnread\":false,\"shouldOpenUrlInNewTab\":true,\"size\":\"sm\",\"tooltip\":null,\"url\":\"\\/filament\\/exports\\/6\\/download?format=csv\",\"view\":\"filament-actions::link-action\"},{\"name\":\"download_xlsx\",\"color\":null,\"event\":null,\"eventData\":[],\"dispatchDirection\":false,\"dispatchToComponent\":null,\"extraAttributes\":[],\"icon\":null,\"iconPosition\":\"before\",\"iconSize\":null,\"isOutlined\":false,\"isDisabled\":false,\"label\":\"Unduh .xlsx\",\"shouldClose\":false,\"shouldMarkAsRead\":true,\"shouldMarkAsUnread\":false,\"shouldOpenUrlInNewTab\":true,\"size\":\"sm\",\"tooltip\":null,\"url\":\"\\/filament\\/exports\\/6\\/download?format=xlsx\",\"view\":\"filament-actions::link-action\"}],\"body\":\"Your questionnaire response export has completed and 1 row exported.\",\"color\":null,\"duration\":\"persistent\",\"icon\":\"heroicon-o-check-circle\",\"iconColor\":\"success\",\"status\":\"success\",\"title\":\"Ekspor selesai\",\"view\":\"filament-notifications::notification\",\"viewData\":[],\"format\":\"filament\"}', '2026-02-01 05:23:14', '2026-02-01 05:22:47', '2026-02-01 05:23:14'), -('0b9c790f-376c-4b81-b5f7-1165999518b2', 'Filament\\Notifications\\DatabaseNotification', 'App\\Models\\User', 1, '{\"actions\":[],\"body\":\"Import alumni selesai dan 5 baris berhasil diimpor.\",\"color\":null,\"duration\":\"persistent\",\"icon\":\"heroicon-o-check-circle\",\"iconColor\":\"success\",\"status\":\"success\",\"title\":\"Import completed\",\"view\":\"filament-notifications::notification\",\"viewData\":[],\"format\":\"filament\"}', NULL, '2026-01-13 03:06:34', '2026-01-13 03:06:34'), -('15278e54-0040-48c1-aec9-0edce500b5cb', 'Filament\\Notifications\\DatabaseNotification', 'App\\Models\\User', 1, '{\"actions\":[],\"body\":\"Import alumni selesai dan 10 baris berhasil diimpor.\",\"color\":null,\"duration\":\"persistent\",\"icon\":\"heroicon-o-check-circle\",\"iconColor\":\"success\",\"status\":\"success\",\"title\":\"Import completed\",\"view\":\"filament-notifications::notification\",\"viewData\":[],\"format\":\"filament\"}', NULL, '2025-12-28 12:50:32', '2025-12-28 12:50:32'), -('16637fea-3ab9-4642-bd33-41aff0a227b6', 'Filament\\Notifications\\DatabaseNotification', 'App\\Models\\User', 1, '{\"actions\":[],\"body\":\"Import alumni selesai dan 5 baris berhasil diimpor.\",\"color\":null,\"duration\":\"persistent\",\"icon\":\"heroicon-o-check-circle\",\"iconColor\":\"success\",\"status\":\"success\",\"title\":\"Impor selesai\",\"view\":\"filament-notifications::notification\",\"viewData\":[],\"format\":\"filament\"}', NULL, '2026-02-27 21:36:10', '2026-02-27 21:36:10'), -('1cb7a1d9-e051-43e6-9090-d96f485543f3', 'Filament\\Notifications\\DatabaseNotification', 'App\\Models\\User', 1, '{\"actions\":[{\"name\":\"download_csv\",\"color\":null,\"event\":null,\"eventData\":[],\"dispatchDirection\":false,\"dispatchToComponent\":null,\"extraAttributes\":[],\"icon\":null,\"iconPosition\":\"before\",\"iconSize\":null,\"isOutlined\":false,\"isDisabled\":false,\"label\":\"Download .csv\",\"shouldClose\":false,\"shouldMarkAsRead\":true,\"shouldMarkAsUnread\":false,\"shouldOpenUrlInNewTab\":true,\"size\":\"sm\",\"tooltip\":null,\"url\":\"\\/filament\\/exports\\/1\\/download?format=csv\",\"view\":\"filament-actions::link-action\"},{\"name\":\"download_xlsx\",\"color\":null,\"event\":null,\"eventData\":[],\"dispatchDirection\":false,\"dispatchToComponent\":null,\"extraAttributes\":[],\"icon\":null,\"iconPosition\":\"before\",\"iconSize\":null,\"isOutlined\":false,\"isDisabled\":false,\"label\":\"Download .xlsx\",\"shouldClose\":false,\"shouldMarkAsRead\":true,\"shouldMarkAsUnread\":false,\"shouldOpenUrlInNewTab\":true,\"size\":\"sm\",\"tooltip\":null,\"url\":\"\\/filament\\/exports\\/1\\/download?format=xlsx\",\"view\":\"filament-actions::link-action\"}],\"body\":\"Your alumni export has completed and 10 rows exported.\",\"color\":null,\"duration\":\"persistent\",\"icon\":\"heroicon-o-check-circle\",\"iconColor\":\"success\",\"status\":\"success\",\"title\":\"Export completed\",\"view\":\"filament-notifications::notification\",\"viewData\":[],\"format\":\"filament\"}', '2025-12-28 12:51:13', '2025-12-28 12:51:02', '2025-12-28 12:51:13'), -('2dd902d2-9c84-48a6-88d7-c02f43655e38', 'Filament\\Notifications\\DatabaseNotification', 'App\\Models\\User', 1, '{\"actions\":[{\"name\":\"download_csv\",\"color\":null,\"event\":null,\"eventData\":[],\"dispatchDirection\":false,\"dispatchToComponent\":null,\"extraAttributes\":[],\"icon\":null,\"iconPosition\":\"before\",\"iconSize\":null,\"isOutlined\":false,\"isDisabled\":false,\"label\":\"Download .csv\",\"shouldClose\":false,\"shouldMarkAsRead\":true,\"shouldMarkAsUnread\":false,\"shouldOpenUrlInNewTab\":true,\"size\":\"sm\",\"tooltip\":null,\"url\":\"\\/filament\\/exports\\/5\\/download?format=csv\",\"view\":\"filament-actions::link-action\"},{\"name\":\"download_xlsx\",\"color\":null,\"event\":null,\"eventData\":[],\"dispatchDirection\":false,\"dispatchToComponent\":null,\"extraAttributes\":[],\"icon\":null,\"iconPosition\":\"before\",\"iconSize\":null,\"isOutlined\":false,\"isDisabled\":false,\"label\":\"Download .xlsx\",\"shouldClose\":false,\"shouldMarkAsRead\":true,\"shouldMarkAsUnread\":false,\"shouldOpenUrlInNewTab\":true,\"size\":\"sm\",\"tooltip\":null,\"url\":\"\\/filament\\/exports\\/5\\/download?format=xlsx\",\"view\":\"filament-actions::link-action\"}],\"body\":\"Your questionnaire response export has completed and 7 rows exported.\",\"color\":null,\"duration\":\"persistent\",\"icon\":\"heroicon-o-check-circle\",\"iconColor\":\"success\",\"status\":\"success\",\"title\":\"Export completed\",\"view\":\"filament-notifications::notification\",\"viewData\":[],\"format\":\"filament\"}', '2026-01-29 03:11:32', '2026-01-29 03:11:15', '2026-01-29 03:11:32'), -('4d6bef7e-bfef-445f-b0b6-b6977daf00bd', 'Filament\\Notifications\\DatabaseNotification', 'App\\Models\\User', 1, '{\"actions\":[{\"name\":\"download_csv\",\"color\":null,\"event\":null,\"eventData\":[],\"dispatchDirection\":false,\"dispatchToComponent\":null,\"extraAttributes\":[],\"icon\":null,\"iconPosition\":\"before\",\"iconSize\":null,\"isOutlined\":false,\"isDisabled\":false,\"label\":\"Download .csv\",\"shouldClose\":false,\"shouldMarkAsRead\":true,\"shouldMarkAsUnread\":false,\"shouldOpenUrlInNewTab\":true,\"size\":\"sm\",\"tooltip\":null,\"url\":\"\\/filament\\/exports\\/2\\/download?format=csv\",\"view\":\"filament-actions::link-action\"},{\"name\":\"download_xlsx\",\"color\":null,\"event\":null,\"eventData\":[],\"dispatchDirection\":false,\"dispatchToComponent\":null,\"extraAttributes\":[],\"icon\":null,\"iconPosition\":\"before\",\"iconSize\":null,\"isOutlined\":false,\"isDisabled\":false,\"label\":\"Download .xlsx\",\"shouldClose\":false,\"shouldMarkAsRead\":true,\"shouldMarkAsUnread\":false,\"shouldOpenUrlInNewTab\":true,\"size\":\"sm\",\"tooltip\":null,\"url\":\"\\/filament\\/exports\\/2\\/download?format=xlsx\",\"view\":\"filament-actions::link-action\"}],\"body\":\"Your questionnaire response export has completed and 2 rows exported.\",\"color\":null,\"duration\":\"persistent\",\"icon\":\"heroicon-o-check-circle\",\"iconColor\":\"success\",\"status\":\"success\",\"title\":\"Export completed\",\"view\":\"filament-notifications::notification\",\"viewData\":[],\"format\":\"filament\"}', '2025-12-29 21:16:42', '2025-12-29 21:16:12', '2025-12-29 21:16:42'), -('a5fe8313-831f-4962-be14-3104c1bb7a1e', 'Filament\\Notifications\\DatabaseNotification', 'App\\Models\\User', 1, '{\"actions\":[{\"name\":\"download_csv\",\"color\":null,\"event\":null,\"eventData\":[],\"dispatchDirection\":false,\"dispatchToComponent\":null,\"extraAttributes\":[],\"icon\":null,\"iconPosition\":\"before\",\"iconSize\":null,\"isOutlined\":false,\"isDisabled\":false,\"label\":\"Download .csv\",\"shouldClose\":false,\"shouldMarkAsRead\":true,\"shouldMarkAsUnread\":false,\"shouldOpenUrlInNewTab\":true,\"size\":\"sm\",\"tooltip\":null,\"url\":\"\\/filament\\/exports\\/4\\/download?format=csv\",\"view\":\"filament-actions::link-action\"},{\"name\":\"download_xlsx\",\"color\":null,\"event\":null,\"eventData\":[],\"dispatchDirection\":false,\"dispatchToComponent\":null,\"extraAttributes\":[],\"icon\":null,\"iconPosition\":\"before\",\"iconSize\":null,\"isOutlined\":false,\"isDisabled\":false,\"label\":\"Download .xlsx\",\"shouldClose\":false,\"shouldMarkAsRead\":true,\"shouldMarkAsUnread\":false,\"shouldOpenUrlInNewTab\":true,\"size\":\"sm\",\"tooltip\":null,\"url\":\"\\/filament\\/exports\\/4\\/download?format=xlsx\",\"view\":\"filament-actions::link-action\"}],\"body\":\"Your questionnaire response export has completed and 10 rows exported.\",\"color\":null,\"duration\":\"persistent\",\"icon\":\"heroicon-o-check-circle\",\"iconColor\":\"success\",\"status\":\"success\",\"title\":\"Export completed\",\"view\":\"filament-notifications::notification\",\"viewData\":[],\"format\":\"filament\"}', NULL, '2026-01-27 02:07:28', '2026-01-27 02:07:28'), -('a9827db2-a578-4d6f-98d9-59d12da1eb41', 'Filament\\Notifications\\DatabaseNotification', 'App\\Models\\User', 1, '{\"actions\":[],\"body\":\"Import alumni selesai dan 10 baris berhasil diimpor.\",\"color\":null,\"duration\":\"persistent\",\"icon\":\"heroicon-o-check-circle\",\"iconColor\":\"success\",\"status\":\"success\",\"title\":\"Import completed\",\"view\":\"filament-notifications::notification\",\"viewData\":[],\"format\":\"filament\"}', NULL, '2026-01-02 22:24:18', '2026-01-02 22:24:18'), -('d212c38d-6d78-4336-aa89-b374455a302e', 'Filament\\Notifications\\DatabaseNotification', 'App\\Models\\User', 1, '{\"actions\":[{\"name\":\"download_csv\",\"color\":null,\"event\":null,\"eventData\":[],\"dispatchDirection\":false,\"dispatchToComponent\":null,\"extraAttributes\":[],\"icon\":null,\"iconPosition\":\"before\",\"iconSize\":null,\"isOutlined\":false,\"isDisabled\":false,\"label\":\"Download .csv\",\"shouldClose\":false,\"shouldMarkAsRead\":true,\"shouldMarkAsUnread\":false,\"shouldOpenUrlInNewTab\":true,\"size\":\"sm\",\"tooltip\":null,\"url\":\"\\/filament\\/exports\\/3\\/download?format=csv\",\"view\":\"filament-actions::link-action\"},{\"name\":\"download_xlsx\",\"color\":null,\"event\":null,\"eventData\":[],\"dispatchDirection\":false,\"dispatchToComponent\":null,\"extraAttributes\":[],\"icon\":null,\"iconPosition\":\"before\",\"iconSize\":null,\"isOutlined\":false,\"isDisabled\":false,\"label\":\"Download .xlsx\",\"shouldClose\":false,\"shouldMarkAsRead\":true,\"shouldMarkAsUnread\":false,\"shouldOpenUrlInNewTab\":true,\"size\":\"sm\",\"tooltip\":null,\"url\":\"\\/filament\\/exports\\/3\\/download?format=xlsx\",\"view\":\"filament-actions::link-action\"}],\"body\":\"Your alumni export has completed and 13 rows exported.\",\"color\":null,\"duration\":\"persistent\",\"icon\":\"heroicon-o-check-circle\",\"iconColor\":\"success\",\"status\":\"success\",\"title\":\"Export completed\",\"view\":\"filament-notifications::notification\",\"viewData\":[],\"format\":\"filament\"}', '2026-01-13 02:33:00', '2026-01-13 02:32:41', '2026-01-13 02:33:00'), -('f8296e68-1d49-4391-b406-bf0a840b2eb6', 'Filament\\Notifications\\DatabaseNotification', 'App\\Models\\User', 1, '{\"actions\":[],\"body\":\"Import alumni selesai dan 10 baris berhasil diimpor.\",\"color\":null,\"duration\":\"persistent\",\"icon\":\"heroicon-o-check-circle\",\"iconColor\":\"success\",\"status\":\"success\",\"title\":\"Import completed\",\"view\":\"filament-notifications::notification\",\"viewData\":[],\"format\":\"filament\"}', NULL, '2025-12-28 14:25:08', '2025-12-28 14:25:08'); - --- -------------------------------------------------------- - --- --- Table structure for table `password_reset_tokens` --- - -CREATE TABLE `password_reset_tokens` ( - `email` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, - `token` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, - `created_at` timestamp NULL DEFAULT NULL -) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; - --- -------------------------------------------------------- - --- --- Table structure for table `permissions` --- - -CREATE TABLE `permissions` ( - `id` bigint UNSIGNED NOT NULL, - `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, - `guard_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, - `created_at` timestamp NULL DEFAULT NULL, - `updated_at` timestamp NULL DEFAULT NULL -) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; - --- --- Dumping data for table `permissions` --- - -INSERT INTO `permissions` (`id`, `name`, `guard_name`, `created_at`, `updated_at`) VALUES -(1, 'view_alumni', 'web', '2025-12-28 12:49:06', '2025-12-28 12:49:06'), -(2, 'create_alumni', 'web', '2025-12-28 12:49:06', '2025-12-28 12:49:06'), -(3, 'edit_alumni', 'web', '2025-12-28 12:49:06', '2025-12-28 12:49:06'), -(4, 'delete_alumni', 'web', '2025-12-28 12:49:06', '2025-12-28 12:49:06'), -(5, 'import_alumni', 'web', '2025-12-28 12:49:06', '2025-12-28 12:49:06'), -(6, 'export_alumni', 'web', '2025-12-28 12:49:06', '2025-12-28 12:49:06'), -(7, 'view_questionnaire', 'web', '2025-12-28 12:49:06', '2025-12-28 12:49:06'), -(8, 'create_questionnaire', 'web', '2025-12-28 12:49:06', '2025-12-28 12:49:06'), -(9, 'edit_questionnaire', 'web', '2025-12-28 12:49:06', '2025-12-28 12:49:06'), -(10, 'delete_questionnaire', 'web', '2025-12-28 12:49:06', '2025-12-28 12:49:06'), -(11, 'view_responses', 'web', '2025-12-28 12:49:06', '2025-12-28 12:49:06'), -(12, 'export_responses', 'web', '2025-12-28 12:49:06', '2025-12-28 12:49:06'), -(13, 'fill_questionnaire', 'web', '2025-12-28 12:49:06', '2025-12-28 12:49:06'), -(14, 'view_job', 'web', '2025-12-28 12:49:06', '2025-12-28 12:49:06'), -(15, 'create_job', 'web', '2025-12-28 12:49:06', '2025-12-28 12:49:06'), -(16, 'edit_own_job', 'web', '2025-12-28 12:49:06', '2025-12-28 12:49:06'), -(17, 'delete_own_job', 'web', '2025-12-28 12:49:06', '2025-12-28 12:49:06'), -(18, 'view_scholarship', 'web', '2025-12-28 12:49:06', '2025-12-28 12:49:06'), -(19, 'create_scholarship', 'web', '2025-12-28 12:49:06', '2025-12-28 12:49:06'), -(20, 'edit_own_scholarship', 'web', '2025-12-28 12:49:06', '2025-12-28 12:49:06'), -(21, 'delete_own_scholarship', 'web', '2025-12-28 12:49:06', '2025-12-28 12:49:06'), -(22, 'view_internship', 'web', '2025-12-28 12:49:06', '2025-12-28 12:49:06'), -(23, 'create_internship', 'web', '2025-12-28 12:49:06', '2025-12-28 12:49:06'), -(24, 'edit_own_internship', 'web', '2025-12-28 12:49:06', '2025-12-28 12:49:06'), -(25, 'delete_own_internship', 'web', '2025-12-28 12:49:06', '2025-12-28 12:49:06'), -(26, 'view_admin_dashboard', 'web', '2025-12-28 12:49:06', '2025-12-28 12:49:06'), -(27, 'view_alumni_dashboard', 'web', '2025-12-28 12:49:06', '2025-12-28 12:49:06'), -(28, 'view_forum', 'web', '2026-01-31 05:39:48', '2026-01-31 05:39:48'), -(29, 'create_forum_topic', 'web', '2026-01-31 05:39:49', '2026-01-31 05:39:49'), -(30, 'edit_own_forum_topic', 'web', '2026-01-31 05:39:49', '2026-01-31 05:39:49'), -(31, 'delete_own_forum_topic', 'web', '2026-01-31 05:39:49', '2026-01-31 05:39:49'), -(32, 'reply_forum_topic', 'web', '2026-01-31 05:39:49', '2026-01-31 05:39:49'), -(33, 'moderate_forum', 'web', '2026-01-31 05:39:49', '2026-01-31 05:39:49'); - --- -------------------------------------------------------- - --- --- Table structure for table `questionnaires` --- - -CREATE TABLE `questionnaires` ( - `id` bigint UNSIGNED NOT NULL, - `title` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, - `description` text COLLATE utf8mb4_unicode_ci, - `tahun_periode` year NOT NULL, - `is_active` tinyint(1) NOT NULL DEFAULT '1', - `created_at` timestamp NULL DEFAULT NULL, - `updated_at` timestamp NULL DEFAULT NULL -) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; - --- --- Dumping data for table `questionnaires` --- - -INSERT INTO `questionnaires` (`id`, `title`, `description`, `tahun_periode`, `is_active`, `created_at`, `updated_at`) VALUES -(8, 'KUESIONER TRACER STUDY ALUMNI', 'Kuesioner ini digunakan untuk memperoleh umpan balik alumni sebagai bahan evaluasi dan pengembangan kurikulum serta peningkatan mutu program studi.\nSetiap pernyataan dijawab dengan satu pilihan berikut:\n1 = Sangat Tidak Setuju\n2 = Tidak Setuju\n3 = Netral\n4 = Setuju\n5 = Sangat Setuju', 2026, 1, '2026-02-01 04:46:19', '2026-02-01 04:46:19'), -(9, 'Pendidikan dan Karir', 'Bagian ini bertujuan untuk mengetahui perkembangan pendidikan dan karier alumni setelah lulus.', 2025, 1, '2026-02-27 20:25:23', '2026-02-27 21:59:00'), -(10, 'Penilaian Program Studi', 'Bagian ini bertujuan untuk mengevaluasi kualitas pendidikan dan fasilitas program studi.', 2026, 1, '2026-02-27 20:47:39', '2026-02-27 20:57:47'); - --- -------------------------------------------------------- - --- --- Table structure for table `questionnaire_questions` --- - -CREATE TABLE `questionnaire_questions` ( - `id` bigint UNSIGNED NOT NULL, - `questionnaire_id` bigint UNSIGNED NOT NULL, - `question_text` text COLLATE utf8mb4_unicode_ci NOT NULL, - `question_type` enum('text','textarea','radio','checkbox','select') COLLATE utf8mb4_unicode_ci NOT NULL, - `options` json DEFAULT NULL, - `is_required` tinyint(1) NOT NULL DEFAULT '0', - `max_point` int NOT NULL DEFAULT '5' COMMENT 'Maksimal poin yang bisa didapat dari pertanyaan ini', - `order` int NOT NULL DEFAULT '0', - `created_at` timestamp NULL DEFAULT NULL, - `updated_at` timestamp NULL DEFAULT NULL -) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; - --- --- Dumping data for table `questionnaire_questions` --- - -INSERT INTO `questionnaire_questions` (`id`, `questionnaire_id`, `question_text`, `question_type`, `options`, `is_required`, `max_point`, `order`, `created_at`, `updated_at`) VALUES -(20, 8, 'Kompetensi yang saya peroleh selama kuliah sesuai dengan kebutuhan pekerjaan saya saat ini.', 'radio', '[\"Sangat Tidak Setuju\", \"Tidak Setuju\", \"Netral\", \"Setuju\", \"Sangat Setuju\"]', 1, 5, 1, '2026-02-01 04:50:26', '2026-02-01 04:50:26'), -(21, 8, 'Kurikulum program studi relevan dengan perkembangan dunia kerja.', 'radio', '[\"Sangat Tidak Setuju\", \"Tidak Setuju\", \"Netral\", \"Setuju\", \"Sangat Setuju\"]', 1, 5, 2, '2026-02-01 04:52:18', '2026-02-01 04:52:18'), -(22, 8, 'Mata kuliah yang saya peroleh mendukung pelaksanaan tugas di tempat kerja.', 'radio', '[\"Sangat Tidak Setuju\", \"Tidak Setuju\", \"Netral\", \"Setuju\", \"Sangat Setuju\"]', 1, 5, 3, '2026-02-01 04:54:57', '2026-02-01 04:54:57'), -(23, 8, 'Program studi membekali saya dengan kemampuan berpikir kritis.', 'radio', '[\"Sangat Tidak Setuju\", \"Tidak Setuju\", \"Netral\", \"Setuju\", \"Sangat Setuju\"]', 1, 5, 4, '2026-02-01 04:56:52', '2026-02-01 04:56:52'), -(24, 8, 'Program studi membekali saya dengan kemampuan pemecahan masalah.', 'radio', '[\"Sangat Tidak Setuju\", \"Tidak Setuju\", \"Netral\", \"Setuju\", \"Sangat Setuju\"]', 1, 5, 5, '2026-02-01 05:00:25', '2026-02-01 05:00:25'), -(25, 9, 'Apakah Anda melanjutkan studi setelah lulus?', 'radio', '[\"Ya\", \"Tidak\"]', 1, 5, 1, '2026-02-27 20:27:19', '2026-02-27 20:27:19'), -(26, 9, 'Jika ya, program studi yang diambil', 'text', NULL, 1, 5, 2, '2026-02-27 20:27:49', '2026-02-27 20:27:49'), -(27, 9, 'Apakah Anda saat ini bekerja?', 'radio', '[\"Ya, sesuai bidang studi\", \"Ya, tidak sesuai bidang studi\", \"Tidak bekerja\"]', 1, 5, 3, '2026-02-27 20:29:14', '2026-02-27 20:29:14'), -(28, 9, 'Posisi/jabatan terakhir Anda', 'text', NULL, 1, 5, 4, '2026-02-27 20:29:34', '2026-02-27 20:29:34'), -(29, 9, 'Nama perusahaan/instansi tempat bekerja', 'text', NULL, 1, 5, 5, '2026-02-27 20:29:55', '2026-02-27 20:31:23'), -(30, 9, 'Seberapa sesuai pekerjaan Anda dengan bidang studi?', 'radio', '[\"Sangat sesuai\", \"Sesuai\", \"Kurang sesuai\", \"Tidak sesuai\"]', 1, 5, 6, '2026-02-27 20:31:06', '2026-02-27 20:31:06'), -(31, 10, 'Seberapa puas Anda terhadap kualitas pendidikan di program studi?', 'radio', '[\"Sangat puas\", \"Puas\", \"Cukup\", \"Kurang\"]', 1, 5, 1, '2026-02-27 20:51:42', '2026-02-27 20:51:42'), -(32, 10, 'Bagaimana kualitas fasilitas pendukung pembelajaran (laboratorium, perpustakaan, dll)?', 'radio', '[\"Sangat baik\", \"Baik\", \"Cukup\", \"Kurang\"]', 1, 5, 2, '2026-02-27 20:52:38', '2026-02-27 20:52:38'), -(33, 10, 'Apakah kurikulum program studi relevan dengan kebutuhan industri saat ini?', 'radio', '[\"Sangat relevan\", \"Relevan\", \"Kurang Relevan\", \"Tidak Relevan\"]', 1, 5, 3, '2026-02-27 20:53:58', '2026-02-27 20:53:58'), -(34, 10, 'Seberapa besar program studi membantu Anda dalam mengembangkan soft skills (komunikasi, kepemimpinan, kerja tim, dll)?', 'radio', '[\"Sangat Besar\", \"Besar\", \"Cukup\", \"Kurang\"]', 1, 5, 4, '2026-02-27 20:54:50', '2026-02-27 20:54:50'); - --- -------------------------------------------------------- - --- --- Table structure for table `questionnaire_responses` --- - -CREATE TABLE `questionnaire_responses` ( - `id` bigint UNSIGNED NOT NULL, - `questionnaire_id` bigint UNSIGNED NOT NULL, - `user_id` bigint UNSIGNED NOT NULL, - `submitted_at` timestamp NOT NULL, - `created_at` timestamp NULL DEFAULT NULL, - `updated_at` timestamp NULL DEFAULT NULL -) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; - --- --- Dumping data for table `questionnaire_responses` --- - -INSERT INTO `questionnaire_responses` (`id`, `questionnaire_id`, `user_id`, `submitted_at`, `created_at`, `updated_at`) VALUES -(12, 8, 78, '2026-02-01 05:15:38', '2026-02-01 05:15:38', '2026-02-01 05:15:38'), -(14, 8, 12, '2026-02-27 20:39:42', '2026-02-27 20:39:42', '2026-02-27 20:39:42'), -(16, 10, 12, '2026-02-27 20:58:54', '2026-02-27 20:58:54', '2026-02-27 20:58:54'), -(17, 8, 14, '2026-02-27 21:00:14', '2026-02-27 21:00:14', '2026-02-27 21:00:14'), -(19, 10, 14, '2026-02-27 21:01:53', '2026-02-27 21:01:53', '2026-02-27 21:01:53'); - --- -------------------------------------------------------- - --- --- Table structure for table `response_answers` --- - -CREATE TABLE `response_answers` ( - `id` bigint UNSIGNED NOT NULL, - `response_id` bigint UNSIGNED NOT NULL, - `question_id` bigint UNSIGNED NOT NULL, - `answer_text` text COLLATE utf8mb4_unicode_ci, - `point` int NOT NULL DEFAULT '0' COMMENT 'Poin yang didapat dari jawaban ini', - `created_at` timestamp NULL DEFAULT NULL, - `updated_at` timestamp NULL DEFAULT NULL -) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; - --- --- Dumping data for table `response_answers` --- - -INSERT INTO `response_answers` (`id`, `response_id`, `question_id`, `answer_text`, `point`, `created_at`, `updated_at`) VALUES -(44, 12, 20, 'Setuju', 4, '2026-02-01 05:15:38', '2026-02-01 05:15:38'), -(45, 12, 21, 'Netral', 3, '2026-02-01 05:15:38', '2026-02-01 05:15:38'), -(46, 12, 22, 'Netral', 3, '2026-02-01 05:15:38', '2026-02-01 05:15:38'), -(47, 12, 23, 'Setuju', 4, '2026-02-01 05:15:38', '2026-02-01 05:15:38'), -(48, 12, 24, 'Setuju', 4, '2026-02-01 05:15:38', '2026-02-01 05:15:38'), -(54, 14, 20, 'Setuju', 4, '2026-02-27 20:39:42', '2026-02-27 20:39:42'), -(55, 14, 21, 'Setuju', 4, '2026-02-27 20:39:42', '2026-02-27 20:39:42'), -(56, 14, 22, 'Setuju', 4, '2026-02-27 20:39:42', '2026-02-27 20:39:42'), -(57, 14, 23, 'Setuju', 4, '2026-02-27 20:39:42', '2026-02-27 20:39:42'), -(58, 14, 24, 'Setuju', 4, '2026-02-27 20:39:42', '2026-02-27 20:39:42'), -(65, 16, 31, 'Puas', 4, '2026-02-27 20:58:54', '2026-02-27 20:58:54'), -(66, 16, 32, 'Cukup', 3, '2026-02-27 20:58:54', '2026-02-27 20:58:54'), -(67, 16, 33, 'Relevan', 1, '2026-02-27 20:58:54', '2026-02-27 20:58:54'), -(68, 16, 34, 'Cukup', 3, '2026-02-27 20:58:54', '2026-02-27 20:58:54'), -(69, 17, 20, 'Setuju', 4, '2026-02-27 21:00:14', '2026-02-27 21:00:14'), -(70, 17, 21, 'Setuju', 4, '2026-02-27 21:00:14', '2026-02-27 21:00:14'), -(71, 17, 22, 'Setuju', 4, '2026-02-27 21:00:14', '2026-02-27 21:00:14'), -(72, 17, 23, 'Setuju', 4, '2026-02-27 21:00:14', '2026-02-27 21:00:14'), -(73, 17, 24, 'Setuju', 4, '2026-02-27 21:00:14', '2026-02-27 21:00:14'), -(80, 19, 31, 'Puas', 4, '2026-02-27 21:01:53', '2026-02-27 21:01:53'), -(81, 19, 32, 'Baik', 4, '2026-02-27 21:01:53', '2026-02-27 21:01:53'), -(82, 19, 33, 'Relevan', 1, '2026-02-27 21:01:53', '2026-02-27 21:01:53'), -(83, 19, 34, 'Besar', 1, '2026-02-27 21:01:53', '2026-02-27 21:01:53'); - --- -------------------------------------------------------- - --- --- Table structure for table `roles` --- - -CREATE TABLE `roles` ( - `id` bigint UNSIGNED NOT NULL, - `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, - `guard_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, - `created_at` timestamp NULL DEFAULT NULL, - `updated_at` timestamp NULL DEFAULT NULL -) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; - --- --- Dumping data for table `roles` --- - -INSERT INTO `roles` (`id`, `name`, `guard_name`, `created_at`, `updated_at`) VALUES -(1, 'admin', 'web', '2025-12-28 12:49:06', '2025-12-28 12:49:06'), -(2, 'alumni', 'web', '2025-12-28 12:49:06', '2025-12-28 12:49:06'); - --- -------------------------------------------------------- - --- --- Table structure for table `role_has_permissions` --- - -CREATE TABLE `role_has_permissions` ( - `permission_id` bigint UNSIGNED NOT NULL, - `role_id` bigint UNSIGNED NOT NULL -) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; - --- --- Dumping data for table `role_has_permissions` --- - -INSERT INTO `role_has_permissions` (`permission_id`, `role_id`) VALUES -(1, 1), -(2, 1), -(3, 1), -(4, 1), -(5, 1), -(6, 1), -(7, 1), -(8, 1), -(9, 1), -(10, 1), -(11, 1), -(12, 1), -(14, 1), -(15, 1), -(16, 1), -(17, 1), -(18, 1), -(19, 1), -(20, 1), -(21, 1), -(22, 1), -(23, 1), -(24, 1), -(25, 1), -(26, 1), -(28, 1), -(29, 1), -(30, 1), -(31, 1), -(32, 1), -(33, 1), -(13, 2), -(14, 2), -(15, 2), -(16, 2), -(17, 2), -(18, 2), -(19, 2), -(20, 2), -(21, 2), -(22, 2), -(23, 2), -(24, 2), -(25, 2), -(27, 2), -(28, 2), -(29, 2), -(30, 2), -(31, 2), -(32, 2); - --- -------------------------------------------------------- - --- --- Table structure for table `scholarships` --- - -CREATE TABLE `scholarships` ( - `id` bigint UNSIGNED NOT NULL, - `user_id` bigint UNSIGNED NOT NULL, - `title` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, - `provider` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, - `description` text COLLATE utf8mb4_unicode_ci NOT NULL, - `requirements` text COLLATE utf8mb4_unicode_ci, - `amount` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, - `deadline` date DEFAULT NULL, - `link` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, - `created_at` timestamp NULL DEFAULT NULL, - `updated_at` timestamp NULL DEFAULT NULL -) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; - --- --- Dumping data for table `scholarships` --- - -INSERT INTO `scholarships` (`id`, `user_id`, `title`, `provider`, `description`, `requirements`, `amount`, `deadline`, `link`, `created_at`, `updated_at`) VALUES -(1, 1, 'Beasiswa Prestasi Mahasiswa TI', 'Kementerian Pendidikan, Kebudayaan, Riset, dan Teknologi', '

Beasiswa ini ditujukan bagi mahasiswa lulusan S1 Program Studi Sistem Informasi dan Teknik Informatika yang memiliki prestasi akademik maupun non-akademik. 

Beasiswa diberikan untuk membantu biaya pendidikan dan mendukung pengembangan potensi mahasiswa selama masa studi. 

', '
  • Mahasiswa aktif Program Studi Sistem Informasi
  • Freshgraduate
  • IPK minimal 3.50
  • Memiliki surat rekomendasi dari desa
  • Tidak sedang menerima beasiswa lain
', 'Rp 6.000.000 / semester', '2026-01-09', 'https://beasiswa.kemdikbud.go.id/prestasi-mahasiswa', '2025-12-28 13:16:32', '2025-12-28 13:16:32'), -(3, 1, 'Beasiswa Alumni Berprestasi', 'Yayasan Pendidikan Nusantara', '
 Beasiswa ini ditujukan bagi alumni berprestasi yang ingin melanjutkan studi atau mengembangkan kompetensi profesional. Beasiswa diberikan sebagai bentuk dukungan pengembangan sumber daya manusia. 
', '
  • Alumni perguruan tinggi maksimal lulus 3 tahun terakhir
  • IPK minimal 3.25
  • Surat rekomendasi fakultas
  • Proposal rencana pengembangan diri
', 'Rp 10.000.000 / semester', '2026-03-05', 'https://beasiswa.ypnusantara.or.id', '2026-01-18 03:47:05', '2026-01-18 03:49:26'), -(4, 1, 'Beasiswa Digital Talent', 'Kementerian Komunikasi dan Informatika', '
Beasiswa pelatihan dan pengembangan kompetensi digital. 
', '
  • Mahasiswa aktif atau alumni SI/TI
  • IPK minimal 3.00
  • Memiliki minat di bidang teknologi digital
  • Bersedia mengikuti seluruh rangkaian program
', 'Rp 8.000.000', '2026-03-19', 'https://lpdp.kemenkeu.go.id', '2026-01-18 03:53:17', '2026-01-18 03:53:17'); - --- -------------------------------------------------------- - --- --- Table structure for table `sessions` --- - -CREATE TABLE `sessions` ( - `id` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, - `user_id` bigint UNSIGNED DEFAULT NULL, - `ip_address` varchar(45) COLLATE utf8mb4_unicode_ci DEFAULT NULL, - `user_agent` text COLLATE utf8mb4_unicode_ci, - `payload` longtext COLLATE utf8mb4_unicode_ci NOT NULL, - `last_activity` int NOT NULL -) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; - --- --- Dumping data for table `sessions` --- - -INSERT INTO `sessions` (`id`, `user_id`, `ip_address`, `user_agent`, `payload`, `last_activity`) VALUES -('l6xEI7AnFnhA9cPYzXc6ur5hOWAkGSRYmJrczzfq', NULL, '127.0.0.1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.0.0 Safari/537.36 Edg/145.0.0.0', 'YTo0OntzOjY6Il90b2tlbiI7czo0MDoiMnVsYkFLOGNMMjl4U2pxb0VVUFBZRTFJNWxuaG9pTmpPSjVjcXJCbCI7czo2OiJfZmxhc2giO2E6Mjp7czozOiJvbGQiO2E6MDp7fXM6MzoibmV3IjthOjA6e319czo5OiJfcHJldmlvdXMiO2E6MTp7czozOiJ1cmwiO3M6NDA6Imh0dHA6Ly8xMjcuMC4wLjE6ODAwMC90cmFjZXItc3R1ZHkvbG9naW4iO31zOjM6InVybCI7YToxOntzOjg6ImludGVuZGVkIjtzOjM0OiJodHRwOi8vMTI3LjAuMC4xOjgwMDAvdHJhY2VyLXN0dWR5Ijt9fQ==', 1772537243), -('sRftpMnDPbOd7QC2WzITLjYHns5jH9h9C8G3iZiH', NULL, '127.0.0.1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.0.0 Safari/537.36 Edg/145.0.0.0', 'YToyOntzOjY6Il90b2tlbiI7czo0MDoiR0txMmN5bFprc0haMm1qRTJ1Y0J1WXd5SXNyWFEzOWw4Z3NERjJWeiI7czo2OiJfZmxhc2giO2E6Mjp7czozOiJvbGQiO2E6MDp7fXM6MzoibmV3IjthOjA6e319fQ==', 1772533583); - --- -------------------------------------------------------- - --- --- Table structure for table `users` --- - -CREATE TABLE `users` ( - `id` bigint UNSIGNED NOT NULL, - `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, - `email` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, - `email_verified_at` timestamp NULL DEFAULT NULL, - `password` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, - `remember_token` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL, - `created_at` timestamp NULL DEFAULT NULL, - `updated_at` timestamp NULL DEFAULT NULL -) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; - --- --- Dumping data for table `users` --- - -INSERT INTO `users` (`id`, `name`, `email`, `email_verified_at`, `password`, `remember_token`, `created_at`, `updated_at`) VALUES -(1, 'Administrator', 'admin@gmail.com', NULL, '$2y$12$xSO6sqCK2WczsTWxAsvofedbRlJSw0/cRpX/tSQy69WT7d5.Fazby', 'iPMNtNqnOXUQNSDL6g4kLyuFTfddMt2P1aUl0QcDobEyObgYELQbAx8bl57g', '2025-12-28 12:49:06', '2025-12-28 13:50:02'), -(12, 'Jaka', 'jaka@gmail.com', NULL, '$2y$12$e6rMhr19xrvrwPwHOvawFOSvsHdvqT2RBDfKjb9O1p5kGl9SJej9W', NULL, '2025-12-28 13:22:37', '2025-12-28 13:47:27'), -(13, 'Nadia Oktarina', 'nadiaokta847@gmail.com', NULL, '$2y$12$YsgIY.7MePyZsDKHej9UnuTJAmFJDU6oNAFr/h0lYTqW5epU1t4wK', '2raRpkCwAJsGJxqIQTYGcexmsWMpMWugLmpbh0IOnRn3mnHuZAYDiz5QfFUx', '2025-12-28 13:53:07', '2026-03-03 04:03:52'), -(14, 'Ahmad Fauzi', 'ahmad.fauzi@gmail.com', NULL, '$2y$12$FBofMveiP3.a90xnhy1skeo5aeerTRS6jWHRl2V2/hSKYeyy.jDMi', NULL, '2025-12-28 14:25:04', '2025-12-28 14:25:04'), -(15, 'Siti Aisyah', 'siti.aisyah@gmail.com', NULL, '$2y$12$dVIxRwsOxBLIXswlezm1mu7BOzea.AmHza00AuRadHm2piZ.Su.Yq', NULL, '2025-12-28 14:25:04', '2025-12-28 14:25:04'), -(16, 'Budi Santoso', 'budi.santoso@gmail.com', NULL, '$2y$12$ANofpD0fi63QiYcytgbbRuHd6ndlUR3e9vgrSNIZQ83lte.FCHYl2', NULL, '2025-12-28 14:25:05', '2025-12-28 14:25:05'), -(17, 'Rina Marlina', 'rina.marlina@gmail.com', NULL, '$2y$12$odUNr3GrWPqWg8OYA8R/0ut1ykWD0fo04SO4s0d/sd/A25ZnTTnnO', NULL, '2025-12-28 14:25:05', '2025-12-28 14:25:05'), -(18, 'Dedi Pratama', 'dedi.pratama@gmail.com', NULL, '$2y$12$iM3r22WisCptI1iywMiucuaDg7uHcOgG5DRtrv1kxULxRJofGorjy', NULL, '2025-12-28 14:25:05', '2025-12-28 14:25:05'), -(19, 'Lina Putri', 'lina.putri@gmail.com', NULL, '$2y$12$Q5ib5xtBQuT27dO3diHR2OMbvuEudjqOfQS.TykbIuoiVPMvg/AD6', NULL, '2025-12-28 14:25:06', '2025-12-28 14:25:06'), -(20, 'Rizky Maulana', 'rizky.maulana@gmail.com', NULL, '$2y$12$727wKDdO61RcfK5i5AdKv.HqYqmpnd/byVOOIa6L./eGMgFkBcCha', NULL, '2025-12-28 14:25:06', '2025-12-28 14:25:06'), -(21, 'Putri Ananda', 'putri.ananda@gmail.com', NULL, '$2y$12$8P2oUga1mv3Pau2FdjROmexrir9PpZio/9e13rwx1bKCmZXbaCSNy', NULL, '2025-12-28 14:25:07', '2025-12-28 14:25:07'), -(22, 'Andi Wijaya', 'andi.wijaya@gmail.com', NULL, '$2y$12$xiiauIYOnswDUkugw655tOCVXfcaRppT8lOHJTOCiE7MQ14vTaDUa', NULL, '2025-12-28 14:25:07', '2025-12-28 14:25:07'), -(23, 'Nurul Hidayah', 'nurul.hidayah@gmail.com', NULL, '$2y$12$sdEC9rUCkiQmUkq28kOcf.u7wmevQOTYq75FXWXJ.ERYjYxN.qR.C', NULL, '2025-12-28 14:25:07', '2025-12-28 14:25:07'), -(50, 'Dedi Pratama', 'dedi.pratama20@gmail.com', NULL, '$2y$12$HuaXSxIQcoAxOJR8tqgbveMVNl9EkxKed6G6QatIr36CwhYo4ML8e', NULL, '2026-01-13 02:44:37', '2026-01-13 04:23:40'), -(68, 'Ahmad Fauzi', 'ahmad.fauzi02@gmail.com', NULL, '$2y$12$L6h8w6jY/0lq7Rg9pVNCieoAdWeDnTXArpJyWVmF0U5SePkEmTshm', NULL, '2026-01-13 03:06:32', '2026-01-13 03:06:32'), -(69, 'Siti Aminah', 'siti.aminah@gmail.com', NULL, '$2y$12$opetj9YrhvwZrKYlkNgpkuVKvvkwuapvISFtaS3dAO1gcInlst53.', NULL, '2026-01-13 03:06:32', '2026-01-13 03:06:32'), -(70, 'Budi Santoso', 'budi.santoso22@gmail.com', NULL, '$2y$12$btj7XzZQL/KunfJfTPAk1uvRBN3uUbz5bBgMQrCllBm1wvk/.gWcu', NULL, '2026-01-13 03:06:33', '2026-01-13 03:06:33'), -(71, 'Rina Putri', 'rina.putri@gmail.com', NULL, '$2y$12$wzenw3s2S9B9MzI.nNGsk.j3I.TypVBnnJYAJdKmLC3LO2lDYm5oa', NULL, '2026-01-13 03:06:34', '2026-01-13 03:06:34'), -(72, 'M syarifuddin', 'udin@gmail.com', NULL, '$2y$12$ctoSJBmL7qa8yOJ.o4ECJu7kdCgZa39d/uTfcHNbvK7WX4N5/wZbW', NULL, '2026-01-14 08:09:07', '2026-01-14 08:09:07'), -(78, 'Ahmad Fairuz', 'ahmadfairuz1@gmail.com', NULL, '$2y$12$xOxJB2QNwYwIaqIuJyyeyOh42YslIFFuAm7lQFgzZf6vA07JiXQYy', NULL, '2026-01-26 01:00:24', '2026-01-27 02:29:18'), -(80, 'Mustofa', 'mustop4@gmail.com', NULL, '$2y$12$yDNh98AGPvSRBBjkAf8Hg.SXVYzSL7z8xB7Zh1GMwAMuFiDCYyYkG', NULL, '2026-02-27 20:13:10', '2026-02-27 20:13:10'), -(81, 'Ikbal', 'ikbal2@gmail.com', NULL, '$2y$12$es8n5pV/7HQdhl8OUnaI.OAXN7aOo1/Hg/UARfwnQQa8MbeXwzIty', NULL, '2026-02-27 21:22:01', '2026-02-27 21:22:01'), -(82, 'Siti Rohaya', 'sitiryh@gmail.com', NULL, '$2y$12$.rH1CXHxJcwBi55V1VFCfe8f2EMHZOx2OYbUGeanKd9dxhq5LIkwS', NULL, '2026-02-27 21:22:01', '2026-02-27 21:22:01'), -(83, 'Budiman', 'budiman02@gmail.com', NULL, '$2y$12$XkVNmCJrWcLb16GJ0NwAIeq1tLb/ru3tP9wfN24T4VBH0J/Vt2SlG', NULL, '2026-02-27 21:22:02', '2026-02-27 21:22:02'), -(84, 'Rina badria', 'rinabadr@gmail.com', NULL, '$2y$12$rDCeV1V1gLfteNXbEePleu6QaU1Sl3viI52l.Xc1ZaZ0OH5QT17l.', NULL, '2026-02-27 21:22:02', '2026-02-27 21:22:02'), -(85, 'Rendi Pratama', 'rendipratama10@gmail.com', NULL, '$2y$12$LDJEnhHBMELnMw6PuZH59unl5nUxL36SLkI1nMmTmlUpNrV2AyrJO', NULL, '2026-02-27 21:36:09', '2026-02-27 21:36:09'); - --- --- Indexes for dumped tables --- - --- --- Indexes for table `alumnis` --- -ALTER TABLE `alumnis` - ADD PRIMARY KEY (`id`), - ADD UNIQUE KEY `alumnis_nim_unique` (`nim`), - ADD UNIQUE KEY `alumnis_email_unique` (`email`), - ADD KEY `alumnis_user_id_foreign` (`user_id`); - --- --- Indexes for table `cache` --- -ALTER TABLE `cache` - ADD PRIMARY KEY (`key`); - --- --- Indexes for table `cache_locks` --- -ALTER TABLE `cache_locks` - ADD PRIMARY KEY (`key`); - --- --- Indexes for table `exports` --- -ALTER TABLE `exports` - ADD PRIMARY KEY (`id`), - ADD KEY `exports_user_id_foreign` (`user_id`); - --- --- Indexes for table `failed_import_rows` --- -ALTER TABLE `failed_import_rows` - ADD PRIMARY KEY (`id`), - ADD KEY `failed_import_rows_import_id_foreign` (`import_id`); - --- --- Indexes for table `failed_jobs` --- -ALTER TABLE `failed_jobs` - ADD PRIMARY KEY (`id`), - ADD UNIQUE KEY `failed_jobs_uuid_unique` (`uuid`); - --- --- Indexes for table `forum_replies` --- -ALTER TABLE `forum_replies` - ADD PRIMARY KEY (`id`), - ADD KEY `forum_replies_user_id_foreign` (`user_id`), - ADD KEY `forum_replies_topic_id_index` (`topic_id`); - --- --- Indexes for table `forum_topics` --- -ALTER TABLE `forum_topics` - ADD PRIMARY KEY (`id`), - ADD KEY `forum_topics_user_id_foreign` (`user_id`), - ADD KEY `forum_topics_created_at_is_pinned_index` (`created_at`,`is_pinned`); - --- --- Indexes for table `imports` --- -ALTER TABLE `imports` - ADD PRIMARY KEY (`id`), - ADD KEY `imports_user_id_foreign` (`user_id`); - --- --- Indexes for table `internships` --- -ALTER TABLE `internships` - ADD PRIMARY KEY (`id`), - ADD KEY `internships_user_id_foreign` (`user_id`); - --- --- Indexes for table `jobs` --- -ALTER TABLE `jobs` - ADD PRIMARY KEY (`id`), - ADD KEY `jobs_queue_index` (`queue`); - --- --- Indexes for table `job_batches` --- -ALTER TABLE `job_batches` - ADD PRIMARY KEY (`id`); - --- --- Indexes for table `job_opportunities` --- -ALTER TABLE `job_opportunities` - ADD PRIMARY KEY (`id`), - ADD KEY `job_opportunities_user_id_foreign` (`user_id`); - --- --- Indexes for table `migrations` --- -ALTER TABLE `migrations` - ADD PRIMARY KEY (`id`); - --- --- Indexes for table `model_has_permissions` --- -ALTER TABLE `model_has_permissions` - ADD PRIMARY KEY (`permission_id`,`model_id`,`model_type`), - ADD KEY `model_has_permissions_model_id_model_type_index` (`model_id`,`model_type`); - --- --- Indexes for table `model_has_roles` --- -ALTER TABLE `model_has_roles` - ADD PRIMARY KEY (`role_id`,`model_id`,`model_type`), - ADD KEY `model_has_roles_model_id_model_type_index` (`model_id`,`model_type`); - --- --- Indexes for table `notifications` --- -ALTER TABLE `notifications` - ADD PRIMARY KEY (`id`), - ADD KEY `notifications_notifiable_type_notifiable_id_index` (`notifiable_type`,`notifiable_id`); - --- --- Indexes for table `password_reset_tokens` --- -ALTER TABLE `password_reset_tokens` - ADD PRIMARY KEY (`email`); - --- --- Indexes for table `permissions` --- -ALTER TABLE `permissions` - ADD PRIMARY KEY (`id`), - ADD UNIQUE KEY `permissions_name_guard_name_unique` (`name`,`guard_name`); - --- --- Indexes for table `questionnaires` --- -ALTER TABLE `questionnaires` - ADD PRIMARY KEY (`id`); - --- --- Indexes for table `questionnaire_questions` --- -ALTER TABLE `questionnaire_questions` - ADD PRIMARY KEY (`id`), - ADD KEY `questionnaire_questions_questionnaire_id_foreign` (`questionnaire_id`); - --- --- Indexes for table `questionnaire_responses` --- -ALTER TABLE `questionnaire_responses` - ADD PRIMARY KEY (`id`), - ADD UNIQUE KEY `questionnaire_responses_questionnaire_id_user_id_unique` (`questionnaire_id`,`user_id`), - ADD KEY `questionnaire_responses_user_id_foreign` (`user_id`); - --- --- Indexes for table `response_answers` --- -ALTER TABLE `response_answers` - ADD PRIMARY KEY (`id`), - ADD KEY `response_answers_response_id_foreign` (`response_id`), - ADD KEY `response_answers_question_id_foreign` (`question_id`); - --- --- Indexes for table `roles` --- -ALTER TABLE `roles` - ADD PRIMARY KEY (`id`), - ADD UNIQUE KEY `roles_name_guard_name_unique` (`name`,`guard_name`); - --- --- Indexes for table `role_has_permissions` --- -ALTER TABLE `role_has_permissions` - ADD PRIMARY KEY (`permission_id`,`role_id`), - ADD KEY `role_has_permissions_role_id_foreign` (`role_id`); - --- --- Indexes for table `scholarships` --- -ALTER TABLE `scholarships` - ADD PRIMARY KEY (`id`), - ADD KEY `scholarships_user_id_foreign` (`user_id`); - --- --- Indexes for table `sessions` --- -ALTER TABLE `sessions` - ADD PRIMARY KEY (`id`), - ADD KEY `sessions_user_id_index` (`user_id`), - ADD KEY `sessions_last_activity_index` (`last_activity`); - --- --- Indexes for table `users` --- -ALTER TABLE `users` - ADD PRIMARY KEY (`id`), - ADD UNIQUE KEY `users_email_unique` (`email`); - --- --- AUTO_INCREMENT for dumped tables --- - --- --- AUTO_INCREMENT for table `alumnis` --- -ALTER TABLE `alumnis` - MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=124; - --- --- AUTO_INCREMENT for table `exports` --- -ALTER TABLE `exports` - MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7; - --- --- AUTO_INCREMENT for table `failed_import_rows` --- -ALTER TABLE `failed_import_rows` - MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT; - --- --- AUTO_INCREMENT for table `failed_jobs` --- -ALTER TABLE `failed_jobs` - MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT; - --- --- AUTO_INCREMENT for table `forum_replies` --- -ALTER TABLE `forum_replies` - MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=15; - --- --- AUTO_INCREMENT for table `forum_topics` --- -ALTER TABLE `forum_topics` - MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7; - --- --- AUTO_INCREMENT for table `imports` --- -ALTER TABLE `imports` - MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8; - --- --- AUTO_INCREMENT for table `internships` --- -ALTER TABLE `internships` - MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6; - --- --- AUTO_INCREMENT for table `jobs` --- -ALTER TABLE `jobs` - MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7; - --- --- AUTO_INCREMENT for table `job_opportunities` --- -ALTER TABLE `job_opportunities` - MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8; - --- --- AUTO_INCREMENT for table `migrations` --- -ALTER TABLE `migrations` - MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=55; - --- --- AUTO_INCREMENT for table `permissions` --- -ALTER TABLE `permissions` - MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=34; - --- --- AUTO_INCREMENT for table `questionnaires` --- -ALTER TABLE `questionnaires` - MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=14; - --- --- AUTO_INCREMENT for table `questionnaire_questions` --- -ALTER TABLE `questionnaire_questions` - MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=36; - --- --- AUTO_INCREMENT for table `questionnaire_responses` --- -ALTER TABLE `questionnaire_responses` - MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=20; - --- --- AUTO_INCREMENT for table `response_answers` --- -ALTER TABLE `response_answers` - MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=84; - --- --- AUTO_INCREMENT for table `roles` --- -ALTER TABLE `roles` - MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3; - --- --- AUTO_INCREMENT for table `scholarships` --- -ALTER TABLE `scholarships` - MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8; - --- --- AUTO_INCREMENT for table `users` --- -ALTER TABLE `users` - MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=86; - --- --- Constraints for dumped tables --- - --- --- Constraints for table `alumnis` --- -ALTER TABLE `alumnis` - ADD CONSTRAINT `alumnis_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE; - --- --- Constraints for table `exports` --- -ALTER TABLE `exports` - ADD CONSTRAINT `exports_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE; - --- --- Constraints for table `failed_import_rows` --- -ALTER TABLE `failed_import_rows` - ADD CONSTRAINT `failed_import_rows_import_id_foreign` FOREIGN KEY (`import_id`) REFERENCES `imports` (`id`) ON DELETE CASCADE; - --- --- Constraints for table `forum_replies` --- -ALTER TABLE `forum_replies` - ADD CONSTRAINT `forum_replies_topic_id_foreign` FOREIGN KEY (`topic_id`) REFERENCES `forum_topics` (`id`) ON DELETE CASCADE, - ADD CONSTRAINT `forum_replies_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE; - --- --- Constraints for table `forum_topics` --- -ALTER TABLE `forum_topics` - ADD CONSTRAINT `forum_topics_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE; - --- --- Constraints for table `imports` --- -ALTER TABLE `imports` - ADD CONSTRAINT `imports_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE; - --- --- Constraints for table `internships` --- -ALTER TABLE `internships` - ADD CONSTRAINT `internships_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE; - --- --- Constraints for table `job_opportunities` --- -ALTER TABLE `job_opportunities` - ADD CONSTRAINT `job_opportunities_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE; - --- --- Constraints for table `model_has_permissions` --- -ALTER TABLE `model_has_permissions` - ADD CONSTRAINT `model_has_permissions_permission_id_foreign` FOREIGN KEY (`permission_id`) REFERENCES `permissions` (`id`) ON DELETE CASCADE; - --- --- Constraints for table `model_has_roles` --- -ALTER TABLE `model_has_roles` - ADD CONSTRAINT `model_has_roles_role_id_foreign` FOREIGN KEY (`role_id`) REFERENCES `roles` (`id`) ON DELETE CASCADE; - --- --- Constraints for table `questionnaire_questions` --- -ALTER TABLE `questionnaire_questions` - ADD CONSTRAINT `questionnaire_questions_questionnaire_id_foreign` FOREIGN KEY (`questionnaire_id`) REFERENCES `questionnaires` (`id`) ON DELETE CASCADE; - --- --- Constraints for table `questionnaire_responses` --- -ALTER TABLE `questionnaire_responses` - ADD CONSTRAINT `questionnaire_responses_questionnaire_id_foreign` FOREIGN KEY (`questionnaire_id`) REFERENCES `questionnaires` (`id`) ON DELETE CASCADE, - ADD CONSTRAINT `questionnaire_responses_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE; - --- --- Constraints for table `response_answers` --- -ALTER TABLE `response_answers` - ADD CONSTRAINT `response_answers_question_id_foreign` FOREIGN KEY (`question_id`) REFERENCES `questionnaire_questions` (`id`) ON DELETE CASCADE, - ADD CONSTRAINT `response_answers_response_id_foreign` FOREIGN KEY (`response_id`) REFERENCES `questionnaire_responses` (`id`) ON DELETE CASCADE; - --- --- Constraints for table `role_has_permissions` --- -ALTER TABLE `role_has_permissions` - ADD CONSTRAINT `role_has_permissions_permission_id_foreign` FOREIGN KEY (`permission_id`) REFERENCES `permissions` (`id`) ON DELETE CASCADE, - ADD CONSTRAINT `role_has_permissions_role_id_foreign` FOREIGN KEY (`role_id`) REFERENCES `roles` (`id`) ON DELETE CASCADE; - --- --- Constraints for table `scholarships` --- -ALTER TABLE `scholarships` - ADD CONSTRAINT `scholarships_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE; -COMMIT; - -/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; -/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; -/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; diff --git a/infra/docker/scraper.Dockerfile b/infra/docker/scraper.Dockerfile index 6ba0634..eddbc3d 100644 --- a/infra/docker/scraper.Dockerfile +++ b/infra/docker/scraper.Dockerfile @@ -1,49 +1,36 @@ -# Use cargo-chef for dependency caching +# ── Build stage: cargo-chef for dependency caching ── FROM lukemathwalker/cargo-chef:latest-rust-1.89.0 AS chef WORKDIR /app -# Install Node.js if needed for build scripts -RUN apt-get update && apt-get install -y --no-install-recommends \ - nodejs \ - && rm -rf /var/lib/apt/lists/* - FROM chef AS planner COPY apps/scraper . RUN cargo chef prepare --recipe-path recipe.json FROM chef AS builder COPY --from=planner /app/recipe.json recipe.json -# Utilize buildkit cache mounts for cargo RUN --mount=type=cache,target=/usr/local/cargo/registry \ --mount=type=cache,target=/app/target \ cargo chef cook --release --recipe-path recipe.json -# Build application COPY apps/scraper . RUN --mount=type=cache,target=/usr/local/cargo/registry \ --mount=type=cache,target=/app/target \ cargo build --release && \ cp target/release/scraper /app/scraper -# Final runtime image +# ── Runtime image ── FROM debian:bookworm-slim AS runtime RUN apt-get update && apt-get install -y --no-install-recommends \ ca-certificates \ curl \ libssl3 \ - chromium \ - fonts-liberation \ - fonts-noto-color-emoji \ && rm -rf /var/lib/apt/lists/* -# Add non-root user RUN groupadd -g 1001 appgroup && \ useradd -u 1001 -g appgroup -s /bin/sh appuser WORKDIR /app COPY --from=builder /app/scraper /app/scraper - -# Run as non-root USER appuser EXPOSE 4091 diff --git a/infra/traefik/TRAEFIK_ENV_CONFIG.md b/infra/traefik/TRAEFIK_ENV_CONFIG.md index 9d1b952..9db09f1 100644 --- a/infra/traefik/TRAEFIK_ENV_CONFIG.md +++ b/infra/traefik/TRAEFIK_ENV_CONFIG.md @@ -8,13 +8,13 @@ All certificate paths support environment variable substitution with safe fallba ### Configuration Variables -| Variable | Description | Default Path | Purpose | -| ------------------------------------- | --------------------------------------------------------------- | --------------------------------------------- | ------------------------------------------------------- | -| `TRAEFIK_CONFIG_PATH` | Directory containing dynamic Traefik configuration files (YAML) | `/root/asepharyana-hub/infra/traefik/dynamic` | Location of middleware, router, and service definitions | -| `TRAEFIK_CERT_ASEPHARYANA_MY_ID_PEM` | Certificate file for asepharyana.my.id | `/root/asepharyana.my.id.pem` | SSL/TLS certificate for asepharyana.my.id domain | -| `TRAEFIK_CERT_ASEPHARYANA_MY_ID_KEY` | Key file for asepharyana.my.id | `/root/asepharyana.my.id.key` | SSL/TLS private key for asepharyana.my.id domain | -| `TRAEFIK_CERT_ASEPHARYANA_WEB_ID_PEM` | Certificate file for asepharyana.web.id | `/root/asepharyana.web.id.pem` | SSL/TLS certificate for asepharyana.web.id domain | -| `TRAEFIK_CERT_ASEPHARYANA_WEB_ID_KEY` | Key file for asepharyana.web.id | `/root/asepharyana.web.id.key` | SSL/TLS private key for asepharyana.web.id domain | +| Variable | Description | Default Path | Purpose | +| --------------------------- | --------------------------------------------------------------- | ----------------------------------------------- | ------------------------------------------------------- | +| `TRAEFIK_CONFIG_PATH` | Directory containing dynamic Traefik configuration files (YAML) | `/root/asepharyana-hub/infra/traefik/dynamic` | Location of middleware, router, and service definitions | +| `TRAEFIK_CERT_MY_ID_PEM` | Certificate file for asepharyana.my.id | `/root/asepharyana.my.id.pem` | SSL/TLS certificate for asepharyana.my.id domain | +| `TRAEFIK_CERT_MY_ID_KEY` | Key file for asepharyana.my.id | `/root/asepharyana.my.id.key` | SSL/TLS private key for asepharyana.my.id domain | +| `TRAEFIK_CERT_WEB_ID_PEM` | Certificate file for asepharyana.web.id | `/root/asepharyana.web.id.pem` | SSL/TLS certificate for asepharyana.web.id domain | +| `TRAEFIK_CERT_WEB_ID_KEY` | Key file for asepharyana.web.id | `/root/asepharyana.web.id.key` | SSL/TLS private key for asepharyana.web.id domain | ## Usage @@ -42,10 +42,10 @@ Create or update your `.env` file in the deployment directory: ```env TRAEFIK_CONFIG_PATH=/root/asepharyana-hub/infra/traefik/dynamic -TRAEFIK_CERT_ASEPHARYANA_MY_ID_PEM=/root/asepharyana.my.id.pem -TRAEFIK_CERT_ASEPHARYANA_MY_ID_KEY=/root/asepharyana.my.id.key -TRAEFIK_CERT_ASEPHARYANA_WEB_ID_PEM=/root/asepharyana.web.id.pem -TRAEFIK_CERT_ASEPHARYANA_WEB_ID_KEY=/root/asepharyana.web.id.key +TRAEFIK_CERT_MY_ID_PEM=/root/asepharyana.my.id.pem +TRAEFIK_CERT_MY_ID_KEY=/root/asepharyana.my.id.key +TRAEFIK_CERT_WEB_ID_PEM=/root/asepharyana.web.id.pem +TRAEFIK_CERT_WEB_ID_KEY=/root/asepharyana.web.id.key ``` Then deploy: diff --git a/infra/traefik/dynamic/middlewares.yaml b/infra/traefik/dynamic/middlewares.yaml index a8b6a87..6aa29e2 100644 --- a/infra/traefik/dynamic/middlewares.yaml +++ b/infra/traefik/dynamic/middlewares.yaml @@ -65,8 +65,6 @@ http: common-chain: chain: middlewares: - # - real-ip - # - block-sensitive-paths - secure-headers - compress - retry diff --git a/infra/traefik/dynamic/ssl.yaml b/infra/traefik/dynamic/ssl.yaml index f861fef..c91e9e1 100644 --- a/infra/traefik/dynamic/ssl.yaml +++ b/infra/traefik/dynamic/ssl.yaml @@ -1,8 +1,5 @@ tls: certificates: - # Legacy production layout: asephstech.pem is paired with asephscloud.key. - - certFile: /etc/traefik/certs/asephstech.pem - keyFile: /etc/traefik/certs/asephscloud.key - certFile: /etc/traefik/certs/asepharyana.my.id.pem keyFile: /etc/traefik/certs/asepharyana.my.id.key - certFile: /etc/traefik/certs/asepharyana.web.id.pem @@ -10,5 +7,5 @@ tls: stores: default: defaultCertificate: - certFile: /etc/traefik/certs/asephstech.pem - keyFile: /etc/traefik/certs/asephscloud.key + certFile: /etc/traefik/certs/asepharyana.my.id.pem + keyFile: /etc/traefik/certs/asepharyana.my.id.key diff --git a/infra/traefik/traefik.yaml b/infra/traefik/traefik.yaml index 4f0c45b..2fcea4c 100644 --- a/infra/traefik/traefik.yaml +++ b/infra/traefik/traefik.yaml @@ -1,6 +1,6 @@ api: dashboard: true - insecure: true + insecure: false log: level: INFO diff --git a/renovate.json b/renovate.json deleted file mode 100644 index 84ada57..0000000 --- a/renovate.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "$schema": "https://docs.renovatebot.com/renovate-schema.json", - "extends": ["config:recommended"], - "git-submodules": { - "enabled": true - } -} diff --git a/scripts/2updateenv.sh b/scripts/2updateenv.sh index 6d08cfb..a42dff7 100644 --- a/scripts/2updateenv.sh +++ b/scripts/2updateenv.sh @@ -9,7 +9,7 @@ if [ ! -f "$ROOT_ENV" ]; then exit 1 fi -for parent in apps packages; do +for parent in apps; do for dir in ./$parent/*/; do # Remove trailing slash dir="${dir%/}" diff --git a/scripts/cleanup-ghcr.sh b/scripts/cleanup-ghcr.sh index 0041247..5bdbf91 100644 --- a/scripts/cleanup-ghcr.sh +++ b/scripts/cleanup-ghcr.sh @@ -8,7 +8,7 @@ set -e # Configuration ORG="asepharyana" -PACKAGE_NAMES=("rust-api" "elysia-api" "nextjs-web") +PACKAGE_NAMES=("asepharyana-hub/scraper-api") echo "πŸš€ Starting GHCR cleanup for $ORG..." diff --git a/scripts/update-deps.sh b/scripts/update-deps.sh index d92a3f7..9700667 100644 --- a/scripts/update-deps.sh +++ b/scripts/update-deps.sh @@ -1,65 +1,17 @@ #!/usr/bin/env bash set -euo pipefail -# Define an array of directories to aggressively prune from the search tree -# This prevents exhaustive traversal into massive localized dependency stores, build caches, -# and anomalously created cache directories (e.g., literal '~'). -PRUNE_DIRS=( - "node_modules" - "dist" - ".next" - ".bun" - "~" - "build" - ".git" - "target" -) +echo "=== Updating root dependencies ===" +bun update -# Construct the prune expression dynamically to feed the find command -PRUNE_ARGS=() -for dir in "${PRUNE_DIRS[@]}"; do - if [ ${#PRUNE_ARGS[@]} -gt 0 ]; then - PRUNE_ARGS+=("-o") +echo "" +echo "=== Updating app submodule dependencies ===" +for app in apps/*/; do + if [ -f "${app}package.json" ]; then + echo "β†’ $app" + (cd "$app" && bun update 2>/dev/null && echo " βœ“ $app updated") || echo " - skipping $app (no bun setup)" fi - PRUNE_ARGS+=("-name" "$dir") done -echo "Scanning for top-level and workspace package.json manifests..." - -# Perform an optimized find: -# 1. -prune halts traversal immediately upon matching a PRUNE_DIR, achieving extreme I/O efficiency. -# 2. -print0 strictly streams zero-byte delimited paths, immunizing the loop against spaces/newlines. -find . \( "${PRUNE_ARGS[@]}" \) -prune -o -name "package.json" -type f -print0 | while IFS= read -r -d '' filename; do - dir=$(dirname "$filename") - - echo "--------------------------------------------------------------------------------" - echo "Initiating strict dependency update sequence in: $dir" - - # Spawn a tightly scoped subshell. This isolates environment state and traps internal pathing failures. - ( - # Strict directory entry checks. - cd "$dir" || { - echo "CRITICAL: Directory transition failed for $dir. Process aborted." >&2 - exit 1 - } - - # Heuristic check: Ensure the manifest actually declares dependencies before thrashing the disk with ncu. - if ! grep -Eq '"(dependencies|devDependencies|peerDependencies)"[[:space:]]*:' package.json; then - echo "Notice: No valid dependency blocks detected in $dir/package.json. Bypassing node traversal." - exit 0 - fi - - # Delegate command resolution to bunx. This obliterates the 'command not found' failure mode - # by dynamically sourcing the npm-check-updates binary, completely ignoring global namespace pollution. - echo "Executing constraint-free updates via bunx..." - bunx --bun npm-check-updates -u - - echo "Commencing rigorous package installation phase..." - bun install - ) || { - echo "WARNING: Subshell failure encountered in $dir. Subsystem continues." >&2 - } -done - -echo "--------------------------------------------------------------------------------" -echo "SYSTEM STATE: All traversable dependencies aggressively updated." +echo "" +echo "βœ… All dependencies updated" diff --git a/setup_prometheus.sh b/setup_prometheus.sh deleted file mode 100644 index 3fde927..0000000 --- a/setup_prometheus.sh +++ /dev/null @@ -1,87 +0,0 @@ -#!/bin/bash -set -euo pipefail - -PROMETHEUS_VERSION="2.53.0" -TAILSCALE_IP="100.108.1.124" -PROMETHEUS_DIR="/etc/prometheus" -PROMETHEUS_DATA_DIR="/var/lib/prometheus" - -echo "Creating prometheus user and group..." -if ! getent group prometheus >/dev/null; then - groupadd --system prometheus -fi - -if ! getent passwd prometheus >/dev/null; then - useradd --system -g prometheus --no-create-home --shell /usr/sbin/nologin prometheus -fi - -echo "Creating directories..." -mkdir -p "$PROMETHEUS_DIR" "$PROMETHEUS_DATA_DIR" -chown prometheus:prometheus "$PROMETHEUS_DIR" "$PROMETHEUS_DATA_DIR" - -echo "Downloading Prometheus v${PROMETHEUS_VERSION}..." -cd /tmp -wget -qO prometheus.tar.gz "https://github.com/prometheus/prometheus/releases/download/v${PROMETHEUS_VERSION}/prometheus-${PROMETHEUS_VERSION}.linux-amd64.tar.gz" - -echo "Extracting Prometheus..." -tar -xf prometheus.tar.gz -cd "prometheus-${PROMETHEUS_VERSION}.linux-amd64" - -echo "Installing binaries..." -install -m 0755 -o prometheus -g prometheus prometheus promtool /usr/local/bin/ - -echo "Installing consoles and libraries..." -cp -a consoles console_libraries "$PROMETHEUS_DIR/" -chown -R prometheus:prometheus "$PROMETHEUS_DIR/consoles" "$PROMETHEUS_DIR/console_libraries" - -echo "Creating configuration file..." -cat < "${PROMETHEUS_DIR}/prometheus.yml" -global: - scrape_interval: 15s - evaluation_interval: 15s - -scrape_configs: - - job_name: "prometheus" - static_configs: - - targets: ["${TAILSCALE_IP}:9090"] -EOF -chown prometheus:prometheus "${PROMETHEUS_DIR}/prometheus.yml" -chmod 0644 "${PROMETHEUS_DIR}/prometheus.yml" - -echo "Creating systemd unit file..." -cat < /etc/systemd/system/prometheus.service -[Unit] -Description=Prometheus Time Series Collection and Processing Server -Wants=network-online.target -After=network-online.target - -[Service] -User=prometheus -Group=prometheus -Type=simple -ExecStart=/usr/local/bin/prometheus \\ - --config.file=${PROMETHEUS_DIR}/prometheus.yml \\ - --storage.tsdb.path=${PROMETHEUS_DATA_DIR} \\ - --web.console.templates=${PROMETHEUS_DIR}/consoles \\ - --web.console.libraries=${PROMETHEUS_DIR}/console_libraries \\ - --web.listen-address=${TAILSCALE_IP}:9090 \\ - --web.external-url=http://${TAILSCALE_IP}:9090/ -ExecReload=/bin/kill -HUP \$MAINPID -Restart=on-failure -RestartSec=5s -LimitNOFILE=65536 - -[Install] -WantedBy=multi-user.target -EOF -chmod 0644 /etc/systemd/system/prometheus.service - -echo "Reloading systemd, enabling and starting prometheus..." -systemctl daemon-reload -systemctl enable prometheus -systemctl restart prometheus - -echo "Checking Prometheus status..." -systemctl status prometheus --no-pager || true - -echo "Prometheus setup completed successfully!"