Skip to content

armgit / spree

Public Imported from GitHub
0

Open Source Platform for DTC, B2B Commerce, Marketplaces & Omnichannel. REST APIs, TypeScript SDKs, and production-ready Next.js storefront. Self-host it. Own your data. No vendor lock-in. Zero platform fees.

New `create-spree-app` (#13793)

Damian Legawiec9acdbeaec97e
diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md
index 0fee356e62..26c813475e 100644
--- a/.github/CONTRIBUTING.md
+++ b/.github/CONTRIBUTING.md
@@ -49,7 +49,7 @@ Spree is a monorepo with three main areas:
- **`spree/`** — Ruby gems (core, api, admin, emails) distributed as separate packages via RubyGems
- **`packages/`** — TypeScript packages (SDK, Next.js helpers)
-- **`server/`** — A Rails application that mounts the Spree gems and serves the API and admin interface
+- **`server/`** — A Rails application cloned from [spree-starter](https://github.com/spree/spree-starter) that mounts the Spree gems (not checked in — run `pnpm server:setup` to create it)
## Backend Development (Ruby)
@@ -70,25 +70,31 @@ All Spree models, controllers and other Ruby classes are namespaced by the `Spre
### Setup
+The server app is not checked into the monorepo. It's cloned from [spree-starter](https://github.com/spree/spree-starter) on first setup, with `SPREE_PATH=..` automatically configured so it uses your local Spree gems.
+
+**Step 1: Start infrastructure**
+
```bash
-cd server
-bin/setup
-bin/rails server
+docker compose up -d # starts Postgres, Redis, Mailpit
```
-`bin/setup` handles everything: installs Ruby (via [mise](https://mise.jdx.dev) if available, otherwise uses your system Ruby), system packages (libpq, vips), gems, and prepares the database.
+Or install PostgreSQL and Redis locally if you prefer.
-PostgreSQL and Redis must be running before you run `bin/setup`. If you don't have them installed locally, start them with Docker:
+**Step 2: Clone the server app**
```bash
-docker run -d --name spree-postgres -p 5432:5432 -e POSTGRES_HOST_AUTH_METHOD=trust postgres:17-alpine
-docker run -d --name spree-redis -p 6379:6379 redis:7-alpine
+pnpm server:setup
```
-By default the app connects to PostgreSQL at `localhost:5432` as user `postgres` with no password. Override with environment variables if needed:
+This clones [spree-starter](https://github.com/spree/spree-starter) into `server/` and sets `SPREE_PATH=..` in `server/.env` so it uses your local Spree gems.
+
+**Step 3: Configure and run**
```bash
-DATABASE_HOST=127.0.0.1 DATABASE_PORT=5433 DATABASE_USERNAME=myuser bin/setup
+cd server
+# Edit .env if needed (e.g. DATABASE_USERNAME, DATABASE_HOST, DATABASE_PORT)
+bin/setup # installs Ruby (via mise), system packages, gems, prepares database
+bin/dev # starts Rails + Sidekiq + CSS watchers via overmind
```
Use `bin/setup --reset` to drop and recreate the database.
@@ -176,8 +182,7 @@ You may notice that your Spree store runs slower in development environment. Thi
Caching is disabled by default. To turn on caching please run:
```bash
-cd server
-bin/rails dev:cache
+cd server && bin/rails dev:cache
```
You will need to restart rails server after this change.
@@ -186,13 +191,13 @@ You will need to restart rails server after this change.
### Setup
-TypeScript developers don't need Ruby installed. Use Docker Compose from the repository root to start the backend:
+TypeScript developers don't need Ruby installed. Docker Compose from the repository root starts the backend using a prebuilt image:
```bash
docker compose up -d
```
-This boots PostgreSQL, Redis, Mailpit, and the Spree backend automatically. The API is available at `http://localhost:3000`. All outgoing emails are caught by Mailpit and viewable at `http://localhost:8025`.
+This boots PostgreSQL, Redis, Mailpit, and the Spree backend automatically (no `pnpm server:setup` needed). The API is available at `http://localhost:3000`. All outgoing emails are caught by Mailpit and viewable at `http://localhost:8025`.
Then install dependencies and start all packages in watch mode:
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 4c6644ab3a..916538cdd5 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -28,108 +28,3 @@ jobs:
- name: Build and push gems to RubyGems
working-directory: spree
run: bundle exec rake gem:release
-
- release-docker:
- name: "Docker - Build (${{ matrix.platform }})"
- needs: release-gems
- if: always() && needs.release-gems.result != 'cancelled'
- runs-on: ${{ matrix.runner }}
- permissions:
- contents: read
- packages: write
- strategy:
- matrix:
- include:
- - platform: linux/amd64
- runner: ubuntu-latest
- - platform: linux/arm64
- runner: ubuntu-24.04-arm
-
- env:
- REGISTRY: ghcr.io
- IMAGE_NAME: spree/spree
-
- steps:
- - uses: actions/checkout@v4
-
- - uses: docker/setup-buildx-action@v3
-
- - uses: docker/login-action@v3
- with:
- registry: ${{ env.REGISTRY }}
- username: ${{ github.actor }}
- password: ${{ secrets.GITHUB_TOKEN }}
-
- - uses: docker/metadata-action@v5
- id: meta
- with:
- images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
-
- - uses: docker/build-push-action@v6
- id: build
- with:
- context: .
- file: server/Dockerfile.release
- platforms: ${{ matrix.platform }}
- labels: ${{ steps.meta.outputs.labels }}
- cache-from: type=gha,scope=${{ matrix.platform }}
- cache-to: type=gha,mode=max,scope=${{ matrix.platform }}
- outputs: type=image,"name=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}",push-by-digest=true,name-canonical=true,push=true
-
- - name: Export digest
- run: |
- mkdir -p /tmp/digests
- digest="${{ steps.build.outputs.digest }}"
- touch "/tmp/digests/${digest#sha256:}"
-
- - uses: actions/upload-artifact@v4
- with:
- name: digest-${{ matrix.runner }}
- path: /tmp/digests/*
- if-no-files-found: error
- retention-days: 1
-
- release-docker-manifest:
- name: "Docker - Publish manifest"
- needs: release-docker
- if: always() && needs.release-docker.result == 'success'
- runs-on: ubuntu-latest
- permissions:
- contents: read
- packages: write
-
- env:
- REGISTRY: ghcr.io
- IMAGE_NAME: spree/spree
-
- steps:
- - uses: actions/download-artifact@v4
- with:
- path: /tmp/digests
- pattern: digest-*
- merge-multiple: true
-
- - uses: docker/setup-buildx-action@v3
-
- - uses: docker/login-action@v3
- with:
- registry: ${{ env.REGISTRY }}
- username: ${{ github.actor }}
- password: ${{ secrets.GITHUB_TOKEN }}
-
- - uses: docker/metadata-action@v5
- id: meta
- with:
- images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
- tags: |
- type=semver,pattern={{version}}
- type=semver,pattern={{major}}.{{minor}}
- type=match,pattern=v(.*),group=1
- type=raw,value=latest
-
- - name: Create and push manifest
- working-directory: /tmp/digests
- run: |
- docker buildx imagetools create \
- $(jq -cr '.tags | map("-t " + .) | join(" ")' <<< '${{ steps.meta.outputs.json }}') \
- $(printf '${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}@sha256:%s ' *)
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index 1f12715eac..6f80a1a168 100644
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
@@ -40,7 +40,7 @@ jobs:
uses: actions/cache@v4
with:
path: vendor/bundle
- key: gems-${{ runner.os }}-ruby4.0-postgres-${{ hashFiles('server/Gemfile.lock') }}
+ key: gems-${{ runner.os }}-ruby4.0-postgres-${{ hashFiles('spree/**/*.gemspec', 'spree/**/Gemfile') }}
restore-keys: |
gems-${{ runner.os }}-ruby4.0-postgres-
@@ -79,7 +79,7 @@ jobs:
uses: actions/cache@v4
with:
path: vendor/bundle
- key: gems-${{ runner.os }}-ruby4.0-mysql-${{ hashFiles('server/Gemfile.lock') }}
+ key: gems-${{ runner.os }}-ruby4.0-mysql-${{ hashFiles('spree/**/*.gemspec', 'spree/**/Gemfile') }}
restore-keys: |
gems-${{ runner.os }}-ruby4.0-mysql-
@@ -158,7 +158,7 @@ jobs:
uses: actions/cache@v4
with:
path: vendor/bundle
- key: gems-${{ runner.os }}-ruby4.0-postgres-${{ hashFiles('server/Gemfile.lock') }}
+ key: gems-${{ runner.os }}-ruby4.0-postgres-${{ hashFiles('spree/**/*.gemspec', 'spree/**/Gemfile') }}
restore-keys: |
gems-${{ runner.os }}-ruby4.0-postgres-
@@ -293,7 +293,7 @@ jobs:
uses: actions/cache@v4
with:
path: vendor/bundle
- key: gems-${{ runner.os }}-ruby4.0-mysql-${{ hashFiles('server/Gemfile.lock') }}
+ key: gems-${{ runner.os }}-ruby4.0-mysql-${{ hashFiles('spree/**/*.gemspec', 'spree/**/Gemfile') }}
restore-keys: |
gems-${{ runner.os }}-ruby4.0-mysql-
@@ -382,7 +382,7 @@ jobs:
uses: actions/cache@v4
with:
path: vendor/bundle
- key: gems-${{ runner.os }}-ruby4.0-postgres-${{ hashFiles('server/Gemfile.lock') }}
+ key: gems-${{ runner.os }}-ruby4.0-postgres-${{ hashFiles('spree/**/*.gemspec', 'spree/**/Gemfile') }}
restore-keys: |
gems-${{ runner.os }}-ruby4.0-postgres-
diff --git a/.gitignore b/.gitignore
index d0b0a14921..d37339d274 100644
--- a/.gitignore
+++ b/.gitignore
@@ -53,6 +53,7 @@ TODO
brakeman-*.*
*/app/assets/builds
.claude/worktrees
+server/
**/node_modules
packages/*/package-lock.json
.turbo
diff --git a/CLAUDE.md b/CLAUDE.md
index ef58715e6e..314c127a9a 100644
--- a/CLAUDE.md
+++ b/CLAUDE.md
@@ -25,6 +25,7 @@ Current plans:
- `6.0-channels-catalogs-b2b.md` — Channel, Catalog, ProductListing (replaces StoreProduct), Company/CompanyLocation/CompanyContact for B2B
- `6.0-platform-auth.md` — Drop Devise, own auth stack, User→Customer/Staff rename
- `5.x-store-api-bridges.md` — Bridge 6.0 naming into 5.5 Store API (fulfillments, delivery, status, remove master_variant)
+- `spree-starter-and-create-spree-app.md` — Replace monorepo server/ with spree-starter template repo, always include backend/ in create-spree-app, add spree eject
## Monorepo Structure
@@ -39,7 +40,7 @@ Current plans:
| `packages/next` | `@spree/next` — Next.js server actions, data helpers, middleware |
| `packages/cli` | `@spree/cli` — Docker-based project management CLI |
| `packages/create-spree-app` | `create-spree-app` — project scaffolding |
-| `server/` | Rails app that mounts Spree gems and serves the API |
+| `server/` | Rails app cloned from `spree/spree-starter` (.gitignored, run `pnpm server:setup`) |
---
diff --git a/docker-compose.yml b/docker-compose.yml
index cfbf00ecb0..965e538053 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -1,25 +1,31 @@
+# Local development services.
+# Just works: pnpm dev (uses prebuilt Spree image)
+# Rails devs: pnpm server:setup, then pnpm server:dev (runs natively)
x-app: &app
- build:
- context: .
- dockerfile: server/Dockerfile
+ image: ghcr.io/spree/spree:latest
depends_on:
postgres:
condition: service_healthy
redis:
condition: service_healthy
environment: &app-env
- DATABASE_HOST: postgres
+ DATABASE_URL: postgres://postgres@postgres:5432/spree_development
REDIS_URL: redis://redis:6379/0
+ SECRET_KEY_BASE: development_secret_key_base_not_for_production_use_only
+ RAILS_FORCE_SSL: "false"
+ RAILS_ASSUME_SSL: "false"
SMTP_HOST: mailpit
- SMTP_PORT: 1025
+ SMTP_PORT: "1025"
services:
postgres:
- image: postgres:17-alpine
+ image: postgres:18-alpine
environment:
POSTGRES_HOST_AUTH_METHOD: trust
volumes:
- postgres_data:/var/lib/postgresql/data
+ ports:
+ - "5432:5432"
healthcheck:
test: pg_isready -U postgres
interval: 5s
@@ -30,6 +36,8 @@ services:
image: redis:7-alpine
volumes:
- redis_data:/data
+ ports:
+ - "6379:6379"
healthcheck:
test: redis-cli ping
interval: 5s
@@ -46,6 +54,12 @@ services:
<<: *app
ports:
- "3000:3000"
+ healthcheck:
+ test: curl -f http://localhost:3000/up || exit 1
+ interval: 10s
+ timeout: 5s
+ retries: 10
+ start_period: 30s
worker:
<<: *app
diff --git a/docs/developer/cli/quickstart.mdx b/docs/developer/cli/quickstart.mdx
index 319cc639c4..85aaed0655 100644
--- a/docs/developer/cli/quickstart.mdx
+++ b/docs/developer/cli/quickstart.mdx
@@ -62,6 +62,18 @@ Pull the latest Spree Docker image and recreate containers. Migrations run autom
spree update
```
+### `spree eject`
+
+Switch from the prebuilt Docker image to building from your local `backend/` directory. This lets you customize the Rails app — add gems, override models, add migrations, etc.
+
+```bash
+spree eject
+```
+
+After ejecting, the Docker image is built from `backend/Dockerfile`. Edit files in `backend/` and run `spree dev` to rebuild and restart with your changes.
+
+See [Customizing the Backend](/developer/create-spree-app/quickstart#customizing-the-backend) for details on what you can customize.
+
### `spree logs`
Stream service logs.
diff --git a/docs/developer/contributing/developing-spree.mdx b/docs/developer/contributing/developing-spree.mdx
index 6b6e8d11f2..a74e64db7e 100644
--- a/docs/developer/contributing/developing-spree.mdx
+++ b/docs/developer/contributing/developing-spree.mdx
@@ -19,7 +19,7 @@ Spree is a monorepo with three main areas:
- **`spree/`** — Ruby gems (core, api, admin, emails) distributed as separate packages via RubyGems
- **`packages/`** — TypeScript packages (SDK, Next.js helpers)
-- **`server/`** — A Rails application that mounts the Spree gems and serves the API and admin interface
+- **`server/`** — A Rails application cloned from [spree-starter](https://github.com/spree/spree-starter) that mounts the Spree gems (not checked in — run `pnpm server:setup` to create it)
## Backend Development (Ruby)
@@ -40,39 +40,38 @@ All Spree models, controllers and other Ruby classes are namespaced by the `Spre
### Setup
+The server app is not checked into the monorepo. It's cloned from [spree-starter](https://github.com/spree/spree-starter) on first setup, with `SPREE_PATH=..` automatically configured so it uses your local Spree gems.
+
+**Step 1: Start infrastructure**
+
```bash
-cd server
-bin/setup
-bin/dev
+docker compose up -d # starts Postgres, Redis, Mailpit
```
-`bin/setup` handles everything: installs Ruby (via [mise](https://mise.jdx.dev) if available, otherwise uses your system Ruby), system packages (libpq, vips), gems, and prepares the database.
+Or install PostgreSQL and Redis locally if you prefer.
-PostgreSQL and Redis must be running before you run `bin/setup`. If you don't have them installed locally, start them with Docker:
+**Step 2: Clone the server app**
```bash
-docker run -d --name spree-postgres -p 5432:5432 -e POSTGRES_HOST_AUTH_METHOD=trust postgres:17-alpine
-docker run -d --name spree-redis -p 6379:6379 redis:7-alpine
+pnpm server:setup
```
-By default the app connects to PostgreSQL at `localhost:5432` as user `postgres` with no password. Override with environment variables if needed:
+This clones [spree-starter](https://github.com/spree/spree-starter) into `server/` and sets `SPREE_PATH=..` in `server/.env` so it uses your local Spree gems.
+
+**Step 3: Configure and run**
```bash
-DATABASE_HOST=127.0.0.1 DATABASE_PORT=5433 DATABASE_USERNAME=myuser bin/setup
+cd server
+# Edit .env if needed (e.g. DATABASE_USERNAME, DATABASE_HOST, DATABASE_PORT)
+bin/setup # installs Ruby (via mise), system packages, gems, prepares database
+bin/dev # starts Rails + Sidekiq + CSS watchers via overmind
```
Use `bin/setup --reset` to drop and recreate the database.
The app runs at [http://localhost:3000](http://localhost:3000). Admin Panel is at [http://localhost:3000/admin](http://localhost:3000/admin).
-**Emails in local dev:** By default emails are printed to the Rails log. To catch and preview emails with a web UI, run [Mailpit](https://mailpit.axllent.org) and set `SMTP_HOST`:
-
-```bash
-docker run -d --name mailpit -p 8025:8025 -p 1025:1025 axllent/mailpit
-SMTP_HOST=localhost bin/dev
-```
-
-Then open `http://localhost:8025` to see all outgoing emails.
+**Emails in local dev:** When using `docker compose up -d`, Mailpit is included automatically. All outgoing emails are caught and viewable at [http://localhost:8025](http://localhost:8025).
### Running engine tests
@@ -155,8 +154,7 @@ You may notice that your Spree store runs slower in development environment. Thi
Caching is disabled by default. To turn on caching please run:
```bash
-cd server
-bin/rails dev:cache
+cd server && bin/rails dev:cache
```
You will need to restart rails server after this change.
@@ -165,13 +163,13 @@ You will need to restart rails server after this change.
### Setup
-TypeScript developers don't need Ruby installed. Use Docker Compose from the repository root to start the backend:
+TypeScript developers don't need Ruby installed. Docker Compose from the repository root starts the backend using a prebuilt image:
```bash
docker compose up -d
```
-This boots PostgreSQL, Redis, Mailpit, and the Spree backend automatically. The API is available at `http://localhost:3000`. All outgoing emails are caught by Mailpit and viewable at `http://localhost:8025`.
+This boots PostgreSQL, Redis, Mailpit, and the Spree backend automatically (no `pnpm server:setup` needed). The API is available at `http://localhost:3000`. All outgoing emails are caught by Mailpit and viewable at `http://localhost:8025`.
Then install dependencies and start all packages in watch mode:
diff --git a/docs/developer/create-spree-app/quickstart.mdx b/docs/developer/create-spree-app/quickstart.mdx
index abf2c60f56..ef7ab8ecb6 100644
--- a/docs/developer/create-spree-app/quickstart.mdx
+++ b/docs/developer/create-spree-app/quickstart.mdx
@@ -1,7 +1,7 @@
---
title: "create-spree-app"
sidebarTitle: Overview
-description: "Scaffold a new Spree Commerce project with a single command. Backend runs via Docker using pre-built images."
+description: "Scaffold a new Spree Commerce project with a single command. Includes a full Rails backend app for customization."
---
## Quick Start
@@ -12,7 +12,7 @@ npx create-spree-app@latest my-store
The CLI walks you through an interactive setup:
-1. Choose **Full-stack** (Backend + Next.js Storefront) or **Backend only**
+1. Include **Next.js Storefront** (default: yes)
2. Optionally load **sample data** (products, categories, images)
3. Optionally **start Docker services** immediately
@@ -21,43 +21,19 @@ Once complete, your store is running at [http://localhost:3000](http://localhost
## Prerequisites
- [Node.js](https://nodejs.org/) 20 or later
-- [Docker](https://docs.docker.com/get-docker/) (for running the Spree backend and PostgreSQL)
-
-## Setup Modes
-
-### Full-stack (default)
-
-Sets up both the Spree backend (Docker) and a [Next.js storefront](/developer/storefront/nextjs/quickstart) with the [Spree SDK](/developer/sdk/quickstart) pre-configured.
-
-```bash
-npx create-spree-app@latest my-store
-```
-
-The storefront is downloaded from the [Spree Storefront](https://github.com/spree/storefront) template and placed in `apps/storefront/`. The CLI automatically:
-
-- Installs storefront dependencies
-- Fetches a Store API key from the running backend
-- Writes the API key to the storefront's `.env.local`
-
-### Backend only
-
-Skips the storefront — just the Spree backend and PostgreSQL via Docker. Ideal when you're building a custom frontend or only need the API.
-
-```bash
-npx create-spree-app@latest my-store --backend-only
-```
+- [Docker](https://docs.docker.com/get-docker/) (for running the Spree backend, PostgreSQL, and Redis)
## CLI Flags
All prompts can be skipped with flags for non-interactive (CI/CD) usage:
```bash
-npx create-spree-app@latest my-store --backend-only --no-sample-data --no-start
+npx create-spree-app@latest my-store --no-storefront --no-sample-data --no-start
```
| Flag | Description |
|------|-------------|
-| `--backend-only` | Skip storefront setup |
+| `--no-storefront` | Skip Next.js storefront setup |
| `--no-sample-data` | Skip loading sample products and categories |
| `--no-start` | Don't start Docker services after scaffolding |
| `--port <number>` | Port for the Spree backend (default: `3000`) |
@@ -75,51 +51,65 @@ npx create-spree-app@latest my-store --backend-only --no-sample-data --no-start
## Generated Project Structure
-<CodeGroup>
-```text Full-stack
+```text
my-store/
-├── docker-compose.yml # Spree backend + PostgreSQL
-├── .env # Backend environment variables
+├── docker-compose.yml # Spree backend (prebuilt image) + Postgres + Redis
+├── docker-compose.dev.yml # Alternative: build from local backend/
+├── .env # SECRET_KEY_BASE, SPREE_PORT
├── .gitignore
-├── package.json # Convenience scripts
+├── package.json # Convenience scripts
├── README.md
+├── backend/ # Full Rails app (from spree/spree-starter)
+│ ├── Gemfile
+│ ├── Dockerfile
+│ ├── config/
+│ ├── app/
+│ └── ...
└── apps/
- └── storefront/ # Next.js storefront
- ├── .env.local # API URL + API key
+ └── storefront/ # Next.js storefront (unless --no-storefront)
+ ├── .env.local # API URL + API key
└── ...
```
-```text Backend only
-my-store/
-├── docker-compose.yml # Spree backend + PostgreSQL
-├── .env # Backend environment variables
-├── .gitignore
-├── package.json # Convenience scripts
-└── README.md
-```
-</CodeGroup>
-
### What's in docker-compose.yml
- **Spree** — runs the `ghcr.io/spree/spree:latest` image on the configured port (default `3000`)
-- **PostgreSQL 17** — database with persistent volume
-- Health checks on both services
+- **PostgreSQL 18** — database with persistent volume
+- **Redis 7** — caching, background jobs, and Action Cable
+- **Mailpit** — local email inbox at [http://localhost:8025](http://localhost:8025)
+- Health checks on all services
+
+## Customizing the Backend
+
+The `backend/` directory contains a full Rails application with Spree installed (cloned from [spree-starter](https://github.com/spree/spree-starter)). By default, the project uses a prebuilt Docker image. To switch to building from your local backend:
+
+```bash
+npx spree eject
+```
+
+This replaces `docker-compose.yml` with a version that builds from `backend/`, rebuilds the image, and restarts services. You can then:
+
+- **Add gems** to `backend/Gemfile`
+- **Override models** with decorators in `backend/app/models/`
+- **Add controllers** in `backend/app/controllers/`
+- **Configure Spree** in `backend/config/initializers/spree.rb`
+- **Add migrations** with `cd backend && bin/rails generate migration`
+
+See the [Customization Guide](/developer/customization) for more details.
### Spree CLI Commands
-The project includes [@spree/cli](https://www.npmjs.com/package/@spree/cli) for managing your Spree backend:
+The project includes [@spree/cli](/developer/cli/quickstart) for managing your Spree backend:
| Command | Description |
|---------|-------------|
-| `spree start` | Start backend services and stream logs |
+| `spree dev` | Start backend services and stream logs |
| `spree stop` | Stop backend services |
-| `spree down` | Stop and remove backend services |
| `spree update` | Pull latest Spree image and restart (runs migrations automatically) |
+| `spree eject` | Switch from prebuilt image to building from `backend/` |
| `spree logs` | View backend logs |
-| `spree logs:worker` | View background jobs logs |
+| `spree logs worker` | View background jobs logs |
| `spree console` | Rails console |
-| `spree seed` | Re-seed the database |
-| `spree load-sample-data` | Load sample products, categories, and images |
## After Setup
@@ -136,9 +126,9 @@ Open [http://localhost:3000/admin](http://localhost:3000/admin) and log in with:
The REST API is available at [http://localhost:3000/api/v3/store](http://localhost:3000/api/v3/store). See the [API Reference](/api-reference) for details.
-### Storefront (full-stack mode)
+### Storefront
-If you chose full-stack mode, start the storefront in a separate terminal:
+If you included the storefront, start it in a separate terminal:
```bash
cd my-store/apps/storefront
@@ -147,32 +137,6 @@ npm run dev
Open [http://localhost:3001](http://localhost:3001) to see your store.
-## Manual Start
-
-If you used `--no-start`, start services manually:
-
-```bash
-cd my-store
-spree start
-```
-
-Wait for Spree to be healthy, then optionally load sample data:
-
-```bash
-spree load-sample-data
-```
-
-
-## Spree CLI
-
-You can also use the [Spree CLI](/developer/cli) directly for additional commands:
-
-```bash
-spree user create # Create an admin user
-spree api-key create # Create an API key
-spree api-key list # List API keys
-```
-
## Updating Spree
To update to the latest Spree version:
diff --git a/docs/plans/spree-starter-and-create-spree-app.md b/docs/plans/spree-starter-and-create-spree-app.md
new file mode 100644
index 0000000000..be9c6b1f68
--- /dev/null
+++ b/docs/plans/spree-starter-and-create-spree-app.md
@@ -0,0 +1,618 @@
+# Spree Starter & create-spree-app Overhaul
+
+**Status:** Draft
+**Target:** Spree 5.4 (immediate, pre-6.0)
+**Depends on:** None
+**Author:** Damian + Claude
+**Last updated:** 2026-03-18
+
+## Summary
+
+Replace the monorepo `server/` directory with an independent `spree/spree-starter` GitHub template repository that serves as the single Rails app for all contexts: user projects, core development, CI, and Docker image releases. Update `create-spree-app` to always include `backend/` (cloned from spree-starter) alongside the storefront, and add a `spree eject` CLI command to switch from prebuilt Docker images to local builds. Simplify the release pipeline by eliminating the multi-Gemfile / multi-Dockerfile approach in favor of a single Gemfile with a `SPREE_PATH` env var conditional and gems published to RubyGems.
+
+## Problem
+
+1. **`server/` is not portable.** The monorepo's `server/Gemfile` uses `path: "../spree"` and its `Dockerfile` copies from `../spree/`. This can't be dropped into a standalone project.
+
+2. **Two Gemfiles, two Dockerfiles.** `Gemfile` (dev, path refs) vs `Gemfile.release` (production, local gem server) and `Dockerfile` (dev, copies monorepo) vs `Dockerfile.release` (3-stage gem compilation). Every config change must be synced across both.
+
+3. **create-spree-app produces an uncustomizable backend.** The generated project uses a prebuilt Docker image. Users who need to add a gem, override a controller, or add a migration must figure out from scratch how to set up a Rails app that mounts Spree. This is the majority of real users.
+
+4. **No path from "trying Spree" to "building with Spree."** The quick-start experience is good, but there's no guided transition to real development. Users hit a wall.
+
+5. **6.0 adds another app.** When the admin panel becomes a separate Node app, the generated project needs `apps/admin/` alongside `apps/storefront/`. The architecture should accommodate this now.
+
+## Key Decisions (do not deviate without discussion)
+
+- **`spree/spree-starter` is the single source of truth** for the Rails app. Used by create-spree-app, core developers, CI, and Docker image builds. The monorepo `server/` directory is deleted.
+- **Single Gemfile with `SPREE_PATH` conditional.** `SPREE_PATH` set → local gems (core dev). Unset → published gems from RubyGems (users, CI, release).
+- **No `Gemfile.lock` in spree-starter.** Lock files with path refs are useless for users; lock files with version refs are useless for core devs. Each context generates its own.
+- **Single Dockerfile.** Standard Rails multi-stage build. Gems come from RubyGems. No gem-compilation stage.
+- **`Gemfile.common` and `Gemfile.release` are eliminated.** One Gemfile.
+- **`Dockerfile.release` is eliminated.** One Dockerfile.
+- **`backend/` directory name** in generated projects (not `server/`).
+- **`backend/` is always included** in create-spree-app output. Not optional.
+- **Prebuilt image by default.** `docker-compose.yml` uses `ghcr.io/spree/spree:latest`. Users run `spree eject` to switch to building from local `backend/`.
+- **`spree-starter` is a GitHub template repository.** Users can also "Use this template" from GitHub without create-spree-app.
+
+## Design Details
+
+### spree-starter Repository Structure
+
+```
+spree-starter/
+├── Gemfile # single Gemfile with SPREE_PATH conditional
+├── Dockerfile # standard Rails multi-stage build
+├── Procfile.dev # foreman: web + worker + css watchers
+├── config.ru
+├── Rakefile
+├── .env.example # documented env vars
+├── .gitignore # includes Gemfile.lock
+├── bin/
+│ ├── setup # local dev setup script
+│ ├── dev # foreman launcher
+│ ├── docker-entrypoint # container entrypoint
+│ ├── rails, rake
+│ └── ...
+├── config/
+│ ├── application.rb
+│ ├── database.yml
+│ ├── puma.rb
+│ ├── routes.rb
+│ ├── storage.yml
+│ ├── cable.yml
+│ ├── importmap.rb
+│ ├── environments/
+│ ├── initializers/
+│ │ ├── spree.rb
+│ │ ├── devise.rb
+│ │ └── sentry.rb
+│ └── locales/
+├── db/
+│ ├── migrate/ # copied from engines via rake
+│ ├── schema.rb
+│ └── seeds.rb
+├── app/
+│ ├── models/spree/
+│ │ ├── user.rb
+│ │ └── admin_user.rb
+│ ├── controllers/
+│ ├── views/
+│ ├── javascript/
+│ └── assets/
+├── lib/
+│ └── spree/
+│ └── authentication_helpers.rb
+└── public/
+```
+
+### Gemfile
+
+```ruby
+source "https://rubygems.org"
+ruby file: ".ruby-version"
+
+# Spree Commerce
+spree_path = ENV["SPREE_PATH"]
+
+if spree_path
+ gem "spree", path: "#{spree_path}/spree"
+ gem "spree_emails", path: "#{spree_path}/spree/emails"
+ gem "spree_admin", path: "#{spree_path}/spree/admin"
+else
+ gem "spree", "~> 5.4"
+ gem "spree_emails", "~> 5.4"
+ gem "spree_admin", "~> 5.4"
+end
+
+# Extensions
+gem "spree_stripe", github: "spree/spree_stripe"
+gem "spree_i18n"
+
+# Rails & Infrastructure
+gem "rails", "~> 8.1.2"
+gem "pg", "~> 1.1"
+gem "puma", ">= 5.0"
+gem "propshaft"
+gem "turbo-rails"
+gem "stimulus-rails"
+gem "tailwindcss-rails", ">= 4"
+gem "redis", ">= 4.0.1"
+gem "sidekiq"
+gem "devise"
+gem "image_processing", "~> 1.2"
+gem "aws-sdk-s3", require: false
+gem "sentry-ruby"
+gem "sentry-rails"
+gem "lograge"
+gem "bootsnap", require: false
+gem "thruster", require: false
+
+group :development do
+ gem "debug", platforms: %i[mri windows], require: "debug/prelude"
+ gem "bundler-audit"
+ gem "brakeman", require: false
+ gem "rubocop-rails-omakase", require: false
+ gem "letter_opener"
+ gem "listen", "~> 3.3"
+end
+
+group :test do
+ gem "simplecov-cobertura", require: false
+end
+
+group :development, :test do
+ gem "spree_dev_tools", require: false
+end
+```
+
+### Dockerfile
+
+```dockerfile
+ARG RUBY_VERSION=4.0.1
+FROM ruby:${RUBY_VERSION}-slim AS base
+
+WORKDIR /rails
+
+RUN apt-get update -qq && \
+ apt-get install --no-install-recommends -y \
+ curl libjemalloc2 libvips postgresql-client && \
+ rm -rf /var/lib/apt/lists /var/cache/apt/archives
+
+ENV RAILS_ENV="production" \
+ BUNDLE_DEPLOYMENT="1" \
+ BUNDLE_PATH="/usr/local/bundle" \
+ BUNDLE_WITHOUT="development:test"
+
+FROM base AS build
+
+RUN apt-get update -qq && \
+ apt-get install --no-install-recommends -y \
+ build-essential git libpq-dev node-gyp pkg-config python-is-python3 && \
+ rm -rf /var/lib/apt/lists /var/cache/apt/archives
+
+COPY Gemfile ./
+RUN bundle install && \
+ rm -rf ~/.bundle/ "${BUNDLE_PATH}"/ruby/*/cache \
+ "${BUNDLE_PATH}"/ruby/*/bundler/gems/*/.git && \
+ bundle exec bootsnap precompile --gemfile
+
+COPY . .
+
+RUN bundle exec bootsnap precompile app/ lib/ && \
+ SECRET_KEY_BASE_DUMMY=1 ./bin/rails assets:precompile
+
+FROM base
+
+RUN groupadd --system --gid 1000 rails && \
+ useradd rails --uid 1000 --gid 1000 --create-home --shell /bin/bash && \
+ chown -R rails:rails /rails
+
+COPY --from=build "${BUNDLE_PATH}" "${BUNDLE_PATH}"
+COPY --from=build /rails /rails
+
+USER 1000:1000
+
+ENTRYPOINT ["/rails/bin/docker-entrypoint"]
+
+EXPOSE 3000
+CMD ["./bin/rails", "server", "-b", "0.0.0.0"]
+```
+
+No gem-compilation stage. No local gem server. Gems come from RubyGems.
+
+**Note:** `Gemfile.lock` is not in the repository. It is generated during `bundle install` in the Dockerfile (or locally by users/CI). The Dockerfile runs `COPY Gemfile ./` without a lock file — Bundler resolves fresh, and `BUNDLE_DEPLOYMENT=1` ensures the resolved versions are frozen for the remainder of the build.
+
+### create-spree-app Generated Project
+
+```
+my-store/
+├── docker-compose.yml # prebuilt image (quick start)
+├── docker-compose.dev.yml # build from ./backend (after eject)
+├── .env
+├── package.json
+├── README.md
+├── .gitignore
+├── backend/ # git clone spree/spree-starter
+│ ├── Gemfile
+│ ├── Dockerfile
+│ ├── config/
+│ ├── app/
+│ └── ...
+└── apps/
+ └── storefront/ # git clone spree/storefront
+```
+
+**6.0 addition:**
+```
+└── apps/
+ ├── storefront/
+ └── admin/ # git clone spree/admin
+```
+
+### docker-compose.yml (default — prebuilt image)
+
+Environment variables match the documented conventions in `docs/developer/deployment/docker.mdx` and `docs/developer/deployment/environment_variables.mdx`:
+
+```yaml
+x-app: &app
+ image: ghcr.io/spree/spree:${SPREE_VERSION_TAG:-latest}
+ depends_on:
+ postgres:
+ condition: service_healthy
+ redis:
+ condition: service_healthy
+ env_file: .env
+ environment: &env
+ DATABASE_URL: postgres://postgres@postgres:5432/spree_production
+ REDIS_URL: redis://redis:6379/0
+ SECRET_KEY_BASE: ${SECRET_KEY_BASE}
+ RAILS_FORCE_SSL: "false"
+ RAILS_ASSUME_SSL: "false"
+ SMTP_HOST: mailpit
+ SMTP_PORT: "1025"
+
+services:
+ postgres:
+ image: postgres:17-alpine
+ environment:
+ POSTGRES_HOST_AUTH_METHOD: trust
+ volumes:
+ - postgres_data:/var/lib/postgresql/data
+ healthcheck:
+ test: pg_isready -U postgres
+ interval: 5s
+ timeout: 5s
+ retries: 5
+
+ redis:
+ image: redis:7-alpine
+ volumes:
+ - redis_data:/data
+ healthcheck:
+ test: redis-cli ping
+ interval: 5s
+ timeout: 5s
+ retries: 5
+
+ mailpit:
+ image: axllent/mailpit
+ ports:
+ - "8025:8025"
+ - "1025:1025"
+
+ web:
+ <<: *app
+ ports:
+ - "${PORT:-3000}:3000"
+ healthcheck:
+ test: curl -f http://localhost:3000/up || exit 1
+ interval: 10s
+ timeout: 5s
+ retries: 10
+ start_period: 30s
+
+ worker:
+ <<: *app
+ command: bundle exec sidekiq
+
+volumes:
+ postgres_data:
+ redis_data:
+```
+
+Key alignment with documented env vars:
+- `DATABASE_URL` — full Postgres URL (not separate `DATABASE_HOST`)
+- `REDIS_URL` — as documented
+- `SECRET_KEY_BASE` — loaded from `.env` (generated by create-spree-app)
+- `RAILS_FORCE_SSL` / `RAILS_ASSUME_SSL` — `"false"` for local dev (docs say default is `true` in production)
+- `SMTP_HOST` / `SMTP_PORT` — mailpit for local dev (docs: "set `SMTP_HOST` to enable email delivery")
+- `PORT` — documented as web server port (not `SPREE_PORT`)
+- Health check intervals match docker.mdx examples
+
+### docker-compose.dev.yml (after eject — local build)
+
+Identical to `docker-compose.yml` except the `x-app` anchor uses `build:` instead of `image:`:
+
+```yaml
+x-app: &app
+ build:
+ context: ./backend
+ dockerfile: Dockerfile
+ depends_on:
+ postgres:
+ condition: service_healthy
+ redis:
+ condition: service_healthy
+ env_file: .env
+ environment: &env
+ DATABASE_URL: postgres://postgres@postgres:5432/spree_production
+ REDIS_URL: redis://redis:6379/0
+ SECRET_KEY_BASE: ${SECRET_KEY_BASE}
+ RAILS_FORCE_SSL: "false"
+ RAILS_ASSUME_SSL: "false"
+ SMTP_HOST: mailpit
+ SMTP_PORT: "1025"
+
+# ... rest identical to docker-compose.yml
+```
+
+### .env (generated by create-spree-app)
+
+```bash
+SECRET_KEY_BASE=<generated-128-char-hex>
+PORT=3000
+```
+
+`SECRET_KEY_BASE` is generated via `crypto.randomBytes(64).toString('hex')`. `PORT` matches the documented env var name. All other env vars (`DATABASE_URL`, `REDIS_URL`, `SMTP_*`, `RAILS_*`) are set in docker-compose.yml directly since they're infrastructure-specific, not secrets.
+
+### `spree eject` CLI Command
+
+New command in `@spree/cli`:
+
+```typescript
+// packages/cli/src/commands/eject.ts
+
+export function registerEjectCommand(program: Command) {
+ program
+ .command('eject')
+ .description('Switch from prebuilt Docker image to local backend builds')
+ .action(async () => {
+ const ctx = detectProject(process.cwd())
+
+ // 1. Check backend/ exists
+ if (!existsSync(join(ctx.projectDir, 'backend'))) {
+ log.error('No backend/ directory found.')
+ process.exit(1)
+ }
+
+ // 2. Copy docker-compose.dev.yml → docker-compose.yml
+ copyFileSync(
+ join(ctx.projectDir, 'docker-compose.dev.yml'),
+ join(ctx.projectDir, 'docker-compose.yml')
+ )
+
+ // 3. Rebuild
+ await dockerCompose(['build'], ctx.projectDir)
+
+ // 4. Recreate containers
+ await dockerCompose(['up', '-d'], ctx.projectDir)
+
+ log.success('Ejected! Backend now builds from ./backend')
+ log.info('Edit backend/Gemfile, backend/config/, backend/app/ to customize.')
+ log.info('Run `npx spree dev` to restart with your changes.')
+ })
+}
+```
+
+### Monorepo Development Workflow (after server/ removal)
+
+The monorepo root `package.json` gets a `server:setup` script that clones spree-starter into `server/` and creates a `.env` file pointing `SPREE_PATH` to the local gems:
+
+```json
+{
+ "scripts": {
+ "server:setup": "git clone --depth 1 https://github.com/spree/spree-starter.git server && rm -rf server/.git && echo 'SPREE_PATH=..' > server/.env && cd server && bundle install && bin/rails db:prepare",
+ "server:dev": "cd server && bin/dev",
+ "server:up": "docker compose up -d",
+ "server:down": "docker compose down",
+ "server:console": "cd server && bin/rails c",
+ "dev": "docker compose up -d && turbo dev"
+ }
+}
+```
+
+This gives core devs the familiar `server/` directory, but it's not checked into the monorepo — it's `.gitignore`d and cloned on setup.
+
+```bash
+# Setup (one-time)
+pnpm server:setup # clones spree-starter, creates .env, bundle install, db:prepare
+
+# Development
+pnpm server:dev # runs Rails + Sidekiq + CSS watchers natively
+# or
+pnpm dev # Docker infra + turbo dev for all packages
+
+# Directory layout (monorepo)
+spree/
+├── spree/ # gems (core, api, admin, emails)
+├── packages/ # SDKs, CLI, etc.
+├── server/ # ← git clone of spree-starter (.gitignored)
+│ ├── .env # ← auto-generated: SPREE_PATH=..
+│ ├── Gemfile # uses SPREE_PATH conditional → local gems
+│ └── ...
+└── docker-compose.yml
+```
+
+The monorepo `.gitignore` adds `server/` since it's now a generated artifact.
+
+**Docker build in monorepo context:** The root `docker-compose.yml` does NOT use `SPREE_PATH` for Docker builds — Docker can't access paths outside the build context. Instead, the monorepo Dockerfile (which may differ slightly from spree-starter's) copies the local gems into the image. However, the simpler approach for core development is to **not use Docker for the Rails app at all** — run `server/bin/dev` natively (with `SPREE_PATH=..` in `.env`) and only use Docker for Postgres, Redis, and Mailpit. This is faster for gem iteration anyway.
+
+```yaml
+# Root docker-compose.yml (monorepo — infrastructure only)
+services:
+ postgres:
+ image: postgres:17-alpine
+ # ...
+ redis:
+ image: redis:7-alpine
+ # ...
+ mailpit:
+ image: axllent/mailpit
+ # ...
+
+# No web/worker services — run Rails natively via server/bin/dev
+```
+
+Core devs who want the full Docker experience can use the existing `server/Dockerfile` approach (which copies `../spree/`) as an escape hatch, but the primary development workflow is native Rails + Docker infrastructure.
+
+### Release Pipeline
+
+**Current (complex):**
+```
+server/Dockerfile.release → 3-stage build
+ Stage 1: gem build *.gemspec → /gems/
+ Stage 2: Gemfile.release + local gem server → frozen Gemfile
+ Stage 3: runtime
+```
+
+**New (standard):**
+```bash
+# In spree-starter repo (or CI clones it)
+cd spree-starter
+bundle update spree spree_core spree_api spree_emails spree_admin
+git add Gemfile.lock
+git commit -m "Update Spree to 5.4.1"
+git push
+
+# Build and push
+docker build -t ghcr.io/spree/spree:5.4.1 .
+docker push ghcr.io/spree/spree:5.4.1
+docker tag ghcr.io/spree/spree:5.4.1 ghcr.io/spree/spree:latest
+docker push ghcr.io/spree/spree:latest
+```
+
+For release builds, `Gemfile.lock` IS committed (on a release branch or tag) so the Docker build is deterministic.
+
+### CI Workflow Changes
+
+**`.github/workflows/release.yml`** — Docker release job changes:
+
+```yaml
+release-docker:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v4
+ with:
+ repository: spree/spree-starter
+ ref: main
+
+ - name: Update Spree gems
+ run: |
+ bundle update spree spree_core spree_api spree_emails spree_admin
+
+ - name: Build and push
+ uses: docker/build-push-action@v6
+ with:
+ context: .
+ push: true
+ tags: ghcr.io/spree/spree:${{ github.ref_name }}
+```
+
+No more multi-platform gem compilation stages. Standard Docker build.
+
+**Monorepo `tests.yml`** — Backend test job changes:
+
+Tests continue to run in the monorepo against the gems directly (they test the gems, not the server app). The only change is removing any steps that reference `server/`.
+
+**spree-starter gets its own CI** — basic smoke test:
+
+```yaml
+# In spree/spree-starter/.github/workflows/test.yml
+name: Test
+on: [push, pull_request]
+jobs:
+ test:
+ runs-on: ubuntu-latest
+ services:
+ postgres:
+ image: postgres:17
+ env:
+ POSTGRES_HOST_AUTH_METHOD: trust
+ steps:
+ - uses: actions/checkout@v4
+ - uses: ruby/setup-ruby@v1
+ with:
+ bundler-cache: true
+ - run: bin/rails db:prepare
+ - run: bin/rails test # smoke test — boots app, runs migrations
+ - run: bundle exec brakeman --no-pager
+ - run: bundle audit check --update
+```
+
+## Migration Path
+
+### Phase 1: Create spree-starter repository
+
+1. Create `spree/spree-starter` on GitHub as a template repository
+2. Copy contents from `server/` as the starting point
+3. Replace `Gemfile` + `Gemfile.common` + `Gemfile.release` with single `Gemfile` using `SPREE_PATH` conditional
+4. Replace `Dockerfile` + `Dockerfile.release` with single `Dockerfile` (standard Rails build)
+5. Remove `Gemfile.lock` from repo, add to `.gitignore`
+6. Add `.env.example` documenting all env vars
+7. Update `README.md` with getting started, customization, and core dev workflow
+8. Add CI workflow (smoke test + security scans)
+9. Rename directory references from `server` to project root (it IS the project now)
+10. Test: clone fresh, `bundle install`, `bin/rails db:prepare`, `bin/rails server` — app boots and serves API
+
+### Phase 2: Update create-spree-app
+
+1. Add `backend/` scaffolding step — `git clone --depth 1 spree/spree-starter` into `backend/`
+2. Add `docker-compose.dev.yml` template generation
+3. Update `docker-compose.yml` template (no changes needed — already uses prebuilt image)
+4. Update generated `README.md` with eject instructions
+5. Update generated `package.json` scripts (add `eject` script)
+6. Update prompts: remove backend-only/full-stack choice (always full-stack with backend included)
+7. Test: `npx create-spree-app my-store` produces working project with `backend/` and `apps/storefront/`
+
+### Phase 3: Add `spree eject` to CLI
+
+1. Implement `eject` command in `@spree/cli`
+2. Add to command registration in `src/index.ts`
+3. Test: `npx spree eject` switches compose file, rebuilds, restarts
+
+### Phase 4: Update monorepo
+
+1. Remove `server/` directory from git (delete tracked files)
+2. Add `server/` to monorepo `.gitignore`
+3. Update root `package.json` — add `server:setup` (clone + bundle install + db:prepare), `server:dev`, `server:console` scripts; update existing `server:up`, `server:down`
+4. Update root `docker-compose.yml` for infrastructure-only (Postgres, Redis, Mailpit) — no web/worker services
+5. Update `.github/workflows/release.yml` Docker release job
+6. Update contributing docs
+7. Update `CLAUDE.md` monorepo structure table
+
+### Phase 5: Update release automation
+
+1. Update gem release workflow (unchanged — gems publish from monorepo)
+2. Update Docker release workflow to clone spree-starter, update gems, build, push
+3. Test full release cycle: tag monorepo → gems publish → Docker image builds from spree-starter with new gem versions
+
+## Constraints on Current Work
+
+- **Environment variable names must match `docs/developer/deployment/environment_variables.mdx`.** Use `DATABASE_URL`, `REDIS_URL`, `SECRET_KEY_BASE`, `PORT`, `SMTP_HOST`, `SMTP_PORT`, `RAILS_FORCE_SSL`, `RAILS_ASSUME_SSL`, etc. Do not invent new names (e.g., don't use `SPREE_PORT` — use `PORT`; don't use `DATABASE_HOST` in Docker — use `DATABASE_URL`).
+- **Stop adding files to `server/` that aren't also tracked for spree-starter migration.** Any new initializer, migration, or config change in `server/` must be noted for Phase 1.
+- **Don't add new `Gemfile.release` or `Gemfile.common` entries.** Add to the main `Gemfile` — it will become the single Gemfile.
+- **Don't reference `server/` paths in new CI workflows.** The directory will be removed.
+- **Use `backend/` (not `server/`) when discussing the generated project directory** in docs, comments, or UI strings.
+
+## Resolved Questions
+
+1. **Monorepo root docker-compose.yml after server/ removal.** `bin/setup` clones spree-starter into `server/` (gitignored) and creates `.env` with `SPREE_PATH=..`. Root docker-compose.yml continues to build from `./server`.
+
+## Open Questions
+
+1. **Gemfile.lock for release builds.** The Dockerfile runs `bundle install` without a lock file (fresh resolve). For release determinism, should we:
+ - (a) Generate and commit `Gemfile.lock` on a release branch/tag in spree-starter before building, or
+ - (b) Accept that `bundle install` with `~> 5.4` pinning is deterministic enough (gems are immutable once published)?
+
+ Leaning toward (a) — commit lock file on release tags only.
+
+2. **spree-starter versioning.** Should spree-starter track Spree versions (tag `v5.4.1` matching the gem) or have its own version? Leaning toward matching Spree versions for clarity.
+
+3. **Migrations in spree-starter.** Currently `server/db/migrate/` has 134 migrations copied from engines. Should spree-starter:
+ - (a) Include them in the repo (simpler for users, but stale on updates), or
+ - (b) Generate them via `rails spree:install:migrations` on setup (always fresh, but extra step)?
+
+ Leaning toward (b) with the setup script handling it automatically.
+
+## References
+
+- Existing `spree/spree-starter` repo (to be wiped and rebuilt)
+- Current `server/` directory in monorepo (source material, to be deleted)
+- Current `create-spree-app`: `packages/create-spree-app/`
+- Current `@spree/cli`: `packages/cli/`
+- **`docs/developer/deployment/docker.mdx`** — canonical Docker compose example and env vars (must stay aligned)
+- **`docs/developer/deployment/environment_variables.mdx`** — full env var reference (authoritative names)
+- Current `Dockerfile.release` 3-stage build: `server/Dockerfile.release` (to be eliminated)
+- Storefront clone pattern: `packages/create-spree-app/src/storefront.ts`
+- Related: `docs/plans/6.0-admin-spa.md` (admin as separate Node app in `apps/admin/`)
diff --git a/package.json b/package.json
index deaec24933..42f23706ef 100644
--- a/package.json
+++ b/package.json
@@ -9,13 +9,14 @@
"lint": "turbo lint",
"typecheck": "turbo typecheck",
"clean": "turbo clean",
- "server:build": "docker compose build spree",
+ "server:setup": "git clone --depth 1 https://github.com/spree/spree-starter.git server && rm -rf server/.git server/.gitignore && echo 'SPREE_PATH=..' > server/.env && echo '\nServer cloned to server/. Next steps:\n cd server\n # edit .env if needed (DATABASE_USERNAME, etc.)\n bin/setup\n bin/dev\n'",
+ "server:dev": "cd server && bin/dev",
+ "server:console": "cd server && bin/rails c",
+ "server:logs": "cd server && tail -f log/development.log",
+ "server:seed": "cd server && bin/rails db:seed",
+ "server:load_sample_data": "cd server && bin/rails spree:load_sample_data",
"server:up": "docker compose up -d",
- "server:down": "docker compose down",
- "server:logs": "docker compose logs -f spree",
- "server:seed": "docker compose exec spree bin/rails db:seed",
- "server:load_sample_data": "docker compose exec spree bin/rails spree:load_sample_data",
- "server:console": "docker compose exec spree bin/rails c"
+ "server:down": "docker compose down"
},
"devDependencies": {
"turbo": "^2.5.0"
diff --git a/packages/cli/CHANGELOG.md b/packages/cli/CHANGELOG.md
index 95ecfb046d..f387b38ae0 100644
--- a/packages/cli/CHANGELOG.md
+++ b/packages/cli/CHANGELOG.md
@@ -1,5 +1,11 @@
# @spree/cli
+## 2.0.0
+
+### Minor Changes
+
+- Add `spree eject` command to switch from prebuilt Docker image to building from local `backend/` directory. Also update port detection to read `SPREE_PORT` from `.env`.
+
## 2.0.0-beta.5
### Patch Changes
diff --git a/packages/cli/README.md b/packages/cli/README.md
index aac1ec7d4f..c883448d8a 100644
--- a/packages/cli/README.md
+++ b/packages/cli/README.md
@@ -37,20 +37,6 @@ Start Docker services, print connection info, and stream web server logs.
spree dev
```
-```
-╭ Spree Commerce ─────────────────────╮
-│ │
-│ Admin Dashboard │
-│ http://localhost:3000/admin │
-│ Email: [email protected] │
-│ Password: spree123 │
-│ │
-│ Store API │
-│ http://localhost:3000/api/v3/store│
-│ │
-╰─────────────────────────────────────╯
-```
-
Press `Ctrl+C` to stop streaming logs (services keep running).
### `spree stop`
@@ -75,6 +61,16 @@ To pin a specific version, edit `SPREE_VERSION_TAG` in your `.env` file:
SPREE_VERSION_TAG=5.4
```
+### `spree eject`
+
+Switch from the prebuilt Docker image to building from your local `backend/` directory. This lets you customize the Rails app — add gems, override models, add migrations, etc.
+
+```bash
+spree eject
+```
+
+After ejecting, edit files in `backend/` and run `spree dev` to rebuild and restart.
+
### `spree logs [service]`
Stream logs from a service. Defaults to `web`.
@@ -129,13 +125,6 @@ List all API keys for the default store with their name, type, token/prefix, cre
spree api-key list
```
-```
- Name Type Token Created Status
- ────────────────────────────────────────────────────────────────────────────────────────────────
- My Storefront publishable pk_abc123def456... 2025-01-15 10:30 active
- Admin Integration secret sk_xyz789qwe... 2025-01-15 10:35 active
-```
-
### `spree api-key revoke`
Revoke an API key by its token (publishable) or token prefix (secret).
@@ -176,6 +165,7 @@ Projects created with `create-spree-app` include convenience scripts in `package
npm run dev # spree dev
npm run stop # spree stop
npm run update # spree update
+npm run eject # spree eject
npm run logs # spree logs
npm run logs:worker # spree logs worker
npm run console # spree console
diff --git a/packages/cli/package.json b/packages/cli/package.json
index e8e13c595d..c6b38f40bd 100644
--- a/packages/cli/package.json
+++ b/packages/cli/package.json
@@ -1,6 +1,6 @@
{
"name": "@spree/cli",
- "version": "2.0.0-beta.5",
+ "version": "2.0.0-beta.6",
"description": "CLI for managing Spree Commerce projects",
"type": "module",
"bin": {
diff --git a/packages/cli/src/commands/eject.ts b/packages/cli/src/commands/eject.ts
new file mode 100644
index 0000000000..772002dfc4
--- /dev/null
+++ b/packages/cli/src/commands/eject.ts
@@ -0,0 +1,51 @@
+import fs from 'node:fs'
+import path from 'node:path'
+import { Command } from 'commander'
+import * as p from '@clack/prompts'
+import pc from 'picocolors'
+import { detectProject } from '../context.js'
+import { dockerCompose } from '../docker.js'
+
+export function registerEjectCommand(program: Command) {
+ program
+ .command('eject')
+ .description('Switch from prebuilt Docker image to building from local backend/')
+ .action(async () => {
+ const ctx = detectProject()
+
+ const backendDir = path.join(ctx.projectDir, 'backend')
+ if (!fs.existsSync(backendDir)) {
+ console.error(`\n${pc.red('Error:')} No backend/ directory found.\n`)
+ process.exit(1)
+ }
+
+ const devCompose = path.join(ctx.projectDir, 'docker-compose.dev.yml')
+ if (!fs.existsSync(devCompose)) {
+ console.error(`\n${pc.red('Error:')} No docker-compose.dev.yml found.\n`)
+ process.exit(1)
+ }
+
+ // Replace docker-compose.yml with the dev version
+ fs.copyFileSync(devCompose, path.join(ctx.projectDir, 'docker-compose.yml'))
+
+ console.log(`\n${pc.bold('Building backend from local source...')}\n`)
+ await dockerCompose(['build'], ctx.projectDir, { stdio: 'inherit' })
+
+ console.log(`\n${pc.bold('Restarting services...')}\n`)
+ await dockerCompose(['up', '-d'], ctx.projectDir, { stdio: 'inherit' })
+
+ p.note(
+ [
+ `Backend now builds from ${pc.bold('./backend')}`,
+ '',
+ 'You can now customize:',
+ ` ${pc.dim('backend/Gemfile')} — add gems`,
+ ` ${pc.dim('backend/app/')} — models, controllers, etc.`,
+ ` ${pc.dim('backend/config/')} — Rails configuration`,
+ '',
+ `Run ${pc.bold('npx spree dev')} to restart with your changes.`,
+ ].join('\n'),
+ 'Ejected!',
+ )
+ })
+}
diff --git a/packages/cli/src/index.ts b/packages/cli/src/index.ts
index 5f41735c30..3ca5da2abe 100644
--- a/packages/cli/src/index.ts
+++ b/packages/cli/src/index.ts
@@ -11,11 +11,12 @@ import { registerApiKeyCommand } from './commands/api-key.js'
import { registerSeedCommand } from './commands/seed.js'
import { registerOpenCommand } from './commands/open.js'
import { registerSampleDataCommand } from './commands/sample-data.js'
+import { registerEjectCommand } from './commands/eject.js'
const program = new Command()
.name('spree')
.description('CLI for managing Spree Commerce projects')
- .version('2.0.0-beta.3')
+ .version('2.0.0-beta.6')
registerInitCommand(program)
registerDevCommand(program)
@@ -28,6 +29,7 @@ registerApiKeyCommand(program)
registerOpenCommand(program)
registerSeedCommand(program)
registerSampleDataCommand(program)
+registerEjectCommand(program)
program.exitOverride()
diff --git a/packages/create-spree-app/CHANGELOG.md b/packages/create-spree-app/CHANGELOG.md
index fadfab7b80..592000ec7f 100644
--- a/packages/create-spree-app/CHANGELOG.md
+++ b/packages/create-spree-app/CHANGELOG.md
@@ -1,5 +1,11 @@
# create-spree-app
+## 0.4.0
+
+### Minor Changes
+
+- Always include `backend/` directory (cloned from spree/spree-starter) with full Rails app for backend customization. Add `docker-compose.dev.yml` for local builds. Add `spree eject` script. Storefront is now optional via `--no-storefront` flag. Upgrade to PostgreSQL 18.
+
## 0.3.3
### Patch Changes
diff --git a/packages/create-spree-app/README.md b/packages/create-spree-app/README.md
index 2eeb7c6098..6d0aa72473 100644
--- a/packages/create-spree-app/README.md
+++ b/packages/create-spree-app/README.md
@@ -1,6 +1,6 @@
# create-spree-app
-Scaffold a new [Spree](https://spreecommerce.org) project with a single command. Backend runs via Docker using pre-built images
+Scaffold a new [Spree Commerce](https://spreecommerce.org) project with a single command. Backend runs via Docker using pre-built images, with a full Rails app included for customization.
## Quick Start
@@ -10,7 +10,7 @@ npx create-spree-app my-store
This will walk you through an interactive setup:
-1. Choose **Full-stack** (Backend + Next.js Storefront) or **Backend only**
+1. Include **Next.js Storefront** (default: yes)
2. Optionally load sample data (products, categories, images)
3. Optionally start Docker services immediately
@@ -19,14 +19,15 @@ This will walk you through an interactive setup:
For non-interactive usage:
```bash
-npx create-spree-app my-store --backend-only --no-sample-data --no-start
+npx create-spree-app my-store --no-storefront --no-sample-data --no-start
```
| Flag | Description |
|------|-------------|
-| `--backend-only` | Skip storefront setup |
+| `--no-storefront` | Skip Next.js storefront setup |
| `--no-sample-data` | Skip loading sample products |
| `--no-start` | Don't start Docker services |
+| `--port <number>` | Port for the Spree backend (default: `3000`) |
| `--use-npm` | Use npm as package manager |
| `--use-yarn` | Use yarn as package manager |
| `--use-pnpm` | Use pnpm as package manager |
@@ -35,13 +36,20 @@ npx create-spree-app my-store --backend-only --no-sample-data --no-start
```
my-store/
-├── docker-compose.yml # Spree backend + Postgres
-├── .env # SECRET_KEY_BASE, port, version tag
+├── docker-compose.yml # Spree backend (prebuilt image) + Postgres + Redis
+├── docker-compose.dev.yml # Alternative: build from local backend/
+├── .env # SECRET_KEY_BASE, SPREE_PORT
├── .gitignore
-├── package.json # @spree/cli + convenience scripts
-├── README.md # Getting started guide
+├── package.json # @spree/cli + convenience scripts
+├── README.md
+├── backend/ # Full Rails app (from spree/spree-starter)
+│ ├── Gemfile
+│ ├── Dockerfile
+│ ├── config/
+│ ├── app/
+│ └── ...
└── apps/
- └── storefront/ # Next.js app (full-stack mode only)
+ └── storefront/ # Next.js app (unless --no-storefront)
```
## Prerequisites
@@ -62,7 +70,7 @@ Open http://localhost:3000/admin
http://localhost:3000/api/v3/store
-### Storefront (full-stack mode)
+### Storefront
```bash
cd my-store/apps/storefront
@@ -71,6 +79,22 @@ npm run dev
Open http://localhost:3001
+## Customizing the Backend
+
+The `backend/` directory contains a full Rails application with Spree installed. By default, the project uses a prebuilt Docker image. To switch to building from your local backend:
+
+```bash
+npx spree eject
+```
+
+This rebuilds the Docker image from `backend/` and restarts services. You can then:
+
+- **Add gems** to `backend/Gemfile`
+- **Override models** with decorators in `backend/app/models/`
+- **Add controllers** in `backend/app/controllers/`
+- **Configure Spree** in `backend/config/initializers/spree.rb`
+- **Add migrations** with `cd backend && bin/rails generate migration`
+
## Useful Commands
Run these from your project directory (powered by [`@spree/cli`](https://www.npmjs.com/package/@spree/cli)):
@@ -79,36 +103,17 @@ Run these from your project directory (powered by [`@spree/cli`](https://www.npm
|---------|-------------|
| `npm run dev` | Start backend services and stream logs |
| `npm run stop` | Stop backend services |
-| `npm run down` | Stop and remove backend services |
-| `npm run update` | Pull latest Spree image and restart (runs migrations automatically) |
+| `npm run eject` | Switch from prebuilt image to local backend builds |
+| `npm run update` | Pull latest Spree image and restart |
| `npm run logs` | View backend logs |
-| `npm run logs:worker` | View background jobs logs |
| `npm run console` | Rails console |
-| `npm run seed` | Seed the database |
-| `npm run load-sample-data` | Load sample products, categories |
You can also use the CLI directly for additional commands:
```bash
npx spree user create # Create an admin user
npx spree api-key create # Create an API key
-npx spree api-key list # List API keys
-```
-
-## Updating Spree
-
-To update to the latest Spree version:
-
-```bash
-npm run update
-```
-
-This pulls the latest Docker image and recreates the containers. The entrypoint automatically runs `db:prepare`, which handles any pending database migrations.
-
-To pin a specific version, edit `SPREE_VERSION_TAG` in `.env`:
-
-```
-SPREE_VERSION_TAG=5.4
+npx spree api-key list # List API keys
```
## Learn More
diff --git a/packages/create-spree-app/package.json b/packages/create-spree-app/package.json
index 91627dc827..fe1658a529 100644
--- a/packages/create-spree-app/package.json
+++ b/packages/create-spree-app/package.json
@@ -1,6 +1,6 @@
{
"name": "create-spree-app",
- "version": "0.3.3",
+ "version": "0.4.0",
"description": "Create a new Spree Commerce project with a single command",
"type": "module",
"bin": "./dist/index.js",
diff --git a/packages/create-spree-app/src/backend.ts b/packages/create-spree-app/src/backend.ts
new file mode 100644
index 0000000000..e850533e48
--- /dev/null
+++ b/packages/create-spree-app/src/backend.ts
@@ -0,0 +1,23 @@
+import fs from 'node:fs'
+import path from 'node:path'
+import { execa } from 'execa'
+import { BACKEND_REPO } from './constants.js'
+
+export async function downloadBackend(projectDir: string): Promise<void> {
+ const backendDir = path.join(projectDir, 'backend')
+ await execa('git', ['clone', '--depth', '1', BACKEND_REPO, backendDir], { stdio: 'ignore' })
+ fs.rmSync(path.join(backendDir, '.git'), { recursive: true, force: true })
+
+ // Move backend CI workflow to project root
+ const srcWorkflows = path.join(backendDir, '.github', 'workflows')
+ if (fs.existsSync(srcWorkflows)) {
+ const destWorkflows = path.join(projectDir, '.github', 'workflows')
+ fs.mkdirSync(destWorkflows, { recursive: true })
+
+ for (const file of fs.readdirSync(srcWorkflows)) {
+ fs.renameSync(path.join(srcWorkflows, file), path.join(destWorkflows, file))
+ }
+
+ fs.rmSync(path.join(backendDir, '.github'), { recursive: true, force: true })
+ }
+}
diff --git a/packages/create-spree-app/src/constants.ts b/packages/create-spree-app/src/constants.ts
index 8b4103606c..a64f30dc06 100644
--- a/packages/create-spree-app/src/constants.ts
+++ b/packages/create-spree-app/src/constants.ts
@@ -4,6 +4,7 @@ export const DEFAULT_SPREE_PORT = 3000
export const STOREFRONT_PORT = 3001
export const STOREFRONT_REPO = 'https://github.com/spree/storefront.git'
+export const BACKEND_REPO = 'https://github.com/spree/spree-starter.git'
export const DEFAULT_ADMIN_EMAIL = '[email protected]'
export const DEFAULT_ADMIN_PASSWORD = 'spree123'
diff --git a/packages/create-spree-app/src/index.ts b/packages/create-spree-app/src/index.ts
index e10c2529f4..722077a457 100644
--- a/packages/create-spree-app/src/index.ts
+++ b/packages/create-spree-app/src/index.ts
@@ -12,7 +12,7 @@ const program = new Command()
.name('create-spree-app')
.description('Create a new Spree Commerce project')
.argument('[directory]', 'project directory')
- .option('--backend-only', 'skip storefront setup')
+ .option('--no-storefront', 'skip Next.js storefront setup')
.option('--no-sample-data', 'skip loading sample data')
.option('--no-start', 'do not start Docker services')
.option('--port <number>', 'port for the Spree backend', String(DEFAULT_SPREE_PORT))
@@ -30,7 +30,7 @@ const program = new Command()
try {
const options = await runPrompts({
directory,
- backendOnly: flags.backendOnly as boolean | undefined,
+ noStorefront: flags.storefront === false ? true : undefined,
noSampleData: flags.sampleData === false ? true : undefined,
noStart: flags.start === false ? true : undefined,
packageManager,
diff --git a/packages/create-spree-app/src/prompts.ts b/packages/create-spree-app/src/prompts.ts
index 6821b967ab..f7aaac5f2b 100644
--- a/packages/create-spree-app/src/prompts.ts
+++ b/packages/create-spree-app/src/prompts.ts
@@ -1,9 +1,9 @@
import * as p from '@clack/prompts'
-import type { ScaffoldOptions, SetupMode, PackageManager } from './types.js'
+import type { ScaffoldOptions, PackageManager } from './types.js'
interface PromptFlags {
directory?: string
- backendOnly?: boolean
+ noStorefront?: boolean
noSampleData?: boolean
noStart?: boolean
packageManager?: PackageManager
@@ -27,23 +27,20 @@ export async function runPrompts(flags: PromptFlags): Promise<Omit<ScaffoldOptio
process.exit(0)
}
- let mode: SetupMode
- if (flags.backendOnly !== undefined) {
- mode = flags.backendOnly ? 'backend-only' : 'full-stack'
+ let storefront: boolean
+ if (flags.noStorefront !== undefined) {
+ storefront = !flags.noStorefront
} else {
- const modeResult = await p.select({
- message: 'What would you like to set up?',
- options: [
- { value: 'full-stack', label: 'Full-stack (Backend + Storefront)' },
- { value: 'backend-only', label: 'Backend only' },
- ],
+ const storefrontResult = await p.confirm({
+ message: 'Include Next.js storefront?',
+ initialValue: true,
})
- if (p.isCancel(modeResult)) {
+ if (p.isCancel(storefrontResult)) {
p.cancel('Setup cancelled.')
process.exit(0)
}
- mode = modeResult as SetupMode
+ storefront = storefrontResult
}
let sampleData: boolean
@@ -80,7 +77,7 @@ export async function runPrompts(flags: PromptFlags): Promise<Omit<ScaffoldOptio
return {
directory,
- mode,
+ storefront,
sampleData,
start,
packageManager: flags.packageManager ?? 'npm',
diff --git a/packages/create-spree-app/src/scaffold.ts b/packages/create-spree-app/src/scaffold.ts
index 6021bf7f2a..71af7d6db2 100644
--- a/packages/create-spree-app/src/scaffold.ts
+++ b/packages/create-spree-app/src/scaffold.ts
@@ -6,18 +6,18 @@ import { execa } from 'execa'
import type { ScaffoldOptions } from './types.js'
import { DEFAULT_ADMIN_EMAIL, DEFAULT_ADMIN_PASSWORD } from './constants.js'
import { generateSecretKeyBase, isDockerRunning } from './utils.js'
-import { dockerComposeContent } from './templates/docker-compose.js'
+import { dockerComposeContent, dockerComposeDevContent } from './templates/docker-compose.js'
import { envContent } from './templates/env.js'
import { rootPackageJsonContent } from './templates/package-json.js'
import { readmeContent } from './templates/readme.js'
import { gitignoreContent } from './templates/gitignore.js'
-import { downloadStorefront, installStorefrontDeps, installRootDeps, writeStorefrontEnv } from './storefront.js'
+import { downloadStorefront, installRootDeps, installStorefrontDeps, writeStorefrontEnv } from './storefront.js'
+import { downloadBackend } from './backend.js'
export async function scaffold(options: ScaffoldOptions): Promise<void> {
const projectDir = path.resolve(options.directory)
const projectName = path.basename(projectDir)
- const isFullStack = options.mode === 'full-stack'
- const { port } = options
+ const { port, storefront } = options
// Pre-flight checks
if (options.start) {
@@ -42,10 +42,11 @@ export async function scaffold(options: ScaffoldOptions): Promise<void> {
s.start('Creating project structure...')
fs.mkdirSync(projectDir, { recursive: true })
- fs.writeFileSync(path.join(projectDir, 'docker-compose.yml'), dockerComposeContent(port))
+ fs.writeFileSync(path.join(projectDir, 'docker-compose.yml'), dockerComposeContent())
+ fs.writeFileSync(path.join(projectDir, 'docker-compose.dev.yml'), dockerComposeDevContent())
fs.writeFileSync(path.join(projectDir, '.env'), envContent(generateSecretKeyBase(), port))
fs.writeFileSync(path.join(projectDir, 'package.json'), rootPackageJsonContent(projectName))
- fs.writeFileSync(path.join(projectDir, 'README.md'), readmeContent(projectName, isFullStack, port))
+ fs.writeFileSync(path.join(projectDir, 'README.md'), readmeContent(projectName, storefront, port))
fs.writeFileSync(path.join(projectDir, '.gitignore'), gitignoreContent())
s.stop('Project structure created.')
@@ -55,8 +56,13 @@ export async function scaffold(options: ScaffoldOptions): Promise<void> {
await installRootDeps(projectDir, options.packageManager)
s.stop('Dependencies installed.')
- // Phase 2: Storefront
- if (isFullStack) {
+ // Phase 2: Backend (always included)
+ s.start('Downloading backend template...')
+ await downloadBackend(projectDir)
+ s.stop('Backend template downloaded.')
+
+ // Phase 3: Storefront (optional)
+ if (storefront) {
s.start('Downloading storefront template...')
await downloadStorefront(projectDir)
s.stop('Storefront template downloaded.')
@@ -68,7 +74,7 @@ export async function scaffold(options: ScaffoldOptions): Promise<void> {
s.stop('Storefront dependencies installed.')
}
- // Phase 3: Initialize and start services
+ // Phase 4: Initialize and start services
if (options.start) {
const initArgs = ['spree', 'init']
if (!options.sampleData) initArgs.push('--no-sample-data')
@@ -78,21 +84,17 @@ export async function scaffold(options: ScaffoldOptions): Promise<void> {
stdio: 'inherit',
})
- if (isFullStack) {
+ if (storefront) {
p.log.info(
`${pc.bold('Storefront')}: ${pc.cyan(`cd ${projectName}/apps/storefront && npm run dev`)}`,
)
}
} else {
- printSuccessWithoutDocker(projectName, isFullStack, port)
+ printSuccessWithoutDocker(projectName, storefront, port)
}
}
-function printSuccessWithoutDocker(
- projectName: string,
- isFullStack: boolean,
- port: number,
-): void {
+function printSuccessWithoutDocker(projectName: string, hasStorefront: boolean, port: number): void {
const lines: string[] = [
'',
`${pc.bold('Next steps:')}`,
@@ -100,7 +102,7 @@ function printSuccessWithoutDocker(
` npx spree dev`,
]
- if (isFullStack) {
+ if (hasStorefront) {
lines.push(
'',
` ${pc.dim('# In another terminal:')}`,
@@ -116,6 +118,10 @@ function printSuccessWithoutDocker(
` http://localhost:${port}/admin`,
` Email: ${DEFAULT_ADMIN_EMAIL}`,
` Password: ${DEFAULT_ADMIN_PASSWORD}`,
+ '',
+ `${pc.bold('Customize the backend')}`,
+ ` npx spree eject`,
+ ` ${pc.dim('# Then edit backend/Gemfile, backend/app/, backend/config/')}`,
)
p.note(lines.join('\n'), 'Project created!')
diff --git a/packages/create-spree-app/src/templates/docker-compose.ts b/packages/create-spree-app/src/templates/docker-compose.ts
index 6b038b8df2..48c111470f 100644
--- a/packages/create-spree-app/src/templates/docker-compose.ts
+++ b/packages/create-spree-app/src/templates/docker-compose.ts
@@ -1,8 +1,17 @@
import { SPREE_IMAGE, SPREE_VERSION_TAG } from '../constants.js'
-export function dockerComposeContent(_port: number): string {
+function appAnchor(useImage: boolean): string {
+ if (useImage) {
+ return ` image: ${SPREE_IMAGE}:\${SPREE_VERSION_TAG:-${SPREE_VERSION_TAG}}`
+ }
+ return ` build:
+ context: ./backend
+ dockerfile: Dockerfile`
+}
+
+function composeBody(appSection: string): string {
return `x-app: &app
- image: ${SPREE_IMAGE}:${SPREE_VERSION_TAG}
+${appSection}
depends_on:
postgres:
condition: service_healthy
@@ -10,18 +19,17 @@ export function dockerComposeContent(_port: number): string {
condition: service_healthy
env_file: .env
environment: &app-env
- DATABASE_URL: postgres://postgres@postgres:5432/spree
+ DATABASE_URL: postgres://postgres@postgres:5432/spree_production
REDIS_URL: redis://redis:6379/0
- SMTP_HOST: mailpit
- SMTP_PORT: 1025
- RAILS_ENV: production
+ SECRET_KEY_BASE: \${SECRET_KEY_BASE}
RAILS_FORCE_SSL: "false"
RAILS_ASSUME_SSL: "false"
- RAILS_LOG_TO_STDOUT: "true"
+ SMTP_HOST: mailpit
+ SMTP_PORT: "1025"
services:
postgres:
- image: postgres:17-alpine
+ image: postgres:18-alpine
environment:
POSTGRES_HOST_AUTH_METHOD: trust
volumes:
@@ -68,3 +76,11 @@ volumes:
redis_data:
`
}
+
+export function dockerComposeContent(): string {
+ return composeBody(appAnchor(true))
+}
+
+export function dockerComposeDevContent(): string {
+ return composeBody(appAnchor(false))
+}
diff --git a/packages/create-spree-app/src/templates/env.ts b/packages/create-spree-app/src/templates/env.ts
index ec9e866a8a..c470cf5ca1 100644
--- a/packages/create-spree-app/src/templates/env.ts
+++ b/packages/create-spree-app/src/templates/env.ts
@@ -1,9 +1,7 @@
-import { SPREE_VERSION_TAG } from '../constants.js'
-
export function envContent(secretKeyBase: string, port: number): string {
return `SECRET_KEY_BASE=${secretKeyBase}
SPREE_PORT=${port}
-SPREE_VERSION_TAG=${SPREE_VERSION_TAG}
+SPREE_VERSION_TAG=latest
`
}
diff --git a/packages/create-spree-app/src/templates/package-json.ts b/packages/create-spree-app/src/templates/package-json.ts
index 744357f02c..a2688ead76 100644
--- a/packages/create-spree-app/src/templates/package-json.ts
+++ b/packages/create-spree-app/src/templates/package-json.ts
@@ -7,6 +7,7 @@ export function rootPackageJsonContent(name: string): string {
stop: 'spree stop',
down: 'docker compose down',
update: 'spree update',
+ eject: 'spree eject',
logs: 'spree logs',
'logs:worker': 'spree logs worker',
seed: 'spree seed',
@@ -14,7 +15,7 @@ export function rootPackageJsonContent(name: string): string {
console: 'spree console',
},
dependencies: {
- '@spree/cli': '2.0.0-beta.5',
+ '@spree/cli': '2.0.0-beta.6',
},
}
diff --git a/packages/create-spree-app/src/templates/readme.ts b/packages/create-spree-app/src/templates/readme.ts
index 1b032206fe..2f5ebbf8f4 100644
--- a/packages/create-spree-app/src/templates/readme.ts
+++ b/packages/create-spree-app/src/templates/readme.ts
@@ -42,6 +42,22 @@ Open http://localhost:${STOREFRONT_PORT}
}
content += `
+## Customizing the Backend
+
+The \`backend/\` directory contains a full Rails application with Spree installed. By default, the project uses a prebuilt Docker image. To switch to building from your local backend:
+
+\`\`\`bash
+npx spree eject
+\`\`\`
+
+This rebuilds the Docker image from \`backend/\` and restarts services. You can then:
+
+- **Add gems** to \`backend/Gemfile\`
+- **Override models** with decorators in \`backend/app/models/\`
+- **Add controllers** in \`backend/app/controllers/\`
+- **Configure Spree** in \`backend/config/initializers/spree.rb\`
+- **Add migrations** with \`cd backend && bin/rails generate migration\`
+
## Spree CLI
This project uses [\`@spree/cli\`](https://www.npmjs.com/package/@spree/cli) to manage the backend.
@@ -53,6 +69,7 @@ This project uses [\`@spree/cli\`](https://www.npmjs.com/package/@spree/cli) to
| \`spree dev\` | Start backend services and stream logs |
| \`spree stop\` | Stop backend services |
| \`spree update\` | Pull latest Spree image and restart (runs migrations automatically) |
+| \`spree eject\` | Switch from prebuilt image to building from \`backend/\` |
| \`spree logs\` | View web server logs |
| \`spree logs worker\` | View background jobs logs |
| \`spree console\` | Open Rails console |
@@ -73,24 +90,6 @@ This project uses [\`@spree/cli\`](https://www.npmjs.com/package/@spree/cli) to
| \`spree api-key list\` | List all API keys |
| \`spree api-key revoke <token>\` | Revoke an API key |
-### Other
-
-| Command | Description |
-|---------|-------------|
-| \`docker compose down\` | Stop and remove all containers and volumes |
-
-## Updating Spree
-
-\`\`\`bash
-spree update
-\`\`\`
-
-To pin a specific version, edit \`SPREE_VERSION_TAG\` in \`.env\`:
-
-\`\`\`
-SPREE_VERSION_TAG=5.4
-\`\`\`
-
## Learn More
- [Spree Documentation](https://docs.spreecommerce.org)
diff --git a/packages/create-spree-app/src/types.ts b/packages/create-spree-app/src/types.ts
index 3f4a0c0ba2..c5e3b09b61 100644
--- a/packages/create-spree-app/src/types.ts
+++ b/packages/create-spree-app/src/types.ts
@@ -1,10 +1,8 @@
-export type SetupMode = 'full-stack' | 'backend-only'
-
export type PackageManager = 'npm' | 'yarn' | 'pnpm'
export interface ScaffoldOptions {
directory: string
- mode: SetupMode
+ storefront: boolean
sampleData: boolean
start: boolean
packageManager: PackageManager
diff --git a/packages/create-spree-app/tests/scaffold.test.ts b/packages/create-spree-app/tests/scaffold.test.ts
index 5b7fc944b6..c4a2c0a4ca 100644
--- a/packages/create-spree-app/tests/scaffold.test.ts
+++ b/packages/create-spree-app/tests/scaffold.test.ts
@@ -8,15 +8,22 @@ vi.mock('../src/storefront', async (importOriginal) => {
const mod = await importOriginal<typeof import('../src/storefront')>()
return {
...mod,
+ downloadStorefront: vi.fn(),
installRootDeps: vi.fn(),
+ installStorefrontDeps: vi.fn(),
+ writeStorefrontEnv: vi.fn(),
}
})
+vi.mock('../src/backend', () => ({
+ downloadBackend: vi.fn(),
+}))
+
function createTempDir(): string {
return fs.mkdtempSync(path.join(os.tmpdir(), 'create-spree-app-test-'))
}
-describe('scaffold (backend-only, no-start)', () => {
+describe('scaffold (no-start)', () => {
const tempDirs: string[] = []
function getTempProjectDir(): string {
@@ -38,7 +45,7 @@ describe('scaffold (backend-only, no-start)', () => {
await scaffold({
directory: projectDir,
- mode: 'backend-only',
+ storefront: true,
sampleData: false,
start: false,
packageManager: 'npm',
@@ -46,6 +53,7 @@ describe('scaffold (backend-only, no-start)', () => {
})
expect(fs.existsSync(path.join(projectDir, 'docker-compose.yml'))).toBe(true)
+ expect(fs.existsSync(path.join(projectDir, 'docker-compose.dev.yml'))).toBe(true)
expect(fs.existsSync(path.join(projectDir, '.env'))).toBe(true)
expect(fs.existsSync(path.join(projectDir, 'package.json'))).toBe(true)
expect(fs.existsSync(path.join(projectDir, 'README.md'))).toBe(true)
@@ -57,7 +65,7 @@ describe('scaffold (backend-only, no-start)', () => {
await scaffold({
directory: projectDir,
- mode: 'backend-only',
+ storefront: true,
sampleData: false,
start: false,
packageManager: 'npm',
@@ -68,53 +76,56 @@ describe('scaffold (backend-only, no-start)', () => {
expect(compose).toContain('ghcr.io/spree/spree')
})
- it('generates .env with SECRET_KEY_BASE and SPREE_PORT', async () => {
+ it('generates docker-compose.dev.yml with build context', async () => {
const projectDir = getTempProjectDir()
await scaffold({
directory: projectDir,
- mode: 'backend-only',
+ storefront: true,
sampleData: false,
start: false,
packageManager: 'npm',
- port: 4567,
+ port: 3000,
})
- const env = fs.readFileSync(path.join(projectDir, '.env'), 'utf-8')
- expect(env).toMatch(/SECRET_KEY_BASE=.{128}/)
- expect(env).toContain('SPREE_PORT=4567')
+ const compose = fs.readFileSync(path.join(projectDir, 'docker-compose.dev.yml'), 'utf-8')
+ expect(compose).toContain('context: ./backend')
+ expect(compose).not.toContain('ghcr.io/spree/spree')
})
- it('generates valid package.json with project name', async () => {
+ it('generates .env with SECRET_KEY_BASE and PORT', async () => {
const projectDir = getTempProjectDir()
await scaffold({
directory: projectDir,
- mode: 'backend-only',
+ storefront: true,
sampleData: false,
start: false,
packageManager: 'npm',
- port: 3000,
+ port: 4567,
})
- const content = fs.readFileSync(path.join(projectDir, 'package.json'), 'utf-8')
- const pkg = JSON.parse(content)
- expect(pkg.name).toBe('my-store')
+ const env = fs.readFileSync(path.join(projectDir, '.env'), 'utf-8')
+ expect(env).toMatch(/SECRET_KEY_BASE=.{128}/)
+ expect(env).toContain('SPREE_PORT=4567')
})
- it('does not create storefront directory in backend-only mode', async () => {
+ it('generates valid package.json with project name', async () => {
const projectDir = getTempProjectDir()
await scaffold({
directory: projectDir,
- mode: 'backend-only',
+ storefront: true,
sampleData: false,
start: false,
packageManager: 'npm',
port: 3000,
})
- expect(fs.existsSync(path.join(projectDir, 'apps'))).toBe(false)
+ const content = fs.readFileSync(path.join(projectDir, 'package.json'), 'utf-8')
+ const pkg = JSON.parse(content)
+ expect(pkg.name).toBe('my-store')
+ expect(pkg.scripts.eject).toBe('spree eject')
})
it('rejects non-empty directory', async () => {
@@ -130,7 +141,6 @@ describe('scaffold (backend-only, no-start)', () => {
await expect(
scaffold({
directory: projectDir,
- mode: 'backend-only',
sampleData: false,
start: false,
packageManager: 'npm',
diff --git a/packages/create-spree-app/tests/templates.test.ts b/packages/create-spree-app/tests/templates.test.ts
index ee69ec26cd..e5a9ac1c0e 100644
--- a/packages/create-spree-app/tests/templates.test.ts
+++ b/packages/create-spree-app/tests/templates.test.ts
@@ -1,19 +1,19 @@
import { describe, it, expect } from 'vitest'
-import { dockerComposeContent } from '../src/templates/docker-compose'
+import { dockerComposeContent, dockerComposeDevContent } from '../src/templates/docker-compose'
import { envContent, storefrontEnvContent } from '../src/templates/env'
import { rootPackageJsonContent } from '../src/templates/package-json'
import { readmeContent } from '../src/templates/readme'
import { gitignoreContent } from '../src/templates/gitignore'
describe('dockerComposeContent', () => {
- const content = dockerComposeContent(3000)
+ const content = dockerComposeContent()
it('includes the Spree image', () => {
expect(content).toContain('ghcr.io/spree/spree')
})
it('includes postgres service', () => {
- expect(content).toContain('postgres:17-alpine')
+ expect(content).toContain('postgres:18-alpine')
})
it('includes healthcheck for web service', () => {
@@ -29,7 +29,7 @@ describe('dockerComposeContent', () => {
})
it('uses DATABASE_URL pointing to postgres service', () => {
- expect(content).toContain('DATABASE_URL: postgres://postgres@postgres:5432/spree')
+ expect(content).toContain('DATABASE_URL: postgres://postgres@postgres:5432/spree_production')
})
it('includes redis service and REDIS_URL', () => {
@@ -42,8 +42,7 @@ describe('dockerComposeContent', () => {
expect(content).toContain('SMTP_HOST: mailpit')
})
- it('uses production environment with SSL disabled', () => {
- expect(content).toContain('RAILS_ENV: production')
+ it('disables SSL for local dev', () => {
expect(content).toContain('RAILS_FORCE_SSL: "false"')
expect(content).toContain('RAILS_ASSUME_SSL: "false"')
})
@@ -53,14 +52,28 @@ describe('dockerComposeContent', () => {
})
it('uses SPREE_PORT variable for port mapping', () => {
- const custom = dockerComposeContent(4000)
- expect(custom).toContain('${SPREE_PORT:-3000}:3000')
+ expect(content).toContain('${SPREE_PORT:-3000}:3000')
})
- it('keeps container-internal healthcheck on port 3000 regardless of host port', () => {
- const custom = dockerComposeContent(5000)
- expect(custom).toContain('curl -f http://localhost:3000/up')
- expect(custom).not.toContain('5000/up')
+ it('includes SECRET_KEY_BASE from env', () => {
+ expect(content).toContain('SECRET_KEY_BASE: ${SECRET_KEY_BASE}')
+ })
+})
+
+describe('dockerComposeDevContent', () => {
+ const content = dockerComposeDevContent()
+
+ it('uses build context instead of image', () => {
+ expect(content).toContain('context: ./backend')
+ expect(content).toContain('dockerfile: Dockerfile')
+ expect(content).not.toContain('ghcr.io/spree/spree')
+ })
+
+ it('has same services as production compose', () => {
+ expect(content).toContain('postgres:18-alpine')
+ expect(content).toContain('redis:7-alpine')
+ expect(content).toContain('axllent/mailpit')
+ expect(content).toContain('command: bundle exec sidekiq')
})
})
@@ -70,11 +83,6 @@ describe('envContent', () => {
expect(content).toContain('SECRET_KEY_BASE=my-secret-123')
})
- it('includes SPREE_VERSION_TAG', () => {
- const content = envContent('any', 3000)
- expect(content).toContain('SPREE_VERSION_TAG=')
- })
-
it('includes SPREE_PORT', () => {
const content = envContent('any', 3000)
expect(content).toContain('SPREE_PORT=3000')
@@ -123,6 +131,7 @@ describe('rootPackageJsonContent', () => {
const pkg = JSON.parse(rootPackageJsonContent('my-store'))
expect(pkg.scripts.dev).toBe('spree dev')
expect(pkg.scripts.update).toBe('spree update')
+ expect(pkg.scripts.eject).toBe('spree eject')
expect(pkg.scripts.logs).toBe('spree logs')
expect(pkg.scripts.console).toBe('spree console')
expect(pkg.scripts.down).toContain('docker compose')
@@ -141,31 +150,33 @@ describe('rootPackageJsonContent', () => {
describe('readmeContent', () => {
it('includes the project name as heading', () => {
- const content = readmeContent('my-store', false, 3000)
+ const content = readmeContent('my-store', true, 3000)
expect(content).toContain('# my-store')
})
it('includes admin credentials', () => {
- const content = readmeContent('my-store', false, 3000)
+ const content = readmeContent('my-store', true, 3000)
expect(content).toContain('[email protected]')
expect(content).toContain('spree123')
})
- it('includes storefront section when full-stack', () => {
+ it('includes storefront section', () => {
const content = readmeContent('my-store', true, 3000)
expect(content).toContain('storefront')
expect(content).toContain('npm run dev')
})
- it('omits storefront section when backend-only', () => {
- const content = readmeContent('my-store', false, 3000)
- expect(content).not.toContain('Start the storefront')
+ it('includes eject instructions', () => {
+ const content = readmeContent('my-store', true, 3000)
+ expect(content).toContain('spree eject')
+ expect(content).toContain('backend/')
})
it('uses spree cli commands', () => {
- const content = readmeContent('my-store', false, 3000)
+ const content = readmeContent('my-store', true, 3000)
expect(content).toContain('`spree dev`')
expect(content).toContain('`spree stop`')
+ expect(content).toContain('`spree eject`')
expect(content).toContain('`spree logs`')
expect(content).toContain('`spree console`')
expect(content).toContain('`spree update`')
@@ -174,7 +185,7 @@ describe('readmeContent', () => {
})
it('uses custom port in URLs', () => {
- const content = readmeContent('my-store', false, 4567)
+ const content = readmeContent('my-store', true, 4567)
expect(content).toContain('http://localhost:4567/admin')
expect(content).toContain('http://localhost:4567/api/v3/store')
})
diff --git a/server/.dockerignore b/server/.dockerignore
deleted file mode 100644
index b45fa913ae..0000000000
--- a/server/.dockerignore
+++ /dev/null
@@ -1,44 +0,0 @@
-# See https://docs.docker.com/engine/reference/builder/#dockerignore-file for more about ignoring files.
-
-# Ignore git directory.
-/.git/
-/.gitignore
-
-# Ignore bundler config.
-/.bundle
-
-# Ignore all environment files.
-/.env*
-
-# Ignore all default key files.
-/config/master.key
-/config/credentials/*.key
-
-# Ignore all logfiles and tempfiles.
-/log/*
-/tmp/*
-!/log/.keep
-!/tmp/.keep
-
-# Ignore pidfiles, but keep the directory.
-/tmp/pids/*
-!/tmp/pids/.keep
-
-# Ignore storage (uploaded files in development and any SQLite databases).
-/storage/*
-!/storage/.keep
-/tmp/storage/*
-!/tmp/storage/.keep
-
-# Ignore assets.
-/node_modules/
-/app/assets/builds/*
-!/app/assets/builds/.keep
-/public/assets
-
-# Ignore development files
-/.devcontainer
-
-# Ignore Docker-related files
-/.dockerignore
-/Dockerfile*
diff --git a/server/.gitignore b/server/.gitignore
deleted file mode 100644
index cff1400c47..0000000000
--- a/server/.gitignore
+++ /dev/null
@@ -1,49 +0,0 @@
-# See https://help.github.com/articles/ignoring-files for more about ignoring files.
-#
-# If you find yourself ignoring temporary files generated by your text editor
-# or operating system, you probably want to add a global ignore instead:
-# git config --global core.excludesfile '~/.gitignore_global'
-
-# Ignore bundler config.
-/.bundle
-
-# Ignore all environment files (except templates).
-/.env*
-!/.env*.erb
-
-# Ignore all logfiles and tempfiles.
-/log/*
-/tmp/*
-!/log/.keep
-!/tmp/.keep
-
-# Ignore pidfiles, but keep the directory.
-/tmp/pids/*
-!/tmp/pids/
-!/tmp/pids/.keep
-
-# Ignore storage (uploaded files in development and any SQLite databases).
-/storage/*
-!/storage/.keep
-/tmp/storage/*
-!/tmp/storage/
-!/tmp/storage/.keep
-
-/public/assets
-
-# Ignore master key for decrypting credentials and more.
-/config/master.key
-
-/app/assets/builds/*
-!/app/assets/builds/.keep
-
-.DS_Store
-
-# Ignore all environment files.
-.env
-.env.local
-.env.development
-.env.test
-.env.production
-
-coverage
diff --git a/server/.mise.toml b/server/.mise.toml
deleted file mode 100644
index de4899dd9d..0000000000
--- a/server/.mise.toml
+++ /dev/null
@@ -1,3 +0,0 @@
-[settings]
-idiomatic_version_file_enable_tools = ["ruby"]
-ruby.compile = false
diff --git a/server/.rubocop.yml b/server/.rubocop.yml
deleted file mode 100644
index f9d86d4a54..0000000000
--- a/server/.rubocop.yml
+++ /dev/null
@@ -1,8 +0,0 @@
-# Omakase Ruby styling for Rails
-inherit_gem: { rubocop-rails-omakase: rubocop.yml }
-
-# Overwrite or add rules to create your own house style
-#
-# # Use `[a, [b, c]]` not `[ a, [ b, c ] ]`
-# Layout/SpaceInsideArrayLiteralBrackets:
-# Enabled: false
diff --git a/server/.ruby-version b/server/.ruby-version
deleted file mode 100644
index 1454f6ed4b..0000000000
--- a/server/.ruby-version
+++ /dev/null
@@ -1 +0,0 @@
-4.0.1
diff --git a/server/Dockerfile b/server/Dockerfile
deleted file mode 100644
index ac45bf84d7..0000000000
--- a/server/Dockerfile
+++ /dev/null
@@ -1,61 +0,0 @@
-# syntax=docker/dockerfile:1
-# check=error=true
-
-# Make sure RUBY_VERSION matches the Ruby version in .ruby-version
-ARG RUBY_VERSION=4.0.1
-FROM docker.io/library/ruby:$RUBY_VERSION-slim AS base
-
-# Rails app lives here
-WORKDIR /rails
-
-# Install base packages
-RUN apt-get update -qq && \
- apt-get install --no-install-recommends -y curl libjemalloc2 libvips postgresql-client && \
- ln -s /usr/lib/$(uname -m)-linux-gnu/libjemalloc.so.2 /usr/local/lib/libjemalloc.so && \
- rm -rf /var/lib/apt/lists /var/cache/apt/archives
-
-ENV BUNDLE_PATH="/usr/local/bundle" \
- LD_PRELOAD="/usr/local/lib/libjemalloc.so"
-
-# Throw-away build stage to reduce size of final image
-FROM base AS build
-
-# Install packages needed to build gems
-RUN apt-get update -qq && \
- apt-get install --no-install-recommends -y build-essential git libpq-dev libyaml-dev pkg-config && \
- rm -rf /var/lib/apt/lists /var/cache/apt/archives
-
-# Copy Spree gems (referenced by Gemfile via ../spree)
-COPY spree/ /spree/
-
-# Install application gems
-COPY server/vendor/ ./vendor/
-COPY server/Gemfile.common server/Gemfile server/Gemfile.lock ./
-
-RUN bundle install && \
- rm -rf ~/.bundle/ "${BUNDLE_PATH}"/ruby/*/cache "${BUNDLE_PATH}"/ruby/*/bundler/gems/*/.git
-
-# Copy application code
-COPY server/ .
-
-# Precompile assets
-RUN SECRET_KEY_BASE_DUMMY=1 ./bin/rails assets:precompile
-
-# Final stage for app image
-FROM base
-
-# Run and own only the runtime files as a non-root user for security
-RUN groupadd --system --gid 1000 rails && \
- useradd rails --uid 1000 --gid 1000 --create-home --shell /bin/bash
-USER 1000:1000
-
-# Copy built artifacts: gems, application
-COPY --chown=rails:rails --from=build "${BUNDLE_PATH}" "${BUNDLE_PATH}"
-COPY --chown=rails:rails --from=build /rails /rails
-COPY --chown=rails:rails --from=build /spree /spree
-
-# Entrypoint prepares the database.
-ENTRYPOINT ["/rails/bin/docker-entrypoint"]
-
-EXPOSE 3000
-CMD ["./bin/rails", "server", "-b", "0.0.0.0"]
diff --git a/server/Dockerfile.release b/server/Dockerfile.release
deleted file mode 100644
index a7c928edf7..0000000000
--- a/server/Dockerfile.release
+++ /dev/null
@@ -1,104 +0,0 @@
-# syntax=docker/dockerfile:1
-# check=error=true
-
-# Make sure RUBY_VERSION matches the Ruby version in .ruby-version
-ARG RUBY_VERSION=4.0.1
-FROM docker.io/library/ruby:$RUBY_VERSION-slim AS base
-
-# Rails app lives here
-WORKDIR /rails
-
-# Install base packages
-RUN apt-get update -qq && \
- apt-get install --no-install-recommends -y curl libjemalloc2 libvips postgresql-client && \
- ln -s /usr/lib/$(uname -m)-linux-gnu/libjemalloc.so.2 /usr/local/lib/libjemalloc.so && \
- rm -rf /var/lib/apt/lists /var/cache/apt/archives
-
-ENV BUNDLE_PATH="/usr/local/bundle" \
- LD_PRELOAD="/usr/local/lib/libjemalloc.so" \
- RAILS_ENV="production"
-
-# Stage 1: Build Spree gems from source
-FROM base AS gems
-
-RUN apt-get update -qq && \
- apt-get install --no-install-recommends -y build-essential git && \
- rm -rf /var/lib/apt/lists /var/cache/apt/archives
-
-COPY spree/ /spree/
-WORKDIR /spree
-
-# Build all Spree .gem files with proper versioned names
-RUN mkdir -p /gems && \
- cd core && gem build spree_core.gemspec && mv *.gem /gems/ && cd .. && \
- cd api && gem build spree_api.gemspec && mv *.gem /gems/ && cd .. && \
- gem build spree.gemspec && mv *.gem /gems/ && \
- cd emails && gem build spree_emails.gemspec && mv *.gem /gems/ && cd .. && \
- cd admin && gem build spree_admin.gemspec && mv *.gem /gems/ && cd .. && \
- ruby -r ./core/lib/spree/core/version -e 'puts Spree::VERSION' > /gems/VERSION
-
-# Stage 2: Build application
-FROM base AS build
-
-# Install packages needed to build gems
-RUN apt-get update -qq && \
- apt-get install --no-install-recommends -y build-essential git libpq-dev libyaml-dev pkg-config && \
- rm -rf /var/lib/apt/lists /var/cache/apt/archives
-
-# Copy locally-built Spree gems
-COPY --from=gems /gems/ /gems/
-
-# Create a local gem repository index so Bundler can resolve Spree gems from it
-RUN mkdir -p /local-gems/gems && cp /gems/*.gem /local-gems/gems/ && \
- gem generate_index --directory /local-gems
-
-# Install application gems
-COPY server/Gemfile.common server/Gemfile.release ./
-RUN cp Gemfile.release Gemfile
-
-# Resolve and install gems (SPREE_VERSION env var tells Gemfile.release which version to pin)
-# After install, write a frozen Gemfile that hardcodes versions (no env var or local source at runtime)
-RUN SPREE_VERSION=$(cat /gems/VERSION) && export SPREE_VERSION && \
- bundle config set --local without 'development test' && \
- bundle lock && \
- bundle install && \
- rm -rf ~/.bundle/ "${BUNDLE_PATH}"/ruby/*/cache "${BUNDLE_PATH}"/ruby/*/bundler/gems/*/.git && \
- rm -rf /local-gems /gems && \
- cp Gemfile.common /tmp/Gemfile.frozen && \
- echo "" >> /tmp/Gemfile.frozen && \
- echo "gem 'spree', '$SPREE_VERSION'" >> /tmp/Gemfile.frozen && \
- echo "gem 'spree_core', '$SPREE_VERSION'" >> /tmp/Gemfile.frozen && \
- echo "gem 'spree_api', '$SPREE_VERSION'" >> /tmp/Gemfile.frozen && \
- echo "gem 'spree_emails', '$SPREE_VERSION'" >> /tmp/Gemfile.frozen && \
- echo "gem 'spree_admin', '$SPREE_VERSION'" >> /tmp/Gemfile.frozen && \
- echo "gem 'spree_stripe', github: 'spree/spree_stripe'" >> /tmp/Gemfile.frozen && \
- echo "gem 'spree_i18n'" >> /tmp/Gemfile.frozen && \
- cp Gemfile.lock /tmp/Gemfile.lock.frozen
-
-# Copy application code (overwrites Gemfile/lockfile with dev versions)
-COPY server/ .
-
-# Restore frozen Gemfile/lockfile (no eval_gemfile, no env vars, no local sources)
-RUN cp /tmp/Gemfile.frozen Gemfile && cp /tmp/Gemfile.lock.frozen Gemfile.lock && \
- rm -f Gemfile.common Gemfile.release
-
-# Precompile assets
-RUN SECRET_KEY_BASE_DUMMY=1 ./bin/rails assets:precompile
-
-# Stage 3: Runtime
-FROM base
-
-# Run and own only the runtime files as a non-root user for security
-RUN groupadd --system --gid 1000 rails && \
- useradd rails --uid 1000 --gid 1000 --create-home --shell /bin/bash
-USER 1000:1000
-
-# Copy built artifacts: gems, application
-COPY --chown=rails:rails --from=build "${BUNDLE_PATH}" "${BUNDLE_PATH}"
-COPY --chown=rails:rails --from=build /rails /rails
-
-# Entrypoint prepares the database.
-ENTRYPOINT ["/rails/bin/docker-entrypoint"]
-
-EXPOSE 3000
-CMD ["./bin/rails", "server", "-b", "0.0.0.0"]
diff --git a/server/Gemfile b/server/Gemfile
deleted file mode 100644
index 84e9c66f00..0000000000
--- a/server/Gemfile
+++ /dev/null
@@ -1,31 +0,0 @@
-eval_gemfile("Gemfile.common")
-
-gem "spree", path: "../spree"
-gem "spree_emails", path: "../spree/emails"
-gem "spree_admin", path: "../spree/admin"
-gem "spree_stripe", github: "spree/spree_stripe"
-gem "spree_i18n"
-
-group :development, :test do
- # See https://guides.rubyonrails.org/debugging_rails_applications.html#debugging-with-the-debug-gem
- gem "debug", platforms: %i[ mri windows ], require: "debug/prelude"
-
- # Audits gems for known security defects (use config/bundler-audit.yml to ignore issues)
- gem "bundler-audit", require: false
-
- # Static analysis for security vulnerabilities [https://brakemanscanner.org/]
- gem "brakeman", require: false
-
- # Omakase Ruby styling [https://github.com/rails/rubocop-rails-omakase/]
- gem "rubocop-rails-omakase", require: false
-
- gem "spree_dev_tools"
- gem "letter_opener"
- gem "listen"
- gem "simplecov-cobertura"
-end
-
-group :development do
- # Use console on exceptions pages [https://github.com/rails/web-console]
- gem "web-console"
-end
diff --git a/server/Gemfile.common b/server/Gemfile.common
deleted file mode 100644
index 15e7bdaed7..0000000000
--- a/server/Gemfile.common
+++ /dev/null
@@ -1,55 +0,0 @@
-source "https://rubygems.org"
-
-# Bundle edge Rails instead: gem "rails", github: "rails/rails", branch: "main"
-gem "rails", "~> 8.1.2"
-# The modern asset pipeline for Rails [https://github.com/rails/propshaft]
-gem "propshaft"
-# Use postgresql as the database for Active Record
-gem "pg", "~> 1.1"
-# Use the Puma web server [https://github.com/puma/puma]
-gem "puma", ">= 5.0"
-# Use JavaScript with ESM import maps [https://github.com/rails/importmap-rails]
-gem "importmap-rails"
-# Hotwire's SPA-like page accelerator [https://turbo.hotwired.dev]
-gem "turbo-rails"
-# Hotwire's modest JavaScript framework [https://stimulus.hotwired.dev]
-gem "stimulus-rails"
-# Use Tailwind CSS [https://github.com/rails/tailwindcss-rails]
-gem "tailwindcss-rails"
-
-# Use Active Model has_secure_password [https://guides.rubyonrails.org/active_model_basics.html#securepassword]
-# gem "bcrypt", "~> 3.1.7"
-
-# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
-gem "tzinfo-data", platforms: %i[ windows jruby ]
-
-# Use Redis for caching, background jobs (Sidekiq), and Action Cable
-gem "redis"
-gem "sidekiq"
-
-# Reduces boot times through caching; required in config/boot.rb
-gem "bootsnap", require: false
-
-# Add HTTP asset caching/compression and X-Sendfile acceleration to Puma [https://github.com/basecamp/thruster/]
-gem "thruster", require: false
-
-# Use Active Storage variants [https://guides.rubyonrails.org/active_storage_overview.html#transforming-images]
-gem "image_processing", "~> 1.2"
-
-# Authentication
-gem "devise"
-
-# AWS S3 / Cloudflare R2 storage
-gem "aws-sdk-s3", require: false
-
-# Sentry for error/performance monitoring
-gem 'sentry-ruby'
-gem 'sentry-rails'
-gem 'sentry-sidekiq'
-
-# Condensed single-line request logs
-gem 'lograge'
-
-group :development, :test do
- gem "dotenv-rails"
-end
diff --git a/server/Gemfile.lock b/server/Gemfile.lock
deleted file mode 100644
index a27a84a553..0000000000
--- a/server/Gemfile.lock
+++ /dev/null
@@ -1,1189 +0,0 @@
-GIT
- remote: https://github.com/spree/spree_stripe.git
- revision: 18e1f7ef27b8461b7071187a07b977c76e3f1ba5
- specs:
- spree_stripe (1.6.0.beta)
- spree (>= 5.4.0.beta)
- spree_admin (>= 5.4.0.beta)
- stripe (>= 10.1, < 19)
- stripe_event (~> 2.14)
-
-PATH
- remote: ../spree/admin
- specs:
- spree_admin (5.4.0.beta9)
- active_link_to
- breadcrumbs_on_rails (~> 4.1)
- chartkick (~> 5.0)
- groupdate (~> 6.2)
- hightop (~> 0.3)
- importmap-rails
- inline_svg (~> 1.10)
- local_time (~> 3.0)
- mapkick-rb (~> 0.1)
- pagy (~> 43.0)
- ruby-oembed (~> 0.18)
- spree (>= 5.4.0.beta9)
- stimulus-rails
- tailwindcss-rails (>= 4.0)
- tailwindcss-ruby (>= 4.0)
- tinymce-rails (~> 6.8.5)
- turbo-rails
-
-PATH
- remote: ../spree/emails
- specs:
- spree_emails (5.4.0.beta9)
- spree (>= 5.4.0.beta9)
-
-PATH
- remote: ../spree
- specs:
- spree (5.4.0.beta9)
- spree_api (= 5.4.0.beta9)
- spree_core (= 5.4.0.beta9)
- spree_api (5.4.0.beta9)
- alba (~> 3.0)
- oj (~> 3.16)
- pagy (~> 43.0)
- spree_core (= 5.4.0.beta9)
- typelizer (~> 0.10.0)
- spree_core (5.4.0.beta9)
- active_storage_validations (= 1.3.0)
- acts-as-taggable-on
- acts_as_list (>= 0.8)
- ar_lazy_preload (~> 2.0)
- awesome_nested_set (~> 3.3, >= 3.3.1)
- bcrypt (~> 3.1)
- benchmark
- cancancan (~> 3.2)
- carmen (>= 1.0)
- countries
- friendly_id (~> 5.2, >= 5.2.1)
- friendly_id-mobility (~> 1.0)
- geocoder
- highline (>= 2, < 4)
- image_processing (~> 1.2)
- jwt (~> 3.1)
- mobility (~> 1.3, >= 1.3.2)
- mobility-actiontext (~> 1.1)
- mobility-ransack (~> 1.2)
- monetize (~> 1.9)
- money (~> 6.13)
- name_of_person (~> 1.1)
- ostruct
- paranoia (>= 2.4)
- phonelib (~> 0.10)
- rails (>= 7.2, < 8.2)
- ransack (>= 4.1)
- rexml
- safely_block (~> 0.4)
- sqids (~> 0.2)
- ssrf_filter (~> 1.0)
- state_machines-activemodel (~> 0.100)
- state_machines-activerecord (~> 0.100)
- stringex
- tracking_number
- validates_zipcode
- wannabe_bool
-
-GEM
- remote: https://rubygems.org/
- specs:
- action_text-trix (2.1.17)
- railties
- actioncable (8.1.2)
- actionpack (= 8.1.2)
- activesupport (= 8.1.2)
- nio4r (~> 2.0)
- websocket-driver (>= 0.6.1)
- zeitwerk (~> 2.6)
- actionmailbox (8.1.2)
- actionpack (= 8.1.2)
- activejob (= 8.1.2)
- activerecord (= 8.1.2)
- activestorage (= 8.1.2)
- activesupport (= 8.1.2)
- mail (>= 2.8.0)
- actionmailer (8.1.2)
- actionpack (= 8.1.2)
- actionview (= 8.1.2)
- activejob (= 8.1.2)
- activesupport (= 8.1.2)
- mail (>= 2.8.0)
- rails-dom-testing (~> 2.2)
- actionpack (8.1.2)
- actionview (= 8.1.2)
- activesupport (= 8.1.2)
- nokogiri (>= 1.8.5)
- rack (>= 2.2.4)
- rack-session (>= 1.0.1)
- rack-test (>= 0.6.3)
- rails-dom-testing (~> 2.2)
- rails-html-sanitizer (~> 1.6)
- useragent (~> 0.16)
- actiontext (8.1.2)
- action_text-trix (~> 2.1.15)
- actionpack (= 8.1.2)
- activerecord (= 8.1.2)
- activestorage (= 8.1.2)
- activesupport (= 8.1.2)
- globalid (>= 0.6.0)
- nokogiri (>= 1.8.5)
- actionview (8.1.2)
- activesupport (= 8.1.2)
- builder (~> 3.1)
- erubi (~> 1.11)
- rails-dom-testing (~> 2.2)
- rails-html-sanitizer (~> 1.6)
- active_link_to (1.0.5)
- actionpack
- addressable
- active_storage_validations (1.3.0)
- activejob (>= 6.1.4)
- activemodel (>= 6.1.4)
- activestorage (>= 6.1.4)
- activesupport (>= 6.1.4)
- activejob (8.1.2)
- activesupport (= 8.1.2)
- globalid (>= 0.3.6)
- activemodel (8.1.2)
- activesupport (= 8.1.2)
- activerecord (8.1.2)
- activemodel (= 8.1.2)
- activesupport (= 8.1.2)
- timeout (>= 0.4.0)
- activestorage (8.1.2)
- actionpack (= 8.1.2)
- activejob (= 8.1.2)
- activerecord (= 8.1.2)
- activesupport (= 8.1.2)
- marcel (~> 1.0)
- activesupport (8.1.2)
- base64
- bigdecimal
- concurrent-ruby (~> 1.0, >= 1.3.1)
- connection_pool (>= 2.2.5)
- drb
- i18n (>= 1.6, < 2)
- json
- logger (>= 1.4.2)
- minitest (>= 5.1)
- securerandom (>= 0.3)
- tzinfo (~> 2.0, >= 2.0.5)
- uri (>= 0.13.1)
- acts-as-taggable-on (13.0.0)
- activerecord (>= 7.1, < 8.2)
- zeitwerk (>= 2.4, < 3.0)
- acts_as_list (1.2.6)
- activerecord (>= 6.1)
- activesupport (>= 6.1)
- addressable (2.8.9)
- public_suffix (>= 2.0.2, < 8.0)
- alba (3.10.0)
- ar_lazy_preload (2.1.1)
- ast (2.4.3)
- async (2.38.0)
- console (~> 1.29)
- fiber-annotation
- io-event (~> 1.11)
- metrics (~> 0.12)
- traces (~> 0.18)
- async-http (0.94.2)
- async (>= 2.10.2)
- async-pool (~> 0.11)
- io-endpoint (~> 0.14)
- io-stream (~> 0.6)
- metrics (~> 0.12)
- protocol-http (~> 0.58)
- protocol-http1 (~> 0.36)
- protocol-http2 (~> 0.22)
- protocol-url (~> 0.2)
- traces (~> 0.10)
- async-http-faraday (0.22.1)
- async-http (~> 0.42)
- faraday
- async-pool (0.11.2)
- async (>= 2.0)
- awesome_nested_set (3.9.0)
- activerecord (>= 4.0.0, < 8.2)
- awesome_print (1.9.2)
- aws-eventstream (1.4.0)
- aws-partitions (1.1226.0)
- aws-sdk-core (3.243.0)
- aws-eventstream (~> 1, >= 1.3.0)
- aws-partitions (~> 1, >= 1.992.0)
- aws-sigv4 (~> 1.9)
- base64
- bigdecimal
- jmespath (~> 1, >= 1.6.1)
- logger
- aws-sdk-kms (1.122.0)
- aws-sdk-core (~> 3, >= 3.241.4)
- aws-sigv4 (~> 1.5)
- aws-sdk-s3 (1.216.0)
- aws-sdk-core (~> 3, >= 3.243.0)
- aws-sdk-kms (~> 1)
- aws-sigv4 (~> 1.5)
- aws-sigv4 (1.12.1)
- aws-eventstream (~> 1, >= 1.0.2)
- base64 (0.3.0)
- bcrypt (3.1.21)
- benchmark (0.5.0)
- bigdecimal (4.0.1)
- bindex (0.8.1)
- bootsnap (1.23.0)
- msgpack (~> 1.2)
- brakeman (8.0.4)
- racc
- breadcrumbs_on_rails (4.1.0)
- railties (>= 5.0)
- builder (3.3.0)
- bundler-audit (0.9.3)
- bundler (>= 1.2.0)
- thor (~> 1.0)
- cancancan (3.6.1)
- capybara (3.40.0)
- addressable
- matrix
- mini_mime (>= 0.1.3)
- nokogiri (~> 1.11)
- rack (>= 1.6.0)
- rack-test (>= 0.6.3)
- regexp_parser (>= 1.5, < 3.0)
- xpath (~> 3.2)
- capybara-screenshot (1.0.27)
- capybara (>= 1.0, < 4)
- launchy
- carmen (1.1.3)
- activesupport (>= 3.0.0)
- chartkick (5.2.1)
- childprocess (5.1.0)
- logger (~> 1.5)
- coderay (1.1.3)
- concurrent-ruby (1.3.6)
- connection_pool (3.0.2)
- console (1.34.3)
- fiber-annotation
- fiber-local (~> 1.1)
- json
- countries (8.1.0)
- unaccent (~> 0.3)
- crass (1.0.6)
- csv (3.3.5)
- database_cleaner (2.1.0)
- database_cleaner-active_record (>= 2, < 3)
- database_cleaner-active_record (2.2.2)
- activerecord (>= 5.a)
- database_cleaner-core (~> 2.0)
- database_cleaner-core (2.0.1)
- date (3.5.1)
- debug (1.11.1)
- irb (~> 1.10)
- reline (>= 0.3.8)
- devise (5.0.3)
- bcrypt (~> 3.0)
- orm_adapter (~> 0.1)
- railties (>= 7.0)
- responders
- warden (~> 1.2.3)
- diff-lcs (1.6.2)
- docile (1.4.1)
- dotenv (3.2.0)
- dotenv-rails (3.2.0)
- dotenv (= 3.2.0)
- railties (>= 6.1)
- drb (2.2.3)
- erb (6.0.2)
- erubi (1.13.1)
- factory_bot (6.5.6)
- activesupport (>= 6.1.0)
- factory_bot_rails (6.5.1)
- factory_bot (~> 6.5)
- railties (>= 6.1.0)
- faraday (2.14.1)
- faraday-net_http (>= 2.0, < 3.5)
- json
- logger
- faraday-http-cache (2.6.1)
- faraday (>= 0.8)
- faraday-net_http (3.4.2)
- net-http (~> 0.5)
- ffaker (2.25.0)
- ffi (1.17.3-aarch64-linux-gnu)
- ffi (1.17.3-aarch64-linux-musl)
- ffi (1.17.3-arm-linux-gnu)
- ffi (1.17.3-arm-linux-musl)
- ffi (1.17.3-arm64-darwin)
- ffi (1.17.3-x86_64-darwin)
- ffi (1.17.3-x86_64-linux-gnu)
- ffi (1.17.3-x86_64-linux-musl)
- fiber-annotation (0.2.0)
- fiber-local (1.1.0)
- fiber-storage
- fiber-storage (1.0.1)
- friendly_id (5.5.1)
- activerecord (>= 4.0.0)
- friendly_id-mobility (1.0.5)
- friendly_id (>= 5.0.0, < 5.6)
- mobility (>= 1.0.1, < 2.0)
- gem-release (2.2.4)
- geocoder (1.8.6)
- base64 (>= 0.1.0)
- csv (>= 3.0.0)
- github_changelog_generator (1.17.0)
- activesupport
- async (>= 1.25.0)
- async-http-faraday
- benchmark
- faraday-http-cache
- octokit (~> 4.6)
- rainbow (>= 2.2.1)
- rake (>= 10.0)
- globalid (1.3.0)
- activesupport (>= 6.1)
- groupdate (6.7.0)
- activesupport (>= 7.1)
- highline (3.1.2)
- reline
- hightop (0.6.0)
- activesupport (>= 7.1)
- i18n (1.14.8)
- concurrent-ruby (~> 1.0)
- i18n-tasks (1.1.2)
- activesupport (>= 4.0.2)
- ast (>= 2.1.0)
- erubi
- highline (>= 3.0.0)
- i18n
- parser (>= 3.2.2.1)
- prism
- rails-i18n
- rainbow (>= 2.2.2, < 4.0)
- ruby-progressbar (~> 1.8, >= 1.8.1)
- terminal-table (>= 1.5.1)
- i18n_data (1.1.0)
- simple_po_parser (~> 1.1)
- image_processing (1.14.0)
- mini_magick (>= 4.9.5, < 6)
- ruby-vips (>= 2.0.17, < 3)
- importmap-rails (2.2.3)
- actionpack (>= 6.0.0)
- activesupport (>= 6.0.0)
- railties (>= 6.0.0)
- inline_svg (1.10.0)
- activesupport (>= 3.0)
- nokogiri (>= 1.6)
- io-console (0.8.2)
- io-endpoint (0.17.2)
- io-event (1.14.4)
- io-stream (0.11.1)
- irb (1.17.0)
- pp (>= 0.6.0)
- prism (>= 1.3.0)
- rdoc (>= 4.0.0)
- reline (>= 0.4.2)
- jmespath (1.6.2)
- json (2.19.1)
- json-schema (6.2.0)
- addressable (~> 2.8)
- bigdecimal (>= 3.1, < 5)
- jsonapi-rspec (0.0.11)
- rspec-core
- rspec-expectations
- jwt (3.1.2)
- base64
- kaminari (1.2.2)
- activesupport (>= 4.1.0)
- kaminari-actionview (= 1.2.2)
- kaminari-activerecord (= 1.2.2)
- kaminari-core (= 1.2.2)
- kaminari-actionview (1.2.2)
- actionview
- kaminari-core (= 1.2.2)
- kaminari-activerecord (1.2.2)
- activerecord
- kaminari-core (= 1.2.2)
- kaminari-core (1.2.2)
- kaminari-i18n (0.5.0)
- kaminari
- rails
- language_server-protocol (3.17.0.5)
- launchy (3.1.1)
- addressable (~> 2.8)
- childprocess (~> 5.0)
- logger (~> 1.6)
- letter_opener (1.10.0)
- launchy (>= 2.2, < 4)
- lint_roller (1.1.0)
- listen (3.10.0)
- logger
- rb-fsevent (~> 0.10, >= 0.10.3)
- rb-inotify (~> 0.9, >= 0.9.10)
- local_time (3.0.3)
- logger (1.7.0)
- lograge (0.14.0)
- actionpack (>= 4)
- activesupport (>= 4)
- railties (>= 4)
- request_store (~> 1.0)
- loofah (2.25.1)
- crass (~> 1.0.2)
- nokogiri (>= 1.12.0)
- mail (2.9.0)
- logger
- mini_mime (>= 0.1.1)
- net-imap
- net-pop
- net-smtp
- mapkick-rb (0.2.0)
- marcel (1.1.0)
- matrix (0.4.3)
- mcp (0.8.0)
- json-schema (>= 4.1)
- method_source (1.1.0)
- metrics (0.15.0)
- mini_magick (5.3.1)
- logger
- mini_mime (1.1.5)
- minitest (6.0.2)
- drb (~> 2.0)
- prism (~> 1.5)
- mobility (1.3.2)
- i18n (>= 0.6.10, < 2)
- request_store (~> 1.0)
- mobility-actiontext (1.1.1)
- actiontext (>= 6.0)
- mobility (~> 1.2)
- mobility-ransack (1.2.2)
- mobility (>= 1.0.1, < 2.0)
- ransack (>= 1.8.0, < 5.0)
- monetize (1.13.0)
- money (~> 6.12)
- money (6.19.0)
- i18n (>= 0.6.4, <= 2)
- msgpack (1.8.0)
- name_of_person (1.1.3)
- activesupport (>= 5.2.0)
- net-http (0.9.1)
- uri (>= 0.11.1)
- net-imap (0.6.3)
- date
- net-protocol
- net-pop (0.1.2)
- net-protocol
- net-protocol (0.2.2)
- timeout
- net-smtp (0.5.1)
- net-protocol
- nio4r (2.7.5)
- nokogiri (1.19.1-aarch64-linux-gnu)
- racc (~> 1.4)
- nokogiri (1.19.1-aarch64-linux-musl)
- racc (~> 1.4)
- nokogiri (1.19.1-arm-linux-gnu)
- racc (~> 1.4)
- nokogiri (1.19.1-arm-linux-musl)
- racc (~> 1.4)
- nokogiri (1.19.1-arm64-darwin)
- racc (~> 1.4)
- nokogiri (1.19.1-x86_64-darwin)
- racc (~> 1.4)
- nokogiri (1.19.1-x86_64-linux-gnu)
- racc (~> 1.4)
- nokogiri (1.19.1-x86_64-linux-musl)
- racc (~> 1.4)
- octokit (4.25.1)
- faraday (>= 1, < 3)
- sawyer (~> 0.9)
- oj (3.16.16)
- bigdecimal (>= 3.0)
- ostruct (>= 0.2)
- orm_adapter (0.5.0)
- ostruct (0.6.3)
- pagy (43.3.3)
- json
- uri
- yaml
- parallel (1.27.0)
- paranoia (3.1.0)
- activerecord (>= 7, < 8.2)
- parser (3.3.10.2)
- ast (~> 2.4.1)
- racc
- pg (1.6.3)
- pg (1.6.3-aarch64-linux)
- pg (1.6.3-aarch64-linux-musl)
- pg (1.6.3-arm64-darwin)
- pg (1.6.3-x86_64-darwin)
- pg (1.6.3-x86_64-linux)
- pg (1.6.3-x86_64-linux-musl)
- phonelib (0.10.16)
- pp (0.6.3)
- prettyprint
- prettyprint (0.2.0)
- prism (1.9.0)
- propshaft (1.3.1)
- actionpack (>= 7.0.0)
- activesupport (>= 7.0.0)
- rack
- protocol-hpack (1.5.1)
- protocol-http (0.60.0)
- protocol-http1 (0.37.0)
- protocol-http (~> 0.58)
- protocol-http2 (0.24.0)
- protocol-hpack (~> 1.4)
- protocol-http (~> 0.47)
- protocol-url (0.4.0)
- pry (0.16.0)
- coderay (~> 1.1)
- method_source (~> 1.0)
- reline (>= 0.6.0)
- psych (5.3.1)
- date
- stringio
- public_suffix (7.0.5)
- puma (7.2.0)
- nio4r (~> 2.0)
- racc (1.8.1)
- rack (3.2.5)
- rack-session (2.1.1)
- base64 (>= 0.1.0)
- rack (>= 3.0.0)
- rack-test (2.2.0)
- rack (>= 1.3)
- rackup (2.3.1)
- rack (>= 3)
- rails (8.1.2)
- actioncable (= 8.1.2)
- actionmailbox (= 8.1.2)
- actionmailer (= 8.1.2)
- actionpack (= 8.1.2)
- actiontext (= 8.1.2)
- actionview (= 8.1.2)
- activejob (= 8.1.2)
- activemodel (= 8.1.2)
- activerecord (= 8.1.2)
- activestorage (= 8.1.2)
- activesupport (= 8.1.2)
- bundler (>= 1.15.0)
- railties (= 8.1.2)
- rails-controller-testing (1.0.5)
- actionpack (>= 5.0.1.rc1)
- actionview (>= 5.0.1.rc1)
- activesupport (>= 5.0.1.rc1)
- rails-dom-testing (2.3.0)
- activesupport (>= 5.0.0)
- minitest
- nokogiri (>= 1.6)
- rails-html-sanitizer (1.7.0)
- loofah (~> 2.25)
- nokogiri (>= 1.15.7, != 1.16.7, != 1.16.6, != 1.16.5, != 1.16.4, != 1.16.3, != 1.16.2, != 1.16.1, != 1.16.0.rc1, != 1.16.0)
- rails-i18n (8.1.0)
- i18n (>= 0.7, < 2)
- railties (>= 8.0.0, < 9)
- railties (8.1.2)
- actionpack (= 8.1.2)
- activesupport (= 8.1.2)
- irb (~> 1.13)
- rackup (>= 1.0.0)
- rake (>= 12.2)
- thor (~> 1.0, >= 1.2.2)
- tsort (>= 0.2)
- zeitwerk (~> 2.6)
- rainbow (3.1.1)
- rake (13.3.1)
- ransack (4.4.1)
- activerecord (>= 7.2)
- activesupport (>= 7.2)
- i18n
- rb-fsevent (0.11.2)
- rb-inotify (0.11.1)
- ffi (~> 1.0)
- rbs (3.10.3)
- logger
- tsort
- rdoc (7.2.0)
- erb
- psych (>= 4.0.0)
- tsort
- redis (5.4.1)
- redis-client (>= 0.22.0)
- redis-client (0.27.0)
- connection_pool
- regexp_parser (2.11.3)
- reline (0.6.3)
- io-console (~> 0.5)
- request_store (1.7.0)
- rack (>= 1.4)
- responders (3.2.0)
- actionpack (>= 7.0)
- railties (>= 7.0)
- rexml (3.4.4)
- rspec-activemodel-mocks (1.3.0)
- activemodel (>= 3.0)
- activesupport (>= 3.0)
- rspec-mocks (>= 2.99, < 4.0)
- rspec-core (3.13.6)
- rspec-support (~> 3.13.0)
- rspec-expectations (3.13.5)
- diff-lcs (>= 1.2.0, < 2.0)
- rspec-support (~> 3.13.0)
- rspec-mocks (3.13.8)
- diff-lcs (>= 1.2.0, < 2.0)
- rspec-support (~> 3.13.0)
- rspec-rails (8.0.4)
- actionpack (>= 7.2)
- activesupport (>= 7.2)
- railties (>= 7.2)
- rspec-core (>= 3.13.0, < 5.0.0)
- rspec-expectations (>= 3.13.0, < 5.0.0)
- rspec-mocks (>= 3.13.0, < 5.0.0)
- rspec-support (>= 3.13.0, < 5.0.0)
- rspec-retry (0.6.2)
- rspec-core (> 3.3)
- rspec-support (3.13.7)
- rspec_junit_formatter (0.6.0)
- rspec-core (>= 2, < 4, != 2.12.0)
- rubocop (1.85.1)
- json (~> 2.3)
- language_server-protocol (~> 3.17.0.2)
- lint_roller (~> 1.1.0)
- mcp (~> 0.6)
- parallel (~> 1.10)
- parser (>= 3.3.0.2)
- rainbow (>= 2.2.2, < 4.0)
- regexp_parser (>= 2.9.3, < 3.0)
- rubocop-ast (>= 1.49.0, < 2.0)
- ruby-progressbar (~> 1.7)
- unicode-display_width (>= 2.4.0, < 4.0)
- rubocop-ast (1.49.1)
- parser (>= 3.3.7.2)
- prism (~> 1.7)
- rubocop-performance (1.26.1)
- lint_roller (~> 1.1)
- rubocop (>= 1.75.0, < 2.0)
- rubocop-ast (>= 1.47.1, < 2.0)
- rubocop-rails (2.34.3)
- activesupport (>= 4.2.0)
- lint_roller (~> 1.1)
- rack (>= 1.1)
- rubocop (>= 1.75.0, < 2.0)
- rubocop-ast (>= 1.44.0, < 2.0)
- rubocop-rails-omakase (1.1.0)
- rubocop (>= 1.72)
- rubocop-performance (>= 1.24)
- rubocop-rails (>= 2.30)
- ruby-lsp (0.26.8)
- language_server-protocol (~> 3.17.0)
- prism (>= 1.2, < 2.0)
- rbs (>= 3, < 5)
- ruby-oembed (0.18.1)
- ruby-progressbar (1.13.0)
- ruby-vips (2.3.0)
- ffi (~> 1.12)
- logger
- rubyzip (2.4.1)
- safely_block (0.5.0)
- sawyer (0.9.3)
- addressable (>= 2.3.5)
- faraday (>= 0.17.3, < 3)
- securerandom (0.4.1)
- selenium-webdriver (4.10.0)
- rexml (~> 3.2, >= 3.2.5)
- rubyzip (>= 1.2.2, < 3.0)
- websocket (~> 1.0)
- sentry-rails (6.4.1)
- railties (>= 5.2.0)
- sentry-ruby (~> 6.4.1)
- sentry-ruby (6.4.1)
- bigdecimal
- concurrent-ruby (~> 1.0, >= 1.0.2)
- logger
- sentry-sidekiq (6.4.1)
- sentry-ruby (~> 6.4.1)
- sidekiq (>= 5.0)
- sidekiq (8.1.1)
- connection_pool (>= 3.0.0)
- json (>= 2.16.0)
- logger (>= 1.7.0)
- rack (>= 3.2.0)
- redis-client (>= 0.26.0)
- simple_po_parser (1.1.6)
- simplecov (0.22.0)
- docile (~> 1.1)
- simplecov-html (~> 0.11)
- simplecov_json_formatter (~> 0.1)
- simplecov-cobertura (3.1.0)
- rexml
- simplecov (~> 0.19)
- simplecov-html (0.13.2)
- simplecov_json_formatter (0.1.4)
- spree_dev_tools (0.5.3)
- awesome_print
- brakeman
- capybara
- capybara-screenshot
- database_cleaner
- dotenv
- factory_bot
- factory_bot_rails
- ffaker
- gem-release
- github_changelog_generator
- i18n-tasks
- jsonapi-rspec
- pry
- puma
- rails-controller-testing
- rspec-activemodel-mocks
- rspec-rails
- rspec-retry
- rspec_junit_formatter
- ruby-lsp (>= 0.23.0)
- selenium-webdriver (>= 4.10)
- simplecov
- spree (>= 5.0)
- timecop
- webdrivers
- spree_extension (1.0.2)
- thor (~> 1.0)
- spree_i18n (5.3.2)
- i18n_data
- kaminari-i18n
- rails-i18n
- spree_core (>= 4.2.0.rc3)
- spree_extension
- sqids (0.2.2)
- ssrf_filter (1.3.0)
- state_machines (0.100.4)
- state_machines-activemodel (0.101.0)
- activemodel (>= 7.2)
- state_machines (>= 0.100.4)
- state_machines-activerecord (0.100.0)
- activerecord (>= 7.2)
- state_machines-activemodel (>= 0.100.0)
- stimulus-rails (1.3.4)
- railties (>= 6.0.0)
- stringex (2.8.6)
- stringio (3.2.0)
- stripe (18.4.2)
- stripe_event (2.14.0)
- activesupport (>= 3.1)
- stripe (>= 2.8, < 19)
- tailwindcss-rails (4.4.0)
- railties (>= 7.0.0)
- tailwindcss-ruby (~> 4.0)
- tailwindcss-ruby (4.2.1)
- tailwindcss-ruby (4.2.1-aarch64-linux-gnu)
- tailwindcss-ruby (4.2.1-aarch64-linux-musl)
- tailwindcss-ruby (4.2.1-arm64-darwin)
- tailwindcss-ruby (4.2.1-x86_64-darwin)
- tailwindcss-ruby (4.2.1-x86_64-linux-gnu)
- tailwindcss-ruby (4.2.1-x86_64-linux-musl)
- terminal-table (4.0.0)
- unicode-display_width (>= 1.1.1, < 4)
- thor (1.5.0)
- thruster (0.1.19)
- thruster (0.1.19-aarch64-linux)
- thruster (0.1.19-arm64-darwin)
- thruster (0.1.19-x86_64-darwin)
- thruster (0.1.19-x86_64-linux)
- timecop (0.9.10)
- timeout (0.6.1)
- tinymce-rails (6.8.6.1)
- railties (>= 3.1.1)
- traces (0.18.2)
- tracking_number (2.4.0)
- activesupport (>= 4.2.5)
- json (>= 1.8.3)
- tsort (0.2.0)
- turbo-rails (2.0.23)
- actionpack (>= 7.1.0)
- railties (>= 7.1.0)
- typelizer (0.10.0)
- benchmark
- railties (>= 6.0.0)
- tzinfo (2.0.6)
- concurrent-ruby (~> 1.0)
- unaccent (0.4.0)
- unicode-display_width (3.2.0)
- unicode-emoji (~> 4.1)
- unicode-emoji (4.2.0)
- uri (1.1.1)
- useragent (0.16.11)
- validates_zipcode (0.6.0)
- activemodel (>= 4.2.0)
- wannabe_bool (0.7.1)
- warden (1.2.9)
- rack (>= 2.0.9)
- web-console (4.3.0)
- actionview (>= 8.0.0)
- bindex (>= 0.4.0)
- railties (>= 8.0.0)
- webdrivers (5.3.1)
- nokogiri (~> 1.6)
- rubyzip (>= 1.3.0)
- selenium-webdriver (~> 4.0, < 4.11)
- websocket (1.2.11)
- websocket-driver (0.8.0)
- base64
- websocket-extensions (>= 0.1.0)
- websocket-extensions (0.1.5)
- xpath (3.2.0)
- nokogiri (~> 1.8)
- yaml (0.4.0)
- zeitwerk (2.7.5)
-
-PLATFORMS
- aarch64-linux
- aarch64-linux-gnu
- aarch64-linux-musl
- arm-linux-gnu
- arm-linux-musl
- arm64-darwin
- x86_64-darwin
- x86_64-linux
- x86_64-linux-gnu
- x86_64-linux-musl
-
-DEPENDENCIES
- aws-sdk-s3
- bootsnap
- brakeman
- bundler-audit
- debug
- devise
- dotenv-rails
- image_processing (~> 1.2)
- importmap-rails
- letter_opener
- listen
- lograge
- pg (~> 1.1)
- propshaft
- puma (>= 5.0)
- rails (~> 8.1.2)
- redis
- rubocop-rails-omakase
- sentry-rails
- sentry-ruby
- sentry-sidekiq
- sidekiq
- simplecov-cobertura
- spree!
- spree_admin!
- spree_dev_tools
- spree_emails!
- spree_i18n
- spree_stripe!
- stimulus-rails
- tailwindcss-rails
- thruster
- turbo-rails
- tzinfo-data
- web-console
-
-CHECKSUMS
- action_text-trix (2.1.17) sha256=b44691639d77e67169dc054ceacd1edc04d44dc3e4c6a427aa155a2beb4cc951
- actioncable (8.1.2) sha256=dc31efc34cca9cdefc5c691ddb8b4b214c0ea5cd1372108cbc1377767fb91969
- actionmailbox (8.1.2) sha256=058b2fb1980e5d5a894f675475fcfa45c62631103d5a2596d9610ec81581889b
- actionmailer (8.1.2) sha256=f4c1d2060f653bfe908aa7fdc5a61c0e5279670de992146582f2e36f8b9175e9
- actionpack (8.1.2) sha256=ced74147a1f0daafaa4bab7f677513fd4d3add574c7839958f7b4f1de44f8423
- actiontext (8.1.2) sha256=0bf57da22a9c19d970779c3ce24a56be31b51c7640f2763ec64aa72e358d2d2d
- actionview (8.1.2) sha256=80455b2588911c9b72cec22d240edacb7c150e800ef2234821269b2b2c3e2e5b
- active_link_to (1.0.5) sha256=4830847b3d14589df1e9fc62038ceec015257fce975ec1c2a77836c461b139ba
- active_storage_validations (1.3.0) sha256=788e4189d51c7b55049bf2825ede964baa2fe531e22a31c59f67a962ebf8d71e
- activejob (8.1.2) sha256=908dab3713b101859536375819f4156b07bdf4c232cc645e7538adb9e302f825
- activemodel (8.1.2) sha256=e21358c11ce68aed3f9838b7e464977bc007b4446c6e4059781e1d5c03bcf33e
- activerecord (8.1.2) sha256=acfbe0cadfcc50fa208011fe6f4eb01cae682ebae0ef57145ba45380c74bcc44
- activestorage (8.1.2) sha256=8a63a48c3999caeee26a59441f813f94681fc35cc41aba7ce1f836add04fba76
- activesupport (8.1.2) sha256=88842578ccd0d40f658289b0e8c842acfe9af751afee2e0744a7873f50b6fdae
- acts-as-taggable-on (13.0.0) sha256=dca776c6ddebc458d175b57554ad692488e283f27047117e01ed871f1cba6135
- acts_as_list (1.2.6) sha256=8345380900b7bee620c07ad00991ccee59af3d8c9e8574f426e321da2865fdc8
- addressable (2.8.9) sha256=cc154fcbe689711808a43601dee7b980238ce54368d23e127421753e46895485
- alba (3.10.0) sha256=52769d2328da35c4f1bbcfe96b3931b9c8595667307a902573868b1cf6d65d79
- ar_lazy_preload (2.1.1) sha256=47b8240fd1bdceb9a6b66f756cfdda6292bc213edf5a8be5f37299077ae7a734
- ast (2.4.3) sha256=954615157c1d6a382bc27d690d973195e79db7f55e9765ac7c481c60bdb4d383
- async (2.38.0) sha256=f95d00da2eb72e2c5340a6d78c321ec70cec65cbeceb0dc2cb2a32ff17a0f4cf
- async-http (0.94.2) sha256=c5ca94b337976578904a373833abe5b8dfb466a2946af75c4ae38c409c5c78b2
- async-http-faraday (0.22.1) sha256=414c3197f32157bc0a7a187b1fb4c669097a8ef71832613eff2371c9808e9923
- async-pool (0.11.2) sha256=0a43a17b02b04d9c451b7d12fafa9a50e55dc6dd00d4369aca00433f16a7e3ed
- awesome_nested_set (3.9.0) sha256=3ce99e816550f97f4de118e621630070aacf24928b920fe4a68846578a8daaed
- awesome_print (1.9.2) sha256=e99b32b704acff16d768b3468680793ced40bfdc4537eb07e06a4be11133786e
- aws-eventstream (1.4.0) sha256=116bf85c436200d1060811e6f5d2d40c88f65448f2125bc77ffce5121e6e183b
- aws-partitions (1.1226.0) sha256=66fde74a9b53de8df53d511fdf2d898cb647d804ba1db34a6fe9b256fed449a8
- aws-sdk-core (3.243.0) sha256=a014eef785124b71d28325783fa422a1512f8421ec9b6e3931c8b0ca3fbb0f1c
- aws-sdk-kms (1.122.0) sha256=47ce3f51b26bd7d76f1270cfdfca17b40073ecd3219c8c9400788712abfb4eb8
- aws-sdk-s3 (1.216.0) sha256=a3bf6191e6f7a3dfb04b7cc73409f059394be559e4aff92d2a764341e4d90af4
- aws-sigv4 (1.12.1) sha256=6973ff95cb0fd0dc58ba26e90e9510a2219525d07620c8babeb70ef831826c00
- base64 (0.3.0) sha256=27337aeabad6ffae05c265c450490628ef3ebd4b67be58257393227588f5a97b
- bcrypt (3.1.21) sha256=5964613d750a42c7ee5dc61f7b9336fb6caca429ba4ac9f2011609946e4a2dcf
- benchmark (0.5.0) sha256=465df122341aedcb81a2a24b4d3bd19b6c67c1530713fd533f3ff034e419236c
- bigdecimal (4.0.1) sha256=8b07d3d065a9f921c80ceaea7c9d4ae596697295b584c296fe599dd0ad01c4a7
- bindex (0.8.1) sha256=7b1ecc9dc539ed8bccfc8cb4d2732046227b09d6f37582ff12e50a5047ceb17e
- bootsnap (1.23.0) sha256=c1254f458d58558b58be0f8eb8f6eec2821456785b7cdd1e16248e2020d3f214
- brakeman (8.0.4) sha256=7bf921fa9638544835df9aa7b3e720a9a72c0267f34f92135955edd80d4dcf6f
- breadcrumbs_on_rails (4.1.0) sha256=6146ecf669f6251507231028719d51d92b8f42f1f982b83a2481fa1465cb6cee
- builder (3.3.0) sha256=497918d2f9dca528fdca4b88d84e4ef4387256d984b8154e9d5d3fe5a9c8835f
- bundler-audit (0.9.3) sha256=81c8766c71e47d0d28a0f98c7eed028539f21a6ea3cd8f685eb6f42333c9b4e9
- cancancan (3.6.1) sha256=975c1d5cbf58d5df48a9452a7f61ae3d254608cd87570402f5925a8864c56b62
- capybara (3.40.0) sha256=42dba720578ea1ca65fd7a41d163dd368502c191804558f6e0f71b391054aeef
- capybara-screenshot (1.0.27) sha256=afa1896cc23df77be1774e8d3b3ce3953bf060aeaa04ff87607b5daf689174f2
- carmen (1.1.3) sha256=970dbcb6a1743f0c7d765ebf4f0e5b59e99c4f96460baaa22e7306d5a2952e68
- chartkick (5.2.1) sha256=2848d7de87189f30f28d077eb0bbdebc8a1f0f6f81de1ded95008fe564369949
- childprocess (5.1.0) sha256=9a8d484be2fd4096a0e90a0cd3e449a05bc3aa33f8ac9e4d6dcef6ac1455b6ec
- coderay (1.1.3) sha256=dc530018a4684512f8f38143cd2a096c9f02a1fc2459edcfe534787a7fc77d4b
- concurrent-ruby (1.3.6) sha256=6b56837e1e7e5292f9864f34b69c5a2cbc75c0cf5338f1ce9903d10fa762d5ab
- connection_pool (3.0.2) sha256=33fff5ba71a12d2aa26cb72b1db8bba2a1a01823559fb01d29eb74c286e62e0a
- console (1.34.3) sha256=869fbd74697efc4c606f102d2812b0b008e4e7fd738a91c591e8577140ec0dcc
- countries (8.1.0) sha256=4d6b318b8e906f1f769d5c021c13a418d33e917dc96ceb625a91d8e7ab2d192e
- crass (1.0.6) sha256=dc516022a56e7b3b156099abc81b6d2b08ea1ed12676ac7a5657617f012bd45d
- csv (3.3.5) sha256=6e5134ac3383ef728b7f02725d9872934f523cb40b961479f69cf3afa6c8e73f
- database_cleaner (2.1.0) sha256=1dcba26e3b1576da692fc6bac10136a4744da5bcc293d248aae19640c65d89cd
- database_cleaner-active_record (2.2.2) sha256=88296b9f3088c31f7c0d4fcec10f68e4b71c96698043916de59b04debec10388
- database_cleaner-core (2.0.1) sha256=8646574c32162e59ed7b5258a97a208d3c44551b854e510994f24683865d846c
- date (3.5.1) sha256=750d06384d7b9c15d562c76291407d89e368dda4d4fff957eb94962d325a0dc0
- debug (1.11.1) sha256=2e0b0ac6119f2207a6f8ac7d4a73ca8eb4e440f64da0a3136c30343146e952b6
- devise (5.0.3) sha256=c4c065051cdc4ace11547b2b7f5c3c4c97d0f1269250f5fe90f614ff78f29546
- diff-lcs (1.6.2) sha256=9ae0d2cba7d4df3075fe8cd8602a8604993efc0dfa934cff568969efb1909962
- docile (1.4.1) sha256=96159be799bfa73cdb721b840e9802126e4e03dfc26863db73647204c727f21e
- dotenv (3.2.0) sha256=e375b83121ea7ca4ce20f214740076129ab8514cd81378161f11c03853fe619d
- dotenv-rails (3.2.0) sha256=657e25554ba622ffc95d8c4f1670286510f47f2edda9f68293c3f661b303beab
- drb (2.2.3) sha256=0b00d6fdb50995fe4a45dea13663493c841112e4068656854646f418fda13373
- erb (6.0.2) sha256=9fe6264d44f79422c87490a1558479bd0e7dad4dd0e317656e67ea3077b5242b
- erubi (1.13.1) sha256=a082103b0885dbc5ecf1172fede897f9ebdb745a4b97a5e8dc63953db1ee4ad9
- factory_bot (6.5.6) sha256=12beb373214dccc086a7a63763d6718c49769d5606f0501e0a4442676917e077
- factory_bot_rails (6.5.1) sha256=d3cc4851eae4dea8a665ec4a4516895045e710554d2b5ac9e68b94d351bc6d68
- faraday (2.14.1) sha256=a43cceedc1e39d188f4d2cdd360a8aaa6a11da0c407052e426ba8d3fb42ef61c
- faraday-http-cache (2.6.1) sha256=7772ae61c5fe1c0243452dec1f069b15bcc3304e9436e4f8545ccdb5963c4285
- faraday-net_http (3.4.2) sha256=f147758260d3526939bf57ecf911682f94926a3666502e24c69992765875906c
- ffaker (2.25.0) sha256=e485c5adf8195aac55662875b7f515469bca46d77b60d0e7d08db6861bcbec40
- ffi (1.17.3-aarch64-linux-gnu) sha256=28ad573df26560f0aedd8a90c3371279a0b2bd0b4e834b16a2baa10bd7a97068
- ffi (1.17.3-aarch64-linux-musl) sha256=020b33b76775b1abacc3b7d86b287cef3251f66d747092deec592c7f5df764b2
- ffi (1.17.3-arm-linux-gnu) sha256=5bd4cea83b68b5ec0037f99c57d5ce2dd5aa438f35decc5ef68a7d085c785668
- ffi (1.17.3-arm-linux-musl) sha256=0d7626bb96265f9af78afa33e267d71cfef9d9a8eb8f5525344f8da6c7d76053
- ffi (1.17.3-arm64-darwin) sha256=0c690555d4cee17a7f07c04d59df39b2fba74ec440b19da1f685c6579bb0717f
- ffi (1.17.3-x86_64-darwin) sha256=1f211811eb5cfaa25998322cdd92ab104bfbd26d1c4c08471599c511f2c00bb5
- ffi (1.17.3-x86_64-linux-gnu) sha256=3746b01f677aae7b16dc1acb7cb3cc17b3e35bdae7676a3f568153fb0e2c887f
- ffi (1.17.3-x86_64-linux-musl) sha256=086b221c3a68320b7564066f46fed23449a44f7a1935f1fe5a245bd89d9aea56
- fiber-annotation (0.2.0) sha256=7abfadf1d119f508867d4103bf231c0354d019cc39a5738945dec2edadaf6c03
- fiber-local (1.1.0) sha256=c885f94f210fb9b05737de65d511136ea602e00c5105953748aa0f8793489f06
- fiber-storage (1.0.1) sha256=f48e5b6d8b0be96dac486332b55cee82240057065dc761c1ea692b2e719240e1
- friendly_id (5.5.1) sha256=e018f2b89bfc143276fee6d378a64792385cd4fddd3d4fce501f59ec19c06207
- friendly_id-mobility (1.0.5) sha256=8c0cf4d0a1358311db1b2dcc0e4c33077ae929c7e34749485268d066adbaf2e4
- gem-release (2.2.4) sha256=2f11124c1580c811507c3b47e875e420cf3ed792a98105b49df11971e6e94db3
- geocoder (1.8.6) sha256=e0ca1554b499f466de9b003f7dff70f89a5888761c2ca68ed9f86b6e5e24e74c
- github_changelog_generator (1.17.0) sha256=bfbac7c69d4887ab0974368d7df7e006375ee7aa3baae689b6b340d214f0b09d
- globalid (1.3.0) sha256=05c639ad6eb4594522a0b07983022f04aa7254626ab69445a0e493aa3786ff11
- groupdate (6.7.0) sha256=beaa8d5bf3856814681914a1d4a20e77436a2214b85d0017dc2ea5c355fb6777
- highline (3.1.2) sha256=67cbd34d19f6ef11a7ee1d82ffab5d36dfd5b3be861f450fc1716c7125f4bb4a
- hightop (0.6.0) sha256=d3799d2232e4d0bc69bfd940e49832d66bcf18b7098be252a4fd65f1eb29b778
- i18n (1.14.8) sha256=285778639134865c5e0f6269e0b818256017e8cde89993fdfcbfb64d088824a5
- i18n-tasks (1.1.2) sha256=4dcfba49e52a623f30661cb316cb80d84fbba5cb8c6d88ef5e02545fffa3637a
- i18n_data (1.1.0) sha256=fb7ae43bd03ec4dc2e6e62e726aac05aa868c170ba1444c056e2ab0d872bb2ed
- image_processing (1.14.0) sha256=754cc169c9c262980889bec6bfd325ed1dafad34f85242b5a07b60af004742fb
- importmap-rails (2.2.3) sha256=7101be2a4dc97cf1558fb8f573a718404c5f6bcfe94f304bf1f39e444feeb16a
- inline_svg (1.10.0) sha256=5b652934236fd9f8adc61f3fd6e208b7ca3282698b19f28659971da84bf9a10f
- io-console (0.8.2) sha256=d6e3ae7a7cc7574f4b8893b4fca2162e57a825b223a177b7afa236c5ef9814cc
- io-endpoint (0.17.2) sha256=3feaf766c116b35839c11fac68b6aaadc47887bb488902a57bf8e1d288fb3338
- io-event (1.14.4) sha256=455a9e4fb4613d12867b90461c297af6993b400a521bf62046f83b27f9c6aa3d
- io-stream (0.11.1) sha256=fa5f551fcff99581c1757b9d1cee2c37b124f07d2ca4f40b756a05ab9bd21b87
- irb (1.17.0) sha256=168c4ddb93d8a361a045c41d92b2952c7a118fa73f23fe14e55609eb7a863aae
- jmespath (1.6.2) sha256=238d774a58723d6c090494c8879b5e9918c19485f7e840f2c1c7532cf84ebcb1
- json (2.19.1) sha256=dd94fdc59e48bff85913829a32350b3148156bc4fd2a95a2568a78b11344082d
- json-schema (6.2.0) sha256=e8bff46ed845a22c1ab2bd0d7eccf831c01fe23bb3920caa4c74db4306813666
- jsonapi-rspec (0.0.11) sha256=995f1adb59b386cc36e3f6823c828df575167586937e3e42601914c4ee650082
- jwt (3.1.2) sha256=af6991f19a6bb4060d618d9add7a66f0eeb005ac0bc017cd01f63b42e122d535
- kaminari (1.2.2) sha256=c4076ff9adccc6109408333f87b5c4abbda5e39dc464bd4c66d06d9f73442a3e
- kaminari-actionview (1.2.2) sha256=1330f6fc8b59a4a4ef6a549ff8a224797289ebf7a3a503e8c1652535287cc909
- kaminari-activerecord (1.2.2) sha256=0dd3a67bab356a356f36b3b7236bcb81cef313095365befe8e98057dd2472430
- kaminari-core (1.2.2) sha256=3bd26fec7370645af40ca73b9426a448d09b8a8ba7afa9ba3c3e0d39cdbb83ff
- kaminari-i18n (0.5.0) sha256=f20efcd31370f07eb423defdb296b8e05e48c8bc897655c636bc1b69b0fbe252
- language_server-protocol (3.17.0.5) sha256=fd1e39a51a28bf3eec959379985a72e296e9f9acfce46f6a79d31ca8760803cc
- launchy (3.1.1) sha256=72b847b5cc961589dde2c395af0108c86ff0119f42d4648d25b5440ebb10059e
- letter_opener (1.10.0) sha256=2ff33f2e3b5c3c26d1959be54b395c086ca6d44826e8bf41a14ff96fdf1bdbb2
- lint_roller (1.1.0) sha256=2c0c845b632a7d172cb849cc90c1bce937a28c5c8ccccb50dfd46a485003cc87
- listen (3.10.0) sha256=c6e182db62143aeccc2e1960033bebe7445309c7272061979bb098d03760c9d2
- local_time (3.0.3) sha256=c69a8974d993fdf6e60db02977ed23c070f203dcb3a1ff0de52ad3d2393f8303
- logger (1.7.0) sha256=196edec7cc44b66cfb40f9755ce11b392f21f7967696af15d274dde7edff0203
- lograge (0.14.0) sha256=42371a75823775f166f727639f5ddce73dd149452a55fc94b90c303213dc9ae1
- loofah (2.25.1) sha256=d436c73dbd0c1147b16c4a41db097942d217303e1f7728704b37e4df9f6d2e04
- mail (2.9.0) sha256=6fa6673ecd71c60c2d996260f9ee3dd387d4673b8169b502134659ece6d34941
- mapkick-rb (0.2.0) sha256=c70da2e1edc56da290ccab51fd932ee5b1c562fe9f7877de0333b5562937e28e
- marcel (1.1.0) sha256=fdcfcfa33cc52e93c4308d40e4090a5d4ea279e160a7f6af988260fa970e0bee
- matrix (0.4.3) sha256=a0d5ab7ddcc1973ff690ab361b67f359acbb16958d1dc072b8b956a286564c5b
- mcp (0.8.0) sha256=ae8bd146bb8e168852866fd26f805f52744f6326afb3211e073f78a95e0c34fb
- method_source (1.1.0) sha256=181301c9c45b731b4769bc81e8860e72f9161ad7d66dd99103c9ab84f560f5c5
- metrics (0.15.0) sha256=61ded5bac95118e995b1bc9ed4a5f19bc9814928a312a85b200abbdac9039072
- mini_magick (5.3.1) sha256=29395dfd76badcabb6403ee5aff6f681e867074f8f28ce08d78661e9e4a351c4
- mini_mime (1.1.5) sha256=8681b7e2e4215f2a159f9400b5816d85e9d8c6c6b491e96a12797e798f8bccef
- minitest (6.0.2) sha256=db6e57956f6ecc6134683b4c87467d6dd792323c7f0eea7b93f66bd284adbc3d
- mobility (1.3.2) sha256=32fbbb0e53118ef42de20daa6ac94dbb758c628874092eba311b968a1e1d757b
- mobility-actiontext (1.1.1) sha256=98f8fb9f2d8aa49fce1814eefb2ad8060efdfb89167bc5bd864da0bdd858127d
- mobility-ransack (1.2.2) sha256=8b480ce5bc4937abc37c17b9922d7e41b8a7064a3207b3a64e5aa71e0cb3332b
- monetize (1.13.0) sha256=0c1f8ae28aa21bbf1a6d014138d9bb0a5ce756c1a99b8b7f7d409c258b01d3b3
- money (6.19.0) sha256=ec936fa1e42f2783719241ed9fd52725d0efa628f928feea1eb5c37d5de7daf3
- msgpack (1.8.0) sha256=e64ce0212000d016809f5048b48eb3a65ffb169db22238fb4b72472fecb2d732
- name_of_person (1.1.3) sha256=e12291250987ef79c413314f698f15d53e7a602c42231de99c276ef9585bc18c
- net-http (0.9.1) sha256=25ba0b67c63e89df626ed8fac771d0ad24ad151a858af2cc8e6a716ca4336996
- net-imap (0.6.3) sha256=9bab75f876596d09ee7bf911a291da478e0cd6badc54dfb82874855ccc82f2ad
- net-pop (0.1.2) sha256=848b4e982013c15b2f0382792268763b748cce91c9e91e36b0f27ed26420dff3
- net-protocol (0.2.2) sha256=aa73e0cba6a125369de9837b8d8ef82a61849360eba0521900e2c3713aa162a8
- net-smtp (0.5.1) sha256=ed96a0af63c524fceb4b29b0d352195c30d82dd916a42f03c62a3a70e5b70736
- nio4r (2.7.5) sha256=6c90168e48fb5f8e768419c93abb94ba2b892a1d0602cb06eef16d8b7df1dca1
- nokogiri (1.19.1-aarch64-linux-gnu) sha256=cfdb0eafd9a554a88f12ebcc688d2b9005f9fce42b00b970e3dc199587b27f32
- nokogiri (1.19.1-aarch64-linux-musl) sha256=1e2150ab43c3b373aba76cd1190af7b9e92103564063e48c474f7600923620b5
- nokogiri (1.19.1-arm-linux-gnu) sha256=0a39ed59abe3bf279fab9dd4c6db6fe8af01af0608f6e1f08b8ffa4e5d407fa3
- nokogiri (1.19.1-arm-linux-musl) sha256=3a18e559ee499b064aac6562d98daab3d39ba6cbb4074a1542781b2f556db47d
- nokogiri (1.19.1-arm64-darwin) sha256=dfe2d337e6700eac47290407c289d56bcf85805d128c1b5a6434ddb79731cb9e
- nokogiri (1.19.1-x86_64-darwin) sha256=7093896778cc03efb74b85f915a775862730e887f2e58d6921e3fa3d981e68bf
- nokogiri (1.19.1-x86_64-linux-gnu) sha256=1a4902842a186b4f901078e692d12257678e6133858d0566152fe29cdb98456a
- nokogiri (1.19.1-x86_64-linux-musl) sha256=4267f38ad4fc7e52a2e7ee28ed494e8f9d8eb4f4b3320901d55981c7b995fc23
- octokit (4.25.1) sha256=c02092ee82dcdfe84db0e0ea630a70d32becc54245a4f0bacfd21c010df09b96
- oj (3.16.16) sha256=3635b36128991796434f55da8decc0de236a323535adcb36fc04e6d0253c013d
- orm_adapter (0.5.0) sha256=aa5d0be5d540cbb46d3a93e88061f4ece6a25f6e97d6a47122beb84fe595e9b9
- ostruct (0.6.3) sha256=95a2ed4a4bd1d190784e666b47b2d3f078e4a9efda2fccf18f84ddc6538ed912
- pagy (43.3.3) sha256=26b822c32ac5452f733736aa0e56bfd45d7fd02358c7d91c7d31bae61164e758
- parallel (1.27.0) sha256=4ac151e1806b755fb4e2dc2332cbf0e54f2e24ba821ff2d3dcf86bf6dc4ae130
- paranoia (3.1.0) sha256=36574a46e8df663d0da7d9008e987b72a6a9eccee13c058b7094acc810e39f52
- parser (3.3.10.2) sha256=6f60c84aa4bdcedb6d1a2434b738fe8a8136807b6adc8f7f53b97da9bc4e9357
- pg (1.6.3) sha256=1388d0563e13d2758c1089e35e973a3249e955c659592d10e5b77c468f628a99
- pg (1.6.3-aarch64-linux) sha256=0698ad563e02383c27510b76bf7d4cd2de19cd1d16a5013f375dd473e4be72ea
- pg (1.6.3-aarch64-linux-musl) sha256=06a75f4ea04b05140146f2a10550b8e0d9f006a79cdaf8b5b130cde40e3ecc2c
- pg (1.6.3-arm64-darwin) sha256=7240330b572e6355d7c75a7de535edb5dfcbd6295d9c7777df4d9dddfb8c0e5f
- pg (1.6.3-x86_64-darwin) sha256=ee2e04a17c0627225054ffeb43e31a95be9d7e93abda2737ea3ce4a62f2729d6
- pg (1.6.3-x86_64-linux) sha256=5d9e188c8f7a0295d162b7b88a768d8452a899977d44f3274d1946d67920ae8d
- pg (1.6.3-x86_64-linux-musl) sha256=9c9c90d98c72f78eb04c0f55e9618fe55d1512128e411035fe229ff427864009
- phonelib (0.10.16) sha256=719c4cc099cd2f356bdadb1a3bccbadd1c67fe332e96a9b3028525e44c425fea
- pp (0.6.3) sha256=2951d514450b93ccfeb1df7d021cae0da16e0a7f95ee1e2273719669d0ab9df6
- prettyprint (0.2.0) sha256=2bc9e15581a94742064a3cc8b0fb9d45aae3d03a1baa6ef80922627a0766f193
- prism (1.9.0) sha256=7b530c6a9f92c24300014919c9dcbc055bf4cdf51ec30aed099b06cd6674ef85
- propshaft (1.3.1) sha256=9acc664ef67e819ffa3d95bd7ad4c3623ea799110c5f4dee67fa7e583e74c392
- protocol-hpack (1.5.1) sha256=6feca238b8078da1cd295677d6f306c6001af92d75fe0643d33e6956cbc3ad91
- protocol-http (0.60.0) sha256=ca1354947676d663b6f23c49654aee464288774e7867c4a6e406fecce9691cec
- protocol-http1 (0.37.0) sha256=5bdd739e28792b341134596f6f5ab21a9d4b395f67bae69e153743eb0e69d123
- protocol-http2 (0.24.0) sha256=65327a019b7e36d2774e94050bf57a43bb60212775d2fcf02ae1d2ed4f01ef28
- protocol-url (0.4.0) sha256=64d4c03b6b51ad815ac6fdaf77a1d91e5baf9220d26becb846c5459dacdea9e1
- pry (0.16.0) sha256=d76c69065698ed1f85e717bd33d7942c38a50868f6b0673c636192b3d1b6054e
- psych (5.3.1) sha256=eb7a57cef10c9d70173ff74e739d843ac3b2c019a003de48447b2963d81b1974
- public_suffix (7.0.5) sha256=1a8bb08f1bbea19228d3bed6e5ed908d1cb4f7c2726d18bd9cadf60bc676f623
- puma (7.2.0) sha256=bf8ef4ab514a4e6d4554cb4326b2004eba5036ae05cf765cfe51aba9706a72a8
- racc (1.8.1) sha256=4a7f6929691dbec8b5209a0b373bc2614882b55fc5d2e447a21aaa691303d62f
- rack (3.2.5) sha256=4cbd0974c0b79f7a139b4812004a62e4c60b145cba76422e288ee670601ed6d3
- rack-session (2.1.1) sha256=0b6dc07dea7e4b583f58a48e8b806d4c9f1c6c9214ebc202ec94562cbea2e4e9
- rack-test (2.2.0) sha256=005a36692c306ac0b4a9350355ee080fd09ddef1148a5f8b2ac636c720f5c463
- rackup (2.3.1) sha256=6c79c26753778e90983761d677a48937ee3192b3ffef6bc963c0950f94688868
- rails (8.1.2) sha256=5069061b23dfa8706b9f0159ae8b9d35727359103178a26962b868a680ba7d95
- rails-controller-testing (1.0.5) sha256=741448db59366073e86fc965ba403f881c636b79a2c39a48d0486f2607182e94
- rails-dom-testing (2.3.0) sha256=8acc7953a7b911ca44588bf08737bc16719f431a1cc3091a292bca7317925c1d
- rails-html-sanitizer (1.7.0) sha256=28b145cceaf9cc214a9874feaa183c3acba036c9592b19886e0e45efc62b1e89
- rails-i18n (8.1.0) sha256=52d5fd6c0abef28d84223cc05647f6ae0fd552637a1ede92deee9545755b6cf3
- railties (8.1.2) sha256=1289ece76b4f7668fc46d07e55cc992b5b8751f2ad85548b7da351b8c59f8055
- rainbow (3.1.1) sha256=039491aa3a89f42efa1d6dec2fc4e62ede96eb6acd95e52f1ad581182b79bc6a
- rake (13.3.1) sha256=8c9e89d09f66a26a01264e7e3480ec0607f0c497a861ef16063604b1b08eb19c
- ransack (4.4.1) sha256=6aeaac36fc19088570e10da1044e6cfd88c740e20f871b84566fd30e32b7a63d
- rb-fsevent (0.11.2) sha256=43900b972e7301d6570f64b850a5aa67833ee7d87b458ee92805d56b7318aefe
- rb-inotify (0.11.1) sha256=a0a700441239b0ff18eb65e3866236cd78613d6b9f78fea1f9ac47a85e47be6e
- rbs (3.10.3) sha256=70627f3919016134d554e6c99195552ae3ef6020fe034c8e983facc9c192daa6
- rdoc (7.2.0) sha256=8650f76cd4009c3b54955eb5d7e3a075c60a57276766ebf36f9085e8c9f23192
- redis (5.4.1) sha256=b5e675b57ad22b15c9bcc765d5ac26f60b675408af916d31527af9bd5a81faae
- redis-client (0.27.0) sha256=00e5918c1ba3fcd54b28e7be24b36fbf7b073e842c3c021ac072173c3eac42bd
- regexp_parser (2.11.3) sha256=ca13f381a173b7a93450e53459075c9b76a10433caadcb2f1180f2c741fc55a4
- reline (0.6.3) sha256=1198b04973565b36ec0f11542ab3f5cfeeec34823f4e54cebde90968092b1835
- request_store (1.7.0) sha256=e1b75d5346a315f452242a68c937ef8e48b215b9453a77a6c0acdca2934c88cb
- responders (3.2.0) sha256=89c2d6ac0ae16f6458a11524cae4a8efdceba1a3baea164d28ee9046bd3df55a
- rexml (3.4.4) sha256=19e0a2c3425dfbf2d4fc1189747bdb2f849b6c5e74180401b15734bc97b5d142
- rspec-activemodel-mocks (1.3.0) sha256=b51b111b726370a20a2103a8a6851296783a70d2b0bd0287bfa24d293f58d76e
- rspec-core (3.13.6) sha256=a8823c6411667b60a8bca135364351dda34cd55e44ff94c4be4633b37d828b2d
- rspec-expectations (3.13.5) sha256=33a4d3a1d95060aea4c94e9f237030a8f9eae5615e9bd85718fe3a09e4b58836
- rspec-mocks (3.13.8) sha256=086ad3d3d17533f4237643de0b5c42f04b66348c28bf6b9c2d3f4a3b01af1d47
- rspec-rails (8.0.4) sha256=06235692fc0892683d3d34977e081db867434b3a24ae0dd0c6f3516bad4e22df
- rspec-retry (0.6.2) sha256=6101ba23a38809811ae3484acde4ab481c54d846ac66d5037ccb40131a60d858
- rspec-support (3.13.7) sha256=0640e5570872aafefd79867901deeeeb40b0c9875a36b983d85f54fb7381c47c
- rspec_junit_formatter (0.6.0) sha256=40dde674e6ae4e6cc0ff560da25497677e34fefd2338cc467a8972f602b62b15
- rubocop (1.85.1) sha256=3dbcf9e961baa4c376eeeb2a03913dca5e3987033b04d38fa538aa1e7406cc77
- rubocop-ast (1.49.1) sha256=4412f3ee70f6fe4546cc489548e0f6fcf76cafcfa80fa03af67098ffed755035
- rubocop-performance (1.26.1) sha256=cd19b936ff196df85829d264b522fd4f98b6c89ad271fa52744a8c11b8f71834
- rubocop-rails (2.34.3) sha256=10d37989024865ecda8199f311f3faca990143fbac967de943f88aca11eb9ad2
- rubocop-rails-omakase (1.1.0) sha256=2af73ac8ee5852de2919abbd2618af9c15c19b512c4cfc1f9a5d3b6ef009109d
- ruby-lsp (0.26.8) sha256=fa607c342736c6ea791c945ae05025bc306ef9dd72c640b0b660478c5832f968
- ruby-oembed (0.18.1) sha256=877b87b3d98e8137599044277fdb82a5536973bd9df68a93129163b781ae3a5f
- ruby-progressbar (1.13.0) sha256=80fc9c47a9b640d6834e0dc7b3c94c9df37f08cb072b7761e4a71e22cff29b33
- ruby-vips (2.3.0) sha256=e685ec02c13969912debbd98019e50492e12989282da5f37d05f5471442f5374
- rubyzip (2.4.1) sha256=8577c88edc1fde8935eb91064c5cb1aef9ad5494b940cf19c775ee833e075615
- safely_block (0.5.0) sha256=782c342bc400a79c1233c40cf8c379da6116c6cfd1d7c1f17f0ef2ef11090103
- sawyer (0.9.3) sha256=0d0f19298408047037638639fe62f4794483fb04320269169bd41af2bdcf5e41
- securerandom (0.4.1) sha256=cc5193d414a4341b6e225f0cb4446aceca8e50d5e1888743fac16987638ea0b1
- selenium-webdriver (4.10.0) sha256=a322af38f9a8966a6c3ab85c365b08c5556cdef72f577905b2b42469faee9d43
- sentry-rails (6.4.1) sha256=fb800a375533f2fff3101f26a1a32bdce0a4b99b16cd5be7b64b15e93bcb58e8
- sentry-ruby (6.4.1) sha256=dac04976f791ad6ecd4fd30440c29d9b73aee08f790eeca73b439b5d67370f38
- sentry-sidekiq (6.4.1) sha256=214082c26487cf2df315d41f45001584ebb8039c77f5a07090284b0deff934df
- sidekiq (8.1.1) sha256=afdf2736883e1e80c1c9b7c47afe0387e1a4997c87170978a45560d35d429151
- simple_po_parser (1.1.6) sha256=122687d44d3de516a0e69e2f383a4180f5015e8c5ed5a7f2258f2b376f64cbf3
- simplecov (0.22.0) sha256=fe2622c7834ff23b98066bb0a854284b2729a569ac659f82621fc22ef36213a5
- simplecov-cobertura (3.1.0) sha256=6d7f38aa32c965ca2174b2e5bd88cb17138eaf629518854976ac50e628925dc5
- simplecov-html (0.13.2) sha256=bd0b8e54e7c2d7685927e8d6286466359b6f16b18cb0df47b508e8d73c777246
- simplecov_json_formatter (0.1.4) sha256=529418fbe8de1713ac2b2d612aa3daa56d316975d307244399fa4838c601b428
- spree (5.4.0.beta9)
- spree_admin (5.4.0.beta9)
- spree_api (5.4.0.beta9)
- spree_core (5.4.0.beta9)
- spree_dev_tools (0.5.3) sha256=64ae7b215ac5d5c5f5890f6fc0dbcb12882b9af305a860f36f95f564ec240a75
- spree_emails (5.4.0.beta9)
- spree_extension (1.0.2) sha256=71725dafe45319a2be1bd2b564a416afe8029af8e18ac703bdb835e09553e1df
- spree_i18n (5.3.2) sha256=03b805235ca156644951f6bc3d07cbe43d0aa01134c4a27e3f3304011956f79b
- spree_stripe (1.6.0.beta)
- sqids (0.2.2) sha256=c2d31e0dfb6c32d17c10b59df059a299af93bef716d700ff70d77156df702d36
- ssrf_filter (1.3.0) sha256=66882d7de7d09c019098d6d7372412950ae184ebbc7c51478002058307aba6f2
- state_machines (0.100.4) sha256=dd4e555ebb061569dd8fe18a5f39b51d10be6306b89a0c315a9697671d752565
- state_machines-activemodel (0.101.0) sha256=6798c6bf5aa4be2b1a00ca633949c999ebee7a148bd4ea8f6858b189e2cdf72d
- state_machines-activerecord (0.100.0) sha256=b2213f74f3f32c6d92de5139e8898bc64a0ffb3f048df7d950ce27e28384beb5
- stimulus-rails (1.3.4) sha256=765676ffa1f33af64ce026d26b48e8ffb2e0b94e0f50e9119e11d6107d67cb06
- stringex (2.8.6) sha256=c7b382d2b2a47a1e1646f256df201c48d487d6296fbb289d76802f67f5e929c4
- stringio (3.2.0) sha256=c37cb2e58b4ffbd33fe5cd948c05934af997b36e0b6ca6fdf43afa234cf222e1
- stripe (18.4.2) sha256=fd08a73ab87fc0b0ad938ca71293e1051e593001b70de5e9fcf12d1097133831
- stripe_event (2.14.0) sha256=aa9e5103030745bbef2177938395fefbf2c3f961622c3dfa9a6c3fa4548da075
- tailwindcss-rails (4.4.0) sha256=efa2961351a52acebe616e645a81a30bb4f27fde46cc06ce7688d1cd1131e916
- tailwindcss-ruby (4.2.1) sha256=95886a1e24b42d76792c787d34e47098b53cb3b5a6363845bca4486f52b2e66a
- tailwindcss-ruby (4.2.1-aarch64-linux-gnu) sha256=de457ddfc999c6bbbe1a59fbc11eb2168d619f6e0cb72d8d3334d372b331e36f
- tailwindcss-ruby (4.2.1-aarch64-linux-musl) sha256=e6ed27704263201f8366316354aa45f9016cc9378ce8fac46fbbe65fafd4da5e
- tailwindcss-ruby (4.2.1-arm64-darwin) sha256=bcf222fb8542cf5433925623e5e7b257897fbb8291a2350daae870a32f2eeb91
- tailwindcss-ruby (4.2.1-x86_64-darwin) sha256=b737b84f80941628d03c703b31abb204151b9d0a494d58ed06fd8220a5162f1b
- tailwindcss-ruby (4.2.1-x86_64-linux-gnu) sha256=201d0e5e5d4aba52cae4ee4bd1acd497d2790c83e7f15da964aab8ec93876831
- tailwindcss-ruby (4.2.1-x86_64-linux-musl) sha256=79fa48ad51e533545f9fdbb04227e1342a65a42c2bd1314118b95473d5612007
- terminal-table (4.0.0) sha256=f504793203f8251b2ea7c7068333053f0beeea26093ec9962e62ea79f94301d2
- thor (1.5.0) sha256=e3a9e55fe857e44859ce104a84675ab6e8cd59c650a49106a05f55f136425e73
- thruster (0.1.19) sha256=3246eb6ea6fe699e89d6eecc4edda856452e4ebeb9d5999791f0e88832369527
- thruster (0.1.19-aarch64-linux) sha256=cfabff204f655359675c3f0e3e3940c6d1f110b765d0d48f5281077b8bb65325
- thruster (0.1.19-arm64-darwin) sha256=2e1994341ad1076cea438a5a86b0dc126dc6e66f5a67f2dc077779b73e9fb6e3
- thruster (0.1.19-x86_64-darwin) sha256=f026e833dc67048843919ce31a8b12b97b532df41a749d66b72f282efd2a0693
- thruster (0.1.19-x86_64-linux) sha256=7cddc1bd0c4fb2e26cc4878dc1f4eb7e883a45932e8d1cacda71b1aba1a645b6
- timecop (0.9.10) sha256=12ba45ce57cdcf6b1043cb6cdffa6381fd89ce10d369c28a7f6f04dc1b0cd8eb
- timeout (0.6.1) sha256=78f57368a7e7bbadec56971f78a3f5ecbcfb59b7fcbb0a3ed6ddc08a5094accb
- tinymce-rails (6.8.6.1) sha256=b249fccfb300d8cdb361a443e859d6b45ec6d7bbd1466817008ee0af2a3d516c
- traces (0.18.2) sha256=80f1649cb4daace1d7174b81f3b3b7427af0b93047759ba349960cb8f315e214
- tracking_number (2.4.0) sha256=2a4c6b39cbdfc8326c234626556da1e269c8dfe33478786bea93461331c247ff
- tsort (0.2.0) sha256=9650a793f6859a43b6641671278f79cfead60ac714148aabe4e3f0060480089f
- turbo-rails (2.0.23) sha256=ee0d90733aafff056cf51ff11e803d65e43cae258cc55f6492020ec1f9f9315f
- typelizer (0.10.0) sha256=344082184163c5178aefc68c068ce9a2dcfec77979cc149a509f4f96269026d8
- tzinfo (2.0.6) sha256=8daf828cc77bcf7d63b0e3bdb6caa47e2272dcfaf4fbfe46f8c3a9df087a829b
- unaccent (0.4.0) sha256=d9278230016edc5317c053f8e84c1e1dea6827dec028e5481e2294a4e11e7333
- unicode-display_width (3.2.0) sha256=0cdd96b5681a5949cdbc2c55e7b420facae74c4aaf9a9815eee1087cb1853c42
- unicode-emoji (4.2.0) sha256=519e69150f75652e40bf736106cfbc8f0f73aa3fb6a65afe62fefa7f80b0f80f
- uri (1.1.1) sha256=379fa58d27ffb1387eaada68c749d1426738bd0f654d812fcc07e7568f5c57c6
- useragent (0.16.11) sha256=700e6413ad4bb954bb63547fa098dddf7b0ebe75b40cc6f93b8d54255b173844
- validates_zipcode (0.6.0) sha256=9f9c10a9c75a14411cea2f65f04fb0089b9f284ebf59faa3e75a9e3d20d1a236
- wannabe_bool (0.7.1) sha256=838ef671066868424de888fb22eeae57c7012709aabd5d17141ea6fea964c61f
- warden (1.2.9) sha256=46684f885d35a69dbb883deabf85a222c8e427a957804719e143005df7a1efd0
- web-console (4.3.0) sha256=e13b71301cdfc2093f155b5aa3a622db80b4672d1f2f713119cc7ec7ac6a6da4
- webdrivers (5.3.1) sha256=d7d5531fbc3c44b6a2a7710e3e6c5edc54f35c68af20017309e3eccf15ec4aa5
- websocket (1.2.11) sha256=b7e7a74e2410b5e85c25858b26b3322f29161e300935f70a0e0d3c35e0462737
- websocket-driver (0.8.0) sha256=ed0dba4b943c22f17f9a734817e808bc84cdce6a7e22045f5315aa57676d4962
- websocket-extensions (0.1.5) sha256=1c6ba63092cda343eb53fc657110c71c754c56484aad42578495227d717a8241
- xpath (3.2.0) sha256=6dfda79d91bb3b949b947ecc5919f042ef2f399b904013eb3ef6d20dd3a4082e
- yaml (0.4.0) sha256=240e69d1e6ce3584d6085978719a0faa6218ae426e034d8f9b02fb54d3471942
- zeitwerk (2.7.5) sha256=d8da92128c09ea6ec62c949011b00ed4a20242b255293dd66bf41545398f73dd
-
-BUNDLED WITH
- 4.0.3
diff --git a/server/Gemfile.release b/server/Gemfile.release
deleted file mode 100644
index ce627f82b7..0000000000
--- a/server/Gemfile.release
+++ /dev/null
@@ -1,16 +0,0 @@
-eval_gemfile("Gemfile.common")
-
-# Spree gems built from source (served from local gem repository during Docker build)
-# The SPREE_VERSION environment variable is set during the Docker build
-spree_version = ENV.fetch("SPREE_VERSION", "0")
-
-source "file:///local-gems" do
- gem "spree", spree_version
- gem "spree_core", spree_version
- gem "spree_api", spree_version
- gem "spree_emails", spree_version
- gem "spree_admin", spree_version
-end
-
-gem "spree_stripe", github: "spree/spree_stripe"
-gem "spree_i18n"
diff --git a/server/Procfile.dev b/server/Procfile.dev
deleted file mode 100644
index c38cf8b3d1..0000000000
--- a/server/Procfile.dev
+++ /dev/null
@@ -1,4 +0,0 @@
-web: bin/rails server
-css: bin/rails tailwindcss:watch
-admin_css: bin/rails spree:admin:tailwindcss:watch
-worker: bundle exec sidekiq
diff --git a/server/README.md b/server/README.md
deleted file mode 100644
index 9902860d81..0000000000
--- a/server/README.md
+++ /dev/null
@@ -1,140 +0,0 @@
-# Spree Server
-
-A Rails application that mounts the Spree gems (core, api, admin, emails) from the `spree/` directory and serves the API and admin interface.
-
-## Structure
-
-```
-server/
-├── Gemfile # References gems via path: ../spree
-├── Dockerfile # Multi-stage build for Docker
-├── config/
-└── db/
-```
-
-## Setup
-
-### Local Development (Ruby developers)
-
-PostgreSQL and Redis must be running before you start. If you have them installed locally, make sure they're running. Otherwise you can start them with Docker:
-
-```bash
-docker run -d --name spree-postgres -p 5432:5432 -e POSTGRES_HOST_AUTH_METHOD=trust postgres:17-alpine
-docker run -d --name spree-redis -p 6379:6379 redis:7-alpine
-```
-
-Then run the setup script:
-
-```bash
-cd server
-bin/setup
-bin/dev
-```
-
-`bin/setup` handles everything: installs Ruby (via [mise](https://mise.jdx.dev) if available, otherwise uses your system Ruby), system packages (libpq, vips), gems, and prepares the database.
-
-By default the app connects to PostgreSQL at `localhost:5432` as user `postgres` with no password. Override with environment variables if needed:
-
-```bash
-DATABASE_HOST=127.0.0.1 DATABASE_PORT=5433 DATABASE_USERNAME=myuser bin/setup
-```
-
-Use `bin/setup --reset` to drop and recreate the database.
-
-The app starts at `http://localhost:3000`.
-
-**Emails in local dev:** By default emails are printed to the Rails log. To catch and preview emails with a web UI, run [Mailpit](https://mailpit.axllent.org) and set `SMTP_HOST`:
-
-```bash
-docker run -d --name mailpit -p 8025:8025 -p 1025:1025 axllent/mailpit
-SMTP_HOST=localhost bin/dev
-```
-
-Then open `http://localhost:8025` to see all outgoing emails.
-
-### Docker (TypeScript / frontend developers)
-
-From the **repository root**:
-
-```bash
-docker compose up -d
-```
-
-This boots PostgreSQL, Redis, Mailpit, and the backend. The API is available at `http://localhost:3000`. The database is automatically created and migrated on first boot.
-
-All outgoing emails are caught by Mailpit and viewable at `http://localhost:8025`.
-
-To rebuild after changes:
-
-```bash
-docker compose build spree
-docker compose up -d
-```
-
-To reset the database:
-
-```bash
-docker compose down -v
-docker compose up -d
-```
-
-## Environment Variables
-
-### Database
-
-| Variable | Default | Description |
-|---|---|---|
-| `DATABASE_HOST` | `localhost` | PostgreSQL host |
-| `DATABASE_PORT` | `5432` | PostgreSQL port |
-| `DATABASE_USERNAME` | `postgres` | PostgreSQL user |
-
-### Production
-
-| Variable | Required | Description |
-|---|---|---|
-| `DATABASE_URL` | Yes | PostgreSQL connection URL |
-| `REDIS_URL` | Yes | Redis connection URL (caching, background jobs, Action Cable) |
-| `SECRET_KEY_BASE` | Yes | Secret key for session encryption |
-
-### Email (SMTP)
-
-Spree works with any SMTP provider (Resend, Postmark, Mailgun, SendGrid, Amazon SES, etc.).
-
-| Variable | Default | Description |
-|---|---|---|
-| `SMTP_HOST` | — | SMTP server address |
-| `SMTP_PORT` | `587` | SMTP server port |
-| `SMTP_USERNAME` | — | SMTP auth username |
-| `SMTP_PASSWORD` | — | SMTP auth password |
-| `SMTP_FROM_ADDRESS` | — | Default "from" email address |
-| `RAILS_HOST` | `example.com` | Host used in mailer URLs |
-
-### File Storage (S3 / Cloudflare R2)
-
-By default, uploaded files are stored on the local disk. Set the appropriate environment variables to use S3 or Cloudflare R2 instead. When both are configured, S3 takes priority.
-
-**AWS S3:**
-
-| Variable | Default | Description |
-|---|---|---|
-| `AWS_ACCESS_KEY_ID` | — | AWS access key |
-| `AWS_SECRET_ACCESS_KEY` | — | AWS secret key |
-| `AWS_REGION` | — | AWS region (e.g. `us-east-1`) |
-| `AWS_BUCKET` | `spree-<env>` | S3 bucket name |
-
-**Cloudflare R2:**
-
-| Variable | Default | Description |
-|---|---|---|
-| `CLOUDFLARE_ACCESS_KEY_ID` | — | R2 access key |
-| `CLOUDFLARE_SECRET_ACCESS_KEY` | — | R2 secret key |
-| `CLOUDFLARE_ENDPOINT` | — | R2 endpoint URL (e.g. `https://<account_id>.r2.cloudflarestorage.com`) |
-| `CLOUDFLARE_BUCKET` | `spree-<env>` | R2 bucket name |
-
-### Error Monitoring (Sentry)
-
-| Variable | Default | Description |
-|---|---|---|
-| `SENTRY_DSN` | — | Sentry DSN to enable error and performance monitoring |
-| `SENTRY_REPORT_ON_DEVELOPMENT` | — | Set to any value to also report errors in development |
-| `RENDER_GIT_COMMIT` | — | Git SHA used as Sentry release identifier |
diff --git a/server/Rakefile b/server/Rakefile
deleted file mode 100644
index 9a5ea7383a..0000000000
--- a/server/Rakefile
+++ /dev/null
@@ -1,6 +0,0 @@
-# Add your own tasks in files placed in lib/tasks ending in .rake,
-# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
-
-require_relative "config/application"
-
-Rails.application.load_tasks
diff --git a/server/app/assets/config/manifest.js b/server/app/assets/config/manifest.js
deleted file mode 100644
index 080332f5d1..0000000000
--- a/server/app/assets/config/manifest.js
+++ /dev/null
@@ -1 +0,0 @@
-//= link_tree ../builds
diff --git a/server/app/assets/images/.keep b/server/app/assets/images/.keep
deleted file mode 100644
index e69de29bb2..0000000000
diff --git a/server/app/assets/stylesheets/application.css b/server/app/assets/stylesheets/application.css
deleted file mode 100644
index fe93333c0f..0000000000
--- a/server/app/assets/stylesheets/application.css
+++ /dev/null
@@ -1,10 +0,0 @@
-/*
- * This is a manifest file that'll be compiled into application.css.
- *
- * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
- * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
- * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
- * depending on specificity.
- *
- * Consider organizing styles into separate files for maintainability.
- */
diff --git a/server/app/assets/tailwind/application.css b/server/app/assets/tailwind/application.css
deleted file mode 100644
index f1d8c73cdc..0000000000
--- a/server/app/assets/tailwind/application.css
+++ /dev/null
@@ -1 +0,0 @@
-@import "tailwindcss";
diff --git a/server/app/assets/tailwind/spree_admin.css b/server/app/assets/tailwind/spree_admin.css
deleted file mode 100644
index d613eb179b..0000000000
--- a/server/app/assets/tailwind/spree_admin.css
+++ /dev/null
@@ -1,49 +0,0 @@
-/*
- * Spree Admin Tailwind CSS
- *
- * This file is the entry point for Spree Admin's Tailwind CSS.
- * It imports the base styles from the Spree Admin gem and allows
- * you to add custom admin styles.
- *
- * The $SPREE_ADMIN_PATH variable is automatically resolved at build time.
- */
-
-/* Import Spree Admin base styles from the gem */
-@import "$SPREE_ADMIN_PATH/app/assets/tailwind/spree/admin/index.css";
-
-/* Auto-generated sources for all Spree engines (page_builder, etc.) */
-/* $SPREE_ENGINE_SOURCES */
-
-/* Scan host app's custom admin code for Tailwind classes */
-@source "../../views/spree/admin/**/*.erb";
-@source "../../helpers/spree/admin/**/*.rb";
-@source "../../javascript/spree/admin/**/*.js";
-
-/*
- * CUSTOMIZATION OPTIONS
- * =====================
- *
- * 1. Override Tailwind theme values (colors, spacing, etc.)
- * Add after the @import above:
- *
- * @theme {
- * --color-primary-500: #your-color;
- * --color-gray-100: #your-gray;
- * }
- *
- * 2. Add custom components using Tailwind's @layer directive:
- *
- * @layer components {
- * .my-custom-button {
- * @apply bg-primary-500 text-white px-4 py-2 rounded;
- * }
- * }
- *
- * 3. Override admin CSS variables
- * See admin/app/assets/tailwind/spree/admin/base/_theme.css for available variables
- *
- * :root {
- * --sidebar-width: 280px;
- * --header-height: 70px;
- * }
- */
diff --git a/server/app/controllers/application_controller.rb b/server/app/controllers/application_controller.rb
deleted file mode 100644
index c3537563da..0000000000
--- a/server/app/controllers/application_controller.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-class ApplicationController < ActionController::Base
- # Only allow modern browsers supporting webp images, web push, badges, import maps, CSS nesting, and CSS :has.
- allow_browser versions: :modern
-
- # Changes to the importmap will invalidate the etag for HTML responses
- stale_when_importmap_changes
-end
diff --git a/server/app/controllers/concerns/.keep b/server/app/controllers/concerns/.keep
deleted file mode 100644
index e69de29bb2..0000000000
diff --git a/server/app/helpers/application_helper.rb b/server/app/helpers/application_helper.rb
deleted file mode 100644
index de6be7945c..0000000000
--- a/server/app/helpers/application_helper.rb
+++ /dev/null
@@ -1,2 +0,0 @@
-module ApplicationHelper
-end
diff --git a/server/app/javascript/application.js b/server/app/javascript/application.js
deleted file mode 100644
index 0d7b49404c..0000000000
--- a/server/app/javascript/application.js
+++ /dev/null
@@ -1,3 +0,0 @@
-// Configure your import map in config/importmap.rb. Read more: https://github.com/rails/importmap-rails
-import "@hotwired/turbo-rails"
-import "controllers"
diff --git a/server/app/javascript/controllers/application.js b/server/app/javascript/controllers/application.js
deleted file mode 100644
index 1213e85c7a..0000000000
--- a/server/app/javascript/controllers/application.js
+++ /dev/null
@@ -1,9 +0,0 @@
-import { Application } from "@hotwired/stimulus"
-
-const application = Application.start()
-
-// Configure Stimulus development experience
-application.debug = false
-window.Stimulus = application
-
-export { application }
diff --git a/server/app/javascript/controllers/hello_controller.js b/server/app/javascript/controllers/hello_controller.js
deleted file mode 100644
index 5975c0789d..0000000000
--- a/server/app/javascript/controllers/hello_controller.js
+++ /dev/null
@@ -1,7 +0,0 @@
-import { Controller } from "@hotwired/stimulus"
-
-export default class extends Controller {
- connect() {
- this.element.textContent = "Hello World!"
- }
-}
diff --git a/server/app/javascript/controllers/index.js b/server/app/javascript/controllers/index.js
deleted file mode 100644
index 1156bf8362..0000000000
--- a/server/app/javascript/controllers/index.js
+++ /dev/null
@@ -1,4 +0,0 @@
-// Import and register all your controllers from the importmap via controllers/**/*_controller
-import { application } from "controllers/application"
-import { eagerLoadControllersFrom } from "@hotwired/stimulus-loading"
-eagerLoadControllersFrom("controllers", application)
diff --git a/server/app/jobs/application_job.rb b/server/app/jobs/application_job.rb
deleted file mode 100644
index d394c3d106..0000000000
--- a/server/app/jobs/application_job.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-class ApplicationJob < ActiveJob::Base
- # Automatically retry jobs that encountered a deadlock
- # retry_on ActiveRecord::Deadlocked
-
- # Most jobs are safe to ignore if the underlying records are no longer available
- # discard_on ActiveJob::DeserializationError
-end
diff --git a/server/app/mailers/application_mailer.rb b/server/app/mailers/application_mailer.rb
deleted file mode 100644
index 3c34c8148f..0000000000
--- a/server/app/mailers/application_mailer.rb
+++ /dev/null
@@ -1,4 +0,0 @@
-class ApplicationMailer < ActionMailer::Base
- default from: "[email protected]"
- layout "mailer"
-end
diff --git a/server/app/models/application_record.rb b/server/app/models/application_record.rb
deleted file mode 100644
index b63caeb8a5..0000000000
--- a/server/app/models/application_record.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-class ApplicationRecord < ActiveRecord::Base
- primary_abstract_class
-end
diff --git a/server/app/models/concerns/.keep b/server/app/models/concerns/.keep
deleted file mode 100644
index e69de29bb2..0000000000
diff --git a/server/app/models/spree/admin_user.rb b/server/app/models/spree/admin_user.rb
deleted file mode 100644
index d72706d50f..0000000000
--- a/server/app/models/spree/admin_user.rb
+++ /dev/null
@@ -1,8 +0,0 @@
-class Spree::AdminUser < Spree.base_class
- # Spree modules
- include Spree::AdminUserMethods
- # Include default devise modules. Others available are:
- # :confirmable, :lockable, :timeoutable, :trackable and :omniauthable
- devise :database_authenticatable, :registerable,
- :recoverable, :rememberable, :validatable
-end
diff --git a/server/app/models/spree/user.rb b/server/app/models/spree/user.rb
deleted file mode 100644
index 028af6d7b4..0000000000
--- a/server/app/models/spree/user.rb
+++ /dev/null
@@ -1,10 +0,0 @@
-class Spree::User < Spree.base_class
- # Spree modules
- include Spree::UserAddress
- include Spree::UserMethods
- include Spree::UserPaymentSource
- # Include default devise modules. Others available are:
- # :confirmable, :lockable, :timeoutable, :trackable and :omniauthable
- devise :database_authenticatable, :registerable,
- :recoverable, :rememberable, :validatable
-end
diff --git a/server/app/views/layouts/application.html.erb b/server/app/views/layouts/application.html.erb
deleted file mode 100644
index c65499144d..0000000000
--- a/server/app/views/layouts/application.html.erb
+++ /dev/null
@@ -1,31 +0,0 @@
-<!DOCTYPE html>
-<html>
- <head>
- <title><%= content_for(:title) || "Spree" %></title>
- <meta name="viewport" content="width=device-width,initial-scale=1">
- <meta name="apple-mobile-web-app-capable" content="yes">
- <meta name="application-name" content="Spree">
- <meta name="mobile-web-app-capable" content="yes">
- <%= csrf_meta_tags %>
- <%= csp_meta_tag %>
-
- <%= yield :head %>
-
- <%# Enable PWA manifest for installable apps (make sure to enable in config/routes.rb too!) %>
- <%#= tag.link rel: "manifest", href: pwa_manifest_path(format: :json) %>
-
- <link rel="icon" href="/icon.png" type="image/png">
- <link rel="icon" href="/icon.svg" type="image/svg+xml">
- <link rel="apple-touch-icon" href="/icon.png">
-
- <%# Includes all stylesheet files in app/assets/stylesheets %>
- <%= stylesheet_link_tag :app, "data-turbo-track": "reload" %>
- <%= javascript_importmap_tags %>
- </head>
-
- <body>
- <main class="container mx-auto mt-28 px-5 flex">
- <%= yield %>
- </main>
- </body>
-</html>
diff --git a/server/app/views/layouts/mailer.html.erb b/server/app/views/layouts/mailer.html.erb
deleted file mode 100644
index 3aac9002ed..0000000000
--- a/server/app/views/layouts/mailer.html.erb
+++ /dev/null
@@ -1,13 +0,0 @@
-<!DOCTYPE html>
-<html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <style>
- /* Email styles need to be inline */
- </style>
- </head>
-
- <body>
- <%= yield %>
- </body>
-</html>
diff --git a/server/app/views/layouts/mailer.text.erb b/server/app/views/layouts/mailer.text.erb
deleted file mode 100644
index 37f0bddbd7..0000000000
--- a/server/app/views/layouts/mailer.text.erb
+++ /dev/null
@@ -1 +0,0 @@
-<%= yield %>
diff --git a/server/app/views/pwa/manifest.json.erb b/server/app/views/pwa/manifest.json.erb
deleted file mode 100644
index c88ad7a821..0000000000
--- a/server/app/views/pwa/manifest.json.erb
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "name": "Spree",
- "icons": [
- {
- "src": "/icon.png",
- "type": "image/png",
- "sizes": "512x512"
- },
- {
- "src": "/icon.png",
- "type": "image/png",
- "sizes": "512x512",
- "purpose": "maskable"
- }
- ],
- "start_url": "/",
- "display": "standalone",
- "scope": "/",
- "description": "Spree.",
- "theme_color": "red",
- "background_color": "red"
-}
diff --git a/server/app/views/pwa/service-worker.js b/server/app/views/pwa/service-worker.js
deleted file mode 100644
index b3a13fb7bb..0000000000
--- a/server/app/views/pwa/service-worker.js
+++ /dev/null
@@ -1,26 +0,0 @@
-// Add a service worker for processing Web Push notifications:
-//
-// self.addEventListener("push", async (event) => {
-// const { title, options } = await event.data.json()
-// event.waitUntil(self.registration.showNotification(title, options))
-// })
-//
-// self.addEventListener("notificationclick", function(event) {
-// event.notification.close()
-// event.waitUntil(
-// clients.matchAll({ type: "window" }).then((clientList) => {
-// for (let i = 0; i < clientList.length; i++) {
-// let client = clientList[i]
-// let clientPath = (new URL(client.url)).pathname
-//
-// if (clientPath == event.notification.data.path && "focus" in client) {
-// return client.focus()
-// }
-// }
-//
-// if (clients.openWindow) {
-// return clients.openWindow(event.notification.data.path)
-// }
-// })
-// )
-// })
diff --git a/server/bin/brakeman b/server/bin/brakeman
deleted file mode 100755
index ace1c9ba08..0000000000
--- a/server/bin/brakeman
+++ /dev/null
@@ -1,7 +0,0 @@
-#!/usr/bin/env ruby
-require "rubygems"
-require "bundler/setup"
-
-ARGV.unshift("--ensure-latest")
-
-load Gem.bin_path("brakeman", "brakeman")
diff --git a/server/bin/bundler-audit b/server/bin/bundler-audit
deleted file mode 100755
index e2ef22690c..0000000000
--- a/server/bin/bundler-audit
+++ /dev/null
@@ -1,6 +0,0 @@
-#!/usr/bin/env ruby
-require_relative "../config/boot"
-require "bundler/audit/cli"
-
-ARGV.concat %w[ --config config/bundler-audit.yml ] if ARGV.empty? || ARGV.include?("check")
-Bundler::Audit::CLI.start
diff --git a/server/bin/ci b/server/bin/ci
deleted file mode 100755
index 4137ad5bb0..0000000000
--- a/server/bin/ci
+++ /dev/null
@@ -1,6 +0,0 @@
-#!/usr/bin/env ruby
-require_relative "../config/boot"
-require "active_support/continuous_integration"
-
-CI = ActiveSupport::ContinuousIntegration
-require_relative "../config/ci.rb"
diff --git a/server/bin/dev b/server/bin/dev
deleted file mode 100755
index ad72c7d53c..0000000000
--- a/server/bin/dev
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/usr/bin/env sh
-
-if ! gem list foreman -i --silent; then
- echo "Installing foreman..."
- gem install foreman
-fi
-
-# Default to port 3000 if not specified
-export PORT="${PORT:-3000}"
-
-# Let the debug gem allow remote connections,
-# but avoid loading until `debugger` is called
-export RUBY_DEBUG_OPEN="true"
-export RUBY_DEBUG_LAZY="true"
-
-exec foreman start -f Procfile.dev "$@"
diff --git a/server/bin/docker-entrypoint b/server/bin/docker-entrypoint
deleted file mode 100755
index b63e820083..0000000000
--- a/server/bin/docker-entrypoint
+++ /dev/null
@@ -1,8 +0,0 @@
-#!/bin/bash -e
-
-# If running the rails server then create or migrate existing database
-if [[ "$*" == *"./bin/rails server"* ]]; then
- ./bin/rails db:prepare
-fi
-
-exec "${@}"
diff --git a/server/bin/importmap b/server/bin/importmap
deleted file mode 100755
index 36502ab16c..0000000000
--- a/server/bin/importmap
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/usr/bin/env ruby
-
-require_relative "../config/application"
-require "importmap/commands"
diff --git a/server/bin/licenses.sh b/server/bin/licenses.sh
deleted file mode 100755
index 86ba2af8da..0000000000
--- a/server/bin/licenses.sh
+++ /dev/null
@@ -1,13 +0,0 @@
-#!/bin/sh
-
-set -eux
-
-license_finder ignored_groups add development
-license_finder ignored_groups add test
-
-license_finder ignored_dependencies add spree_admin
-license_finder ignored_dependencies add spree_api
-license_finder ignored_dependencies add spree_core
-license_finder ignored_dependencies add spree_emails
-
-license_finder report --use-spdx-id --format json --aggregate-paths='admin' 'api' 'core' 'emails' --save=licenses.json
diff --git a/server/bin/rails b/server/bin/rails
deleted file mode 100755
index efc0377492..0000000000
--- a/server/bin/rails
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/usr/bin/env ruby
-APP_PATH = File.expand_path("../config/application", __dir__)
-require_relative "../config/boot"
-require "rails/commands"
diff --git a/server/bin/rake b/server/bin/rake
deleted file mode 100755
index 4fbf10b960..0000000000
--- a/server/bin/rake
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/usr/bin/env ruby
-require_relative "../config/boot"
-require "rake"
-Rake.application.run
diff --git a/server/bin/rubocop b/server/bin/rubocop
deleted file mode 100755
index 5a20504716..0000000000
--- a/server/bin/rubocop
+++ /dev/null
@@ -1,8 +0,0 @@
-#!/usr/bin/env ruby
-require "rubygems"
-require "bundler/setup"
-
-# Explicit RuboCop config increases performance slightly while avoiding config confusion.
-ARGV.unshift("--config", File.expand_path("../.rubocop.yml", __dir__))
-
-load Gem.bin_path("rubocop", "rubocop")
diff --git a/server/bin/sbom.rb b/server/bin/sbom.rb
deleted file mode 100755
index 9ab58a7638..0000000000
--- a/server/bin/sbom.rb
+++ /dev/null
@@ -1,36 +0,0 @@
-#!/usr/bin/env ruby
-require 'json'
-require 'securerandom'
-
-# Read LicenseFinder JSON
-license_data = JSON.parse(File.read("licenses.json"))
-
-# Prepare SPDX structure
-spdx_data = {
- "spdxVersion" => "SPDX-2.3",
- "dataLicense" => "CC0-1.0",
- "documentNamespace" => "http://example.com/spdxdocs/#{SecureRandom.uuid}",
- "name" => "MyProject SBOM",
- "packages" => []
-}
-
-# Transform each dependency to SPDX package
-license_data["dependencies"].each do |dep|
- spdx_data["packages"] << {
- "SPDXID" => "SPDXRef-Package-#{dep['name'].gsub(/[^a-zA-Z0-9]/, '-')}-#{dep['version']}",
- "name" => dep["name"],
- "versionInfo" => dep["version"],
- "licenseDeclared" => dep["licenses"].join(", "),
- "externalRefs" => [
- {
- "referenceCategory" => "PACKAGE-MANAGER",
- "referenceType" => "purl",
- "referenceLocator" => "pkg:gem/#{dep['name']}@#{dep['version']}"
- }
- ],
- "downloadLocation" => dep["homepage"] || "NOASSERTION"
- }
-end
-
-# Write SPDX JSON
-File.write("sbom_with_licenses.spdx.json", JSON.pretty_generate(spdx_data))
diff --git a/server/bin/setup b/server/bin/setup
deleted file mode 100755
index 29bc09b802..0000000000
--- a/server/bin/setup
+++ /dev/null
@@ -1,53 +0,0 @@
-#!/usr/bin/env bash
-set -eo pipefail
-
-app_root="$(cd "$(dirname "$0")/.." && pwd)"
-export PATH="$app_root/bin:$PATH"
-
-step() {
- local step_name="$1"
- shift
- echo
- echo "▸ $step_name"
- "$@"
-}
-
-# Use mise to install Ruby if available, skip if Ruby is already present
-if command -v mise &>/dev/null; then
- step "Installing Ruby" mise install --yes
- eval "$(mise hook-env -s bash)"
-elif ! command -v ruby &>/dev/null; then
- echo "Ruby not found. Install it manually or install mise (https://mise.jdx.dev) to auto-install."
- exit 1
-fi
-
-# Install system packages
-if command -v brew &>/dev/null; then
- packages=(libpq vips)
- missing_packages=()
- for pkg in "${packages[@]}"; do
- if ! brew list "$pkg" &>/dev/null; then
- missing_packages+=("$pkg")
- fi
- done
- if [ ${#missing_packages[@]} -gt 0 ]; then
- step "Installing packages" brew install "${missing_packages[@]}"
- fi
-elif command -v apt-get &>/dev/null; then
- step "Installing packages" sudo apt-get update -qq && sudo apt-get install -y libpq-dev libvips-dev
-fi
-
-step "Installing gems" bundle install
-
-if [[ $* == *--reset* ]]; then
- step "Resetting the database" bin/rails db:reset
-else
- step "Preparing the database" bin/rails db:prepare
-fi
-
-step "Cleaning up" bin/rails log:clear tmp:clear
-
-echo
-echo "✓ Done (${SECONDS}s)"
-echo
-echo "Run 'bin/dev' to start the app."
diff --git a/server/bin/thrust b/server/bin/thrust
deleted file mode 100755
index 36bde2d832..0000000000
--- a/server/bin/thrust
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/usr/bin/env ruby
-require "rubygems"
-require "bundler/setup"
-
-load Gem.bin_path("thruster", "thrust")
diff --git a/server/config.ru b/server/config.ru
deleted file mode 100644
index 4a3c09a688..0000000000
--- a/server/config.ru
+++ /dev/null
@@ -1,6 +0,0 @@
-# This file is used by Rack-based servers to start the application.
-
-require_relative "config/environment"
-
-run Rails.application
-Rails.application.load_server
diff --git a/server/config/application.rb b/server/config/application.rb
deleted file mode 100644
index 18a0db6b5a..0000000000
--- a/server/config/application.rb
+++ /dev/null
@@ -1,52 +0,0 @@
-require_relative "boot"
-
-require "rails"
-# Pick the frameworks you want:
-require "active_model/railtie"
-require "active_job/railtie"
-require "active_record/railtie"
-require "active_storage/engine"
-require "action_controller/railtie"
-require "action_mailer/railtie"
-require "action_mailbox/engine"
-require "action_text/engine"
-require "action_view/railtie"
-require "action_cable/engine"
-# require "rails/test_unit/railtie"
-
-# Require the gems listed in Gemfile, including any gems
-# you've limited to :test, :development, or :production.
-Bundler.require(*Rails.groups)
-
-module Spree
- class Application < Rails::Application
-
- config.to_prepare do
- # Load application's model / class decorators
- Dir.glob(File.join(File.dirname(__FILE__), "../app/**/*_decorator*.rb")) do |c|
- Rails.configuration.cache_classes ? require(c) : load(c)
- end
- end
- # Initialize configuration defaults for originally generated Rails version.
- config.load_defaults 8.1
-
- # Please, add to the `ignore` list any other `lib` subdirectories that do
- # not contain `.rb` files, or that should not be reloaded or eager loaded.
- # Common ones are `templates`, `generators`, or `middleware`, for example.
- config.autoload_lib(ignore: %w[assets tasks])
-
- # Configuration for the application, engines, and railties goes here.
- #
- # These settings can be overridden in specific environments using the files
- # in config/environments, which are processed later.
- #
- # config.time_zone = "Central Time (US & Canada)"
- # config.eager_load_paths << Rails.root.join("extras")
-
- # Don't generate system test files.
- config.generators.system_tests = nil
-
- # Use Sidekiq for background jobs in all environments.
- config.active_job.queue_adapter = :sidekiq
- end
-end
diff --git a/server/config/boot.rb b/server/config/boot.rb
deleted file mode 100644
index 988a5ddc46..0000000000
--- a/server/config/boot.rb
+++ /dev/null
@@ -1,4 +0,0 @@
-ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
-
-require "bundler/setup" # Set up gems listed in the Gemfile.
-require "bootsnap/setup" # Speed up boot time by caching expensive operations.
diff --git a/server/config/bundler-audit.yml b/server/config/bundler-audit.yml
deleted file mode 100644
index e74b3af949..0000000000
--- a/server/config/bundler-audit.yml
+++ /dev/null
@@ -1,5 +0,0 @@
-# Audit all gems listed in the Gemfile for known security problems by running bin/bundler-audit.
-# CVEs that are not relevant to the application can be enumerated on the ignore list below.
-
-ignore:
- - CVE-THAT-DOES-NOT-APPLY
diff --git a/server/config/cable.yml b/server/config/cable.yml
deleted file mode 100644
index e0e7f621fa..0000000000
--- a/server/config/cable.yml
+++ /dev/null
@@ -1,13 +0,0 @@
-# Async adapter only works within the same process, so for manually triggering cable updates from a console,
-# and seeing results in the browser, you must do so from the web console (running inside the dev process),
-# not a terminal started via bin/rails console! Add "console" to any action or any ERB template view
-# to make the web console appear.
-development:
- adapter: async
-
-test:
- adapter: test
-
-production:
- adapter: redis
- url: <%= ENV.fetch("REDIS_URL", "redis://localhost:6379/1") %>
diff --git a/server/config/ci.rb b/server/config/ci.rb
deleted file mode 100644
index 239b343986..0000000000
--- a/server/config/ci.rb
+++ /dev/null
@@ -1,20 +0,0 @@
-# Run using bin/ci
-
-CI.run do
- step "Setup", "bin/setup --skip-server"
-
- step "Style: Ruby", "bin/rubocop"
-
- step "Security: Gem audit", "bin/bundler-audit"
- step "Security: Importmap vulnerability audit", "bin/importmap audit"
- step "Security: Brakeman code analysis", "bin/brakeman --quiet --no-pager --exit-on-warn --exit-on-error"
-
-
- # Optional: set a green GitHub commit status to unblock PR merge.
- # Requires the `gh` CLI and `gh extension install basecamp/gh-signoff`.
- # if success?
- # step "Signoff: All systems go. Ready for merge and deploy.", "gh signoff"
- # else
- # failure "Signoff: CI failed. Do not merge or deploy.", "Fix the issues and try again."
- # end
-end
diff --git a/server/config/database.yml b/server/config/database.yml
deleted file mode 100644
index c8ef3392d9..0000000000
--- a/server/config/database.yml
+++ /dev/null
@@ -1,85 +0,0 @@
-# PostgreSQL. Versions 9.3 and up are supported.
-#
-# Install the pg driver:
-# gem install pg
-# On macOS with Homebrew:
-# gem install pg -- --with-pg-config=/opt/homebrew/bin/pg_config
-# On Windows:
-# gem install pg
-# Choose the win32 build.
-# Install PostgreSQL and put its /bin directory on your path.
-#
-# Configure Using Gemfile
-# gem "pg"
-#
-default: &default
- adapter: postgresql
- encoding: unicode
- # For details on connection pooling, see Rails configuration guide
- # https://guides.rubyonrails.org/configuring.html#database-pooling
- max_connections: <%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %>
-
-development:
- <<: *default
- database: spree_development
-
- # The specified database role being used to connect to PostgreSQL.
- # To create additional roles in PostgreSQL see `$ createuser --help`.
- # When left blank, PostgreSQL will use the default role. This is
- # the same name as the operating system user running Rails.
- username: <%= ENV.fetch("DATABASE_USERNAME") { 'postgres' } %>
-
- # The password associated with the PostgreSQL role (username).
- #password:
-
- # Connect on a TCP socket. Omitted by default since the client uses a
- # domain socket that doesn't need configuration. Windows does not have
- # domain sockets, so uncomment these lines.
- host: <%= ENV.fetch("DATABASE_HOST") { "localhost" } %>
-
- # The TCP port the server listens on. Defaults to 5432.
- # If your server runs on a different port number, change accordingly.
- port: <%= ENV.fetch("DATABASE_PORT") { 5432 }.to_i %>
-
- # Schema search path. The server defaults to $user,public
- #schema_search_path: myapp,sharedapp,public
-
- # Minimum log levels, in increasing order:
- # debug5, debug4, debug3, debug2, debug1,
- # log, notice, warning, error, fatal, and panic
- # Defaults to warning.
- #min_messages: notice
-
-# Warning: The database defined as "test" will be erased and
-# re-generated from your development database when you run "rake".
-# Do not set this db to the same as development or production.
-test:
- <<: *default
- database: spree_test
- username: <%= ENV.fetch("DATABASE_USERNAME") { 'postgres' } %>
- host: <%= ENV.fetch("DATABASE_HOST") { "localhost" } %>
- port: <%= ENV.fetch("DATABASE_PORT") { 5432 }.to_i %>
-
-# As with config/credentials.yml, you never want to store sensitive information,
-# like your database password, in your source code. If your source code is
-# ever seen by anyone, they now have access to your database.
-#
-# Instead, provide the password or a full connection URL as an environment
-# variable when you boot the app. For example:
-#
-# DATABASE_URL="postgres://myuser:mypass@localhost/somedatabase"
-#
-# If the connection URL is provided in the special DATABASE_URL environment
-# variable, Rails will automatically merge its configuration values on top of
-# the values provided in this file. Alternatively, you can specify a connection
-# URL environment variable explicitly:
-#
-# production:
-# url: <%= ENV["MY_APP_DATABASE_URL"] %>
-#
-# Read https://guides.rubyonrails.org/configuring.html#configuring-a-database
-# for a full overview on how database connection configuration can be specified.
-#
-production:
- <<: *default
- url: <%= ENV['DATABASE_URL'] %>
diff --git a/server/config/environment.rb b/server/config/environment.rb
deleted file mode 100644
index cac5315775..0000000000
--- a/server/config/environment.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-# Load the Rails application.
-require_relative "application"
-
-# Initialize the Rails application.
-Rails.application.initialize!
diff --git a/server/config/environments/development.rb b/server/config/environments/development.rb
deleted file mode 100644
index 5b33fba517..0000000000
--- a/server/config/environments/development.rb
+++ /dev/null
@@ -1,90 +0,0 @@
-require "active_support/core_ext/integer/time"
-
-Rails.application.configure do
- # When SMTP_HOST is set (e.g. Docker with Mailpit), deliver via SMTP.
- # Otherwise use Letter Opener to preview emails in the browser.
- if ENV["SMTP_HOST"].present?
- config.action_mailer.delivery_method = :smtp
- config.action_mailer.smtp_settings = { address: ENV["SMTP_HOST"], port: ENV.fetch("SMTP_PORT", 1025).to_i }
- else
- config.action_mailer.delivery_method = :letter_opener
- end
- config.action_mailer.perform_deliveries = true
-
- # Improved file watching
- config.file_watcher = ActiveSupport::EventedFileUpdateChecker
- # Settings specified here will take precedence over those in config/application.rb.
-
- # Make code changes take effect immediately without server restart.
- config.enable_reloading = true
-
- # Do not eager load code on boot.
- config.eager_load = false
-
- # Show full error reports.
- config.consider_all_requests_local = true
-
- # Enable server timing.
- config.server_timing = true
-
- # Enable/disable Action Controller caching. By default Action Controller caching is disabled.
- # Run rails dev:cache to toggle Action Controller caching.
- if Rails.root.join("tmp/caching-dev.txt").exist?
- config.action_controller.perform_caching = true
- config.action_controller.enable_fragment_cache_logging = true
- config.public_file_server.headers = { "cache-control" => "public, max-age=#{2.days.to_i}" }
- else
- config.action_controller.perform_caching = false
- end
-
- # Change to :null_store to avoid any caching.
- config.cache_store = :memory_store
-
- # Store uploaded files on the local file system (see config/storage.yml for options).
- config.active_storage.service = :local
-
- # Don't care if the mailer can't send.
- config.action_mailer.raise_delivery_errors = false
-
- # Make template changes take effect immediately.
- config.action_mailer.perform_caching = false
-
- # Set localhost to be used by links generated in mailer templates.
- config.action_mailer.default_url_options = { host: "localhost", port: 3000 }
-
- # Print deprecation notices to the Rails logger.
- config.active_support.deprecation = :log
-
- # Raise an error on page load if there are pending migrations.
- config.active_record.migration_error = :page_load
-
- # Highlight code that triggered database queries in logs.
- config.active_record.verbose_query_logs = true
-
- # Append comments with runtime information tags to SQL queries in logs.
- config.active_record.query_log_tags_enabled = true
-
- # Highlight code that enqueued background job in logs.
- config.active_job.verbose_enqueue_logs = true
-
- # Highlight code that triggered redirect in logs.
- config.action_dispatch.verbose_redirect_logs = true
-
- # Suppress logger output for asset requests.
- config.assets.quiet = true
-
- # Raises error for missing translations.
- # config.i18n.raise_on_missing_translations = true
-
- # Annotate rendered view with file names.
- config.action_view.annotate_rendered_view_with_filenames = true
-
- # Uncomment if you wish to allow Action Cable access from any origin.
- # config.action_cable.disable_request_forgery_protection = true
-
- # Raise error when a before_action's only/except options reference missing actions.
- config.action_controller.raise_on_missing_callback_actions = true
-
- # Apply autocorrection by RuboCop to files generated by `bin/rails generate`.
- # config.generators.apply_rubocop_autocorrect_after_generate!
-end
diff --git a/server/config/environments/production.rb b/server/config/environments/production.rb
deleted file mode 100644
index 84f8241876..0000000000
--- a/server/config/environments/production.rb
+++ /dev/null
@@ -1,104 +0,0 @@
-require "active_support/core_ext/integer/time"
-
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # Code is not reloaded between requests.
- config.enable_reloading = false
-
- # Eager load code on boot for better performance and memory savings (ignored by Rake tasks).
- config.eager_load = true
-
- # Full error reports are disabled.
- config.consider_all_requests_local = false
-
- # Turn on fragment caching in view templates.
- config.action_controller.perform_caching = true
-
- # Cache assets for far-future expiry since they are all digest stamped.
- config.public_file_server.headers = { "cache-control" => "public, max-age=#{1.year.to_i}" }
-
- # Enable serving of images, stylesheets, and JavaScripts from an asset server.
- # config.asset_host = "http://assets.example.com"
-
- # Store uploaded files on the local file system (see config/storage.yml for options).
- if ENV["AWS_ACCESS_KEY_ID"].present? && ENV["AWS_SECRET_ACCESS_KEY"].present?
- config.active_storage.service = :amazon
- elsif ENV["CLOUDFLARE_ACCESS_KEY_ID"].present? && ENV["CLOUDFLARE_SECRET_ACCESS_KEY"].present? && ENV["CLOUDFLARE_ENDPOINT"].present?
- config.active_storage.service = :cloudflare
- else
- config.active_storage.service = :local
- end
-
- # Assume all access to the app is happening through a SSL-terminating reverse proxy.
- config.assume_ssl = ENV["RAILS_ASSUME_SSL"] != "false"
-
- # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
- config.force_ssl = ENV["RAILS_FORCE_SSL"] != "false"
-
- # Skip http-to-https redirect for the default health check endpoint.
- # config.ssl_options = { redirect: { exclude: ->(request) { request.path == "/up" } } }
-
- # Log to STDOUT with the current request id as a default log tag.
- config.log_tags = [ :request_id ]
- config.logger = ActiveSupport::TaggedLogging.logger(STDOUT)
-
- # Change to "debug" to log everything (including potentially personally-identifiable information!).
- config.log_level = ENV.fetch("RAILS_LOG_LEVEL", "info")
-
- # Condensed single-line request logs (e.g. "GET /products 200 12ms")
- config.lograge.enabled = true
- config.lograge.formatter = ->(data) {
- duration = data[:duration].to_i
- "#{data[:method]} #{data[:path]} #{data[:status]} #{duration}ms"
- }
-
- # Prevent health checks from clogging up the logs.
- config.silence_healthcheck_path = "/up"
-
- # Don't log any deprecations.
- config.active_support.report_deprecations = false
-
- # Use Redis for caching if REDIS_URL is set, otherwise fall back to memory store.
- if ENV["REDIS_URL"].present?
- config.cache_store = :redis_cache_store, { url: ENV["REDIS_URL"] }
- else
- config.cache_store = :memory_store
- end
-
- # SMTP configuration via environment variables.
- # Works with any SMTP provider (Resend, Postmark, Mailgun, SendGrid, SES, etc.)
- if ENV["SMTP_HOST"].present?
- config.action_mailer.delivery_method = :smtp
- config.action_mailer.smtp_settings = {
- address: ENV["SMTP_HOST"],
- port: ENV.fetch("SMTP_PORT", 587).to_i,
- user_name: ENV["SMTP_USERNAME"],
- password: ENV["SMTP_PASSWORD"],
- authentication: :plain,
- enable_starttls_auto: true
- }
- end
-
- config.action_mailer.default_url_options = { host: ENV.fetch("RAILS_HOST", "example.com") }
- config.action_mailer.default_options = { from: ENV["SMTP_FROM_ADDRESS"] } if ENV["SMTP_FROM_ADDRESS"].present?
-
- # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
- # the I18n.default_locale when a translation cannot be found).
- config.i18n.fallbacks = true
-
- # Do not dump schema after migrations.
- config.active_record.dump_schema_after_migration = false
-
- # Only use :id for inspections in production.
- config.active_record.attributes_for_inspect = [ :id ]
-
- # Enable DNS rebinding protection and other `Host` header attacks.
- # config.hosts = [
- # "example.com", # Allow requests from example.com
- # /.*\.example\.com/ # Allow requests from subdomains like `www.example.com`
- # ]
- #
- # Skip DNS rebinding protection for the default health check endpoint.
- # config.host_authorization = { exclude: ->(request) { request.path == "/up" } }
-end
diff --git a/server/config/environments/test.rb b/server/config/environments/test.rb
deleted file mode 100644
index c2095b1174..0000000000
--- a/server/config/environments/test.rb
+++ /dev/null
@@ -1,53 +0,0 @@
-# The test environment is used exclusively to run your application's
-# test suite. You never need to work with it otherwise. Remember that
-# your test database is "scratch space" for the test suite and is wiped
-# and recreated between test runs. Don't rely on the data there!
-
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # While tests run files are not watched, reloading is not necessary.
- config.enable_reloading = false
-
- # Eager loading loads your entire application. When running a single test locally,
- # this is usually not necessary, and can slow down your test suite. However, it's
- # recommended that you enable it in continuous integration systems to ensure eager
- # loading is working properly before deploying your code.
- config.eager_load = ENV["CI"].present?
-
- # Configure public file server for tests with cache-control for performance.
- config.public_file_server.headers = { "cache-control" => "public, max-age=3600" }
-
- # Show full error reports.
- config.consider_all_requests_local = true
- config.cache_store = :null_store
-
- # Render exception templates for rescuable exceptions and raise for other exceptions.
- config.action_dispatch.show_exceptions = :rescuable
-
- # Disable request forgery protection in test environment.
- config.action_controller.allow_forgery_protection = false
-
- # Store uploaded files on the local file system in a temporary directory.
- config.active_storage.service = :test
-
- # Tell Action Mailer not to deliver emails to the real world.
- # The :test delivery method accumulates sent emails in the
- # ActionMailer::Base.deliveries array.
- config.action_mailer.delivery_method = :test
-
- # Set host to be used by links generated in mailer templates.
- config.action_mailer.default_url_options = { host: "example.com" }
-
- # Print deprecation notices to the stderr.
- config.active_support.deprecation = :stderr
-
- # Raises error for missing translations.
- # config.i18n.raise_on_missing_translations = true
-
- # Annotate rendered view with file names.
- # config.action_view.annotate_rendered_view_with_filenames = true
-
- # Raise error when a before_action's only/except options reference missing actions.
- config.action_controller.raise_on_missing_callback_actions = true
-end
diff --git a/server/config/importmap.rb b/server/config/importmap.rb
deleted file mode 100644
index 909dfc542d..0000000000
--- a/server/config/importmap.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# Pin npm packages by running ./bin/importmap
-
-pin "application"
-pin "@hotwired/turbo-rails", to: "turbo.min.js"
-pin "@hotwired/stimulus", to: "stimulus.min.js"
-pin "@hotwired/stimulus-loading", to: "stimulus-loading.js"
-pin_all_from "app/javascript/controllers", under: "controllers"
diff --git a/server/config/initializers/assets.rb b/server/config/initializers/assets.rb
deleted file mode 100644
index 487324424f..0000000000
--- a/server/config/initializers/assets.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Version of your assets, change this if you want to expire all your assets.
-Rails.application.config.assets.version = "1.0"
-
-# Add additional assets to the asset load path.
-# Rails.application.config.assets.paths << Emoji.images_path
diff --git a/server/config/initializers/content_security_policy.rb b/server/config/initializers/content_security_policy.rb
deleted file mode 100644
index d51d713979..0000000000
--- a/server/config/initializers/content_security_policy.rb
+++ /dev/null
@@ -1,29 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Define an application-wide content security policy.
-# See the Securing Rails Applications Guide for more information:
-# https://guides.rubyonrails.org/security.html#content-security-policy-header
-
-# Rails.application.configure do
-# config.content_security_policy do |policy|
-# policy.default_src :self, :https
-# policy.font_src :self, :https, :data
-# policy.img_src :self, :https, :data
-# policy.object_src :none
-# policy.script_src :self, :https
-# policy.style_src :self, :https
-# # Specify URI for violation reports
-# # policy.report_uri "/csp-violation-report-endpoint"
-# end
-#
-# # Generate session nonces for permitted importmap, inline scripts, and inline styles.
-# config.content_security_policy_nonce_generator = ->(request) { request.session.id.to_s }
-# config.content_security_policy_nonce_directives = %w(script-src style-src)
-#
-# # Automatically add `nonce` to `javascript_tag`, `javascript_include_tag`, and `stylesheet_link_tag`
-# # if the corresponding directives are specified in `content_security_policy_nonce_directives`.
-# # config.content_security_policy_nonce_auto = true
-#
-# # Report violations without enforcing the policy.
-# # config.content_security_policy_report_only = true
-# end
diff --git a/server/config/initializers/devise.rb b/server/config/initializers/devise.rb
deleted file mode 100644
index 38308f7da1..0000000000
--- a/server/config/initializers/devise.rb
+++ /dev/null
@@ -1,316 +0,0 @@
-# frozen_string_literal: true
-
-# Assuming you have not yet modified this file, each configuration option below
-# is set to its default value. Note that some are commented out while others
-# are not: uncommented lines are intended to protect your configuration from
-# breaking changes in upgrades (i.e., in the event that future versions of
-# Devise change the default values for those options).
-#
-# Use this hook to configure devise mailer, warden hooks and so forth.
-# Many of these configuration options can be set straight in your model.
-Devise.setup do |config|
- # The secret key used by Devise. Devise uses this key to generate
- # random tokens. Changing this key will render invalid all existing
- # confirmation, reset password and unlock tokens in the database.
- # Devise will use the `secret_key_base` as its `secret_key`
- # by default. You can change it below and use your own secret key.
- # config.secret_key = '7cac1797841be0c896722f2e26e9233da28dae1e62a0b0e86524eb7b17f7314ffa95316adbd94ad013899b5b2523a0ea7da8ca7e0b902862605e18f71c8c1858'
-
- # ==> Controller configuration
- # Configure the parent class to the devise controllers.
- # config.parent_controller = 'DeviseController'
-
- # ==> Mailer Configuration
- # Configure the e-mail address which will be shown in Devise::Mailer,
- # note that it will be overwritten if you use your own mailer class
- # with default "from" parameter.
- config.mailer_sender = '[email protected]'
-
- # Configure the class responsible to send e-mails.
- # config.mailer = 'Devise::Mailer'
-
- # Configure the parent class responsible to send e-mails.
- # config.parent_mailer = 'ActionMailer::Base'
-
- # ==> ORM configuration
- # Load and configure the ORM. Supports :active_record (default) and
- # :mongoid (bson_ext recommended) by default. Other ORMs may be
- # available as additional gems.
- require 'devise/orm/active_record'
-
- # ==> Configuration for any authentication mechanism
- # Configure which keys are used when authenticating a user. The default is
- # just :email. You can configure it to use [:username, :subdomain], so for
- # authenticating a user, both parameters are required. Remember that those
- # parameters are used only when authenticating and not when retrieving from
- # session. If you need permissions, you should implement that in a before filter.
- # You can also supply a hash where the value is a boolean determining whether
- # or not authentication should be aborted when the value is not present.
- # config.authentication_keys = [:email]
-
- # Configure parameters from the request object used for authentication. Each entry
- # given should be a request method and it will automatically be passed to the
- # find_for_authentication method and considered in your model lookup. For instance,
- # if you set :request_keys to [:subdomain], :subdomain will be used on authentication.
- # The same considerations mentioned for authentication_keys also apply to request_keys.
- # config.request_keys = []
-
- # Configure which authentication keys should be case-insensitive.
- # These keys will be downcased upon creating or modifying a user and when used
- # to authenticate or find a user. Default is :email.
- config.case_insensitive_keys = [:email]
-
- # Configure which authentication keys should have whitespace stripped.
- # These keys will have whitespace before and after removed upon creating or
- # modifying a user and when used to authenticate or find a user. Default is :email.
- config.strip_whitespace_keys = [:email]
-
- # Tell if authentication through request.params is enabled. True by default.
- # It can be set to an array that will enable params authentication only for the
- # given strategies, for example, `config.params_authenticatable = [:database]` will
- # enable it only for database (email + password) authentication.
- # config.params_authenticatable = true
-
- # Tell if authentication through HTTP Auth is enabled. False by default.
- # It can be set to an array that will enable http authentication only for the
- # given strategies, for example, `config.http_authenticatable = [:database]` will
- # enable it only for database authentication.
- # For API-only applications to support authentication "out-of-the-box", you will likely want to
- # enable this with :database unless you are using a custom strategy.
- # The supported strategies are:
- # :database = Support basic authentication with authentication key + password
- # config.http_authenticatable = false
-
- # If 401 status code should be returned for AJAX requests. True by default.
- # config.http_authenticatable_on_xhr = true
-
- # The realm used in Http Basic Authentication. 'Application' by default.
- # config.http_authentication_realm = 'Application'
-
- # It will change confirmation, password recovery and other workflows
- # to behave the same regardless if the e-mail provided was right or wrong.
- # Does not affect registerable.
- # config.paranoid = true
-
- # By default Devise will store the user in session. You can skip storage for
- # particular strategies by setting this option.
- # Notice that if you are skipping storage for all authentication paths, you
- # may want to disable generating routes to Devise's sessions controller by
- # passing skip: :sessions to `devise_for` in your config/routes.rb
- config.skip_session_storage = [:http_auth]
-
- # By default, Devise cleans up the CSRF token on authentication to
- # avoid CSRF token fixation attacks. This means that, when using AJAX
- # requests for sign in and sign up, you need to get a new CSRF token
- # from the server. You can disable this option at your own risk.
- # config.clean_up_csrf_token_on_authentication = true
-
- # When false, Devise will not attempt to reload routes on eager load.
- # This can reduce the time taken to boot the app but if your application
- # requires the Devise mappings to be loaded during boot time the application
- # won't boot properly.
- # config.reload_routes = true
-
- # ==> Configuration for :database_authenticatable
- # For bcrypt, this is the cost for hashing the password and defaults to 12. If
- # using other algorithms, it sets how many times you want the password to be hashed.
- # The number of stretches used for generating the hashed password are stored
- # with the hashed password. This allows you to change the stretches without
- # invalidating existing passwords.
- #
- # Limiting the stretches to just one in testing will increase the performance of
- # your test suite dramatically. However, it is STRONGLY RECOMMENDED to not use
- # a value less than 10 in other environments. Note that, for bcrypt (the default
- # algorithm), the cost increases exponentially with the number of stretches (e.g.
- # a value of 20 is already extremely slow: approx. 60 seconds for 1 calculation).
- config.stretches = Rails.env.test? ? 1 : 12
-
- # Set up a pepper to generate the hashed password.
- # config.pepper = '8f2c55716f252d2f97438b3ee69cbf1cc5ef30257450a833b5adf8ea6d00af5f7d3c9f12eac247d859cef3e37c657ab76086d19787ff80e72fafe289f7dcc906'
-
- # Send a notification to the original email when the user's email is changed.
- # config.send_email_changed_notification = false
-
- # Send a notification email when the user's password is changed.
- # config.send_password_change_notification = false
-
- # ==> Configuration for :confirmable
- # A period that the user is allowed to access the website even without
- # confirming their account. For instance, if set to 2.days, the user will be
- # able to access the website for two days without confirming their account,
- # access will be blocked just in the third day.
- # You can also set it to nil, which will allow the user to access the website
- # without confirming their account.
- # Default is 0.days, meaning the user cannot access the website without
- # confirming their account.
- # config.allow_unconfirmed_access_for = 2.days
-
- # A period that the user is allowed to confirm their account before their
- # token becomes invalid. For example, if set to 3.days, the user can confirm
- # their account within 3 days after the mail was sent, but on the fourth day
- # their account can't be confirmed with the token any more.
- # Default is nil, meaning there is no restriction on how long a user can take
- # before confirming their account.
- # config.confirm_within = 3.days
-
- # If true, requires any email changes to be confirmed (exactly the same way as
- # initial account confirmation) to be applied. Requires additional unconfirmed_email
- # db field (see migrations). Until confirmed, new email is stored in
- # unconfirmed_email column, and copied to email column on successful confirmation.
- # Also, when used in conjunction with `send_email_changed_notification`,
- # the notification is sent to the original email when the change is requested,
- # not when the unconfirmed email is confirmed.
- config.reconfirmable = true
-
- # Defines which key will be used when confirming an account
- # config.confirmation_keys = [:email]
-
- # ==> Configuration for :rememberable
- # The time the user will be remembered without asking for credentials again.
- # config.remember_for = 2.weeks
-
- # Invalidates all the remember me tokens when the user signs out.
- config.expire_all_remember_me_on_sign_out = true
-
- # If true, extends the user's remember period when remembered via cookie.
- # config.extend_remember_period = false
-
- # Options to be passed to the created cookie. For instance, you can set
- # secure: true in order to force SSL only cookies.
- # config.rememberable_options = {}
-
- # ==> Configuration for :validatable
- # Range for password length.
- config.password_length = 6..128
-
- # Email regex used to validate email formats. It simply asserts that
- # one (and only one) @ exists in the given string. This is mainly
- # to give user feedback and not to assert the e-mail validity.
- config.email_regexp = /\A[^@\s]+@[^@\s]+\z/
-
- # ==> Configuration for :timeoutable
- # The time you want to timeout the user session without activity. After this
- # time the user will be asked for credentials again. Default is 30 minutes.
- # config.timeout_in = 30.minutes
-
- # ==> Configuration for :lockable
- # Defines which strategy will be used to lock an account.
- # :failed_attempts = Locks an account after a number of failed attempts to sign in.
- # :none = No lock strategy. You should handle locking by yourself.
- # config.lock_strategy = :failed_attempts
-
- # Defines which key will be used when locking and unlocking an account
- # config.unlock_keys = [:email]
-
- # Defines which strategy will be used to unlock an account.
- # :email = Sends an unlock link to the user email
- # :time = Re-enables login after a certain amount of time (see :unlock_in below)
- # :both = Enables both strategies
- # :none = No unlock strategy. You should handle unlocking by yourself.
- # config.unlock_strategy = :both
-
- # Number of authentication tries before locking an account if lock_strategy
- # is failed attempts.
- # config.maximum_attempts = 20
-
- # Time interval to unlock the account if :time is enabled as unlock_strategy.
- # config.unlock_in = 1.hour
-
- # Warn on the last attempt before the account is locked.
- # config.last_attempt_warning = true
-
- # ==> Configuration for :recoverable
- #
- # Defines which key will be used when recovering the password for an account
- # config.reset_password_keys = [:email]
-
- # Time interval you can reset your password with a reset password key.
- # Don't put a too small interval or your users won't have the time to
- # change their passwords.
- config.reset_password_within = 6.hours
-
- # When set to false, does not sign a user in automatically after their password is
- # reset. Defaults to true, so a user is signed in automatically after a reset.
- # config.sign_in_after_reset_password = true
-
- # ==> Configuration for :encryptable
- # Allow you to use another hashing or encryption algorithm besides bcrypt (default).
- # You can use :sha1, :sha512 or algorithms from others authentication tools as
- # :clearance_sha1, :authlogic_sha512 (then you should set stretches above to 20
- # for default behavior) and :restful_authentication_sha1 (then you should set
- # stretches to 10, and copy REST_AUTH_SITE_KEY to pepper).
- #
- # Require the `devise-encryptable` gem when using anything other than bcrypt
- # config.encryptor = :sha512
-
- # ==> Scopes configuration
- # Turn scoped views on. Before rendering "sessions/new", it will first check for
- # "users/sessions/new". It's turned off by default because it's slower if you
- # are using only default views.
- # config.scoped_views = false
-
- # Configure the default scope given to Warden. By default it's the first
- # devise role declared in your routes (usually :user).
- # config.default_scope = :user
-
- # Set this configuration to false if you want /users/sign_out to sign out
- # only the current scope. By default, Devise signs out all scopes.
- # config.sign_out_all_scopes = true
-
- # ==> Navigation configuration
- # Lists the formats that should be treated as navigational. Formats like
- # :html should redirect to the sign in page when the user does not have
- # access, but formats like :xml or :json, should return 401.
- #
- # If you have any extra navigational formats, like :iphone or :mobile, you
- # should add them to the navigational formats lists.
- #
- # The "*/*" below is required to match Internet Explorer requests.
- # config.navigational_formats = ['*/*', :html, :turbo_stream]
-
- # The default HTTP method used to sign out a resource. Default is :delete.
- config.sign_out_via = :delete
-
- # ==> OmniAuth
- # Add a new OmniAuth provider. Check the wiki for more information on setting
- # up on your models and hooks.
- # config.omniauth :github, 'APP_ID', 'APP_SECRET', scope: 'user,public_repo'
-
- # ==> Warden configuration
- # If you want to use other strategies, that are not supported by Devise, or
- # change the failure app, you can configure them inside the config.warden block.
- #
- # config.warden do |warden_config|
- # warden_config.intercept_401 = false
- # warden_config.default_strategies(scope: :user).unshift :some_external_strategy
- # end
-
- # ==> Mountable engine configurations
- # When using Devise inside an engine, let's call it `MyEngine`, and this engine
- # is mountable, there are some extra configurations to be taken into account.
- # The following options are available, assuming the engine is mounted as:
- #
- # mount MyEngine, at: '/my_engine'
- #
- # The router that invoked `devise_for`, in the example above, would be:
- # config.router_name = :my_engine
- #
- # When using OmniAuth, Devise cannot automatically set OmniAuth path,
- # so you need to do it manually. For the users scope, it would be:
- # config.omniauth_path_prefix = '/my_engine/users/auth'
-
- # ==> Hotwire/Turbo configuration
- # When using Devise with Hotwire/Turbo, the http status for error responses
- # and some redirects must match the following. The default in Devise for existing
- # apps is `200 OK` and `302 Found` respectively, but new apps are generated with
- # these new defaults that match Hotwire/Turbo behavior.
- # Note: These might become the new default in future versions of Devise.
- config.responder.error_status = :unprocessable_content
- config.responder.redirect_status = :see_other
-
- # ==> Configuration for :registerable
-
- # When set to false, does not sign a user in automatically after their password is
- # changed. Defaults to true, so a user is signed in automatically after changing a password.
- # config.sign_in_after_change_password = true
-end
diff --git a/server/config/initializers/filter_parameter_logging.rb b/server/config/initializers/filter_parameter_logging.rb
deleted file mode 100644
index c0b717f7ec..0000000000
--- a/server/config/initializers/filter_parameter_logging.rb
+++ /dev/null
@@ -1,8 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Configure parameters to be partially matched (e.g. passw matches password) and filtered from the log file.
-# Use this to limit dissemination of sensitive information.
-# See the ActiveSupport::ParameterFilter documentation for supported notations and behaviors.
-Rails.application.config.filter_parameters += [
- :passw, :email, :secret, :token, :_key, :crypt, :salt, :certificate, :otp, :ssn, :cvv, :cvc
-]
diff --git a/server/config/initializers/inflections.rb b/server/config/initializers/inflections.rb
deleted file mode 100644
index 3860f659ea..0000000000
--- a/server/config/initializers/inflections.rb
+++ /dev/null
@@ -1,16 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Add new inflection rules using the following format. Inflections
-# are locale specific, and you may define rules for as many different
-# locales as you wish. All of these examples are active by default:
-# ActiveSupport::Inflector.inflections(:en) do |inflect|
-# inflect.plural /^(ox)$/i, "\\1en"
-# inflect.singular /^(ox)en/i, "\\1"
-# inflect.irregular "person", "people"
-# inflect.uncountable %w( fish sheep )
-# end
-
-# These inflection rules are supported but not enabled by default:
-# ActiveSupport::Inflector.inflections(:en) do |inflect|
-# inflect.acronym "RESTful"
-# end
diff --git a/server/config/initializers/sentry.rb b/server/config/initializers/sentry.rb
deleted file mode 100644
index 6df3b00117..0000000000
--- a/server/config/initializers/sentry.rb
+++ /dev/null
@@ -1,30 +0,0 @@
-if ENV['SENTRY_DSN'].present?
- Sentry.init do |config|
- config.dsn = ENV['SENTRY_DSN']
- config.breadcrumbs_logger = %i[active_support_logger http_logger]
-
- # Set tracesSampleRate to 1.0 to capture 100%
- # of transactions for performance monitoring.
- # We recommend adjusting this value in production
- config.traces_sample_rate = 0.5
-
- config.enabled_environments = %w[production staging]
- config.enabled_environments << 'development' if ENV['SENTRY_REPORT_ON_DEVELOPMENT'].present?
-
- config.release = "spree@#{ENV['RENDER_GIT_COMMIT']}" if ENV['RENDER_GIT_COMMIT'].present?
-
- config.excluded_exceptions += [
- 'ActionController::RoutingError',
- 'ActiveRecord::RecordNotFound',
- 'Sidekiq::JobRetry::Skip',
- 'Sidekiq::JobRetry::SilentRetry',
- 'Aws::S3::Errors::NoSuchKey',
- 'Aws::S3::Errors::NotFound',
- 'ActiveStorage::FileNotFoundError'
- ]
-
- # Use native Rails error subscriber
- # https://guides.rubyonrails.org/error_reporting.html
- config.rails.register_error_subscriber = true
- end
-end
diff --git a/server/config/initializers/spree.rb b/server/config/initializers/spree.rb
deleted file mode 100644
index 7ccc1b6aa7..0000000000
--- a/server/config/initializers/spree.rb
+++ /dev/null
@@ -1,121 +0,0 @@
-# Configure Spree Preferences
-#
-# Note: Initializing preferences available within the Admin will overwrite any changes that were made through the user interface when you restart.
-# If you would like users to be able to update a setting with the Admin it should NOT be set here.
-#
-# Note: If a preference is set here it will be stored within the cache & database upon initialization.
-# Just removing an entry from this initializer will not make the preference value go away.
-# Instead you must either set a new value or remove entry, clear cache, and remove database entry.
-#
-# In order to initialize a setting do:
-# config.setting_name = 'new value'
-#
-# More on configuring Spree preferences can be found at:
-# https://docs.spreecommerce.org/developer/customization
-Spree.config do |config|
- # Example:
- # Uncomment to stop tracking inventory levels in the application
- # config.track_inventory_levels = false
-
- # Silence engine migration warnings - migrations live in engines and are
- # copied to db/migrate on demand, not checked into the backend app
- config.disable_migration_check = true
-end
-
-# Background job queue names
-# Spree.queues.default = :default
-# Spree.queues.events = :default # Event subscribers (Spree::Events::SubscriberJob)
-# Spree.queues.variants = :default
-# Spree.queues.stock_location_stock_items = :default
-# Spree.queues.coupon_codes = :default
-
-# Use a CDN host for images, eg. Cloudfront
-# This is used in the frontend to generate absolute URLs to images
-# Default is nil and your application host will be used
-# Spree.cdn_host = 'cdn.example.com'
-
-# Use a different service for storage (S3, google, etc)
-# unless Rails.env.test?
-# Spree.private_storage_service_name = :amazon_public # public assets, such as product images
-# Spree.public_storage_service_name = :amazon_private # private assets, such as invoices, etc
-# end
-
-# Configure Spree Dependencies
-#
-# Note: If a dependency is set here it will NOT be stored within the cache & database upon initialization.
-# Just removing an entry from this initializer will make the dependency value go away.
-#
-# More on how to use Spree dependencies can be found at:
-# https://docs.spreecommerce.org/customization/dependencies
-Spree.dependencies do |dependencies|
- # Example:
- # Uncomment to change the default Service handling adding Items to Cart
- # dependencies.cart_add_item_service = 'MyNewAwesomeService'
-end
-
-# Spree::Api::Dependencies.storefront_cart_serializer = 'MyRailsApp::CartSerializer'
-
-# uncomment lines below to add your own custom business logic
-# such as promotions, shipping methods, etc
-Rails.application.config.after_initialize do
- # Payment methods and shipping calculators
- # Spree.payment_methods << Spree::PaymentMethods::VerySafeAndReliablePaymentMethod
- # Spree.calculators.shipping_methods << Spree::ShippingMethods::SuperExpensiveNotVeryFastShipping
- # Spree.calculators.tax_rates << Spree::TaxRates::FinanceTeamForcedMeToCodeThis
-
- # Stock splitters and adjusters
- # Spree.stock_splitters << Spree::Stock::Splitters::SecretLogicSplitter
- # Spree.adjusters << Spree::Adjustable::Adjuster::TaxTheRich
-
- # Custom promotions
- # Spree.calculators.promotion_actions_create_adjustments << Spree::Calculators::PromotionActions::CreateAdjustments::AddDiscountForFriends
- # Spree.calculators.promotion_actions_create_item_adjustments << Spree::Calculators::PromotionActions::CreateItemAdjustments::FinanceTeamForcedMeToCodeThis
- # Spree.promotions.rules << Spree::Promotions::Rules::OnlyForVIPCustomers
- # Spree.promotions.actions << Spree::Promotions::Actions::GiftWithPurchase
-
- # Taxon rules
- # Spree.taxon_rules << Spree::TaxonRules::ProductsWithColor
-
- # Exports and reports
- # Spree.export_types << Spree::Exports::Payments
- # Spree.reports << Spree::Reports::MassivelyOvercomplexReportForCfo
-
- # Admin partials
- # Spree.admin.partials.product_form << 'spree/admin/products/custom_section'
-
- # Role-based permissions
- # Configure which permission sets are assigned to each role
- # More on permission sets: https://spreecommerce.org/docs/developer/customization/permissions
- Spree.permissions.assign(:default, [Spree::PermissionSets::DefaultCustomer])
- Spree.permissions.assign(:admin, [Spree::PermissionSets::SuperUser])
-
- # Example: Create a custom role with specific permissions
- # Spree.permissions.assign(:customer_service, [
- # Spree::PermissionSets::DashboardDisplay,
- # Spree::PermissionSets::OrderManagement,
- # Spree::PermissionSets::UserDisplay
- # ])
- #
- # Available permission sets:
- # - Spree::PermissionSets::SuperUser (full admin access)
- # - Spree::PermissionSets::DefaultCustomer (storefront access)
- # - Spree::PermissionSets::DashboardDisplay (view admin dashboard)
- # - Spree::PermissionSets::OrderDisplay / OrderManagement
- # - Spree::PermissionSets::ProductDisplay / ProductManagement
- # - Spree::PermissionSets::UserDisplay / UserManagement
- # - Spree::PermissionSets::StockDisplay / StockManagement
- # - Spree::PermissionSets::PromotionManagement
- # - Spree::PermissionSets::ConfigurationManagement
- # - Spree::PermissionSets::RoleManagement
-end
-
-Spree.user_class = "Spree::User"
-Spree.admin_user_class = "Spree::AdminUser"
-
- Rails.application.config.to_prepare do
- require_dependency 'spree/authentication_helpers'
- end
-
- if defined?(Devise) && Devise.respond_to?(:parent_controller)
- Devise.parent_controller = "Spree::BaseController"
- end
diff --git a/server/config/locales/devise.en.yml b/server/config/locales/devise.en.yml
deleted file mode 100644
index 260e1c4ba6..0000000000
--- a/server/config/locales/devise.en.yml
+++ /dev/null
@@ -1,65 +0,0 @@
-# Additional translations at https://github.com/heartcombo/devise/wiki/I18n
-
-en:
- devise:
- confirmations:
- confirmed: "Your email address has been successfully confirmed."
- send_instructions: "You will receive an email with instructions for how to confirm your email address in a few minutes."
- send_paranoid_instructions: "If your email address exists in our database, you will receive an email with instructions for how to confirm your email address in a few minutes."
- failure:
- already_authenticated: "You are already signed in."
- inactive: "Your account is not activated yet."
- invalid: "Invalid %{authentication_keys} or password."
- locked: "Your account is locked."
- last_attempt: "You have one more attempt before your account is locked."
- not_found_in_database: "Invalid %{authentication_keys} or password."
- timeout: "Your session expired. Please sign in again to continue."
- unauthenticated: "You need to sign in or sign up before continuing."
- unconfirmed: "You have to confirm your email address before continuing."
- mailer:
- confirmation_instructions:
- subject: "Confirmation instructions"
- reset_password_instructions:
- subject: "Reset password instructions"
- unlock_instructions:
- subject: "Unlock instructions"
- email_changed:
- subject: "Email Changed"
- password_change:
- subject: "Password Changed"
- omniauth_callbacks:
- failure: "Could not authenticate you from %{kind} because \"%{reason}\"."
- success: "Successfully authenticated from %{kind} account."
- passwords:
- no_token: "You can't access this page without coming from a password reset email. If you do come from a password reset email, please make sure you used the full URL provided."
- send_instructions: "You will receive an email with instructions on how to reset your password in a few minutes."
- send_paranoid_instructions: "If your email address exists in our database, you will receive a password recovery link at your email address in a few minutes."
- updated: "Your password has been changed successfully. You are now signed in."
- updated_not_active: "Your password has been changed successfully."
- registrations:
- destroyed: "Bye! Your account has been successfully cancelled. We hope to see you again soon."
- signed_up: "Welcome! You have signed up successfully."
- signed_up_but_inactive: "You have signed up successfully. However, we could not sign you in because your account is not yet activated."
- signed_up_but_locked: "You have signed up successfully. However, we could not sign you in because your account is locked."
- signed_up_but_unconfirmed: "A message with a confirmation link has been sent to your email address. Please follow the link to activate your account."
- update_needs_confirmation: "You updated your account successfully, but we need to verify your new email address. Please check your email and follow the confirmation link to confirm your new email address."
- updated: "Your account has been updated successfully."
- updated_but_not_signed_in: "Your account has been updated successfully, but since your password was changed, you need to sign in again."
- sessions:
- signed_in: "Signed in successfully."
- signed_out: "Signed out successfully."
- already_signed_out: "Signed out successfully."
- unlocks:
- send_instructions: "You will receive an email with instructions for how to unlock your account in a few minutes."
- send_paranoid_instructions: "If your account exists, you will receive an email with instructions for how to unlock it in a few minutes."
- unlocked: "Your account has been unlocked successfully. Please sign in to continue."
- errors:
- messages:
- already_confirmed: "was already confirmed, please try signing in"
- confirmation_period_expired: "needs to be confirmed within %{period}, please request a new one"
- expired: "has expired, please request a new one"
- not_found: "not found"
- not_locked: "was not locked"
- not_saved:
- one: "1 error prohibited this %{resource} from being saved:"
- other: "%{count} errors prohibited this %{resource} from being saved:"
diff --git a/server/config/locales/en.yml b/server/config/locales/en.yml
deleted file mode 100644
index 6c349ae5e3..0000000000
--- a/server/config/locales/en.yml
+++ /dev/null
@@ -1,31 +0,0 @@
-# Files in the config/locales directory are used for internationalization and
-# are automatically loaded by Rails. If you want to use locales other than
-# English, add the necessary files in this directory.
-#
-# To use the locales, use `I18n.t`:
-#
-# I18n.t "hello"
-#
-# In views, this is aliased to just `t`:
-#
-# <%= t("hello") %>
-#
-# To use a different locale, set it with `I18n.locale`:
-#
-# I18n.locale = :es
-#
-# This would use the information in config/locales/es.yml.
-#
-# To learn more about the API, please read the Rails Internationalization guide
-# at https://guides.rubyonrails.org/i18n.html.
-#
-# Be aware that YAML interprets the following case-insensitive strings as
-# booleans: `true`, `false`, `on`, `off`, `yes`, `no`. Therefore, these strings
-# must be quoted to be interpreted as strings. For example:
-#
-# en:
-# "yes": yup
-# enabled: "ON"
-
-en:
- hello: "Hello world"
diff --git a/server/config/puma.rb b/server/config/puma.rb
deleted file mode 100644
index 1c317b410d..0000000000
--- a/server/config/puma.rb
+++ /dev/null
@@ -1,39 +0,0 @@
-# This configuration file will be evaluated by Puma. The top-level methods that
-# are invoked here are part of Puma's configuration DSL. For more information
-# about methods provided by the DSL, see https://puma.io/puma/Puma/DSL.html.
-#
-# Puma starts a configurable number of processes (workers) and each process
-# serves each request in a thread from an internal thread pool.
-#
-# You can control the number of workers using ENV["WEB_CONCURRENCY"]. You
-# should only set this value when you want to run 2 or more workers. The
-# default is already 1. You can set it to `auto` to automatically start a worker
-# for each available processor.
-#
-# The ideal number of threads per worker depends both on how much time the
-# application spends waiting for IO operations and on how much you wish to
-# prioritize throughput over latency.
-#
-# As a rule of thumb, increasing the number of threads will increase how much
-# traffic a given process can handle (throughput), but due to CRuby's
-# Global VM Lock (GVL) it has diminishing returns and will degrade the
-# response time (latency) of the application.
-#
-# The default is set to 3 threads as it's deemed a decent compromise between
-# throughput and latency for the average Rails application.
-#
-# Any libraries that use a connection pool or another resource pool should
-# be configured to provide at least as many connections as the number of
-# threads. This includes Active Record's `pool` parameter in `database.yml`.
-threads_count = ENV.fetch("RAILS_MAX_THREADS", 3)
-threads threads_count, threads_count
-
-# Specifies the `port` that Puma will listen on to receive requests; default is 3000.
-port ENV.fetch("PORT", 3000)
-
-# Allow puma to be restarted by `bin/rails restart` command.
-plugin :tmp_restart
-
-# Specify the PID file. Defaults to tmp/pids/server.pid in development.
-# In other environments, only set the PID file if requested.
-pidfile ENV["PIDFILE"] if ENV["PIDFILE"]
diff --git a/server/config/routes.rb b/server/config/routes.rb
deleted file mode 100644
index b875c22b96..0000000000
--- a/server/config/routes.rb
+++ /dev/null
@@ -1,39 +0,0 @@
-Rails.application.routes.draw do
- Spree::Core::Engine.add_routes do
- # Admin authentication
- devise_for(
- Spree.admin_user_class.model_name.singular_route_key,
- class_name: Spree.admin_user_class.to_s,
- controllers: {
- sessions: 'spree/admin/user_sessions',
- passwords: 'spree/admin/user_passwords'
- },
- skip: :registrations,
- path: :admin_user,
- router_name: :spree
- )
- end
- # This line mounts Spree's routes at the root of your application.
- # This means, any requests to URLs such as /products, will go to
- # Spree::ProductsController.
- # If you would like to change where this engine is mounted, simply change the
- # :at option to something different.
- #
- # We ask that you don't use the :as option here, as Spree relies on it being
- # the default of "spree".
- mount Spree::Core::Engine, at: '/'
- devise_for :admin_users, class_name: "Spree::AdminUser"
- devise_for :users, class_name: "Spree::User"
- # Define your application routes per the DSL in https://guides.rubyonrails.org/routing.html
-
- # Reveal health status on /up that returns 200 if the app boots with no exceptions, otherwise 500.
- # Can be used by load balancers and uptime monitors to verify that the app is live.
- get "up" => "rails/health#show", as: :rails_health_check
-
- # Render dynamic PWA files from app/views/pwa/* (remember to link manifest in application.html.erb)
- # get "manifest" => "rails/pwa#manifest", as: :pwa_manifest
- # get "service-worker" => "rails/pwa#service_worker", as: :pwa_service_worker
-
- # Defines the root path route ("/")
- # root "posts#index"
-end
diff --git a/server/config/storage.yml b/server/config/storage.yml
deleted file mode 100644
index dfb86e8ebf..0000000000
--- a/server/config/storage.yml
+++ /dev/null
@@ -1,36 +0,0 @@
-test:
- service: Disk
- root: <%= Rails.root.join("tmp/storage") %>
-
-local:
- service: Disk
- root: <%= Rails.root.join("storage") %>
-
-amazon:
- service: S3
- access_key_id: <%= ENV.fetch("AWS_ACCESS_KEY_ID", "") %>
- secret_access_key: <%= ENV.fetch("AWS_SECRET_ACCESS_KEY", "") %>
- region: <%= ENV.fetch("AWS_REGION", "") %>
- bucket: <%= ENV.fetch("AWS_BUCKET", "spree-#{Rails.env}") %>
-
-cloudflare:
- service: S3
- endpoint: <%= ENV.fetch("CLOUDFLARE_ENDPOINT", "") %>
- access_key_id: <%= ENV.fetch("CLOUDFLARE_ACCESS_KEY_ID", "") %>
- secret_access_key: <%= ENV.fetch("CLOUDFLARE_SECRET_ACCESS_KEY", "") %>
- region: auto
- bucket: <%= ENV.fetch("CLOUDFLARE_BUCKET", "spree-#{Rails.env}") %>
- force_path_style: true
- request_checksum_calculation: "when_required"
- response_checksum_validation: "when_required"
-# Remember not to checkin your GCS keyfile to a repository
-# google:
-# service: GCS
-# project: your_project
-# credentials: <%= Rails.root.join("path/to/gcs.keyfile") %>
-# bucket: your_own_bucket-<%= Rails.env %>
-
-# mirror:
-# service: Mirror
-# primary: local
-# mirrors: [ amazon, google, microsoft ]
diff --git a/server/db/migrate/20260317145632_devise_create_spree_users.rb b/server/db/migrate/20260317145632_devise_create_spree_users.rb
deleted file mode 100644
index 0d0178da33..0000000000
--- a/server/db/migrate/20260317145632_devise_create_spree_users.rb
+++ /dev/null
@@ -1,44 +0,0 @@
-# frozen_string_literal: true
-
-class DeviseCreateSpreeUsers < ActiveRecord::Migration[7.2]
- def change
- create_table :spree_users do |t|
- ## Database authenticatable
- t.string :email, null: false, default: ""
- t.string :encrypted_password, null: false, default: ""
-
- ## Recoverable
- t.string :reset_password_token
- t.datetime :reset_password_sent_at
-
- ## Rememberable
- t.datetime :remember_created_at
-
- ## Trackable
- t.integer :sign_in_count, default: 0, null: false
- t.datetime :current_sign_in_at
- t.datetime :last_sign_in_at
- t.string :current_sign_in_ip
- t.string :last_sign_in_ip
-
- ## Confirmable
- t.string :confirmation_token
- t.datetime :confirmed_at
- t.datetime :confirmation_sent_at
- t.string :unconfirmed_email # Only if using reconfirmable
-
- ## Lockable
- t.integer :failed_attempts, default: 0, null: false # Only if lock strategy is :failed_attempts
- t.string :unlock_token # Only if unlock strategy is :email or :both
- t.datetime :locked_at
-
-
- t.timestamps null: false
- end
-
- add_index :spree_users, :email, unique: true
- add_index :spree_users, :reset_password_token, unique: true
- add_index :spree_users, :confirmation_token, unique: true
- add_index :spree_users, :unlock_token, unique: true
- end
-end
diff --git a/server/db/migrate/20260317145640_devise_create_spree_admin_users.rb b/server/db/migrate/20260317145640_devise_create_spree_admin_users.rb
deleted file mode 100644
index 7c2e62ff96..0000000000
--- a/server/db/migrate/20260317145640_devise_create_spree_admin_users.rb
+++ /dev/null
@@ -1,44 +0,0 @@
-# frozen_string_literal: true
-
-class DeviseCreateSpreeAdminUsers < ActiveRecord::Migration[7.2]
- def change
- create_table :spree_admin_users do |t|
- ## Database authenticatable
- t.string :email, null: false, default: ""
- t.string :encrypted_password, null: false, default: ""
-
- ## Recoverable
- t.string :reset_password_token
- t.datetime :reset_password_sent_at
-
- ## Rememberable
- t.datetime :remember_created_at
-
- ## Trackable
- t.integer :sign_in_count, default: 0, null: false
- t.datetime :current_sign_in_at
- t.datetime :last_sign_in_at
- t.string :current_sign_in_ip
- t.string :last_sign_in_ip
-
- ## Confirmable
- t.string :confirmation_token
- t.datetime :confirmed_at
- t.datetime :confirmation_sent_at
- t.string :unconfirmed_email # Only if using reconfirmable
-
- ## Lockable
- t.integer :failed_attempts, default: 0, null: false # Only if lock strategy is :failed_attempts
- t.string :unlock_token # Only if unlock strategy is :email or :both
- t.datetime :locked_at
-
-
- t.timestamps null: false
- end
-
- add_index :spree_admin_users, :email, unique: true
- add_index :spree_admin_users, :reset_password_token, unique: true
- add_index :spree_admin_users, :confirmation_token, unique: true
- add_index :spree_admin_users, :unlock_token, unique: true
- end
-end
diff --git a/server/db/migrate/20260317145933_create_active_storage_tables.active_storage.rb b/server/db/migrate/20260317145933_create_active_storage_tables.active_storage.rb
deleted file mode 100644
index 6bd8bd082a..0000000000
--- a/server/db/migrate/20260317145933_create_active_storage_tables.active_storage.rb
+++ /dev/null
@@ -1,57 +0,0 @@
-# This migration comes from active_storage (originally 20170806125915)
-class CreateActiveStorageTables < ActiveRecord::Migration[7.0]
- def change
- # Use Active Record's configured type for primary and foreign keys
- primary_key_type, foreign_key_type = primary_and_foreign_key_types
-
- create_table :active_storage_blobs, id: primary_key_type do |t|
- t.string :key, null: false
- t.string :filename, null: false
- t.string :content_type
- t.text :metadata
- t.string :service_name, null: false
- t.bigint :byte_size, null: false
- t.string :checksum
-
- if connection.supports_datetime_with_precision?
- t.datetime :created_at, precision: 6, null: false
- else
- t.datetime :created_at, null: false
- end
-
- t.index [ :key ], unique: true
- end
-
- create_table :active_storage_attachments, id: primary_key_type do |t|
- t.string :name, null: false
- t.references :record, null: false, polymorphic: true, index: false, type: foreign_key_type
- t.references :blob, null: false, type: foreign_key_type
-
- if connection.supports_datetime_with_precision?
- t.datetime :created_at, precision: 6, null: false
- else
- t.datetime :created_at, null: false
- end
-
- t.index [ :record_type, :record_id, :name, :blob_id ], name: :index_active_storage_attachments_uniqueness, unique: true
- t.foreign_key :active_storage_blobs, column: :blob_id
- end
-
- create_table :active_storage_variant_records, id: primary_key_type do |t|
- t.belongs_to :blob, null: false, index: false, type: foreign_key_type
- t.string :variation_digest, null: false
-
- t.index [ :blob_id, :variation_digest ], name: :index_active_storage_variant_records_uniqueness, unique: true
- t.foreign_key :active_storage_blobs, column: :blob_id
- end
- end
-
- private
- def primary_and_foreign_key_types
- config = Rails.configuration.generators
- setting = config.options[config.orm][:primary_key_type]
- primary_key_type = setting || :primary_key
- foreign_key_type = setting || :bigint
- [ primary_key_type, foreign_key_type ]
- end
-end
diff --git a/server/db/migrate/20260317145942_create_action_text_tables.action_text.rb b/server/db/migrate/20260317145942_create_action_text_tables.action_text.rb
deleted file mode 100644
index c1c0a9d8cc..0000000000
--- a/server/db/migrate/20260317145942_create_action_text_tables.action_text.rb
+++ /dev/null
@@ -1,26 +0,0 @@
-# This migration comes from action_text (originally 20180528164100)
-class CreateActionTextTables < ActiveRecord::Migration[6.0]
- def change
- # Use Active Record's configured type for primary and foreign keys
- primary_key_type, foreign_key_type = primary_and_foreign_key_types
-
- create_table :action_text_rich_texts, id: primary_key_type do |t|
- t.string :name, null: false
- t.text :body, size: :long
- t.references :record, null: false, polymorphic: true, index: false, type: foreign_key_type
-
- t.timestamps
-
- t.index [ :record_type, :record_id, :name ], name: "index_action_text_rich_texts_uniqueness", unique: true
- end
- end
-
- private
- def primary_and_foreign_key_types
- config = Rails.configuration.generators
- setting = config.options[config.orm][:primary_key_type]
- primary_key_type = setting || :primary_key
- foreign_key_type = setting || :bigint
- [ primary_key_type, foreign_key_type ]
- end
-end
diff --git a/server/db/migrate/20260317145959_spree_four_three.spree.rb b/server/db/migrate/20260317145959_spree_four_three.spree.rb
deleted file mode 100644
index b71a7910a4..0000000000
--- a/server/db/migrate/20260317145959_spree_four_three.spree.rb
+++ /dev/null
@@ -1,1089 +0,0 @@
-# This migration comes from spree (originally 20210914000000)
-class SpreeFourThree < ActiveRecord::Migration[5.2]
- def up
- # This migration is just a compressed version of all the previous
- # migrations for spree_core. Do not run it if one of the core tables
- # already exists. Assume the best.
- return if data_source_exists?(:spree_addresses)
-
- create_table "friendly_id_slugs", force: :cascade do |t|
- t.string "slug", null: false
- t.bigint "sluggable_id", null: false
- t.string "sluggable_type", limit: 50
- t.string "scope"
- t.datetime "created_at"
- t.datetime "deleted_at"
- t.index ["deleted_at"], name: "index_friendly_id_slugs_on_deleted_at"
- t.index ["slug", "sluggable_type", "scope"], name: "index_friendly_id_slugs_on_slug_and_sluggable_type_and_scope", unique: true
- t.index ["slug", "sluggable_type"], name: "index_friendly_id_slugs_on_slug_and_sluggable_type"
- t.index ["sluggable_id"], name: "index_friendly_id_slugs_on_sluggable_id"
- t.index ["sluggable_type"], name: "index_friendly_id_slugs_on_sluggable_type"
- end
-
- create_table "spree_addresses", force: :cascade do |t|
- t.string "firstname"
- t.string "lastname"
- t.string "address1"
- t.string "address2"
- t.string "city"
- t.string "zipcode"
- t.string "phone"
- t.string "state_name"
- t.string "alternative_phone"
- t.string "company"
- t.bigint "state_id"
- t.bigint "country_id"
- t.datetime "created_at", precision: 6, null: false
- t.datetime "updated_at", precision: 6, null: false
- t.bigint "user_id"
- t.datetime "deleted_at"
- t.string "label"
- t.index ["country_id"], name: "index_spree_addresses_on_country_id"
- t.index ["deleted_at"], name: "index_spree_addresses_on_deleted_at"
- t.index ["firstname"], name: "index_addresses_on_firstname"
- t.index ["lastname"], name: "index_addresses_on_lastname"
- t.index ["state_id"], name: "index_spree_addresses_on_state_id"
- t.index ["user_id"], name: "index_spree_addresses_on_user_id"
- end
-
- create_table "spree_adjustments", force: :cascade do |t|
- t.string "source_type"
- t.bigint "source_id"
- t.string "adjustable_type"
- t.bigint "adjustable_id"
- t.decimal "amount", precision: 10, scale: 2
- t.string "label"
- t.boolean "mandatory"
- t.boolean "eligible", default: true
- t.datetime "created_at", precision: 6, null: false
- t.datetime "updated_at", precision: 6, null: false
- t.string "state"
- t.bigint "order_id", null: false
- t.boolean "included", default: false
- t.index ["adjustable_id", "adjustable_type"], name: "index_spree_adjustments_on_adjustable_id_and_adjustable_type"
- t.index ["eligible"], name: "index_spree_adjustments_on_eligible"
- t.index ["order_id"], name: "index_spree_adjustments_on_order_id"
- t.index ["source_id", "source_type"], name: "index_spree_adjustments_on_source_id_and_source_type"
- end
-
- create_table "spree_assets", force: :cascade do |t|
- t.string "viewable_type"
- t.bigint "viewable_id"
- t.integer "attachment_width"
- t.integer "attachment_height"
- t.integer "attachment_file_size"
- t.integer "position"
- t.string "attachment_content_type"
- t.string "attachment_file_name"
- t.string "type", limit: 75
- t.datetime "attachment_updated_at"
- t.text "alt"
- t.datetime "created_at"
- t.datetime "updated_at"
- t.index ["position"], name: "index_spree_assets_on_position"
- t.index ["viewable_id"], name: "index_assets_on_viewable_id"
- t.index ["viewable_type", "type"], name: "index_assets_on_viewable_type_and_type"
- end
-
- create_table "spree_calculators", force: :cascade do |t|
- t.string "type"
- t.string "calculable_type"
- t.bigint "calculable_id"
- t.datetime "created_at", precision: 6, null: false
- t.datetime "updated_at", precision: 6, null: false
- t.text "preferences"
- t.datetime "deleted_at"
- t.index ["calculable_id", "calculable_type"], name: "index_spree_calculators_on_calculable_id_and_calculable_type"
- t.index ["deleted_at"], name: "index_spree_calculators_on_deleted_at"
- t.index ["id", "type"], name: "index_spree_calculators_on_id_and_type"
- end
-
- create_table "spree_countries", force: :cascade do |t|
- t.string "iso_name"
- t.string "iso", null: false
- t.string "iso3", null: false
- t.string "name"
- t.integer "numcode"
- t.boolean "states_required", default: false
- t.datetime "updated_at"
- t.boolean "zipcode_required", default: true
- t.datetime "created_at"
- t.index ["iso_name"], name: "index_spree_countries_on_iso_name", unique: true
- t.index ["name"], name: "index_spree_countries_on_name", unique: true
- t.index ["iso"], name: "index_spree_countries_on_iso", unique: true
- t.index ["iso3"], name: "index_spree_countries_on_iso3", unique: true
- end
-
- create_table "spree_credit_cards", force: :cascade do |t|
- t.string "month"
- t.string "year"
- t.string "cc_type"
- t.string "last_digits"
- t.bigint "address_id"
- t.string "gateway_customer_profile_id"
- t.string "gateway_payment_profile_id"
- t.datetime "created_at", precision: 6, null: false
- t.datetime "updated_at", precision: 6, null: false
- t.string "name"
- t.bigint "user_id"
- t.bigint "payment_method_id"
- t.boolean "default", default: false, null: false
- t.datetime "deleted_at"
- t.index ["address_id"], name: "index_spree_credit_cards_on_address_id"
- t.index ["deleted_at"], name: "index_spree_credit_cards_on_deleted_at"
- t.index ["payment_method_id"], name: "index_spree_credit_cards_on_payment_method_id"
- t.index ["user_id"], name: "index_spree_credit_cards_on_user_id"
- end
-
- create_table "spree_customer_returns", force: :cascade do |t|
- t.string "number"
- t.bigint "stock_location_id"
- t.datetime "created_at", precision: 6, null: false
- t.datetime "updated_at", precision: 6, null: false
- t.bigint "store_id"
- t.index ["number"], name: "index_spree_customer_returns_on_number", unique: true
- t.index ["stock_location_id"], name: "index_spree_customer_returns_on_stock_location_id"
- t.index ["store_id"], name: "index_spree_customer_returns_on_store_id"
- end
-
- create_table "spree_gateways", force: :cascade do |t|
- t.string "type"
- t.string "name"
- t.text "description"
- t.boolean "active", default: true
- t.string "environment", default: "development"
- t.string "server", default: "test"
- t.boolean "test_mode", default: true
- t.datetime "created_at", precision: 6, null: false
- t.datetime "updated_at", precision: 6, null: false
- t.text "preferences"
- t.index ["active"], name: "index_spree_gateways_on_active"
- t.index ["test_mode"], name: "index_spree_gateways_on_test_mode"
- end
-
- create_table "spree_inventory_units", force: :cascade do |t|
- t.string "state"
- t.bigint "variant_id"
- t.bigint "order_id"
- t.bigint "shipment_id"
- t.datetime "created_at", precision: 6, null: false
- t.datetime "updated_at", precision: 6, null: false
- t.boolean "pending", default: true
- t.bigint "line_item_id"
- t.integer "quantity", default: 1
- t.bigint "original_return_item_id"
- t.index ["line_item_id"], name: "index_spree_inventory_units_on_line_item_id"
- t.index ["order_id"], name: "index_inventory_units_on_order_id"
- t.index ["original_return_item_id"], name: "index_spree_inventory_units_on_original_return_item_id"
- t.index ["shipment_id"], name: "index_inventory_units_on_shipment_id"
- t.index ["variant_id"], name: "index_inventory_units_on_variant_id"
- end
-
- create_table "spree_line_items", force: :cascade do |t|
- t.bigint "variant_id"
- t.bigint "order_id"
- t.integer "quantity", null: false
- t.decimal "price", precision: 10, scale: 2, null: false
- t.datetime "created_at", precision: 6, null: false
- t.datetime "updated_at", precision: 6, null: false
- t.string "currency"
- t.decimal "cost_price", precision: 10, scale: 2
- t.bigint "tax_category_id"
- t.decimal "adjustment_total", precision: 10, scale: 2, default: "0.0"
- t.decimal "additional_tax_total", precision: 10, scale: 2, default: "0.0"
- t.decimal "promo_total", precision: 10, scale: 2, default: "0.0"
- t.decimal "included_tax_total", precision: 10, scale: 2, default: "0.0", null: false
- t.decimal "pre_tax_amount", precision: 12, scale: 4, default: "0.0", null: false
- t.decimal "taxable_adjustment_total", precision: 10, scale: 2, default: "0.0", null: false
- t.decimal "non_taxable_adjustment_total", precision: 10, scale: 2, default: "0.0", null: false
- t.index ["order_id"], name: "index_spree_line_items_on_order_id"
- t.index ["tax_category_id"], name: "index_spree_line_items_on_tax_category_id"
- t.index ["variant_id"], name: "index_spree_line_items_on_variant_id"
- end
-
- create_table "spree_log_entries", force: :cascade do |t|
- t.string "source_type"
- t.bigint "source_id"
- t.text "details"
- t.datetime "created_at", precision: 6, null: false
- t.datetime "updated_at", precision: 6, null: false
- t.index ["source_id", "source_type"], name: "index_spree_log_entries_on_source_id_and_source_type"
- end
-
- create_table "spree_option_type_prototypes", force: :cascade do |t|
- t.bigint "prototype_id"
- t.bigint "option_type_id"
- t.datetime "created_at"
- t.datetime "updated_at"
- t.index ["option_type_id"], name: "index_spree_option_type_prototypes_on_option_type_id"
- t.index ["prototype_id", "option_type_id"], name: "spree_option_type_prototypes_prototype_id_option_type_id", unique: true
- t.index ["prototype_id"], name: "index_spree_option_type_prototypes_on_prototype_id"
- end
-
- create_table "spree_option_types", force: :cascade do |t|
- t.string "name", limit: 100
- t.string "presentation", limit: 100
- t.integer "position", default: 0, null: false
- t.datetime "created_at", precision: 6, null: false
- t.datetime "updated_at", precision: 6, null: false
- t.boolean "filterable", default: true, null: false
- t.index ["filterable"], name: "index_spree_option_types_on_filterable"
- t.index ["name"], name: "index_spree_option_types_on_name"
- t.index ["position"], name: "index_spree_option_types_on_position"
- end
-
- create_table "spree_option_value_variants", force: :cascade do |t|
- t.bigint "variant_id"
- t.bigint "option_value_id"
- t.datetime "created_at"
- t.datetime "updated_at"
- t.index ["option_value_id"], name: "index_spree_option_value_variants_on_option_value_id"
- t.index ["variant_id", "option_value_id"], name: "index_option_values_variants_on_variant_id_and_option_value_id", unique: true
- t.index ["variant_id"], name: "index_spree_option_value_variants_on_variant_id"
- end
-
- create_table "spree_option_values", force: :cascade do |t|
- t.integer "position"
- t.string "name"
- t.string "presentation"
- t.bigint "option_type_id"
- t.datetime "created_at", precision: 6, null: false
- t.datetime "updated_at", precision: 6, null: false
- t.index ["name"], name: "index_spree_option_values_on_name"
- t.index ["option_type_id"], name: "index_spree_option_values_on_option_type_id"
- t.index ["position"], name: "index_spree_option_values_on_position"
- end
-
- create_table "spree_order_promotions", force: :cascade do |t|
- t.bigint "order_id"
- t.bigint "promotion_id"
- t.datetime "created_at"
- t.datetime "updated_at"
- t.index ["order_id"], name: "index_spree_order_promotions_on_order_id"
- t.index ["promotion_id", "order_id"], name: "index_spree_order_promotions_on_promotion_id_and_order_id"
- t.index ["promotion_id"], name: "index_spree_order_promotions_on_promotion_id"
- end
-
- create_table "spree_orders", force: :cascade do |t|
- t.string "number", limit: 32
- t.decimal "item_total", precision: 10, scale: 2, default: "0.0", null: false
- t.decimal "total", precision: 10, scale: 2, default: "0.0", null: false
- t.string "state"
- t.decimal "adjustment_total", precision: 10, scale: 2, default: "0.0", null: false
- t.bigint "user_id"
- t.datetime "completed_at"
- t.bigint "bill_address_id"
- t.bigint "ship_address_id"
- t.decimal "payment_total", precision: 10, scale: 2, default: "0.0"
- t.string "shipment_state"
- t.string "payment_state"
- t.string "email"
- t.text "special_instructions"
- t.datetime "created_at", precision: 6, null: false
- t.datetime "updated_at", precision: 6, null: false
- t.string "currency"
- t.string "last_ip_address"
- t.bigint "created_by_id"
- t.decimal "shipment_total", precision: 10, scale: 2, default: "0.0", null: false
- t.decimal "additional_tax_total", precision: 10, scale: 2, default: "0.0"
- t.decimal "promo_total", precision: 10, scale: 2, default: "0.0"
- t.string "channel", default: "spree"
- t.decimal "included_tax_total", precision: 10, scale: 2, default: "0.0", null: false
- t.integer "item_count", default: 0
- t.bigint "approver_id"
- t.datetime "approved_at"
- t.boolean "confirmation_delivered", default: false
- t.boolean "considered_risky", default: false
- t.string "token"
- t.datetime "canceled_at"
- t.bigint "canceler_id"
- t.bigint "store_id"
- t.integer "state_lock_version", default: 0, null: false
- t.decimal "taxable_adjustment_total", precision: 10, scale: 2, default: "0.0", null: false
- t.decimal "non_taxable_adjustment_total", precision: 10, scale: 2, default: "0.0", null: false
- t.boolean "store_owner_notification_delivered"
- t.index ["approver_id"], name: "index_spree_orders_on_approver_id"
- t.index ["bill_address_id"], name: "index_spree_orders_on_bill_address_id"
- t.index ["canceler_id"], name: "index_spree_orders_on_canceler_id"
- t.index ["completed_at"], name: "index_spree_orders_on_completed_at"
- t.index ["confirmation_delivered"], name: "index_spree_orders_on_confirmation_delivered"
- t.index ["considered_risky"], name: "index_spree_orders_on_considered_risky"
- t.index ["created_by_id"], name: "index_spree_orders_on_created_by_id"
- t.index ["number"], name: "index_spree_orders_on_number", unique: true
- t.index ["ship_address_id"], name: "index_spree_orders_on_ship_address_id"
- t.index ["store_id"], name: "index_spree_orders_on_store_id"
- t.index ["token"], name: "index_spree_orders_on_token"
- t.index ["user_id", "created_by_id"], name: "index_spree_orders_on_user_id_and_created_by_id"
- end
-
- create_table "spree_payment_capture_events", force: :cascade do |t|
- t.decimal "amount", precision: 10, scale: 2, default: "0.0"
- t.bigint "payment_id"
- t.datetime "created_at", precision: 6, null: false
- t.datetime "updated_at", precision: 6, null: false
- t.index ["payment_id"], name: "index_spree_payment_capture_events_on_payment_id"
- end
-
- create_table "spree_payment_methods", force: :cascade do |t|
- t.string "type"
- t.string "name"
- t.text "description"
- t.boolean "active", default: true
- t.datetime "deleted_at"
- t.datetime "created_at", precision: 6, null: false
- t.datetime "updated_at", precision: 6, null: false
- t.string "display_on", default: "both"
- t.boolean "auto_capture"
- t.text "preferences"
- t.integer "position", default: 0
- t.index ["id", "type"], name: "index_spree_payment_methods_on_id_and_type"
- end
-
- create_table "spree_payment_methods_stores", id: false, force: :cascade do |t|
- t.bigint "payment_method_id"
- t.bigint "store_id"
- t.index ["payment_method_id", "store_id"], name: "payment_mentod_id_store_id_unique_index", unique: true
- t.index ["payment_method_id"], name: "index_spree_payment_methods_stores_on_payment_method_id"
- t.index ["store_id"], name: "index_spree_payment_methods_stores_on_store_id"
- end
-
- create_table "spree_payments", force: :cascade do |t|
- t.decimal "amount", precision: 10, scale: 2, default: "0.0", null: false
- t.bigint "order_id"
- t.string "source_type"
- t.bigint "source_id"
- t.bigint "payment_method_id"
- t.string "state"
- t.string "response_code"
- t.string "avs_response"
- t.datetime "created_at", precision: 6, null: false
- t.datetime "updated_at", precision: 6, null: false
- t.string "number"
- t.string "cvv_response_code"
- t.string "cvv_response_message"
- t.index ["number"], name: "index_spree_payments_on_number", unique: true
- t.index ["order_id"], name: "index_spree_payments_on_order_id"
- t.index ["payment_method_id"], name: "index_spree_payments_on_payment_method_id"
- t.index ["source_id", "source_type"], name: "index_spree_payments_on_source_id_and_source_type"
- end
-
- create_table "spree_preferences", force: :cascade do |t|
- t.text "value"
- t.string "key"
- t.datetime "created_at", precision: 6, null: false
- t.datetime "updated_at", precision: 6, null: false
- t.index ["key"], name: "index_spree_preferences_on_key", unique: true
- end
-
- create_table "spree_prices", force: :cascade do |t|
- t.bigint "variant_id", null: false
- t.decimal "amount", precision: 10, scale: 2
- t.string "currency"
- t.datetime "deleted_at"
- t.datetime "created_at", null: false
- t.datetime "updated_at", null: false
- t.decimal "compare_at_amount", precision: 10, scale: 2
- t.index ["deleted_at"], name: "index_spree_prices_on_deleted_at"
- t.index ["variant_id", "currency"], name: "index_spree_prices_on_variant_id_and_currency"
- t.index ["variant_id"], name: "index_spree_prices_on_variant_id"
- end
-
- create_table "spree_product_option_types", force: :cascade do |t|
- t.integer "position"
- t.bigint "product_id"
- t.bigint "option_type_id"
- t.datetime "created_at", precision: 6, null: false
- t.datetime "updated_at", precision: 6, null: false
- t.index ["option_type_id"], name: "index_spree_product_option_types_on_option_type_id"
- t.index ["position"], name: "index_spree_product_option_types_on_position"
- t.index ["product_id"], name: "index_spree_product_option_types_on_product_id"
- end
-
- create_table "spree_product_promotion_rules", force: :cascade do |t|
- t.bigint "product_id"
- t.bigint "promotion_rule_id"
- t.datetime "created_at"
- t.datetime "updated_at"
- t.index ["product_id"], name: "index_products_promotion_rules_on_product_id"
- t.index ["promotion_rule_id", "product_id"], name: "index_products_promotion_rules_on_promotion_rule_and_product"
- end
-
- create_table "spree_products", force: :cascade do |t|
- t.string "name", default: "", null: false
- t.text "description"
- t.datetime "available_on"
- t.datetime "deleted_at"
- t.string "slug"
- t.text "meta_description"
- t.string "meta_keywords"
- t.bigint "tax_category_id"
- t.bigint "shipping_category_id"
- t.datetime "created_at", precision: 6, null: false
- t.datetime "updated_at", precision: 6, null: false
- t.boolean "promotionable", default: true
- t.string "meta_title"
- t.datetime "discontinue_on"
- t.index ["available_on"], name: "index_spree_products_on_available_on"
- t.index ["deleted_at"], name: "index_spree_products_on_deleted_at"
- t.index ["discontinue_on"], name: "index_spree_products_on_discontinue_on"
- t.index ["name"], name: "index_spree_products_on_name"
- t.index ["shipping_category_id"], name: "index_spree_products_on_shipping_category_id"
- t.index ["slug"], name: "index_spree_products_on_slug", unique: true
- t.index ["tax_category_id"], name: "index_spree_products_on_tax_category_id"
- end
-
- create_table "spree_products_stores", force: :cascade do |t|
- t.bigint "product_id"
- t.bigint "store_id"
- t.datetime "created_at", null: false
- t.datetime "updated_at", null: false
- t.index ["product_id", "store_id"], name: "index_spree_products_stores_on_product_id_and_store_id", unique: true
- t.index ["product_id"], name: "index_spree_products_stores_on_product_id"
- t.index ["store_id"], name: "index_spree_products_stores_on_store_id"
- end
-
- create_table "spree_products_taxons", force: :cascade do |t|
- t.bigint "product_id"
- t.bigint "taxon_id"
- t.integer "position"
- t.datetime "created_at"
- t.datetime "updated_at"
- t.index ["position"], name: "index_spree_products_taxons_on_position"
- t.index ["product_id", "taxon_id"], name: "index_spree_products_taxons_on_product_id_and_taxon_id", unique: true
- t.index ["product_id"], name: "index_spree_products_taxons_on_product_id"
- t.index ["taxon_id"], name: "index_spree_products_taxons_on_taxon_id"
- end
-
- create_table "spree_promotion_action_line_items", force: :cascade do |t|
- t.bigint "promotion_action_id"
- t.bigint "variant_id"
- t.integer "quantity", default: 1
- t.datetime "created_at"
- t.datetime "updated_at"
- t.index ["promotion_action_id"], name: "index_spree_promotion_action_line_items_on_promotion_action_id"
- t.index ["variant_id"], name: "index_spree_promotion_action_line_items_on_variant_id"
- end
-
- create_table "spree_promotion_actions", force: :cascade do |t|
- t.bigint "promotion_id"
- t.integer "position"
- t.string "type"
- t.datetime "deleted_at"
- t.datetime "created_at"
- t.datetime "updated_at"
- t.index ["deleted_at"], name: "index_spree_promotion_actions_on_deleted_at"
- t.index ["id", "type"], name: "index_spree_promotion_actions_on_id_and_type"
- t.index ["promotion_id"], name: "index_spree_promotion_actions_on_promotion_id"
- end
-
- create_table "spree_promotion_categories", force: :cascade do |t|
- t.string "name"
- t.datetime "created_at", precision: 6, null: false
- t.datetime "updated_at", precision: 6, null: false
- t.string "code"
- end
-
- create_table "spree_promotion_rule_taxons", force: :cascade do |t|
- t.bigint "taxon_id"
- t.bigint "promotion_rule_id"
- t.datetime "created_at"
- t.datetime "updated_at"
- t.index ["promotion_rule_id"], name: "index_spree_promotion_rule_taxons_on_promotion_rule_id"
- t.index ["taxon_id"], name: "index_spree_promotion_rule_taxons_on_taxon_id"
- end
-
- create_table "spree_promotion_rule_users", force: :cascade do |t|
- t.bigint "user_id"
- t.bigint "promotion_rule_id"
- t.datetime "created_at"
- t.datetime "updated_at"
- t.index ["promotion_rule_id"], name: "index_promotion_rules_users_on_promotion_rule_id"
- t.index ["user_id", "promotion_rule_id"], name: "index_promotion_rules_users_on_user_id_and_promotion_rule_id"
- end
-
- create_table "spree_promotion_rules", force: :cascade do |t|
- t.bigint "promotion_id"
- t.bigint "user_id"
- t.bigint "product_group_id"
- t.string "type"
- t.datetime "created_at", precision: 6, null: false
- t.datetime "updated_at", precision: 6, null: false
- t.string "code"
- t.text "preferences"
- t.index ["product_group_id"], name: "index_promotion_rules_on_product_group_id"
- t.index ["promotion_id"], name: "index_spree_promotion_rules_on_promotion_id"
- t.index ["user_id"], name: "index_promotion_rules_on_user_id"
- end
-
- create_table "spree_promotions", force: :cascade do |t|
- t.string "description"
- t.datetime "expires_at"
- t.datetime "starts_at"
- t.string "name"
- t.string "type"
- t.integer "usage_limit"
- t.string "match_policy", default: "all"
- t.string "code"
- t.boolean "advertise", default: false
- t.string "path"
- t.datetime "created_at", precision: 6, null: false
- t.datetime "updated_at", precision: 6, null: false
- t.bigint "promotion_category_id"
- t.index ["advertise"], name: "index_spree_promotions_on_advertise"
- t.index ["code"], name: "index_spree_promotions_on_code"
- t.index ["expires_at"], name: "index_spree_promotions_on_expires_at"
- t.index ["id", "type"], name: "index_spree_promotions_on_id_and_type"
- t.index ["path"], name: "index_spree_promotions_on_path"
- t.index ["promotion_category_id"], name: "index_spree_promotions_on_promotion_category_id"
- t.index ["starts_at"], name: "index_spree_promotions_on_starts_at"
- end
-
- create_table "spree_promotions_stores", force: :cascade do |t|
- t.bigint "promotion_id"
- t.bigint "store_id"
- t.datetime "created_at", null: false
- t.datetime "updated_at", null: false
- t.index ["promotion_id", "store_id"], name: "index_spree_promotions_stores_on_promotion_id_and_store_id", unique: true
- t.index ["promotion_id"], name: "index_spree_promotions_stores_on_promotion_id"
- t.index ["store_id"], name: "index_spree_promotions_stores_on_store_id"
- end
-
- create_table "spree_prototype_taxons", force: :cascade do |t|
- t.bigint "taxon_id"
- t.bigint "prototype_id"
- t.datetime "created_at"
- t.datetime "updated_at"
- t.index ["prototype_id", "taxon_id"], name: "index_spree_prototype_taxons_on_prototype_id_and_taxon_id"
- t.index ["prototype_id"], name: "index_spree_prototype_taxons_on_prototype_id"
- t.index ["taxon_id"], name: "index_spree_prototype_taxons_on_taxon_id"
- end
-
- create_table "spree_prototypes", force: :cascade do |t|
- t.string "name"
- t.datetime "created_at", precision: 6, null: false
- t.datetime "updated_at", precision: 6, null: false
- end
-
- create_table "spree_refund_reasons", force: :cascade do |t|
- t.string "name"
- t.boolean "active", default: true
- t.boolean "mutable", default: true
- t.datetime "created_at", precision: 6, null: false
- t.datetime "updated_at", precision: 6, null: false
- t.index ["name"], name: "index_spree_refund_reasons_on_name", unique: true
- end
-
- create_table "spree_refunds", force: :cascade do |t|
- t.bigint "payment_id"
- t.decimal "amount", precision: 10, scale: 2, default: "0.0", null: false
- t.string "transaction_id"
- t.datetime "created_at", precision: 6, null: false
- t.datetime "updated_at", precision: 6, null: false
- t.bigint "refund_reason_id"
- t.bigint "reimbursement_id"
- t.index ["payment_id"], name: "index_spree_refunds_on_payment_id"
- t.index ["refund_reason_id"], name: "index_refunds_on_refund_reason_id"
- t.index ["reimbursement_id"], name: "index_spree_refunds_on_reimbursement_id"
- end
-
- create_table "spree_reimbursement_credits", force: :cascade do |t|
- t.decimal "amount", precision: 10, scale: 2, default: "0.0", null: false
- t.bigint "reimbursement_id"
- t.bigint "creditable_id"
- t.string "creditable_type"
- t.datetime "created_at"
- t.datetime "updated_at"
- t.index ["creditable_id", "creditable_type"], name: "index_reimbursement_credits_on_creditable_id_and_type"
- t.index ["reimbursement_id"], name: "index_spree_reimbursement_credits_on_reimbursement_id"
- end
-
- create_table "spree_reimbursement_types", force: :cascade do |t|
- t.string "name"
- t.boolean "active", default: true
- t.boolean "mutable", default: true
- t.datetime "created_at", precision: 6, null: false
- t.datetime "updated_at", precision: 6, null: false
- t.string "type"
- t.index ["name"], name: "index_spree_reimbursement_types_on_name", unique: true
- t.index ["type"], name: "index_spree_reimbursement_types_on_type"
- end
-
- create_table "spree_reimbursements", force: :cascade do |t|
- t.string "number"
- t.string "reimbursement_status"
- t.bigint "customer_return_id"
- t.bigint "order_id"
- t.decimal "total", precision: 10, scale: 2
- t.datetime "created_at", precision: 6, null: false
- t.datetime "updated_at", precision: 6, null: false
- t.index ["customer_return_id"], name: "index_spree_reimbursements_on_customer_return_id"
- t.index ["number"], name: "index_spree_reimbursements_on_number", unique: true
- t.index ["order_id"], name: "index_spree_reimbursements_on_order_id"
- end
-
- create_table "spree_return_authorization_reasons", force: :cascade do |t|
- t.string "name"
- t.boolean "active", default: true
- t.boolean "mutable", default: true
- t.datetime "created_at", precision: 6, null: false
- t.datetime "updated_at", precision: 6, null: false
- t.index ["name"], name: "index_spree_return_authorization_reasons_on_name", unique: true
- end
-
- create_table "spree_return_authorizations", force: :cascade do |t|
- t.string "number"
- t.string "state"
- t.bigint "order_id"
- t.text "memo"
- t.datetime "created_at"
- t.datetime "updated_at"
- t.bigint "stock_location_id"
- t.bigint "return_authorization_reason_id"
- t.index ["number"], name: "index_spree_return_authorizations_on_number", unique: true
- t.index ["order_id"], name: "index_spree_return_authorizations_on_order_id"
- t.index ["return_authorization_reason_id"], name: "index_return_authorizations_on_return_authorization_reason_id"
- t.index ["stock_location_id"], name: "index_spree_return_authorizations_on_stock_location_id"
- end
-
- create_table "spree_return_items", force: :cascade do |t|
- t.bigint "return_authorization_id"
- t.bigint "inventory_unit_id"
- t.bigint "exchange_variant_id"
- t.datetime "created_at", precision: 6, null: false
- t.datetime "updated_at", precision: 6, null: false
- t.decimal "pre_tax_amount", precision: 12, scale: 4, default: "0.0", null: false
- t.decimal "included_tax_total", precision: 12, scale: 4, default: "0.0", null: false
- t.decimal "additional_tax_total", precision: 12, scale: 4, default: "0.0", null: false
- t.string "reception_status"
- t.string "acceptance_status"
- t.bigint "customer_return_id"
- t.bigint "reimbursement_id"
- t.text "acceptance_status_errors"
- t.bigint "preferred_reimbursement_type_id"
- t.bigint "override_reimbursement_type_id"
- t.boolean "resellable", default: true, null: false
- t.index ["customer_return_id"], name: "index_return_items_on_customer_return_id"
- t.index ["exchange_variant_id"], name: "index_spree_return_items_on_exchange_variant_id"
- t.index ["inventory_unit_id"], name: "index_spree_return_items_on_inventory_unit_id"
- t.index ["override_reimbursement_type_id"], name: "index_spree_return_items_on_override_reimbursement_type_id"
- t.index ["preferred_reimbursement_type_id"], name: "index_spree_return_items_on_preferred_reimbursement_type_id"
- t.index ["reimbursement_id"], name: "index_spree_return_items_on_reimbursement_id"
- t.index ["return_authorization_id"], name: "index_spree_return_items_on_return_authorization_id"
- end
-
- create_table "spree_role_users", force: :cascade do |t|
- t.bigint "role_id"
- t.bigint "user_id"
- t.datetime "created_at"
- t.datetime "updated_at"
- t.index ["role_id"], name: "index_spree_role_users_on_role_id"
- t.index ["user_id"], name: "index_spree_role_users_on_user_id"
- end
-
- create_table "spree_roles", force: :cascade do |t|
- t.string "name"
- t.datetime "created_at"
- t.datetime "updated_at"
- t.index ["name"], name: "index_spree_roles_on_name", unique: true
- end
-
- create_table "spree_shipments", force: :cascade do |t|
- t.string "tracking"
- t.string "number"
- t.decimal "cost", precision: 10, scale: 2, default: "0.0"
- t.datetime "shipped_at"
- t.bigint "order_id"
- t.bigint "address_id"
- t.string "state"
- t.datetime "created_at", precision: 6, null: false
- t.datetime "updated_at", precision: 6, null: false
- t.bigint "stock_location_id"
- t.decimal "adjustment_total", precision: 10, scale: 2, default: "0.0"
- t.decimal "additional_tax_total", precision: 10, scale: 2, default: "0.0"
- t.decimal "promo_total", precision: 10, scale: 2, default: "0.0"
- t.decimal "included_tax_total", precision: 10, scale: 2, default: "0.0", null: false
- t.decimal "pre_tax_amount", precision: 12, scale: 4, default: "0.0", null: false
- t.decimal "taxable_adjustment_total", precision: 10, scale: 2, default: "0.0", null: false
- t.decimal "non_taxable_adjustment_total", precision: 10, scale: 2, default: "0.0", null: false
- t.index ["address_id"], name: "index_spree_shipments_on_address_id"
- t.index ["number"], name: "index_spree_shipments_on_number", unique: true
- t.index ["order_id"], name: "index_spree_shipments_on_order_id"
- t.index ["stock_location_id"], name: "index_spree_shipments_on_stock_location_id"
- end
-
- create_table "spree_shipping_categories", force: :cascade do |t|
- t.string "name"
- t.datetime "created_at", precision: 6, null: false
- t.datetime "updated_at", precision: 6, null: false
- t.index ["name"], name: "index_spree_shipping_categories_on_name"
- end
-
- create_table "spree_shipping_method_categories", force: :cascade do |t|
- t.bigint "shipping_method_id", null: false
- t.bigint "shipping_category_id", null: false
- t.datetime "created_at", precision: 6, null: false
- t.datetime "updated_at", precision: 6, null: false
- t.index ["shipping_category_id", "shipping_method_id"], name: "unique_spree_shipping_method_categories", unique: true
- t.index ["shipping_category_id"], name: "index_spree_shipping_method_categories_on_shipping_category_id"
- t.index ["shipping_method_id"], name: "index_spree_shipping_method_categories_on_shipping_method_id"
- end
-
- create_table "spree_shipping_method_zones", force: :cascade do |t|
- t.bigint "shipping_method_id"
- t.bigint "zone_id"
- t.datetime "created_at"
- t.datetime "updated_at"
- t.index ["shipping_method_id"], name: "index_spree_shipping_method_zones_on_shipping_method_id"
- t.index ["zone_id"], name: "index_spree_shipping_method_zones_on_zone_id"
- end
-
- create_table "spree_shipping_methods", force: :cascade do |t|
- t.string "name"
- t.string "display_on"
- t.datetime "deleted_at"
- t.datetime "created_at", precision: 6, null: false
- t.datetime "updated_at", precision: 6, null: false
- t.string "tracking_url"
- t.string "admin_name"
- t.bigint "tax_category_id"
- t.string "code"
- t.index ["deleted_at"], name: "index_spree_shipping_methods_on_deleted_at"
- t.index ["tax_category_id"], name: "index_spree_shipping_methods_on_tax_category_id"
- end
-
- create_table "spree_shipping_rates", force: :cascade do |t|
- t.bigint "shipment_id"
- t.bigint "shipping_method_id"
- t.boolean "selected", default: false
- t.decimal "cost", precision: 8, scale: 2, default: "0.0"
- t.datetime "created_at", precision: 6, null: false
- t.datetime "updated_at", precision: 6, null: false
- t.bigint "tax_rate_id"
- t.index ["selected"], name: "index_spree_shipping_rates_on_selected"
- t.index ["shipment_id", "shipping_method_id"], name: "spree_shipping_rates_join_index", unique: true
- t.index ["shipment_id"], name: "index_spree_shipping_rates_on_shipment_id"
- t.index ["shipping_method_id"], name: "index_spree_shipping_rates_on_shipping_method_id"
- t.index ["tax_rate_id"], name: "index_spree_shipping_rates_on_tax_rate_id"
- end
-
- create_table "spree_state_changes", force: :cascade do |t|
- t.string "name"
- t.string "previous_state"
- t.bigint "stateful_id"
- t.bigint "user_id"
- t.string "stateful_type"
- t.string "next_state"
- t.datetime "created_at", precision: 6, null: false
- t.datetime "updated_at", precision: 6, null: false
- t.index ["stateful_id", "stateful_type"], name: "index_spree_state_changes_on_stateful_id_and_stateful_type"
- end
-
- create_table "spree_states", force: :cascade do |t|
- t.string "name"
- t.string "abbr"
- t.bigint "country_id"
- t.datetime "updated_at"
- t.datetime "created_at"
- t.index ["country_id"], name: "index_spree_states_on_country_id"
- end
-
- create_table "spree_stock_items", force: :cascade do |t|
- t.bigint "stock_location_id"
- t.bigint "variant_id"
- t.integer "count_on_hand", default: 0, null: false
- t.datetime "created_at", precision: 6, null: false
- t.datetime "updated_at", precision: 6, null: false
- t.boolean "backorderable", default: false
- t.datetime "deleted_at"
- t.index ["backorderable"], name: "index_spree_stock_items_on_backorderable"
- t.index ["deleted_at"], name: "index_spree_stock_items_on_deleted_at"
- t.index ["stock_location_id", "variant_id"], name: "stock_item_by_loc_and_var_id"
- t.index ["stock_location_id"], name: "index_spree_stock_items_on_stock_location_id"
- t.index ["variant_id"], name: "index_spree_stock_items_on_variant_id"
- end
-
- create_table "spree_stock_locations", force: :cascade do |t|
- t.string "name"
- t.datetime "created_at", precision: 6, null: false
- t.datetime "updated_at", precision: 6, null: false
- t.boolean "default", default: false, null: false
- t.string "address1"
- t.string "address2"
- t.string "city"
- t.bigint "state_id"
- t.string "state_name"
- t.bigint "country_id"
- t.string "zipcode"
- t.string "phone"
- t.boolean "active", default: true
- t.boolean "backorderable_default", default: false
- t.boolean "propagate_all_variants", default: true
- t.string "admin_name"
- t.index ["active"], name: "index_spree_stock_locations_on_active"
- t.index ["backorderable_default"], name: "index_spree_stock_locations_on_backorderable_default"
- t.index ["country_id"], name: "index_spree_stock_locations_on_country_id"
- t.index ["propagate_all_variants"], name: "index_spree_stock_locations_on_propagate_all_variants"
- t.index ["state_id"], name: "index_spree_stock_locations_on_state_id"
- end
-
- create_table "spree_stock_movements", force: :cascade do |t|
- t.bigint "stock_item_id"
- t.integer "quantity", default: 0
- t.string "action"
- t.datetime "created_at", precision: 6, null: false
- t.datetime "updated_at", precision: 6, null: false
- t.string "originator_type"
- t.bigint "originator_id"
- t.index ["originator_id", "originator_type"], name: "index_stock_movements_on_originator_id_and_originator_type"
- t.index ["stock_item_id"], name: "index_spree_stock_movements_on_stock_item_id"
- end
-
- create_table "spree_stock_transfers", force: :cascade do |t|
- t.string "type"
- t.string "reference"
- t.bigint "source_location_id"
- t.bigint "destination_location_id"
- t.datetime "created_at", precision: 6, null: false
- t.datetime "updated_at", precision: 6, null: false
- t.string "number"
- t.index ["destination_location_id"], name: "index_spree_stock_transfers_on_destination_location_id"
- t.index ["number"], name: "index_spree_stock_transfers_on_number", unique: true
- t.index ["source_location_id"], name: "index_spree_stock_transfers_on_source_location_id"
- end
-
- create_table "spree_store_credit_categories", force: :cascade do |t|
- t.string "name"
- t.datetime "created_at", precision: 6, null: false
- t.datetime "updated_at", precision: 6, null: false
- end
-
- create_table "spree_store_credit_events", force: :cascade do |t|
- t.bigint "store_credit_id", null: false
- t.string "action", null: false
- t.decimal "amount", precision: 8, scale: 2
- t.string "authorization_code", null: false
- t.decimal "user_total_amount", precision: 8, scale: 2, default: "0.0", null: false
- t.bigint "originator_id"
- t.string "originator_type"
- t.datetime "deleted_at"
- t.datetime "created_at", precision: 6, null: false
- t.datetime "updated_at", precision: 6, null: false
- t.index ["originator_id", "originator_type"], name: "spree_store_credit_events_originator"
- t.index ["store_credit_id"], name: "index_spree_store_credit_events_on_store_credit_id"
- end
-
- create_table "spree_store_credit_types", force: :cascade do |t|
- t.string "name"
- t.integer "priority"
- t.datetime "created_at", precision: 6, null: false
- t.datetime "updated_at", precision: 6, null: false
- t.index ["priority"], name: "index_spree_store_credit_types_on_priority"
- end
-
- create_table "spree_store_credits", force: :cascade do |t|
- t.bigint "user_id"
- t.bigint "category_id"
- t.bigint "created_by_id"
- t.decimal "amount", precision: 8, scale: 2, default: "0.0", null: false
- t.decimal "amount_used", precision: 8, scale: 2, default: "0.0", null: false
- t.text "memo"
- t.datetime "deleted_at"
- t.string "currency"
- t.decimal "amount_authorized", precision: 8, scale: 2, default: "0.0", null: false
- t.bigint "originator_id"
- t.string "originator_type"
- t.bigint "type_id"
- t.datetime "created_at", precision: 6, null: false
- t.datetime "updated_at", precision: 6, null: false
- t.bigint "store_id"
- t.index ["deleted_at"], name: "index_spree_store_credits_on_deleted_at"
- t.index ["originator_id", "originator_type"], name: "spree_store_credits_originator"
- t.index ["store_id"], name: "index_spree_store_credits_on_store_id"
- t.index ["type_id"], name: "index_spree_store_credits_on_type_id"
- t.index ["user_id"], name: "index_spree_store_credits_on_user_id"
- end
-
- create_table "spree_stores", force: :cascade do |t|
- t.string "name"
- t.string "url"
- t.text "meta_description"
- t.text "meta_keywords"
- t.string "seo_title"
- t.string "mail_from_address"
- t.string "default_currency"
- t.string "code"
- t.boolean "default", default: false, null: false
- t.datetime "created_at", precision: 6, null: false
- t.datetime "updated_at", precision: 6, null: false
- t.string "supported_currencies"
- t.string "facebook"
- t.string "twitter"
- t.string "instagram"
- t.string "default_locale"
- t.string "customer_support_email"
- t.bigint "default_country_id"
- t.text "description"
- t.text "address"
- t.string "contact_phone"
- t.string "new_order_notifications_email"
- t.bigint "checkout_zone_id"
- t.string "seo_robots"
- t.string "supported_locales"
- t.index ["code"], name: "index_spree_stores_on_code", unique: true
- t.index ["default"], name: "index_spree_stores_on_default"
- t.index ["url"], name: "index_spree_stores_on_url"
- end
-
- create_table "spree_tax_categories", force: :cascade do |t|
- t.string "name"
- t.string "description"
- t.boolean "is_default", default: false
- t.datetime "deleted_at"
- t.datetime "created_at", precision: 6, null: false
- t.datetime "updated_at", precision: 6, null: false
- t.string "tax_code"
- t.index ["deleted_at"], name: "index_spree_tax_categories_on_deleted_at"
- t.index ["is_default"], name: "index_spree_tax_categories_on_is_default"
- end
-
- create_table "spree_tax_rates", force: :cascade do |t|
- t.decimal "amount", precision: 8, scale: 5
- t.bigint "zone_id"
- t.bigint "tax_category_id"
- t.boolean "included_in_price", default: false
- t.datetime "created_at", precision: 6, null: false
- t.datetime "updated_at", precision: 6, null: false
- t.string "name"
- t.boolean "show_rate_in_label", default: true
- t.datetime "deleted_at"
- t.index ["deleted_at"], name: "index_spree_tax_rates_on_deleted_at"
- t.index ["included_in_price"], name: "index_spree_tax_rates_on_included_in_price"
- t.index ["show_rate_in_label"], name: "index_spree_tax_rates_on_show_rate_in_label"
- t.index ["tax_category_id"], name: "index_spree_tax_rates_on_tax_category_id"
- t.index ["zone_id"], name: "index_spree_tax_rates_on_zone_id"
- end
-
- create_table "spree_taxonomies", force: :cascade do |t|
- t.string "name", null: false
- t.datetime "created_at", precision: 6, null: false
- t.datetime "updated_at", precision: 6, null: false
- t.integer "position", default: 0
- t.bigint "store_id"
- t.index ["name", "store_id"], name: "index_spree_taxonomies_on_name_and_store_id", unique: true
- t.index ["position"], name: "index_spree_taxonomies_on_position"
- t.index ["store_id"], name: "index_spree_taxonomies_on_store_id"
- end
-
- create_table "spree_taxons", force: :cascade do |t|
- t.bigint "parent_id"
- t.integer "position", default: 0
- t.string "name", null: false
- t.string "permalink"
- t.bigint "taxonomy_id"
- t.bigint "lft"
- t.bigint "rgt"
- t.text "description"
- t.datetime "created_at", precision: 6, null: false
- t.datetime "updated_at", precision: 6, null: false
- t.string "meta_title"
- t.string "meta_description"
- t.string "meta_keywords"
- t.integer "depth"
- t.boolean "hide_from_nav", default: false
- t.index ["lft"], name: "index_spree_taxons_on_lft"
- t.index ["name", "parent_id", "taxonomy_id"], name: "index_spree_taxons_on_name_and_parent_id_and_taxonomy_id", unique: true
- t.index ["name"], name: "index_spree_taxons_on_name"
- t.index ["parent_id"], name: "index_taxons_on_parent_id"
- t.index ["permalink", "parent_id", "taxonomy_id"], name: "index_spree_taxons_on_permalink_and_parent_id_and_taxonomy_id", unique: true
- t.index ["permalink"], name: "index_taxons_on_permalink"
- t.index ["position"], name: "index_spree_taxons_on_position"
- t.index ["rgt"], name: "index_spree_taxons_on_rgt"
- t.index ["taxonomy_id"], name: "index_taxons_on_taxonomy_id"
- end
-
- create_table "spree_trackers", force: :cascade do |t|
- t.string "analytics_id"
- t.boolean "active", default: true
- t.datetime "created_at", precision: 6, null: false
- t.datetime "updated_at", precision: 6, null: false
- t.integer "engine", default: 0, null: false
- t.index ["active"], name: "index_spree_trackers_on_active"
- end
-
- create_table "spree_users", force: :cascade do |t|
- t.string "encrypted_password", limit: 128
- t.string "password_salt", limit: 128
- t.string "email"
- t.string "remember_token"
- t.string "persistence_token"
- t.string "reset_password_token"
- t.string "perishable_token"
- t.integer "sign_in_count", default: 0, null: false
- t.integer "failed_attempts", default: 0, null: false
- t.datetime "last_request_at"
- t.datetime "current_sign_in_at"
- t.datetime "last_sign_in_at"
- t.string "current_sign_in_ip"
- t.string "last_sign_in_ip"
- t.string "login"
- t.bigint "ship_address_id"
- t.bigint "bill_address_id"
- t.string "authentication_token"
- t.string "unlock_token"
- t.datetime "locked_at"
- t.datetime "remember_created_at"
- t.datetime "reset_password_sent_at"
- t.datetime "created_at", precision: 6, null: false
- t.datetime "updated_at", precision: 6, null: false
- end
-
- create_table "spree_variants", force: :cascade do |t|
- t.string "sku", default: "", null: false
- t.decimal "weight", precision: 8, scale: 2, default: "0.0"
- t.decimal "height", precision: 8, scale: 2
- t.decimal "width", precision: 8, scale: 2
- t.decimal "depth", precision: 8, scale: 2
- t.datetime "deleted_at"
- t.boolean "is_master", default: false
- t.bigint "product_id"
- t.decimal "cost_price", precision: 10, scale: 2
- t.integer "position"
- t.string "cost_currency"
- t.boolean "track_inventory", default: true
- t.bigint "tax_category_id"
- t.datetime "updated_at", null: false
- t.datetime "discontinue_on"
- t.datetime "created_at", null: false
- t.index ["deleted_at"], name: "index_spree_variants_on_deleted_at"
- t.index ["discontinue_on"], name: "index_spree_variants_on_discontinue_on"
- t.index ["is_master"], name: "index_spree_variants_on_is_master"
- t.index ["position"], name: "index_spree_variants_on_position"
- t.index ["product_id"], name: "index_spree_variants_on_product_id"
- t.index ["sku"], name: "index_spree_variants_on_sku"
- t.index ["tax_category_id"], name: "index_spree_variants_on_tax_category_id"
- t.index ["track_inventory"], name: "index_spree_variants_on_track_inventory"
- end
-
- create_table "spree_zone_members", force: :cascade do |t|
- t.string "zoneable_type"
- t.bigint "zoneable_id"
- t.bigint "zone_id"
- t.datetime "created_at", precision: 6, null: false
- t.datetime "updated_at", precision: 6, null: false
- t.index ["zone_id"], name: "index_spree_zone_members_on_zone_id"
- t.index ["zoneable_id", "zoneable_type"], name: "index_spree_zone_members_on_zoneable_id_and_zoneable_type"
- end
-
- create_table "spree_zones", force: :cascade do |t|
- t.string "name"
- t.string "description"
- t.boolean "default_tax", default: false
- t.integer "zone_members_count", default: 0
- t.datetime "created_at", precision: 6, null: false
- t.datetime "updated_at", precision: 6, null: false
- t.string "kind", default: "state"
- t.index ["default_tax"], name: "index_spree_zones_on_default_tax"
- t.index ["kind"], name: "index_spree_zones_on_kind"
- end
- end
-end
diff --git a/server/db/migrate/20260317145960_add_metadata_to_spree_orders.spree.rb b/server/db/migrate/20260317145960_add_metadata_to_spree_orders.spree.rb
deleted file mode 100644
index 52d4e34f7f..0000000000
--- a/server/db/migrate/20260317145960_add_metadata_to_spree_orders.spree.rb
+++ /dev/null
@@ -1,14 +0,0 @@
-# This migration comes from spree (originally 20210915064321)
-class AddMetadataToSpreeOrders < ActiveRecord::Migration[5.2]
- def change
- change_table :spree_orders do |t|
- if t.respond_to? :jsonb
- add_column :spree_orders, :public_metadata, :jsonb
- add_column :spree_orders, :private_metadata, :jsonb
- else
- add_column :spree_orders, :public_metadata, :json
- add_column :spree_orders, :private_metadata, :json
- end
- end
- end
-end
diff --git a/server/db/migrate/20260317145961_add_metadata_to_spree_products.spree.rb b/server/db/migrate/20260317145961_add_metadata_to_spree_products.spree.rb
deleted file mode 100644
index f536e3cf59..0000000000
--- a/server/db/migrate/20260317145961_add_metadata_to_spree_products.spree.rb
+++ /dev/null
@@ -1,14 +0,0 @@
-# This migration comes from spree (originally 20210915064322)
-class AddMetadataToSpreeProducts < ActiveRecord::Migration[5.2]
- def change
- change_table :spree_products do |t|
- if t.respond_to? :jsonb
- add_column :spree_products, :public_metadata, :jsonb
- add_column :spree_products, :private_metadata, :jsonb
- else
- add_column :spree_products, :public_metadata, :json
- add_column :spree_products, :private_metadata, :json
- end
- end
- end
-end
diff --git a/server/db/migrate/20260317145962_add_metadata_to_spree_variants.spree.rb b/server/db/migrate/20260317145962_add_metadata_to_spree_variants.spree.rb
deleted file mode 100644
index 6db507fe13..0000000000
--- a/server/db/migrate/20260317145962_add_metadata_to_spree_variants.spree.rb
+++ /dev/null
@@ -1,14 +0,0 @@
-# This migration comes from spree (originally 20210915064323)
-class AddMetadataToSpreeVariants < ActiveRecord::Migration[5.2]
- def change
- change_table :spree_variants do |t|
- if t.respond_to? :jsonb
- add_column :spree_variants, :public_metadata, :jsonb
- add_column :spree_variants, :private_metadata, :jsonb
- else
- add_column :spree_variants, :public_metadata, :json
- add_column :spree_variants, :private_metadata, :json
- end
- end
- end
-end
diff --git a/server/db/migrate/20260317145963_add_metadata_to_spree_line_items.spree.rb b/server/db/migrate/20260317145963_add_metadata_to_spree_line_items.spree.rb
deleted file mode 100644
index 86103f6ae8..0000000000
--- a/server/db/migrate/20260317145963_add_metadata_to_spree_line_items.spree.rb
+++ /dev/null
@@ -1,14 +0,0 @@
-# This migration comes from spree (originally 20210915064324)
-class AddMetadataToSpreeLineItems < ActiveRecord::Migration[5.2]
- def change
- change_table :spree_line_items do |t|
- if t.respond_to? :jsonb
- add_column :spree_line_items, :public_metadata, :jsonb
- add_column :spree_line_items, :private_metadata, :jsonb
- else
- add_column :spree_line_items, :public_metadata, :json
- add_column :spree_line_items, :private_metadata, :json
- end
- end
- end
-end
diff --git a/server/db/migrate/20260317145964_add_metadata_to_spree_shipments.spree.rb b/server/db/migrate/20260317145964_add_metadata_to_spree_shipments.spree.rb
deleted file mode 100644
index e56973b801..0000000000
--- a/server/db/migrate/20260317145964_add_metadata_to_spree_shipments.spree.rb
+++ /dev/null
@@ -1,14 +0,0 @@
-# This migration comes from spree (originally 20210915064325)
-class AddMetadataToSpreeShipments < ActiveRecord::Migration[5.2]
- def change
- change_table :spree_shipments do |t|
- if t.respond_to? :jsonb
- add_column :spree_shipments, :public_metadata, :jsonb
- add_column :spree_shipments, :private_metadata, :jsonb
- else
- add_column :spree_shipments, :public_metadata, :json
- add_column :spree_shipments, :private_metadata, :json
- end
- end
- end
-end
diff --git a/server/db/migrate/20260317145965_add_metadata_to_spree_payments.spree.rb b/server/db/migrate/20260317145965_add_metadata_to_spree_payments.spree.rb
deleted file mode 100644
index 42dd39d59c..0000000000
--- a/server/db/migrate/20260317145965_add_metadata_to_spree_payments.spree.rb
+++ /dev/null
@@ -1,14 +0,0 @@
-# This migration comes from spree (originally 20210915064326)
-class AddMetadataToSpreePayments < ActiveRecord::Migration[5.2]
- def change
- change_table :spree_payments do |t|
- if t.respond_to? :jsonb
- add_column :spree_payments, :public_metadata, :jsonb
- add_column :spree_payments, :private_metadata, :jsonb
- else
- add_column :spree_payments, :public_metadata, :json
- add_column :spree_payments, :private_metadata, :json
- end
- end
- end
-end
diff --git a/server/db/migrate/20260317145966_add_metadata_to_spree_taxons_and_taxonomies.spree.rb b/server/db/migrate/20260317145966_add_metadata_to_spree_taxons_and_taxonomies.spree.rb
deleted file mode 100644
index efa9153ffe..0000000000
--- a/server/db/migrate/20260317145966_add_metadata_to_spree_taxons_and_taxonomies.spree.rb
+++ /dev/null
@@ -1,19 +0,0 @@
-# This migration comes from spree (originally 20210915064327)
-class AddMetadataToSpreeTaxonsAndTaxonomies < ActiveRecord::Migration[5.2]
- def change
- %i[
- spree_taxons
- spree_taxonomies
- ].each do |table_name|
- change_table table_name do |t|
- if t.respond_to? :jsonb
- add_column table_name, :public_metadata, :jsonb
- add_column table_name, :private_metadata, :jsonb
- else
- add_column table_name, :public_metadata, :json
- add_column table_name, :private_metadata, :json
- end
- end
- end
- end
-end
diff --git a/server/db/migrate/20260317145967_add_metadata_to_spree_stock_transfers.spree.rb b/server/db/migrate/20260317145967_add_metadata_to_spree_stock_transfers.spree.rb
deleted file mode 100644
index 3143291d92..0000000000
--- a/server/db/migrate/20260317145967_add_metadata_to_spree_stock_transfers.spree.rb
+++ /dev/null
@@ -1,14 +0,0 @@
-# This migration comes from spree (originally 20210915064328)
-class AddMetadataToSpreeStockTransfers < ActiveRecord::Migration[5.2]
- def change
- change_table :spree_stock_transfers do |t|
- if t.respond_to? :jsonb
- add_column :spree_stock_transfers, :public_metadata, :jsonb
- add_column :spree_stock_transfers, :private_metadata, :jsonb
- else
- add_column :spree_stock_transfers, :public_metadata, :json
- add_column :spree_stock_transfers, :private_metadata, :json
- end
- end
- end
-end
diff --git a/server/db/migrate/20260317145968_add_metadata_to_spree_multiple_tables.spree.rb b/server/db/migrate/20260317145968_add_metadata_to_spree_multiple_tables.spree.rb
deleted file mode 100644
index 7d204f589c..0000000000
--- a/server/db/migrate/20260317145968_add_metadata_to_spree_multiple_tables.spree.rb
+++ /dev/null
@@ -1,30 +0,0 @@
-# This migration comes from spree (originally 20210915064329)
-class AddMetadataToSpreeMultipleTables < ActiveRecord::Migration[5.2]
- def change
- %i[
- spree_assets
- spree_option_types
- spree_option_values
- spree_promotions
- spree_payment_methods
- spree_shipping_methods
- spree_prototypes
- spree_refunds
- spree_customer_returns
- spree_users
- spree_addresses
- spree_credit_cards
- spree_store_credits
- ].each do |table_name|
- change_table table_name do |t|
- if t.respond_to? :jsonb
- add_column table_name, :public_metadata, :jsonb
- add_column table_name, :private_metadata, :jsonb
- else
- add_column table_name, :public_metadata, :json
- add_column table_name, :private_metadata, :json
- end
- end
- end
- end
-end
diff --git a/server/db/migrate/20260317145969_add_deleted_at_to_spree_stores.spree.rb b/server/db/migrate/20260317145969_add_deleted_at_to_spree_stores.spree.rb
deleted file mode 100644
index 5ee5ac0bec..0000000000
--- a/server/db/migrate/20260317145969_add_deleted_at_to_spree_stores.spree.rb
+++ /dev/null
@@ -1,9 +0,0 @@
-# This migration comes from spree (originally 20210920090344)
-class AddDeletedAtToSpreeStores < ActiveRecord::Migration[5.2]
- def change
- unless column_exists?(:spree_stores, :deleted_at)
- add_column :spree_stores, :deleted_at, :datetime
- add_index :spree_stores, :deleted_at
- end
- end
-end
diff --git a/server/db/migrate/20260317145970_rename_column_access_hash_to_token.spree.rb b/server/db/migrate/20260317145970_rename_column_access_hash_to_token.spree.rb
deleted file mode 100644
index 44d49c91f5..0000000000
--- a/server/db/migrate/20260317145970_rename_column_access_hash_to_token.spree.rb
+++ /dev/null
@@ -1,9 +0,0 @@
-# This migration comes from spree (originally 20210921070812)
-class RenameColumnAccessHashToToken < ActiveRecord::Migration[5.2]
- def change
- if table_exists?(:spree_wishlists)
- rename_column(:spree_wishlists, :access_hash, :token) if column_exists?(:spree_wishlists, :access_hash)
- add_reference(:spree_wishlists, :store, index: true) unless column_exists?(:spree_wishlists, :store_id)
- end
- end
-end
diff --git a/server/db/migrate/20260317145971_create_spree_wishlists.spree.rb b/server/db/migrate/20260317145971_create_spree_wishlists.spree.rb
deleted file mode 100644
index a84edd9012..0000000000
--- a/server/db/migrate/20260317145971_create_spree_wishlists.spree.rb
+++ /dev/null
@@ -1,19 +0,0 @@
-# This migration comes from spree (originally 20210921070813)
-class CreateSpreeWishlists < ActiveRecord::Migration[5.2]
- def change
- create_table :spree_wishlists, if_not_exists: true do |t|
- t.belongs_to :user
- t.belongs_to :store
-
- t.column :name, :string
- t.column :token, :string, null: false
- t.column :is_private, :boolean, default: true, null: false
- t.column :is_default, :boolean, default: false, null: false
-
- t.timestamps
- end
-
- add_index :spree_wishlists, :token, unique: true
- add_index :spree_wishlists, [:user_id, :is_default] unless index_exists?(:spree_wishlists, [:user_id, :is_default])
- end
-end
diff --git a/server/db/migrate/20260317145972_create_spree_wished_products.spree.rb b/server/db/migrate/20260317145972_create_spree_wished_products.spree.rb
deleted file mode 100644
index 5811a48691..0000000000
--- a/server/db/migrate/20260317145972_create_spree_wished_products.spree.rb
+++ /dev/null
@@ -1,17 +0,0 @@
-# This migration comes from spree (originally 20210921070814)
-class CreateSpreeWishedProducts < ActiveRecord::Migration[5.2]
- def change
- create_table :spree_wished_products, if_not_exists: true do |t|
- t.references :variant
- t.belongs_to :wishlist
-
- t.column :quantity, :integer, default: 1, null: false
-
- t.timestamps
- end
-
- add_index :spree_wished_products, [:variant_id, :wishlist_id], unique: true unless index_exists?(:spree_wished_products, [:variant_id, :wishlist_id])
- add_index :spree_wished_products, :variant_id unless index_exists?(:spree_wished_products, :variant_id)
- add_index :spree_wished_products, :wishlist_id unless index_exists?(:spree_wished_products, :wishlist_id)
- end
-end
diff --git a/server/db/migrate/20260317145973_rename_spree_wished_products_to_spree_wished_items.spree.rb b/server/db/migrate/20260317145973_rename_spree_wished_products_to_spree_wished_items.spree.rb
deleted file mode 100644
index a38e49880b..0000000000
--- a/server/db/migrate/20260317145973_rename_spree_wished_products_to_spree_wished_items.spree.rb
+++ /dev/null
@@ -1,6 +0,0 @@
-# This migration comes from spree (originally 20210921070815)
-class RenameSpreeWishedProductsToSpreeWishedItems < ActiveRecord::Migration[5.2]
- def change
- rename_table :spree_wished_products, :spree_wished_items
- end
-end
diff --git a/server/db/migrate/20260317145974_add_unique_stock_item_stock_location_variant_deleted_at_index.spree.rb b/server/db/migrate/20260317145974_add_unique_stock_item_stock_location_variant_deleted_at_index.spree.rb
deleted file mode 100644
index 24337f56c8..0000000000
--- a/server/db/migrate/20260317145974_add_unique_stock_item_stock_location_variant_deleted_at_index.spree.rb
+++ /dev/null
@@ -1,6 +0,0 @@
-# This migration comes from spree (originally 20210921090344)
-class AddUniqueStockItemStockLocationVariantDeletedAtIndex < ActiveRecord::Migration[5.2]
- def change
- add_index :spree_stock_items, [:stock_location_id, :variant_id, :deleted_at], name: 'stock_item_by_loc_var_id_deleted_at', unique: true
- end
-end
diff --git a/server/db/migrate/20260317145975_create_stock_item_stock_location_id_variant_id_coalesce_deleted_at_unique_index.spree.rb b/server/db/migrate/20260317145975_create_stock_item_stock_location_id_variant_id_coalesce_deleted_at_unique_index.spree.rb
deleted file mode 100644
index 0749478269..0000000000
--- a/server/db/migrate/20260317145975_create_stock_item_stock_location_id_variant_id_coalesce_deleted_at_unique_index.spree.rb
+++ /dev/null
@@ -1,6 +0,0 @@
-# This migration comes from spree (originally 20210929090344)
-class CreateStockItemStockLocationIdVariantIdCoalesceDeletedAtUniqueIndex < ActiveRecord::Migration[5.2]
- def change
- # this migration was broken and is fixed in the following migration
- end
-end
diff --git a/server/db/migrate/20260317145976_create_spree_digital_links.spree.rb b/server/db/migrate/20260317145976_create_spree_digital_links.spree.rb
deleted file mode 100644
index 2340667be3..0000000000
--- a/server/db/migrate/20260317145976_create_spree_digital_links.spree.rb
+++ /dev/null
@@ -1,14 +0,0 @@
-# This migration comes from spree (originally 20210929091444)
-class CreateSpreeDigitalLinks < ActiveRecord::Migration[5.2]
- def change
- create_table :spree_digital_links, if_not_exists: true do |t|
- t.belongs_to :digital
- t.belongs_to :line_item
- t.string :secret
- t.integer :access_counter
-
- t.timestamps
- end
- add_index :spree_digital_links, :secret, unique: true unless index_exists?(:spree_digital_links, :secret)
- end
-end
diff --git a/server/db/migrate/20260317145977_create_spree_digitals.spree.rb b/server/db/migrate/20260317145977_create_spree_digitals.spree.rb
deleted file mode 100644
index f6ae40b0e8..0000000000
--- a/server/db/migrate/20260317145977_create_spree_digitals.spree.rb
+++ /dev/null
@@ -1,10 +0,0 @@
-# This migration comes from spree (originally 20210929093238)
-class CreateSpreeDigitals < ActiveRecord::Migration[5.2]
- def change
- create_table :spree_digitals, if_not_exists: true do |t|
- t.belongs_to :variant
-
- t.timestamps
- end
- end
-end
diff --git a/server/db/migrate/20260317145978_rename_secret_to_token_on_spree_digital_links.spree.rb b/server/db/migrate/20260317145978_rename_secret_to_token_on_spree_digital_links.spree.rb
deleted file mode 100644
index 7c42f776a7..0000000000
--- a/server/db/migrate/20260317145978_rename_secret_to_token_on_spree_digital_links.spree.rb
+++ /dev/null
@@ -1,6 +0,0 @@
-# This migration comes from spree (originally 20210930143043)
-class RenameSecretToTokenOnSpreeDigitalLinks < ActiveRecord::Migration[5.2]
- def change
- rename_column :spree_digital_links, :secret, :token
- end
-end
diff --git a/server/db/migrate/20260317145979_add_settings_to_spree_stores.spree.rb b/server/db/migrate/20260317145979_add_settings_to_spree_stores.spree.rb
deleted file mode 100644
index 1dcb13f025..0000000000
--- a/server/db/migrate/20260317145979_add_settings_to_spree_stores.spree.rb
+++ /dev/null
@@ -1,12 +0,0 @@
-# This migration comes from spree (originally 20210930155649)
-class AddSettingsToSpreeStores < ActiveRecord::Migration[5.2]
- def change
- change_table :spree_stores do |t|
- if t.respond_to? :jsonb
- add_column :spree_stores, :settings, :jsonb
- else
- add_column :spree_stores, :settings, :json
- end
- end
- end
-end
diff --git a/server/db/migrate/20260317145980_add_settings_to_payment_methods.spree.rb b/server/db/migrate/20260317145980_add_settings_to_payment_methods.spree.rb
deleted file mode 100644
index 5c68a97827..0000000000
--- a/server/db/migrate/20260317145980_add_settings_to_payment_methods.spree.rb
+++ /dev/null
@@ -1,12 +0,0 @@
-# This migration comes from spree (originally 20211203082008)
-class AddSettingsToPaymentMethods < ActiveRecord::Migration[5.2]
- def change
- change_table :spree_payment_methods do |t|
- if t.respond_to? :jsonb
- add_column :spree_payment_methods, :settings, :jsonb
- else
- add_column :spree_payment_methods, :settings, :json
- end
- end
- end
-end
diff --git a/server/db/migrate/20260317145981_disable_propagate_all_variants_by_default.spree.rb b/server/db/migrate/20260317145981_disable_propagate_all_variants_by_default.spree.rb
deleted file mode 100644
index f8593808fc..0000000000
--- a/server/db/migrate/20260317145981_disable_propagate_all_variants_by_default.spree.rb
+++ /dev/null
@@ -1,6 +0,0 @@
-# This migration comes from spree (originally 20211229162122)
-class DisablePropagateAllVariantsByDefault < ActiveRecord::Migration[5.2]
- def change
- change_column_default :spree_stock_locations, :propagate_all_variants, false
- end
-end
diff --git a/server/db/migrate/20260317145982_add_status_and_make_active_at_to_spree_products.spree.rb b/server/db/migrate/20260317145982_add_status_and_make_active_at_to_spree_products.spree.rb
deleted file mode 100644
index 763beb2797..0000000000
--- a/server/db/migrate/20260317145982_add_status_and_make_active_at_to_spree_products.spree.rb
+++ /dev/null
@@ -1,8 +0,0 @@
-# This migration comes from spree (originally 20220103082046)
-class AddStatusAndMakeActiveAtToSpreeProducts < ActiveRecord::Migration[5.2]
- def change
- add_column :spree_products, :status, :string, null: false, default: 'draft'
- add_index :spree_products, :status
- add_index :spree_products, %i[status deleted_at]
- end
-end
diff --git a/server/db/migrate/20260317145983_add_internal_note_to_spree_orders.spree.rb b/server/db/migrate/20260317145983_add_internal_note_to_spree_orders.spree.rb
deleted file mode 100644
index 1efb621e47..0000000000
--- a/server/db/migrate/20260317145983_add_internal_note_to_spree_orders.spree.rb
+++ /dev/null
@@ -1,6 +0,0 @@
-# This migration comes from spree (originally 20220106230929)
-class AddInternalNoteToSpreeOrders < ActiveRecord::Migration[5.2]
- def change
- add_column :spree_orders, :internal_note, :text
- end
-end
diff --git a/server/db/migrate/20260317145984_create_payment_sources.spree.rb b/server/db/migrate/20260317145984_create_payment_sources.spree.rb
deleted file mode 100644
index 5b7322b409..0000000000
--- a/server/db/migrate/20260317145984_create_payment_sources.spree.rb
+++ /dev/null
@@ -1,23 +0,0 @@
-# This migration comes from spree (originally 20220113052823)
-class CreatePaymentSources < ActiveRecord::Migration[5.2]
- def change
- create_table :spree_payment_sources do |t|
- t.string :gateway_payment_profile_id
- t.string :type, index: true
-
- t.references :payment_method, index: true, foreign_key: { to_table: :spree_payment_methods }
- t.references :user, index: true, foreign_key: { to_table: :spree_users }
-
- if t.respond_to? :jsonb
- t.jsonb :public_metadata
- t.jsonb :private_metadata
- else
- t.json :public_metadata
- t.json :private_metadata
- end
-
- t.index [:type, :gateway_payment_profile_id], unique: true, name: 'index_payment_sources_on_type_and_gateway_payment_profile_id'
- t.timestamps
- end
- end
-end
diff --git a/server/db/migrate/20260317145985_add_make_active_at_to_spree_products.spree.rb b/server/db/migrate/20260317145985_add_make_active_at_to_spree_products.spree.rb
deleted file mode 100644
index c841893913..0000000000
--- a/server/db/migrate/20260317145985_add_make_active_at_to_spree_products.spree.rb
+++ /dev/null
@@ -1,18 +0,0 @@
-# This migration comes from spree (originally 20220117100333)
-class AddMakeActiveAtToSpreeProducts < ActiveRecord::Migration[5.2]
- def change
- add_column :spree_products, :make_active_at, :datetime
- add_index :spree_products, :make_active_at
-
- Spree::Product.
- where('discontinue_on IS NULL or discontinue_on > ?', Time.current).
- where('available_on <= ?', Time.current).
- where(status: 'draft').
- update_all(status: 'active', updated_at: Time.current)
-
- Spree::Product.
- where('discontinue_on <= ?', Time.current).
- where.not(status: 'archived').
- update_all(status: 'archived', updated_at: Time.current)
- end
-end
diff --git a/server/db/migrate/20260317145986_add_metadata_to_spree_tax_rates.spree.rb b/server/db/migrate/20260317145986_add_metadata_to_spree_tax_rates.spree.rb
deleted file mode 100644
index eed16c0d83..0000000000
--- a/server/db/migrate/20260317145986_add_metadata_to_spree_tax_rates.spree.rb
+++ /dev/null
@@ -1,14 +0,0 @@
-# This migration comes from spree (originally 20220120092821)
-class AddMetadataToSpreeTaxRates < ActiveRecord::Migration[5.2]
- def change
- change_table :spree_tax_rates do |t|
- if t.respond_to? :jsonb
- add_column :spree_tax_rates, :public_metadata, :jsonb
- add_column :spree_tax_rates, :private_metadata, :jsonb
- else
- add_column :spree_tax_rates, :public_metadata, :json
- add_column :spree_tax_rates, :private_metadata, :json
- end
- end
- end
-end
diff --git a/server/db/migrate/20260317145987_add_first_name_and_last_name_to_spree_users.spree.rb b/server/db/migrate/20260317145987_add_first_name_and_last_name_to_spree_users.spree.rb
deleted file mode 100644
index 33151ad2a3..0000000000
--- a/server/db/migrate/20260317145987_add_first_name_and_last_name_to_spree_users.spree.rb
+++ /dev/null
@@ -1,10 +0,0 @@
-# This migration comes from spree (originally 20220201103922)
-class AddFirstNameAndLastNameToSpreeUsers < ActiveRecord::Migration[5.2]
- def change
- if Spree.user_class.present?
- users_table_name = Spree.user_class.table_name
- add_column users_table_name, :first_name, :string unless column_exists?(users_table_name, :first_name)
- add_column users_table_name, :last_name, :string unless column_exists?(users_table_name, :last_name)
- end
- end
-end
diff --git a/server/db/migrate/20260317145988_add_barcode_to_spree_variants.spree.rb b/server/db/migrate/20260317145988_add_barcode_to_spree_variants.spree.rb
deleted file mode 100644
index ab7c464795..0000000000
--- a/server/db/migrate/20260317145988_add_barcode_to_spree_variants.spree.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# This migration comes from spree (originally 20220222083546)
-class AddBarcodeToSpreeVariants < ActiveRecord::Migration[5.2]
- def change
- add_column :spree_variants, :barcode, :string
- add_index :spree_variants, :barcode
- end
-end
diff --git a/server/db/migrate/20260317145989_add_metadata_to_spree_stock_items.spree.rb b/server/db/migrate/20260317145989_add_metadata_to_spree_stock_items.spree.rb
deleted file mode 100644
index 3a6c6507c9..0000000000
--- a/server/db/migrate/20260317145989_add_metadata_to_spree_stock_items.spree.rb
+++ /dev/null
@@ -1,14 +0,0 @@
-# This migration comes from spree (originally 20220613133029)
-class AddMetadataToSpreeStockItems < ActiveRecord::Migration[5.2]
- def change
- change_table :spree_stock_items do |t|
- if t.respond_to? :jsonb
- add_column :spree_stock_items, :public_metadata, :jsonb
- add_column :spree_stock_items, :private_metadata, :jsonb
- else
- add_column :spree_stock_items, :public_metadata, :json
- add_column :spree_stock_items, :private_metadata, :json
- end
- end
- end
-end
diff --git a/server/db/migrate/20260317145990_create_product_name_and_description_translations_for_mobility_table_backend.spree.rb b/server/db/migrate/20260317145990_create_product_name_and_description_translations_for_mobility_table_backend.spree.rb
deleted file mode 100644
index da045d68b1..0000000000
--- a/server/db/migrate/20260317145990_create_product_name_and_description_translations_for_mobility_table_backend.spree.rb
+++ /dev/null
@@ -1,28 +0,0 @@
-# This migration comes from spree (originally 20220706112554)
-class CreateProductNameAndDescriptionTranslationsForMobilityTableBackend < ActiveRecord::Migration[6.1]
- def change
- # create translation table only if spree_globalize has not already created it
- if ActiveRecord::Base.connection.table_exists? 'spree_product_translations'
- # manually check for index since Rails if_exists does not always work correctly
- if ActiveRecord::Migration.connection.index_exists?(:spree_product_translations, :spree_product_id)
- remove_index :spree_product_translations, name: "index_spree_product_translations_on_spree_product_id", if_exists: true
- end
- else
- create_table :spree_product_translations do |t|
-
- # Translated attribute(s)
- t.string :name
- t.text :description
-
- t.string :locale, null: false
- t.references :spree_product, null: false, foreign_key: true, index: false
-
- t.timestamps null: false
- end
-
- add_index :spree_product_translations, :locale, name: :index_spree_product_translations_on_locale
- end
-
- add_index :spree_product_translations, [:spree_product_id, :locale], name: :unique_product_id_per_locale, unique: true
- end
-end
diff --git a/server/db/migrate/20260317145991_create_spree_product_translations_for_mobility.spree.rb b/server/db/migrate/20260317145991_create_spree_product_translations_for_mobility.spree.rb
deleted file mode 100644
index d6de3a34e6..0000000000
--- a/server/db/migrate/20260317145991_create_spree_product_translations_for_mobility.spree.rb
+++ /dev/null
@@ -1,8 +0,0 @@
-# This migration comes from spree (originally 20220715083542)
-class CreateSpreeProductTranslationsForMobility < ActiveRecord::Migration[6.1]
- def change
- add_column :spree_product_translations, :meta_description, :text, if_not_exists: true
- add_column :spree_product_translations, :meta_keywords, :string, if_not_exists: true
- add_column :spree_product_translations, :meta_title, :string, if_not_exists: true
- end
-end
diff --git a/server/db/migrate/20260317145992_create_spree_taxon_name_and_description_translations_for_mobility_table_backend.spree.rb b/server/db/migrate/20260317145992_create_spree_taxon_name_and_description_translations_for_mobility_table_backend.spree.rb
deleted file mode 100644
index ef48a1d6b8..0000000000
--- a/server/db/migrate/20260317145992_create_spree_taxon_name_and_description_translations_for_mobility_table_backend.spree.rb
+++ /dev/null
@@ -1,28 +0,0 @@
-# This migration comes from spree (originally 20220718100743)
-class CreateSpreeTaxonNameAndDescriptionTranslationsForMobilityTableBackend < ActiveRecord::Migration[6.1]
- def change
- # create translation table only if spree_globalize has not already created it
- if ActiveRecord::Base.connection.table_exists? 'spree_taxon_translations'
- # manually check for index since Rails if_exists does not always work correctly
- if ActiveRecord::Migration.connection.index_exists?(:spree_taxon_translations, :spree_taxon_id)
- # replacing this with index on spree_taxon_id and locale
- remove_index :spree_taxon_translations, name: "index_spree_taxon_translations_on_spree_taxon_id", if_exists: true
- end
- else
- create_table :spree_taxon_translations do |t|
- # Translated attribute(s)
- t.string :name
- t.text :description
-
- t.string :locale, null: false
- t.references :spree_taxon, null: false, foreign_key: true, index: false
-
- t.timestamps null: false
- end
-
- add_index :spree_taxon_translations, :locale, name: :index_spree_taxon_translations_on_locale
- end
-
- add_index :spree_taxon_translations, [:spree_taxon_id, :locale], name: :index_spree_taxon_translations_on_spree_taxon_id_and_locale, unique: true
- end
-end
diff --git a/server/db/migrate/20260317145993_add_locale_to_friendly_id_slugs.spree.rb b/server/db/migrate/20260317145993_add_locale_to_friendly_id_slugs.spree.rb
deleted file mode 100644
index fad7ed6def..0000000000
--- a/server/db/migrate/20260317145993_add_locale_to_friendly_id_slugs.spree.rb
+++ /dev/null
@@ -1,12 +0,0 @@
-# This migration comes from spree (originally 20220802070609)
-class AddLocaleToFriendlyIdSlugs < ActiveRecord::Migration[6.1]
- def change
- add_column :friendly_id_slugs, :locale, :string, null: :false, after: :scope
-
- remove_index :friendly_id_slugs, [:slug, :sluggable_type]
- add_index :friendly_id_slugs, [:slug, :sluggable_type, :locale], length: { slug: 140, sluggable_type: 50, locale: 2 }
- remove_index :friendly_id_slugs, [:slug, :sluggable_type, :scope]
- add_index :friendly_id_slugs, [:slug, :sluggable_type, :scope, :locale], length: { slug: 70, sluggable_type: 50, scope: 70, locale: 2 }, unique: true, name: :index_friendly_id_slugs_unique
- add_index :friendly_id_slugs, :locale
- end
-end
diff --git a/server/db/migrate/20260317145994_create_spree_product_slug_translations_for_mobility_table_backend.spree.rb b/server/db/migrate/20260317145994_create_spree_product_slug_translations_for_mobility_table_backend.spree.rb
deleted file mode 100644
index ba7afce613..0000000000
--- a/server/db/migrate/20260317145994_create_spree_product_slug_translations_for_mobility_table_backend.spree.rb
+++ /dev/null
@@ -1,6 +0,0 @@
-# This migration comes from spree (originally 20220802073225)
-class CreateSpreeProductSlugTranslationsForMobilityTableBackend < ActiveRecord::Migration[6.1]
- def change
- add_column :spree_product_translations, :slug, :string
- end
-end
diff --git a/server/db/migrate/20260317145995_add_selected_locale_to_spree_users.spree.rb b/server/db/migrate/20260317145995_add_selected_locale_to_spree_users.spree.rb
deleted file mode 100644
index c97a24793b..0000000000
--- a/server/db/migrate/20260317145995_add_selected_locale_to_spree_users.spree.rb
+++ /dev/null
@@ -1,9 +0,0 @@
-# This migration comes from spree (originally 20221215151408)
-class AddSelectedLocaleToSpreeUsers < ActiveRecord::Migration[6.1]
- def change
- if Spree.user_class.present?
- users_table_name = Spree.user_class.table_name
- add_column users_table_name, :selected_locale, :string unless column_exists?(users_table_name, :selected_locale)
- end
- end
-end
diff --git a/server/db/migrate/20260317145996_add_deleted_at_to_product_translations.spree.rb b/server/db/migrate/20260317145996_add_deleted_at_to_product_translations.spree.rb
deleted file mode 100644
index d1735264e9..0000000000
--- a/server/db/migrate/20260317145996_add_deleted_at_to_product_translations.spree.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# This migration comes from spree (originally 20221219123957)
-class AddDeletedAtToProductTranslations < ActiveRecord::Migration[6.1]
- def change
- add_column :spree_product_translations, :deleted_at, :datetime
- add_index :spree_product_translations, :deleted_at
- end
-end
diff --git a/server/db/migrate/20260317145997_add_uniqueness_constraint_to_product_translations.spree.rb b/server/db/migrate/20260317145997_add_uniqueness_constraint_to_product_translations.spree.rb
deleted file mode 100644
index cce1f04493..0000000000
--- a/server/db/migrate/20260317145997_add_uniqueness_constraint_to_product_translations.spree.rb
+++ /dev/null
@@ -1,6 +0,0 @@
-# This migration comes from spree (originally 20221220133432)
-class AddUniquenessConstraintToProductTranslations < ActiveRecord::Migration[6.1]
- def change
- add_index :spree_product_translations, [:locale, :slug], unique: true, name: 'unique_slug_per_locale'
- end
-end
diff --git a/server/db/migrate/20260317145998_create_option_type_translations.spree.rb b/server/db/migrate/20260317145998_create_option_type_translations.spree.rb
deleted file mode 100644
index 89c06ef74a..0000000000
--- a/server/db/migrate/20260317145998_create_option_type_translations.spree.rb
+++ /dev/null
@@ -1,26 +0,0 @@
-# This migration comes from spree (originally 20230103144439)
-class CreateOptionTypeTranslations < ActiveRecord::Migration[6.1]
- def change
- if ActiveRecord::Base.connection.table_exists? 'spree_option_type_translations'
- # manually check for index since Rails if_exists does not always work correctly
- if ActiveRecord::Migration.connection.index_exists?(:spree_option_type_translations, :spree_option_type_id)
- remove_index :spree_option_type_translations, name: "index_spree_option_type_translations_on_spree_option_type_id", if_exists: true
- end
- else
- create_table :spree_option_type_translations do |t|
-
- # Translated attribute(s)
- t.string :presentation
-
- t.string :locale, null: false
- t.references :spree_option_type, null: false, foreign_key: true, index: false
-
- t.timestamps
- end
-
- add_index :spree_option_type_translations, :locale, name: :index_spree_option_type_translations_on_locale
- end
-
- add_index :spree_option_type_translations, [:spree_option_type_id, :locale], name: :unique_option_type_id_per_locale, unique: true
- end
-end
diff --git a/server/db/migrate/20260317145999_create_option_value_translations.spree.rb b/server/db/migrate/20260317145999_create_option_value_translations.spree.rb
deleted file mode 100644
index 11fc495224..0000000000
--- a/server/db/migrate/20260317145999_create_option_value_translations.spree.rb
+++ /dev/null
@@ -1,26 +0,0 @@
-# This migration comes from spree (originally 20230103151034)
-class CreateOptionValueTranslations < ActiveRecord::Migration[6.1]
- def change
- if ActiveRecord::Base.connection.table_exists? 'spree_option_value_translations'
- # manually check for index since Rails if_exists does not always work correctly
- if ActiveRecord::Migration.connection.index_exists?(:spree_option_value_translations, :spree_option_value_id)
- remove_index :spree_option_value_translations, column: :spree_option_value_id, if_exists: true
- end
- else
- create_table :spree_option_value_translations do |t|
-
- # Translated attribute(s)
- t.string :presentation
-
- t.string :locale, null: false
- t.references :spree_option_value, null: false, foreign_key: true, index: false
-
- t.timestamps
- end
-
- add_index :spree_option_value_translations, :locale, name: :index_spree_option_value_translations_on_locale
- end
-
- add_index :spree_option_value_translations, [:spree_option_value_id, :locale], name: :unique_option_value_id_per_locale, unique: true
- end
-end
diff --git a/server/db/migrate/20260317146000_backfill_friendly_id_slug_locale.spree.rb b/server/db/migrate/20260317146000_backfill_friendly_id_slug_locale.spree.rb
deleted file mode 100644
index dcf2e88a11..0000000000
--- a/server/db/migrate/20260317146000_backfill_friendly_id_slug_locale.spree.rb
+++ /dev/null
@@ -1,12 +0,0 @@
-# This migration comes from spree (originally 20230110142344)
-class BackfillFriendlyIdSlugLocale < ActiveRecord::Migration[6.1]
- def up
- if Spree::Store.default.present? && Spree::Store.default.default_locale.present?
- FriendlyId::Slug.unscoped.update_all(locale: Spree::Store.default.default_locale)
- end
- end
-
- def down
- FriendlyId::Slug.unscoped.update_all(locale: nil)
- end
-end
diff --git a/server/db/migrate/20260317146001_add_additional_taxon_translation_fields.spree.rb b/server/db/migrate/20260317146001_add_additional_taxon_translation_fields.spree.rb
deleted file mode 100644
index 4d298360b0..0000000000
--- a/server/db/migrate/20260317146001_add_additional_taxon_translation_fields.spree.rb
+++ /dev/null
@@ -1,9 +0,0 @@
-# This migration comes from spree (originally 20230111121534)
-class AddAdditionalTaxonTranslationFields < ActiveRecord::Migration[6.1]
- def change
- add_column :spree_taxon_translations, :meta_title, :string, if_not_exists: true
- add_column :spree_taxon_translations, :meta_description, :string, if_not_exists: true
- add_column :spree_taxon_translations, :meta_keywords, :string, if_not_exists: true
- add_column :spree_taxon_translations, :permalink, :string, if_not_exists: true
- end
-end
diff --git a/server/db/migrate/20260317146002_create_taxonomy_translations.spree.rb b/server/db/migrate/20260317146002_create_taxonomy_translations.spree.rb
deleted file mode 100644
index c58202d745..0000000000
--- a/server/db/migrate/20260317146002_create_taxonomy_translations.spree.rb
+++ /dev/null
@@ -1,25 +0,0 @@
-# This migration comes from spree (originally 20230117115531)
-class CreateTaxonomyTranslations < ActiveRecord::Migration[6.1]
- def change
- if ActiveRecord::Base.connection.table_exists?('spree_taxonomy_translations')
- # manually check for index since Rails if_exists does not always work correctly
- if ActiveRecord::Migration.connection.index_exists?(:spree_taxonomy_translations, :spree_taxonomy_id)
- remove_index :spree_taxonomy_translations, column: :spree_taxonomy_id, if_exists: true
- end
- else
- create_table :spree_taxonomy_translations do |t|
- # Translated attribute(s)
- t.string :name
-
- t.string :locale, null: false
- t.references :spree_taxonomy, null: false, foreign_key: true, index: false
-
- t.timestamps null: false
- end
-
- add_index :spree_taxonomy_translations, :locale, name: :index_spree_taxonomy_translations_on_locale
- end
-
- add_index :spree_taxonomy_translations, [:spree_taxonomy_id, :locale], name: :index_spree_taxonomy_translations_on_spree_taxonomy_id_locale, unique: true
- end
-end
diff --git a/server/db/migrate/20260317146003_create_store_translations.spree.rb b/server/db/migrate/20260317146003_create_store_translations.spree.rb
deleted file mode 100644
index fbb3a540bd..0000000000
--- a/server/db/migrate/20260317146003_create_store_translations.spree.rb
+++ /dev/null
@@ -1,51 +0,0 @@
-# This migration comes from spree (originally 20230210142732)
-class CreateStoreTranslations < ActiveRecord::Migration[6.1]
- def change
- if ActiveRecord::Base.connection.table_exists?('spree_store_translations')
- add_new_translation_columns_to_globalize_table
- else
- create_table :spree_store_translations do |t|
- # Translated attribute(s)
- t.string :name
- t.text :meta_description
- t.text :meta_keywords
- t.string :seo_title
- t.string :facebook
- t.string :twitter
- t.string :instagram
- t.string :customer_support_email
- t.text :description
- t.text :address
- t.string :contact_phone
- t.string :new_order_notifications_email
-
- t.string :locale, null: false
- t.references :spree_store, null: false, foreign_key: true, index: false
-
- t.timestamps null: false
- end
-
- add_index :spree_store_translations, :locale, name: :index_spree_store_translations_on_locale
- end
-
- add_index :spree_store_translations, [:spree_store_id, :locale], name: :index_spree_store_translations_on_spree_store_id_locale, unique: true
- end
-
- private
-
- def add_new_translation_columns_to_globalize_table
- # manually check for index since Rails if_exists does not always work correctly
- if ActiveRecord::Migration.connection.index_exists?(:spree_store_translations, :spree_store_id)
- remove_index :spree_store_translations, column: :spree_store_id, if_exists: true
- end
-
- add_column :spree_store_translations, :facebook, :string
- add_column :spree_store_translations, :twitter, :string
- add_column :spree_store_translations, :instagram, :string
- add_column :spree_store_translations, :customer_support_email, :string
- add_column :spree_store_translations, :description, :text
- add_column :spree_store_translations, :address, :text
- add_column :spree_store_translations, :contact_phone, :string
- add_column :spree_store_translations, :new_order_notifications_email, :string
- end
-end
diff --git a/server/db/migrate/20260317146004_add_deleted_at_to_store_translations.spree.rb b/server/db/migrate/20260317146004_add_deleted_at_to_store_translations.spree.rb
deleted file mode 100644
index 975021165d..0000000000
--- a/server/db/migrate/20260317146004_add_deleted_at_to_store_translations.spree.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# This migration comes from spree (originally 20230210230434)
-class AddDeletedAtToStoreTranslations < ActiveRecord::Migration[6.1]
- def change
- add_column :spree_store_translations, :deleted_at, :datetime
- add_index :spree_store_translations, :deleted_at
- end
-end
diff --git a/server/db/migrate/20260317146005_fix_spree_stock_item_unique_index.spree.rb b/server/db/migrate/20260317146005_fix_spree_stock_item_unique_index.spree.rb
deleted file mode 100644
index 9bd845bc6c..0000000000
--- a/server/db/migrate/20260317146005_fix_spree_stock_item_unique_index.spree.rb
+++ /dev/null
@@ -1,36 +0,0 @@
-# This migration comes from spree (originally 20240303174340)
-class FixSpreeStockItemUniqueIndex < ActiveRecord::Migration[6.1]
- def change
- remove_index :spree_stock_items, name: 'stock_item_by_loc_var_id_deleted_at' if index_exists?(:spree_stock_items, [:stock_location_id, :variant_id], name: 'stock_item_by_loc_var_id_deleted_at')
-
- unless index_exists?(:spree_stock_items, ['variant_id', 'stock_location_id'], name: 'index_spree_stock_items_unique_without_deleted_at')
- # MySQL doesn't support partial indexes
- if ActiveRecord::Base.connection.adapter_name == 'Mysql2'
- reversible do |dir|
- dir.up do
- execute <<-SQL
- CREATE UNIQUE INDEX index_spree_stock_items_unique_without_deleted_at
- ON spree_stock_items(
- stock_location_id,
- variant_id,
- (COALESCE(deleted_at, CAST('1970-01-01' AS DATETIME)))
- );
- SQL
- end
-
- dir.down do
- remove_index :spree_stock_items, name: :index_spree_stock_items_unique_without_deleted_at
- end
- end
- else
- add_index(
- :spree_stock_items,
- ['variant_id', 'stock_location_id'],
- name: 'index_spree_stock_items_unique_without_deleted_at',
- unique: true,
- where: 'deleted_at IS NULL',
- )
- end
- end
- end
-end
diff --git a/server/db/migrate/20260317146006_add_weight_and_dimension_units_to_spree_variants.spree.rb b/server/db/migrate/20260317146006_add_weight_and_dimension_units_to_spree_variants.spree.rb
deleted file mode 100644
index e7e405bf42..0000000000
--- a/server/db/migrate/20260317146006_add_weight_and_dimension_units_to_spree_variants.spree.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# This migration comes from spree (originally 20240514105216)
-class AddWeightAndDimensionUnitsToSpreeVariants < ActiveRecord::Migration[6.1]
- def change
- add_column :spree_variants, :weight_unit, :string, if_not_exists: true
- add_column :spree_variants, :dimensions_unit, :string, if_not_exists: true
- end
-end
diff --git a/server/db/migrate/20260317146007_add_deleted_at_to_spree_stock_locations.spree.rb b/server/db/migrate/20260317146007_add_deleted_at_to_spree_stock_locations.spree.rb
deleted file mode 100644
index d353f3dff7..0000000000
--- a/server/db/migrate/20260317146007_add_deleted_at_to_spree_stock_locations.spree.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# This migration comes from spree (originally 20240623172111)
-class AddDeletedAtToSpreeStockLocations < ActiveRecord::Migration[6.1]
- def change
- add_column :spree_stock_locations, :deleted_at, :datetime, if_not_exists: true
- add_index :spree_stock_locations, :deleted_at, if_not_exists: true
- end
-end
diff --git a/server/db/migrate/20260317146008_add_refunder_to_spree_refunds.spree.rb b/server/db/migrate/20260317146008_add_refunder_to_spree_refunds.spree.rb
deleted file mode 100644
index 2ac2b5d4f5..0000000000
--- a/server/db/migrate/20260317146008_add_refunder_to_spree_refunds.spree.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# This migration comes from spree (originally 20240725124530)
-class AddRefunderToSpreeRefunds < ActiveRecord::Migration[6.1]
- def change
- add_column :spree_refunds, :refunder_id, :bigint, if_not_exists: true
- add_index :spree_refunds, :refunder_id, if_not_exists: true
- end
-end
diff --git a/server/db/migrate/20260317146009_add_pretty_name_to_spree_taxons.spree.rb b/server/db/migrate/20260317146009_add_pretty_name_to_spree_taxons.spree.rb
deleted file mode 100644
index 72b25b9712..0000000000
--- a/server/db/migrate/20260317146009_add_pretty_name_to_spree_taxons.spree.rb
+++ /dev/null
@@ -1,10 +0,0 @@
-# This migration comes from spree (originally 20240822163534)
-class AddPrettyNameToSpreeTaxons < ActiveRecord::Migration[6.1]
- def change
- add_column :spree_taxons, :pretty_name, :string, null: true, if_not_exists: true
- add_index :spree_taxons, :pretty_name, if_not_exists: true
-
- add_column :spree_taxon_translations, :pretty_name, :string, null: true, if_not_exists: true
- add_index :spree_taxon_translations, :pretty_name, if_not_exists: true
- end
-end
diff --git a/server/db/migrate/20260317146010_change_default_value_of_spree_option_types_filterable.spree.rb b/server/db/migrate/20260317146010_change_default_value_of_spree_option_types_filterable.spree.rb
deleted file mode 100644
index 6942c2b211..0000000000
--- a/server/db/migrate/20260317146010_change_default_value_of_spree_option_types_filterable.spree.rb
+++ /dev/null
@@ -1,6 +0,0 @@
-# This migration comes from spree (originally 20240913143518)
-class ChangeDefaultValueOfSpreeOptionTypesFilterable < ActiveRecord::Migration[6.1]
- def change
- change_column_default :spree_option_types, :filterable, from: false, to: true
- end
-end
diff --git a/server/db/migrate/20260317146011_create_spree_coupon_codes.spree.rb b/server/db/migrate/20260317146011_create_spree_coupon_codes.spree.rb
deleted file mode 100644
index 68f20dafcb..0000000000
--- a/server/db/migrate/20260317146011_create_spree_coupon_codes.spree.rb
+++ /dev/null
@@ -1,16 +0,0 @@
-# This migration comes from spree (originally 20241004181911)
-class CreateSpreeCouponCodes < ActiveRecord::Migration[6.1]
- def change
- return if table_exists?(:spree_coupon_codes)
-
- create_table :spree_coupon_codes do |t|
- t.string :code, index: { unique: true }
- t.references :promotion, index: true
- t.references :order, index: true
- t.integer :state, default: 0, null: false, index: true
- t.datetime :deleted_at, index: true
-
- t.timestamps
- end
- end
-end
diff --git a/server/db/migrate/20260317146012_add_multi_code_to_spree_promotions.spree.rb b/server/db/migrate/20260317146012_add_multi_code_to_spree_promotions.spree.rb
deleted file mode 100644
index 9c631d9aad..0000000000
--- a/server/db/migrate/20260317146012_add_multi_code_to_spree_promotions.spree.rb
+++ /dev/null
@@ -1,17 +0,0 @@
-# This migration comes from spree (originally 20241005093437)
-class AddMultiCodeToSpreePromotions < ActiveRecord::Migration[6.1]
- def change
- add_column :spree_promotions, :code_prefix, :string, if_not_exists: true
- add_column :spree_promotions, :number_of_codes, :integer, if_not_exists: true
- add_column :spree_promotions, :kind, :integer, default: 0, if_not_exists: true
- add_column :spree_promotions, :multi_codes, :boolean, default: false, if_not_exists: true
-
- add_index :spree_promotions, :kind, if_not_exists: true
-
- unless Rails.env.test?
- Spree::Promotion.reset_column_information
- # set all promotions without a code to automatic
- Spree::Promotion.where(code: [nil, '']).update_all(kind: 1)
- end
- end
-end
diff --git a/server/db/migrate/20260317146013_translate_rich_texts.spree.rb b/server/db/migrate/20260317146013_translate_rich_texts.spree.rb
deleted file mode 100644
index 5f4399bc2a..0000000000
--- a/server/db/migrate/20260317146013_translate_rich_texts.spree.rb
+++ /dev/null
@@ -1,18 +0,0 @@
-# This migration comes from spree (originally 20241014140140)
-class TranslateRichTexts < ActiveRecord::Migration[6.1]
- def change
- if table_exists?(:action_text_rich_texts)
- add_column :action_text_rich_texts, :locale, :string, null: false
-
- remove_index :action_text_rich_texts,
- column: [:record_type, :record_id, :name],
- name: :index_action_text_rich_texts_uniqueness,
- unique: true
-
- add_index :action_text_rich_texts,
- [:record_type, :record_id, :name, :locale],
- name: :index_action_text_rich_texts_uniqueness,
- unique: true
- end
- end
-end
diff --git a/server/db/migrate/20260317146014_create_spree_exports.spree.rb b/server/db/migrate/20260317146014_create_spree_exports.spree.rb
deleted file mode 100644
index cca54a9544..0000000000
--- a/server/db/migrate/20260317146014_create_spree_exports.spree.rb
+++ /dev/null
@@ -1,24 +0,0 @@
-# This migration comes from spree (originally 20241030134309)
-class CreateSpreeExports < ActiveRecord::Migration[6.1]
- def change
- return if table_exists?(:spree_exports)
-
- create_table :spree_exports do |t|
- t.references :user
- t.references :store, null: false
-
- t.string :number, limit: 32, null: false, index: { unique: true }
- t.string :type, null: false
-
- if t.respond_to? :jsonb
- t.jsonb :search_params
- else
- t.json :search_params
- end
-
- t.integer :format, index: true, null: false
-
- t.timestamps
- end
- end
-end
diff --git a/server/db/migrate/20260317146015_migrate_spree_promotion_rules_option_value_eligible_values.spree.rb b/server/db/migrate/20260317146015_migrate_spree_promotion_rules_option_value_eligible_values.spree.rb
deleted file mode 100644
index e01026f620..0000000000
--- a/server/db/migrate/20260317146015_migrate_spree_promotion_rules_option_value_eligible_values.spree.rb
+++ /dev/null
@@ -1,17 +0,0 @@
-# This migration comes from spree (originally 20241104083457)
-class MigrateSpreePromotionRulesOptionValueEligibleValues < ActiveRecord::Migration[6.1]
- def change
- Spree::Promotion::Rules::OptionValue.find_each do |option_value|
- new_eligible_values = option_value.preferred_eligible_values.flat_map do |product_id, option_value_ids|
- value_ids = option_value_ids.is_a?(String) ? option_value_ids.split(',') : option_value_ids
-
- Spree::OptionValueVariant.
- joins(:variant).
- where(option_value_id: value_ids, "#{Spree::Variant.table_name}.product_id" => product_id).
- pluck(:id)
- end
-
- option_value.update!(preferred_eligible_values: new_eligible_values)
- end
- end
-end
diff --git a/server/db/migrate/20260317146016_add_estimated_transit_fields_to_spree_shipping_methods.spree.rb b/server/db/migrate/20260317146016_add_estimated_transit_fields_to_spree_shipping_methods.spree.rb
deleted file mode 100644
index 88e1c952b1..0000000000
--- a/server/db/migrate/20260317146016_add_estimated_transit_fields_to_spree_shipping_methods.spree.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# This migration comes from spree (originally 20241123110646)
-class AddEstimatedTransitFieldsToSpreeShippingMethods < ActiveRecord::Migration[6.1]
- def change
- add_column :spree_shipping_methods, :estimated_transit_business_days_min, :integer
- add_column :spree_shipping_methods, :estimated_transit_business_days_max, :integer
- end
-end
diff --git a/server/db/migrate/20260317146017_create_spree_taxon_rules.spree.rb b/server/db/migrate/20260317146017_create_spree_taxon_rules.spree.rb
deleted file mode 100644
index 1ed36d6364..0000000000
--- a/server/db/migrate/20260317146017_create_spree_taxon_rules.spree.rb
+++ /dev/null
@@ -1,14 +0,0 @@
-# This migration comes from spree (originally 20241127193411)
-class CreateSpreeTaxonRules < ActiveRecord::Migration[6.1]
- def change
- create_table :spree_taxon_rules do |t|
- t.belongs_to :taxon, null: false, index: true
-
- t.string :type, null: false
- t.string :value, null: false
- t.string :match_policy, null: false, default: 'is_equal_to'
-
- t.timestamps
- end
- end
-end
diff --git a/server/db/migrate/20260317146018_add_rules_match_policy_and_sort_order_to_spree_taxons.spree.rb b/server/db/migrate/20260317146018_add_rules_match_policy_and_sort_order_to_spree_taxons.spree.rb
deleted file mode 100644
index 11a8d430f9..0000000000
--- a/server/db/migrate/20260317146018_add_rules_match_policy_and_sort_order_to_spree_taxons.spree.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# This migration comes from spree (originally 20241127223627)
-class AddRulesMatchPolicyAndSortOrderToSpreeTaxons < ActiveRecord::Migration[6.1]
- def change
- add_column :spree_taxons, :rules_match_policy, :string, default: 'all', null: false
- add_column :spree_taxons, :sort_order, :string, default: 'manual', null: false
- end
-end
diff --git a/server/db/migrate/20260317146019_add_automatic_to_spree_taxons.spree.rb b/server/db/migrate/20260317146019_add_automatic_to_spree_taxons.spree.rb
deleted file mode 100644
index 0a0050f4ed..0000000000
--- a/server/db/migrate/20260317146019_add_automatic_to_spree_taxons.spree.rb
+++ /dev/null
@@ -1,6 +0,0 @@
-# This migration comes from spree (originally 20241128103947)
-class AddAutomaticToSpreeTaxons < ActiveRecord::Migration[6.1]
- def change
- add_column :spree_taxons, :automatic, :boolean, default: false, null: false
- end
-end
diff --git a/server/db/migrate/20260317146020_add_gateway_customer_profile_id_to_spree_payment_sources.spree.rb b/server/db/migrate/20260317146020_add_gateway_customer_profile_id_to_spree_payment_sources.spree.rb
deleted file mode 100644
index 373fb165ec..0000000000
--- a/server/db/migrate/20260317146020_add_gateway_customer_profile_id_to_spree_payment_sources.spree.rb
+++ /dev/null
@@ -1,6 +0,0 @@
-# This migration comes from spree (originally 20241218183905)
-class AddGatewayCustomerProfileIdToSpreePaymentSources < ActiveRecord::Migration[6.1]
- def change
- add_column :spree_payment_sources, :gateway_customer_profile_id, :string
- end
-end
diff --git a/server/db/migrate/20260317146021_add_accept_marketing_and_signup_for_an_account_to_spree_orders.spree.rb b/server/db/migrate/20260317146021_add_accept_marketing_and_signup_for_an_account_to_spree_orders.spree.rb
deleted file mode 100644
index d085d9a340..0000000000
--- a/server/db/migrate/20260317146021_add_accept_marketing_and_signup_for_an_account_to_spree_orders.spree.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# This migration comes from spree (originally 20250107220432)
-class AddAcceptMarketingAndSignupForAnAccountToSpreeOrders < ActiveRecord::Migration[6.1]
- def change
- add_column :spree_orders, :accept_marketing, :boolean, default: false, if_not_exists: true
- add_column :spree_orders, :signup_for_an_account, :boolean, default: false, if_not_exists: true
- end
-end
diff --git a/server/db/migrate/20260317146022_add_quick_checkout_to_spree_addresses.spree.rb b/server/db/migrate/20260317146022_add_quick_checkout_to_spree_addresses.spree.rb
deleted file mode 100644
index 94a28aaaa1..0000000000
--- a/server/db/migrate/20260317146022_add_quick_checkout_to_spree_addresses.spree.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# This migration comes from spree (originally 20250110171203)
-class AddQuickCheckoutToSpreeAddresses < ActiveRecord::Migration[6.1]
- def change
- add_column :spree_addresses, :quick_checkout, :boolean, default: false, if_not_exists: true
- add_index :spree_addresses, :quick_checkout, if_not_exists: true
- end
-end
diff --git a/server/db/migrate/20260317146023_add_preferences_to_spree_stores.spree.rb b/server/db/migrate/20260317146023_add_preferences_to_spree_stores.spree.rb
deleted file mode 100644
index 3441373359..0000000000
--- a/server/db/migrate/20260317146023_add_preferences_to_spree_stores.spree.rb
+++ /dev/null
@@ -1,6 +0,0 @@
-# This migration comes from spree (originally 20250113180019)
-class AddPreferencesToSpreeStores < ActiveRecord::Migration[6.1]
- def change
- add_column :spree_stores, :preferences, :text, if_not_exists: true
- end
-end
diff --git a/server/db/migrate/20260317146024_add_metadata_to_spree_stores.spree.rb b/server/db/migrate/20260317146024_add_metadata_to_spree_stores.spree.rb
deleted file mode 100644
index 3b1ec2bd14..0000000000
--- a/server/db/migrate/20260317146024_add_metadata_to_spree_stores.spree.rb
+++ /dev/null
@@ -1,14 +0,0 @@
-# This migration comes from spree (originally 20250114193857)
-class AddMetadataToSpreeStores < ActiveRecord::Migration[6.1]
- def change
- change_table :spree_stores do |t|
- if t.respond_to? :jsonb
- add_column :spree_stores, :public_metadata, :jsonb
- add_column :spree_stores, :private_metadata, :jsonb
- else
- add_column :spree_stores, :public_metadata, :json
- add_column :spree_stores, :private_metadata, :json
- end
- end
- end
-end
diff --git a/server/db/migrate/20260317146025_create_spree_custom_domains.spree.rb b/server/db/migrate/20260317146025_create_spree_custom_domains.spree.rb
deleted file mode 100644
index a0de0b25f6..0000000000
--- a/server/db/migrate/20260317146025_create_spree_custom_domains.spree.rb
+++ /dev/null
@@ -1,23 +0,0 @@
-# This migration comes from spree (originally 20250119165904)
-class CreateSpreeCustomDomains < ActiveRecord::Migration[6.1]
- def change
- return if table_exists?(:spree_custom_domains)
-
- create_table :spree_custom_domains do |t|
- t.references :store, null: false, index: true
- t.string :url, null: false, index: { unique: true }
- t.boolean :status, default: false
- t.boolean :default, default: false, null: false
-
- if t.respond_to? :jsonb
- t.jsonb :public_metadata
- t.jsonb :private_metadata
- else
- t.json :public_metadata
- t.json :private_metadata
- end
-
- t.timestamps
- end
- end
-end
diff --git a/server/db/migrate/20260317146026_add_default_locale_to_action_text_rich_texts.spree.rb b/server/db/migrate/20260317146026_add_default_locale_to_action_text_rich_texts.spree.rb
deleted file mode 100644
index 03d02631da..0000000000
--- a/server/db/migrate/20260317146026_add_default_locale_to_action_text_rich_texts.spree.rb
+++ /dev/null
@@ -1,8 +0,0 @@
-# This migration comes from spree (originally 20250120152208)
-class AddDefaultLocaleToActionTextRichTexts < ActiveRecord::Migration[6.1]
- def change
- if ActionText::RichText.column_defaults['locale'].nil?
- change_column_default :action_text_rich_texts, :locale, from: nil, to: :en
- end
- end
-end
diff --git a/server/db/migrate/20260317146027_add_first_and_last_name_to_spree_admin_class.spree.rb b/server/db/migrate/20260317146027_add_first_and_last_name_to_spree_admin_class.spree.rb
deleted file mode 100644
index 8cc1b67244..0000000000
--- a/server/db/migrate/20260317146027_add_first_and_last_name_to_spree_admin_class.spree.rb
+++ /dev/null
@@ -1,10 +0,0 @@
-# This migration comes from spree (originally 20250122113708)
-class AddFirstAndLastNameToSpreeAdminClass < ActiveRecord::Migration[6.1]
- def change
- if Spree.admin_user_class.present?
- admin_users_table_name = Spree.admin_user_class.table_name
- add_column admin_users_table_name, :first_name, :string unless column_exists?(admin_users_table_name, :first_name)
- add_column admin_users_table_name, :last_name, :string unless column_exists?(admin_users_table_name, :last_name)
- end
- end
-end
diff --git a/server/db/migrate/20260317146028_add_custom_code_fields_to_spree_store.spree.rb b/server/db/migrate/20260317146028_add_custom_code_fields_to_spree_store.spree.rb
deleted file mode 100644
index fc8f8d605e..0000000000
--- a/server/db/migrate/20260317146028_add_custom_code_fields_to_spree_store.spree.rb
+++ /dev/null
@@ -1,8 +0,0 @@
-# This migration comes from spree (originally 20250123135358)
-class AddCustomCodeFieldsToSpreeStore < ActiveRecord::Migration[6.1]
- def change
- add_column :spree_stores, :storefront_custom_code_head, :text
- add_column :spree_stores, :storefront_custom_code_body_start, :text
- add_column :spree_stores, :storefront_custom_code_body_end, :text
- end
-end
diff --git a/server/db/migrate/20260317146029_add_latitude_and_longitude_to_spree_addresses.spree.rb b/server/db/migrate/20260317146029_add_latitude_and_longitude_to_spree_addresses.spree.rb
deleted file mode 100644
index efa8671d64..0000000000
--- a/server/db/migrate/20260317146029_add_latitude_and_longitude_to_spree_addresses.spree.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# This migration comes from spree (originally 20250127112758)
-class AddLatitudeAndLongitudeToSpreeAddresses < ActiveRecord::Migration[6.1]
- def change
- add_column :spree_addresses, :latitude, :decimal, if_not_exists: true
- add_column :spree_addresses, :longitude, :decimal, if_not_exists: true
- end
-end
diff --git a/server/db/migrate/20260317146030_add_phone_to_spree_users.spree.rb b/server/db/migrate/20260317146030_add_phone_to_spree_users.spree.rb
deleted file mode 100644
index 4e549a96f3..0000000000
--- a/server/db/migrate/20260317146030_add_phone_to_spree_users.spree.rb
+++ /dev/null
@@ -1,6 +0,0 @@
-# This migration comes from spree (originally 20250127151258)
-class AddPhoneToSpreeUsers < ActiveRecord::Migration[6.1]
- def change
- add_column Spree.user_class.table_name, :phone, :string, if_not_exists: true
- end
-end
diff --git a/server/db/migrate/20260317146031_create_spree_reports.spree.rb b/server/db/migrate/20260317146031_create_spree_reports.spree.rb
deleted file mode 100644
index d4218ac260..0000000000
--- a/server/db/migrate/20260317146031_create_spree_reports.spree.rb
+++ /dev/null
@@ -1,14 +0,0 @@
-# This migration comes from spree (originally 20250204162453)
-class CreateSpreeReports < ActiveRecord::Migration[6.1]
- def change
- create_table :spree_reports do |t|
- t.references :store, null: false
- t.references :user
- t.string 'type'
- t.string 'currency'
- t.datetime 'date_from'
- t.datetime 'date_to'
- t.timestamps
- end
- end
-end
diff --git a/server/db/migrate/20260317146032_add_accepts_email_marketing_field_to_spree_users_table.spree.rb b/server/db/migrate/20260317146032_add_accepts_email_marketing_field_to_spree_users_table.spree.rb
deleted file mode 100644
index fd40e16ef3..0000000000
--- a/server/db/migrate/20260317146032_add_accepts_email_marketing_field_to_spree_users_table.spree.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# This migration comes from spree (originally 20250207084000)
-class AddAcceptsEmailMarketingFieldToSpreeUsersTable < ActiveRecord::Migration[6.1]
- def change
- add_column Spree.user_class.table_name, :accepts_email_marketing, :boolean, default: false, null: false, if_not_exists: true
- add_index Spree.user_class.table_name, :accepts_email_marketing, if_not_exists: true
- end
-end
diff --git a/server/db/migrate/20260317146033_add_performed_by_to_spree_reimbursements.spree.rb b/server/db/migrate/20260317146033_add_performed_by_to_spree_reimbursements.spree.rb
deleted file mode 100644
index a172975f0c..0000000000
--- a/server/db/migrate/20260317146033_add_performed_by_to_spree_reimbursements.spree.rb
+++ /dev/null
@@ -1,6 +0,0 @@
-# This migration comes from spree (originally 20250304115943)
-class AddPerformedByToSpreeReimbursements < ActiveRecord::Migration[6.1]
- def change
- add_reference :spree_reimbursements, :performed_by, index: true, null: true unless column_exists?(:spree_reimbursements, :performed_by_id)
- end
-end
diff --git a/server/db/migrate/20260317146034_create_spree_gateway_customers.spree.rb b/server/db/migrate/20260317146034_create_spree_gateway_customers.spree.rb
deleted file mode 100644
index 9a485f2845..0000000000
--- a/server/db/migrate/20260317146034_create_spree_gateway_customers.spree.rb
+++ /dev/null
@@ -1,19 +0,0 @@
-# This migration comes from spree (originally 20250311105934)
-class CreateSpreeGatewayCustomers < ActiveRecord::Migration[7.2]
- def change
- create_table :spree_gateway_customers, if_not_exists: true do |t|
- t.string :profile_id, null: false
- t.bigint :payment_method_id, null: false
- t.bigint :user_id, null: false
-
- t.timestamps
-
- t.index ['payment_method_id'], name: 'index_spree_gateway_customers_on_payment_method_id'
- t.index ['user_id', 'payment_method_id'], name: 'index_spree_gateway_customers_on_user_id_and_payment_method_id', unique: true
- t.index ['user_id'], name: 'index_spree_gateway_customers_on_user_id'
- end
-
- add_column :spree_credit_cards, :gateway_customer_id, :bigint, if_not_exists: true
- add_index :spree_credit_cards, :gateway_customer_id, if_not_exists: true
- end
-end
diff --git a/server/db/migrate/20260317146035_add_unique_index_on_promotion_rules_associations.spree.rb b/server/db/migrate/20260317146035_add_unique_index_on_promotion_rules_associations.spree.rb
deleted file mode 100644
index bb451c6fd3..0000000000
--- a/server/db/migrate/20260317146035_add_unique_index_on_promotion_rules_associations.spree.rb
+++ /dev/null
@@ -1,76 +0,0 @@
-# This migration comes from spree (originally 20250312202705)
-class AddUniqueIndexOnPromotionRulesAssociations < ActiveRecord::Migration[7.2]
- def change
- if ActiveRecord::Base.connection.adapter_name == 'Mysql2'
- # Remove duplicate product promotion rules
- execute <<-SQL
- DELETE FROM spree_product_promotion_rules
- WHERE id NOT IN (
- SELECT mid FROM (
- SELECT MIN(id) AS mid
- FROM spree_product_promotion_rules
- GROUP BY product_id, promotion_rule_id
- ) AS min_ids
- );
- SQL
-
- # Remove duplicate taxon promotion rules
- execute <<-SQL
- DELETE FROM spree_promotion_rule_taxons
- WHERE id NOT IN (
- SELECT mid FROM (
- SELECT MIN(id) AS mid
- FROM spree_promotion_rule_taxons
- GROUP BY taxon_id, promotion_rule_id
- ) AS min_ids
- );
- SQL
-
- # Remove duplicate user promotion rules
- execute <<-SQL
- DELETE FROM spree_promotion_rule_users
- WHERE id NOT IN (
- SELECT mid FROM (
- SELECT MIN(id) AS mid
- FROM spree_promotion_rule_users
- GROUP BY user_id, promotion_rule_id
- ) AS min_ids
- );
- SQL
- else
- # Remove duplicate product promotion rules
- execute <<-SQL
- DELETE FROM spree_product_promotion_rules
- WHERE id NOT IN (
- SELECT MIN(id)
- FROM spree_product_promotion_rules
- GROUP BY product_id, promotion_rule_id
- );
- SQL
-
- # Remove duplicate taxon promotion rules
- execute <<-SQL
- DELETE FROM spree_promotion_rule_taxons
- WHERE id NOT IN (
- SELECT MIN(id)
- FROM spree_promotion_rule_taxons
- GROUP BY taxon_id, promotion_rule_id
- );
- SQL
-
- # Remove duplicate user promotion rules
- execute <<-SQL
- DELETE FROM spree_promotion_rule_users
- WHERE id NOT IN (
- SELECT MIN(id)
- FROM spree_promotion_rule_users
- GROUP BY user_id, promotion_rule_id
- );
- SQL
- end
-
- add_index :spree_product_promotion_rules, [:product_id, :promotion_rule_id], unique: true
- add_index :spree_promotion_rule_taxons, [:taxon_id, :promotion_rule_id], unique: true
- add_index :spree_promotion_rule_users, [:user_id, :promotion_rule_id], unique: true
- end
-end
diff --git a/server/db/migrate/20260317146036_add_user_type_to_spree_role_users.spree.rb b/server/db/migrate/20260317146036_add_user_type_to_spree_role_users.spree.rb
deleted file mode 100644
index 3fbb624a86..0000000000
--- a/server/db/migrate/20260317146036_add_user_type_to_spree_role_users.spree.rb
+++ /dev/null
@@ -1,19 +0,0 @@
-# This migration comes from spree (originally 20250313104226)
-class AddUserTypeToSpreeRoleUsers < ActiveRecord::Migration[6.1]
- def up
- unless column_exists?(:spree_role_users, :user_type)
- add_column :spree_role_users, :user_type, :string
- add_index :spree_role_users, :user_type
-
- user_class_name = Spree.admin_user_class.to_s
- Spree::RoleUser.where(user_type: nil).update_all(user_type: user_class_name)
-
- change_column_null :spree_role_users, :user_type, false
- end
- end
-
- def down
- remove_index :spree_role_users, :user_type, if_exists: true
- remove_column :spree_role_users, :user_type, if_exists: true
- end
-end
diff --git a/server/db/migrate/20260317146037_add_unique_index_on_promotion_action_line_items.spree.rb b/server/db/migrate/20260317146037_add_unique_index_on_promotion_action_line_items.spree.rb
deleted file mode 100644
index fa3791d774..0000000000
--- a/server/db/migrate/20260317146037_add_unique_index_on_promotion_action_line_items.spree.rb
+++ /dev/null
@@ -1,30 +0,0 @@
-# This migration comes from spree (originally 20250313175830)
-class AddUniqueIndexOnPromotionActionLineItems < ActiveRecord::Migration[7.2]
- def change
- if ActiveRecord::Base.connection.adapter_name == 'Mysql2'
- # Remove duplicate promotion action line items
- execute <<-SQL
- DELETE FROM spree_promotion_action_line_items
- WHERE id NOT IN (
- SELECT mid FROM (
- SELECT MIN(id) AS mid
- FROM spree_promotion_action_line_items
- GROUP BY promotion_action_id, variant_id
- ) AS min_ids
- );
- SQL
- else
- # Remove duplicate promotion action line items
- execute <<-SQL
- DELETE FROM spree_promotion_action_line_items
- WHERE id NOT IN (
- SELECT MIN(id)
- FROM spree_promotion_action_line_items
- GROUP BY promotion_action_id, variant_id
- );
- SQL
- end
-
- add_index :spree_promotion_action_line_items, [:promotion_action_id, :variant_id], unique: true
- end
-end
diff --git a/server/db/migrate/20260317146038_create_spree_taggings_and_spree_tags.spree.rb b/server/db/migrate/20260317146038_create_spree_taggings_and_spree_tags.spree.rb
deleted file mode 100644
index 14a65431a6..0000000000
--- a/server/db/migrate/20260317146038_create_spree_taggings_and_spree_tags.spree.rb
+++ /dev/null
@@ -1,39 +0,0 @@
-# This migration comes from spree (originally 20250314144210)
-class CreateSpreeTaggingsAndSpreeTags < ActiveRecord::Migration[7.2]
- def change
- create_table :spree_taggings do |t|
- t.bigint "tag_id"
- t.string "taggable_type"
- t.bigint "taggable_id"
- t.string "tagger_type"
- t.bigint "tagger_id"
- t.string "context", limit: 128
- t.datetime "created_at", precision: nil
- t.string "tenant", limit: 128
- t.index ["context"], name: "index_spree_taggings_on_context"
- t.index ["tag_id", "taggable_id", "taggable_type", "context", "tagger_id", "tagger_type"], name: "spree_taggings_idx", unique: true
- t.index ["tag_id"], name: "index_spree_taggings_on_tag_id"
- t.index ["taggable_id", "taggable_type", "context"], name: "spree_taggings_taggable_context_idx"
- t.index ["taggable_id", "taggable_type", "tagger_id", "context"], name: "spree_taggings_idy"
- t.index ["taggable_id"], name: "index_spree_taggings_on_taggable_id"
- t.index ["taggable_type", "taggable_id"], name: "index_spree_taggings_on_taggable_type_and_taggable_id"
- t.index ["taggable_type"], name: "index_spree_taggings_on_taggable_type"
- t.index ["tagger_id", "tagger_type"], name: "index_spree_taggings_on_tagger_id_and_tagger_type"
- t.index ["tagger_id"], name: "index_spree_taggings_on_tagger_id"
- t.index ["tagger_type", "tagger_id"], name: "index_spree_taggings_on_tagger_type_and_tagger_id"
- t.index ["tenant"], name: "index_spree_taggings_on_tenant"
- end
-
- create_table :spree_tags do |t|
- t.string "name"
- t.datetime "created_at", null: false
- t.datetime "updated_at", null: false
- t.integer "taggings_count", default: 0
- t.index ["name"], name: "index_spree_tags_on_name", unique: true
- end
-
- if ActiveRecord::Base.connection.adapter_name == 'PostgreSQL'
- add_index :spree_tags, 'lower(name) varchar_pattern_ops', name: 'index_spree_tags_on_lower_name'
- end
- end
-end
diff --git a/server/db/migrate/20260317146039_create_spree_integrations.spree.rb b/server/db/migrate/20260317146039_create_spree_integrations.spree.rb
deleted file mode 100644
index 32933daf76..0000000000
--- a/server/db/migrate/20260317146039_create_spree_integrations.spree.rb
+++ /dev/null
@@ -1,13 +0,0 @@
-# This migration comes from spree (originally 20250407085228)
-class CreateSpreeIntegrations < ActiveRecord::Migration[7.2]
- def change
- create_table :spree_integrations, if_not_exists: true do |t|
- t.references :store, null: false, index: true
- t.string :type, null: false, index: true
- t.text :preferences
- t.boolean :active, default: false, null: false, index: true
-
- t.timestamps
- end
- end
-end
diff --git a/server/db/migrate/20260317146040_create_spree_invitations.spree.rb b/server/db/migrate/20260317146040_create_spree_invitations.spree.rb
deleted file mode 100644
index 10c22b958e..0000000000
--- a/server/db/migrate/20260317146040_create_spree_invitations.spree.rb
+++ /dev/null
@@ -1,21 +0,0 @@
-# This migration comes from spree (originally 20250410061306)
-class CreateSpreeInvitations < ActiveRecord::Migration[7.2]
- def change
- create_table :spree_invitations do |t|
- t.string :email, index: true, null: false
- t.string :token, index: { unique: true }, null: false
- t.string :status, null: false, index: true
-
- t.references :resource, polymorphic: true, index: true, null: false # eg. Store, Vendor, Account
- t.references :inviter, polymorphic: true, index: true, null: false
- t.references :invitee, polymorphic: true, index: true
- t.references :role, null: false
-
- t.datetime :accepted_at
- t.datetime :expires_at, index: true
- t.datetime :deleted_at, index: true
-
- t.timestamps
- end
- end
-end
diff --git a/server/db/migrate/20260317146041_add_resource_to_spree_role_users.spree.rb b/server/db/migrate/20260317146041_add_resource_to_spree_role_users.spree.rb
deleted file mode 100644
index 963ef92db2..0000000000
--- a/server/db/migrate/20260317146041_add_resource_to_spree_role_users.spree.rb
+++ /dev/null
@@ -1,9 +0,0 @@
-# This migration comes from spree (originally 20250418174652)
-class AddResourceToSpreeRoleUsers < ActiveRecord::Migration[7.2]
- def change
- add_reference :spree_role_users, :resource, polymorphic: true, null: true
- add_reference :spree_role_users, :invitation, null: true
-
- add_index :spree_role_users, [:resource_id, :resource_type, :user_id, :user_type, :role_id], unique: true
- end
-end
diff --git a/server/db/migrate/20260317146042_create_spree_gift_cards_and_spree_gift_card_batches.spree.rb b/server/db/migrate/20260317146042_create_spree_gift_cards_and_spree_gift_card_batches.spree.rb
deleted file mode 100644
index 41111ac574..0000000000
--- a/server/db/migrate/20260317146042_create_spree_gift_cards_and_spree_gift_card_batches.spree.rb
+++ /dev/null
@@ -1,38 +0,0 @@
-# This migration comes from spree (originally 20250506073057)
-class CreateSpreeGiftCardsAndSpreeGiftCardBatches < ActiveRecord::Migration[7.2]
- def change
- create_table :spree_gift_card_batches, if_not_exists: true do |t|
- t.references :store, null: false, index: true
- t.references :created_by
- t.integer :codes_count, default: 1, null: false
- t.decimal :amount, precision: 10, scale: 2, null: false
- t.string :currency, null: false
- t.string :prefix
- t.date :expires_at
-
- t.timestamps
- end
-
- create_table :spree_gift_cards, if_not_exists: true do |t|
- t.references :store, null: false, index: true
- t.references :user, index: true
- t.references :gift_card_batch, index: true
- t.references :created_by, index: true
- t.string :code, null: false
- t.string :state, null: false, index: true
- t.decimal :amount, precision: 10, scale: 2, null: false
- t.decimal :amount_authorized, precision: 10, scale: 2, null: false, default: 0
- t.decimal :amount_used, precision: 10, scale: 2, null: false, default: 0
- t.string :currency, null: false
-
- t.date :expires_at, index: true
- t.datetime :redeemed_at, index: true
- t.timestamps
- end
-
- add_index :spree_gift_cards, :code, unique: { scope: :store_id }
-
- add_column :spree_orders, :gift_card_id, :bigint, if_not_exists: true
- add_index :spree_orders, :gift_card_id, if_not_exists: true
- end
-end
diff --git a/server/db/migrate/20260317146043_add_selected_locale_to_spree_admin_users.spree.rb b/server/db/migrate/20260317146043_add_selected_locale_to_spree_admin_users.spree.rb
deleted file mode 100644
index c652c274c4..0000000000
--- a/server/db/migrate/20260317146043_add_selected_locale_to_spree_admin_users.spree.rb
+++ /dev/null
@@ -1,9 +0,0 @@
-# This migration comes from spree (originally 20250508060800)
-class AddSelectedLocaleToSpreeAdminUsers < ActiveRecord::Migration[7.2]
- def change
- if Spree.admin_user_class.present?
- users_table_name = Spree.admin_user_class.table_name
- add_column users_table_name, :selected_locale, :string unless column_exists?(users_table_name, :selected_locale)
- end
- end
-end
diff --git a/server/db/migrate/20260317146044_add_session_id_to_spree_assets.spree.rb b/server/db/migrate/20260317146044_add_session_id_to_spree_assets.spree.rb
deleted file mode 100644
index 25733b73c6..0000000000
--- a/server/db/migrate/20260317146044_add_session_id_to_spree_assets.spree.rb
+++ /dev/null
@@ -1,6 +0,0 @@
-# This migration comes from spree (originally 20250509143831)
-class AddSessionIdToSpreeAssets < ActiveRecord::Migration[7.2]
- def change
- add_column :spree_assets, :session_id, :string
- end
-end
diff --git a/server/db/migrate/20260317146045_add_company_to_spree_stock_locations.spree.rb b/server/db/migrate/20260317146045_add_company_to_spree_stock_locations.spree.rb
deleted file mode 100644
index a60e766f56..0000000000
--- a/server/db/migrate/20260317146045_add_company_to_spree_stock_locations.spree.rb
+++ /dev/null
@@ -1,6 +0,0 @@
-# This migration comes from spree (originally 20250527134027)
-class AddCompanyToSpreeStockLocations < ActiveRecord::Migration[7.2]
- def change
- add_column :spree_stock_locations, :company, :string, if_not_exists: true
- end
-end
diff --git a/server/db/migrate/20260317146046_enable_pg_trgm_extension.spree.rb b/server/db/migrate/20260317146046_enable_pg_trgm_extension.spree.rb
deleted file mode 100644
index a1a658dc74..0000000000
--- a/server/db/migrate/20260317146046_enable_pg_trgm_extension.spree.rb
+++ /dev/null
@@ -1,14 +0,0 @@
-# This migration comes from spree (originally 20250530101236)
-class EnablePgTrgmExtension < ActiveRecord::Migration[7.2]
- def up
- if supports_extensions? && extension_available?('pg_trgm') && !extension_enabled?('pg_trgm')
- enable_extension 'pg_trgm'
- end
- end
-
- def down
- if supports_extensions? && extension_available?('pg_trgm') && extension_enabled?('pg_trgm')
- disable_extension 'pg_trgm'
- end
- end
-end
diff --git a/server/db/migrate/20260317146047_add_missing_fields_to_users.spree.rb b/server/db/migrate/20260317146047_add_missing_fields_to_users.spree.rb
deleted file mode 100644
index 3c0fb7ef2c..0000000000
--- a/server/db/migrate/20260317146047_add_missing_fields_to_users.spree.rb
+++ /dev/null
@@ -1,36 +0,0 @@
-# This migration comes from spree (originally 20250605131334)
-# these fields were not present when someone used a custom user class
-# so we need to ensure this is setup properly
-class AddMissingFieldsToUsers < ActiveRecord::Migration[7.2]
- def change
- users_table = Spree.user_class.table_name
- admin_users_table = Spree.admin_user_class.table_name
-
- change_table users_table do |t|
- t.string :login unless column_exists?(users_table, :login)
-
- if t.respond_to? :jsonb
- t.jsonb :public_metadata unless column_exists?(users_table, :public_metadata)
- t.jsonb :private_metadata unless column_exists?(users_table, :private_metadata)
- else
- t.json :public_metadata unless column_exists?(users_table, :public_metadata)
- t.json :private_metadata unless column_exists?(users_table, :private_metadata)
- end
- end
-
- add_reference users_table, :bill_address, if_not_exists: true
- add_reference users_table, :ship_address, if_not_exists: true
-
- change_table admin_users_table do |t|
- t.string :login unless column_exists?(admin_users_table, :login)
-
- if t.respond_to? :jsonb
- t.jsonb :public_metadata unless column_exists?(admin_users_table, :public_metadata)
- t.jsonb :private_metadata unless column_exists?(admin_users_table, :private_metadata)
- else
- t.json :public_metadata unless column_exists?(admin_users_table, :public_metadata)
- t.json :private_metadata unless column_exists?(admin_users_table, :private_metadata)
- end
- end
- end
-end
diff --git a/server/db/migrate/20260317146048_create_spree_metafields.spree.rb b/server/db/migrate/20260317146048_create_spree_metafields.spree.rb
deleted file mode 100644
index 2dc09e7281..0000000000
--- a/server/db/migrate/20260317146048_create_spree_metafields.spree.rb
+++ /dev/null
@@ -1,28 +0,0 @@
-# This migration comes from spree (originally 20250728095629)
-class CreateSpreeMetafields < ActiveRecord::Migration[7.2]
- def change
- create_table :spree_metafield_definitions do |t|
- t.string :namespace, null: false
- t.string :key, null: false
- t.string :name, null: false
- t.string :metafield_type, null: false
- t.string :resource_type, null: false, index: true
- t.string :display_on, null: false, default: 'both', index: true
- t.timestamps
-
- t.index [:namespace, :key]
- t.index [:resource_type, :namespace, :key], unique: true
- end
-
- create_table :spree_metafields do |t|
- t.string :type, null: false, index: true
- t.references :resource, polymorphic: true, null: false, index: true
- t.references :metafield_definition, null: false, index: true
- t.text :value
-
- t.timestamps
-
- t.index [:resource_type, :resource_id, :metafield_definition_id], name: 'index_metafields_on_resource_and_definition', unique: true
- end
- end
-end
diff --git a/server/db/migrate/20260317146049_add_missing_unique_indexes_to_spree_option_types_and_values.spree.rb b/server/db/migrate/20260317146049_add_missing_unique_indexes_to_spree_option_types_and_values.spree.rb
deleted file mode 100644
index f0155962aa..0000000000
--- a/server/db/migrate/20260317146049_add_missing_unique_indexes_to_spree_option_types_and_values.spree.rb
+++ /dev/null
@@ -1,41 +0,0 @@
-# This migration comes from spree (originally 20250730102644)
-class AddMissingUniqueIndexesToSpreeOptionTypesAndValues < ActiveRecord::Migration[7.2]
- def change
- # we don't need to run this migration in multi-tenant mode as it's already handled there
- return if defined?(SpreeMultiTenant)
-
- # Rename duplicated option types
- duplicates = Spree::OptionType.select(:name).group(:name).having('COUNT(*) > 1').reorder('').pluck(:name)
-
- duplicates.each do |duplicate_name|
- option_types = Spree::OptionType.where(name: duplicate_name)
-
- option_types.each_with_index do |option_type, index|
- next if index == 0 # Keep the first one unchanged
-
- new_name = "#{duplicate_name}_#{index}"
- option_type.update_columns(name: new_name, updated_at: Time.current)
- end
- end
-
- # Handle duplicates in spree_option_values
- duplicates = Spree::OptionValue.select(:option_type_id, :name).group(:option_type_id, :name).having('COUNT(*) > 1').reorder('')
-
- duplicates.each do |dup|
- option_values = Spree::OptionValue.where(option_type_id: dup.option_type_id, name: dup.name)
-
- option_values.each_with_index do |option_value, index|
- next if index == 0 # Keep the first one unchanged
-
- new_name = "#{option_value.name}_#{index}"
- option_value.update_columns(name: new_name, updated_at: Time.current)
- end
- end
-
- # Add indexes
- remove_index :spree_option_types, :name, if_exists: true
- add_index :spree_option_types, :name, unique: true, if_not_exists: true
-
- add_index :spree_option_values, %i[option_type_id name], unique: true, if_not_exists: true
- end
-end
diff --git a/server/db/migrate/20260317146050_create_spree_policies.spree.rb b/server/db/migrate/20260317146050_create_spree_policies.spree.rb
deleted file mode 100644
index 6a1a0d3a0d..0000000000
--- a/server/db/migrate/20260317146050_create_spree_policies.spree.rb
+++ /dev/null
@@ -1,23 +0,0 @@
-# This migration comes from spree (originally 20250811112056)
-class CreateSpreePolicies < ActiveRecord::Migration[7.2]
- def change
- create_table :spree_policies do |t|
- t.belongs_to :store, null: false
- t.string :slug, null: false
- t.string :name, null: false
-
- t.timestamps
- end
-
- add_index :spree_policies, [:store_id, :slug], unique: true
- create_table :spree_policy_translations do |t|
- t.string :locale, null: false
- t.string :name
- t.references :spree_policy, null: false
-
- t.timestamps
- end
-
- add_index :spree_policy_translations, [:spree_policy_id, :locale], unique: true
- end
-end
diff --git a/server/db/migrate/20260317146051_fix_unique_index_on_spree_order_promotions.spree.rb b/server/db/migrate/20260317146051_fix_unique_index_on_spree_order_promotions.spree.rb
deleted file mode 100644
index 8260e9771c..0000000000
--- a/server/db/migrate/20260317146051_fix_unique_index_on_spree_order_promotions.spree.rb
+++ /dev/null
@@ -1,21 +0,0 @@
-# This migration comes from spree (originally 20250821211705)
-class FixUniqueIndexOnSpreeOrderPromotions < ActiveRecord::Migration[7.2]
- def change
- remove_index :spree_order_promotions, name: 'index_spree_order_promotions_on_promotion_id_and_order_id', if_exists: true
-
- # Remove duplicate records before adding unique index
- duplicates = Spree::OrderPromotion.select(:promotion_id, :order_id).group(:promotion_id, :order_id).having('COUNT(*) > 1').reorder('').pluck(:promotion_id, :order_id)
-
- duplicates.each do |duplicate_promotion_id, duplicate_order_id|
- order_promotions = Spree::OrderPromotion.where(promotion_id: duplicate_promotion_id, order_id: duplicate_order_id)
-
- order_promotions.each_with_index do |order_promotion, index|
- next if index == 0 # Keep the first one unchanged
-
- order_promotion.destroy
- end
- end
-
- add_index :spree_order_promotions, [:promotion_id, :order_id], unique: true, name: 'index_spree_order_promotions_on_promotion_id_and_order_id'
- end
-end
diff --git a/server/db/migrate/20260317146052_create_spree_newsletter_subscribers.spree.rb b/server/db/migrate/20260317146052_create_spree_newsletter_subscribers.spree.rb
deleted file mode 100644
index a360c8b259..0000000000
--- a/server/db/migrate/20260317146052_create_spree_newsletter_subscribers.spree.rb
+++ /dev/null
@@ -1,13 +0,0 @@
-# This migration comes from spree (originally 20250826093602)
-class CreateSpreeNewsletterSubscribers < ActiveRecord::Migration[7.2]
- def change
- create_table :spree_newsletter_subscribers do |t|
- t.string :email, index: { unique: true }, null: false
- t.references :user, index: true
- t.datetime :verified_at, index: true
- t.string :verification_token, index: { unique: true }
-
- t.timestamps
- end
- end
-end
diff --git a/server/db/migrate/20260317146053_fix_policies_store_association.spree.rb b/server/db/migrate/20260317146053_fix_policies_store_association.spree.rb
deleted file mode 100644
index ba879c333e..0000000000
--- a/server/db/migrate/20260317146053_fix_policies_store_association.spree.rb
+++ /dev/null
@@ -1,19 +0,0 @@
-# This migration comes from spree (originally 20250902143122)
-class FixPoliciesStoreAssociation < ActiveRecord::Migration[7.2]
- def change
- add_reference :spree_policies, :owner, polymorphic: true, index: true
-
- Spree::Policy.reset_column_information
- Spree::Policy.all.each do |policy|
- policy.update(owner_id: policy.store_id, owner_type: 'Spree::Store')
- end
-
- remove_index :spree_policies, [:store_id, :slug], unique: true, if_exists: true
- remove_index :spree_policies, [:store_id, :position], if_exists: true
- remove_column :spree_policies, :store_id, if_exists: true
- remove_column :spree_policies, :show_in_checkout_footer, if_exists: true
- remove_column :spree_policies, :position, if_exists: true
-
- add_index :spree_policies, [:owner_id, :owner_type, :slug], unique: true
- end
-end
diff --git a/server/db/migrate/20260317146054_add_missing_index_on_spree_products_promotionable.spree.rb b/server/db/migrate/20260317146054_add_missing_index_on_spree_products_promotionable.spree.rb
deleted file mode 100644
index 7d1850d715..0000000000
--- a/server/db/migrate/20260317146054_add_missing_index_on_spree_products_promotionable.spree.rb
+++ /dev/null
@@ -1,6 +0,0 @@
-# This migration comes from spree (originally 20250911205659)
-class AddMissingIndexOnSpreeProductsPromotionable < ActiveRecord::Migration[7.2]
- def change
- add_index :spree_products, :promotionable, if_not_exists: true
- end
-end
diff --git a/server/db/migrate/20260317146055_add_missing_indexes_on_spree_adjustments.spree.rb b/server/db/migrate/20260317146055_add_missing_indexes_on_spree_adjustments.spree.rb
deleted file mode 100644
index 79fa4e207c..0000000000
--- a/server/db/migrate/20260317146055_add_missing_indexes_on_spree_adjustments.spree.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# This migration comes from spree (originally 20250914101955)
-class AddMissingIndexesOnSpreeAdjustments < ActiveRecord::Migration[7.2]
- def change
- add_index :spree_adjustments, :source_type, if_not_exists: true
- add_index :spree_adjustments, :amount, if_not_exists: true
- end
-end
diff --git a/server/db/migrate/20260317146056_add_metadata_to_spree_newsletter_subscribers.spree.rb b/server/db/migrate/20260317146056_add_metadata_to_spree_newsletter_subscribers.spree.rb
deleted file mode 100644
index fa79698a73..0000000000
--- a/server/db/migrate/20260317146056_add_metadata_to_spree_newsletter_subscribers.spree.rb
+++ /dev/null
@@ -1,21 +0,0 @@
-# This migration comes from spree (originally 20250915093930)
-class AddMetadataToSpreeNewsletterSubscribers < ActiveRecord::Migration[7.2]
- def up
- change_table :spree_newsletter_subscribers do |t|
- if t.respond_to? :jsonb
- t.jsonb :public_metadata
- t.jsonb :private_metadata
- else
- t.json :public_metadata
- t.json :private_metadata
- end
- end
- end
-
- def down
- change_table :spree_newsletter_subscribers do |t|
- t.remove :public_metadata
- t.remove :private_metadata
- end
- end
-end
diff --git a/server/db/migrate/20260317146057_create_spree_imports.spree.rb b/server/db/migrate/20260317146057_create_spree_imports.spree.rb
deleted file mode 100644
index f35482573c..0000000000
--- a/server/db/migrate/20260317146057_create_spree_imports.spree.rb
+++ /dev/null
@@ -1,48 +0,0 @@
-# This migration comes from spree (originally 20250923141845)
-class CreateSpreeImports < ActiveRecord::Migration[7.2]
- def change
- create_table :spree_imports do |t|
- t.belongs_to :user, null: false
- t.belongs_to :owner, polymorphic: true, null: false
-
- t.string :status, null: false, index: true
-
- t.string :number, limit: 32, null: false, index: { unique: true }
- t.string :type, null: false, index: true
-
- t.text :processing_errors
-
- t.text :preferences
-
- t.integer :rows_count, null: false, default: 0
-
- t.timestamps
- end
-
- create_table :spree_import_rows do |t|
- t.belongs_to :import, null: false
- t.belongs_to :item, polymorphic: true
-
- t.string :status, null: false, index: true
- t.integer :row_number, null: false
-
- t.text :data, null: false
- t.text :validation_errors
-
- t.timestamps
- end
-
- add_index :spree_import_rows, [:import_id, :row_number], unique: true
-
- create_table :spree_import_mappings do |t|
- t.belongs_to :import, null: false
-
- t.string :schema_field, null: false
- t.string :file_column, index: true
-
- t.timestamps
- end
-
- add_index :spree_import_mappings, [:import_id, :schema_field], unique: true
- end
-end
diff --git a/server/db/migrate/20260317146058_create_spree_user_identities.spree.rb b/server/db/migrate/20260317146058_create_spree_user_identities.spree.rb
deleted file mode 100644
index 3842b86614..0000000000
--- a/server/db/migrate/20260317146058_create_spree_user_identities.spree.rb
+++ /dev/null
@@ -1,18 +0,0 @@
-# This migration comes from spree (originally 20250923141900)
-class CreateSpreeUserIdentities < ActiveRecord::Migration[7.0]
- def change
- create_table :spree_user_identities do |t|
- t.references :user, polymorphic: true, null: false, index: true
- t.string :provider, null: false
- t.string :uid, null: false
- t.json :info
- t.string :access_token
- t.string :refresh_token
- t.datetime :expires_at
-
- t.timestamps
- end
-
- add_index :spree_user_identities, [:provider, :uid, :user_type], unique: true, name: 'index_spree_user_identities_on_provider_uid_user_type'
- end
-end
diff --git a/server/db/migrate/20260317146059_create_spree_price_lists.spree.rb b/server/db/migrate/20260317146059_create_spree_price_lists.spree.rb
deleted file mode 100644
index 7661893d87..0000000000
--- a/server/db/migrate/20260317146059_create_spree_price_lists.spree.rb
+++ /dev/null
@@ -1,23 +0,0 @@
-# This migration comes from spree (originally 20251110120000)
-class CreateSpreePriceLists < ActiveRecord::Migration[7.0]
- def change
- create_table :spree_price_lists do |t|
- t.belongs_to :store, null: false, foreign_key: false, index: true
- t.string :name, null: false
- t.text :description
- t.integer :position, null: false, default: 0
- t.string :status, null: false, default: 'draft'
- t.datetime :starts_at
- t.datetime :ends_at
- t.string :match_policy, null: false, default: 'all'
- t.timestamps
- t.datetime :deleted_at
- end
-
- add_index :spree_price_lists, :status
- add_index :spree_price_lists, :position
- add_index :spree_price_lists, [:starts_at, :ends_at]
- add_index :spree_price_lists, :deleted_at
- add_index :spree_price_lists, [:store_id, :status, :position]
- end
-end
diff --git a/server/db/migrate/20260317146060_create_spree_price_rules.spree.rb b/server/db/migrate/20260317146060_create_spree_price_rules.spree.rb
deleted file mode 100644
index ced9ac0202..0000000000
--- a/server/db/migrate/20260317146060_create_spree_price_rules.spree.rb
+++ /dev/null
@@ -1,14 +0,0 @@
-# This migration comes from spree (originally 20251110120001)
-class CreateSpreePriceRules < ActiveRecord::Migration[7.0]
- def change
- create_table :spree_price_rules do |t|
- t.belongs_to :price_list, null: false, foreign_key: false, index: true
- t.string :type, null: false
- t.text :preferences
- t.timestamps
- end
-
- add_index :spree_price_rules, [:price_list_id, :type]
- add_index :spree_price_rules, :type
- end
-end
diff --git a/server/db/migrate/20260317146061_add_price_list_id_to_spree_prices.spree.rb b/server/db/migrate/20260317146061_add_price_list_id_to_spree_prices.spree.rb
deleted file mode 100644
index 3c9d94aa0a..0000000000
--- a/server/db/migrate/20260317146061_add_price_list_id_to_spree_prices.spree.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# This migration comes from spree (originally 20251110120002)
-class AddPriceListIdToSpreePrices < ActiveRecord::Migration[7.0]
- def change
- add_reference :spree_prices, :price_list, null: true
- add_index :spree_prices, [:variant_id, :currency, :price_list_id], name: 'index_spree_prices_on_variant_currency_price_list', unique: true
- end
-end
diff --git a/server/db/migrate/20260317146062_add_price_list_id_to_spree_line_items.spree.rb b/server/db/migrate/20260317146062_add_price_list_id_to_spree_line_items.spree.rb
deleted file mode 100644
index 16c898bf98..0000000000
--- a/server/db/migrate/20260317146062_add_price_list_id_to_spree_line_items.spree.rb
+++ /dev/null
@@ -1,6 +0,0 @@
-# This migration comes from spree (originally 20251110120003)
-class AddPriceListIdToSpreeLineItems < ActiveRecord::Migration[7.0]
- def change
- add_reference :spree_line_items, :price_list, null: true
- end
-end
diff --git a/server/db/migrate/20260317146063_fix_indexes_on_friendly_id_slugs.spree.rb b/server/db/migrate/20260317146063_fix_indexes_on_friendly_id_slugs.spree.rb
deleted file mode 100644
index 15bb8bb07e..0000000000
--- a/server/db/migrate/20260317146063_fix_indexes_on_friendly_id_slugs.spree.rb
+++ /dev/null
@@ -1,9 +0,0 @@
-# This migration comes from spree (originally 20251201172118)
-class FixIndexesOnFriendlyIdSlugs < ActiveRecord::Migration[7.2]
- def change
- remove_index :friendly_id_slugs, [:slug, :sluggable_type, :locale]
- add_index :friendly_id_slugs, [:slug, :sluggable_type, :locale], length: { slug: 140, sluggable_type: 50, locale: 5 }
- remove_index :friendly_id_slugs, [:slug, :sluggable_type, :scope, :locale]
- add_index :friendly_id_slugs, [:slug, :sluggable_type, :scope, :locale], length: { slug: 70, sluggable_type: 50, scope: 70, locale: 5 }, unique: true, name: :index_friendly_id_slugs_unique
- end
-end
diff --git a/server/db/migrate/20260317146064_create_spree_webhook_endpoints.spree.rb b/server/db/migrate/20260317146064_create_spree_webhook_endpoints.spree.rb
deleted file mode 100644
index 74c0cd21b0..0000000000
--- a/server/db/migrate/20260317146064_create_spree_webhook_endpoints.spree.rb
+++ /dev/null
@@ -1,20 +0,0 @@
-# frozen_string_literal: true
-
-# This migration comes from spree (originally 20251214000001)
-class CreateSpreeWebhookEndpoints < ActiveRecord::Migration[7.0]
- def change
- create_table :spree_webhook_endpoints do |t|
- t.belongs_to :store, null: false, foreign_key: false, index: true
- t.string :url, null: false
- t.boolean :active, null: false, default: true, index: true
- if t.respond_to? :jsonb
- t.jsonb :subscriptions, null: false
- else
- t.json :subscriptions, null: false
- end
- t.string :secret_key, null: false
- t.datetime :deleted_at, index: true
- t.timestamps
- end
- end
-end
diff --git a/server/db/migrate/20260317146065_create_spree_webhook_deliveries.spree.rb b/server/db/migrate/20260317146065_create_spree_webhook_deliveries.spree.rb
deleted file mode 100644
index ec02564dab..0000000000
--- a/server/db/migrate/20260317146065_create_spree_webhook_deliveries.spree.rb
+++ /dev/null
@@ -1,24 +0,0 @@
-# frozen_string_literal: true
-
-# This migration comes from spree (originally 20251214000002)
-class CreateSpreeWebhookDeliveries < ActiveRecord::Migration[7.0]
- def change
- create_table :spree_webhook_deliveries do |t|
- t.belongs_to :webhook_endpoint, null: false, foreign_key: false, index: true
- t.string :event_name, null: false, index: true
- if t.respond_to?(:jsonb)
- t.jsonb :payload, null: false
- else
- t.json :payload, null: false
- end
- t.integer :response_code, index: true
- t.text :response_body
- t.string :error_type
- t.integer :execution_time
- t.text :request_errors
- t.boolean :success, index: true
- t.datetime :delivered_at, index: true
- t.timestamps
- end
- end
-end
diff --git a/server/db/migrate/20260317146066_add_performance_indexes_to_spree_adjustments.spree.rb b/server/db/migrate/20260317146066_add_performance_indexes_to_spree_adjustments.spree.rb
deleted file mode 100644
index 90a68a480a..0000000000
--- a/server/db/migrate/20260317146066_add_performance_indexes_to_spree_adjustments.spree.rb
+++ /dev/null
@@ -1,26 +0,0 @@
-# This migration comes from spree (originally 20251222000000)
-class AddPerformanceIndexesToSpreeAdjustments < ActiveRecord::Migration[7.2]
- def change
- # Composite index for filtering adjustments by order, type and eligibility
- # Used in OrderUpdater#update_adjustment_total when summing eligible adjustments
- # and filtering by source_type (e.g., promotion adjustments)
- add_index :spree_adjustments,
- [:order_id, :eligible, :source_type],
- name: 'index_spree_adjustments_on_order_eligible_source_type',
- if_not_exists: true
-
- # Composite index for AdjustmentsUpdater queries that filter by adjustable and source type
- # Used when recalculating tax and promotion adjustments for a specific adjustable
- add_index :spree_adjustments,
- [:adjustable_type, :adjustable_id, :source_type],
- name: 'index_spree_adjustments_on_adjustable_and_source_type',
- if_not_exists: true
-
- # Index for state-based filtering (open/closed adjustments)
- # Used in Adjustment.not_finalized and Adjustment.finalized scopes
- add_index :spree_adjustments,
- [:order_id, :state],
- name: 'index_spree_adjustments_on_order_id_and_state',
- if_not_exists: true
- end
-end
diff --git a/server/db/migrate/20260317146067_fix_spree_prices_unique_indexes.spree.rb b/server/db/migrate/20260317146067_fix_spree_prices_unique_indexes.spree.rb
deleted file mode 100644
index 6496809a2d..0000000000
--- a/server/db/migrate/20260317146067_fix_spree_prices_unique_indexes.spree.rb
+++ /dev/null
@@ -1,34 +0,0 @@
-# This migration comes from spree (originally 20260112000000)
-class FixSpreePricesUniqueIndexes < ActiveRecord::Migration[7.0]
- def change
- remove_index :spree_prices, name: 'index_spree_prices_on_variant_currency_price_list', if_exists: true
-
- if ActiveRecord::Base.connection.adapter_name == 'Mysql2'
- # MySQL doesn't support partial indexes, so we use a composite unique index
- # that includes price_list_id. NULL values are treated as distinct in MySQL unique indexes,
- # so this allows multiple base prices (price_list_id = NULL) per variant/currency
- # but only one price per variant/currency/price_list combination.
- # Keep existing index_spree_prices_on_variant_id_and_currency as-is (non-unique, for performance).
- add_index :spree_prices, [:variant_id, :currency, :price_list_id],
- name: 'index_spree_prices_on_variant_currency_price_list',
- unique: true
- else
- # PostgreSQL and SQLite support partial indexes
- remove_index :spree_prices, name: 'index_spree_prices_on_variant_id_and_currency', if_exists: true
-
- # Add unique index for base prices only (price_list_id IS NULL)
- # The amount IS NOT NULL condition allows placeholder prices with nil amounts
- add_index :spree_prices, [:variant_id, :currency],
- name: 'index_spree_prices_on_variant_id_and_currency',
- unique: true,
- where: 'price_list_id IS NULL AND deleted_at IS NULL AND amount IS NOT NULL'
-
- # Add unique index for price list prices (one price per variant/currency/price_list)
- # The amount IS NOT NULL condition allows placeholder prices with nil amounts
- add_index :spree_prices, [:variant_id, :currency, :price_list_id],
- name: 'index_spree_prices_on_variant_currency_price_list',
- unique: true,
- where: 'price_list_id IS NOT NULL AND deleted_at IS NULL AND amount IS NOT NULL'
- end
- end
-end
diff --git a/server/db/migrate/20260317146068_create_spree_customer_groups.spree.rb b/server/db/migrate/20260317146068_create_spree_customer_groups.spree.rb
deleted file mode 100644
index 195b4ae18f..0000000000
--- a/server/db/migrate/20260317146068_create_spree_customer_groups.spree.rb
+++ /dev/null
@@ -1,15 +0,0 @@
-# This migration comes from spree (originally 20260115120000)
-class CreateSpreeCustomerGroups < ActiveRecord::Migration[7.0]
- def change
- create_table :spree_customer_groups do |t|
- t.references :store, null: false, index: true
- t.string :name, null: false
- t.text :description
- t.timestamps
- t.datetime :deleted_at
- end
-
- add_index :spree_customer_groups, [:store_id, :name], unique: true, where: 'deleted_at IS NULL'
- add_index :spree_customer_groups, :deleted_at
- end
-end
diff --git a/server/db/migrate/20260317146069_create_spree_customer_group_users.spree.rb b/server/db/migrate/20260317146069_create_spree_customer_group_users.spree.rb
deleted file mode 100644
index 89b3589a21..0000000000
--- a/server/db/migrate/20260317146069_create_spree_customer_group_users.spree.rb
+++ /dev/null
@@ -1,15 +0,0 @@
-# This migration comes from spree (originally 20260115120001)
-class CreateSpreeCustomerGroupUsers < ActiveRecord::Migration[7.0]
- def change
- create_table :spree_customer_group_users do |t|
- t.references :customer_group, null: false, index: true
- t.references :user, polymorphic: true, null: false, index: true
- t.timestamps
- end
-
- add_index :spree_customer_group_users,
- [:customer_group_id, :user_id, :user_type],
- unique: true,
- name: 'index_spree_customer_group_users_unique'
- end
-end
diff --git a/server/db/migrate/20260317146070_remove_not_null_constraint_from_policy_name.spree.rb b/server/db/migrate/20260317146070_remove_not_null_constraint_from_policy_name.spree.rb
deleted file mode 100644
index 88366c9347..0000000000
--- a/server/db/migrate/20260317146070_remove_not_null_constraint_from_policy_name.spree.rb
+++ /dev/null
@@ -1,6 +0,0 @@
-# This migration comes from spree (originally 20260117140831)
-class RemoveNotNullConstraintFromPolicyName < ActiveRecord::Migration[7.2]
- def change
- change_column_null :spree_policies, :name, true
- end
-end
diff --git a/server/db/migrate/20260317146071_add_statistics_to_store_products.spree.rb b/server/db/migrate/20260317146071_add_statistics_to_store_products.spree.rb
deleted file mode 100644
index 68ab4a4b7c..0000000000
--- a/server/db/migrate/20260317146071_add_statistics_to_store_products.spree.rb
+++ /dev/null
@@ -1,12 +0,0 @@
-# This migration comes from spree (originally 20260118120000)
-class AddStatisticsToStoreProducts < ActiveRecord::Migration[7.0]
- def change
- add_column :spree_products_stores, :units_sold_count, :integer, default: 0, null: false, if_not_exists: true
- add_column :spree_products_stores, :revenue, :decimal, precision: 10, scale: 2, default: 0, null: false, if_not_exists: true
-
- add_index :spree_products_stores, [:store_id, :units_sold_count],
- name: 'index_products_stores_on_store_and_units_sold', if_not_exists: true
- add_index :spree_products_stores, [:store_id, :revenue],
- name: 'index_products_stores_on_store_and_revenue', if_not_exists: true
- end
-end
diff --git a/server/db/migrate/20260317146072_add_counter_caches_to_spree_products.spree.rb b/server/db/migrate/20260317146072_add_counter_caches_to_spree_products.spree.rb
deleted file mode 100644
index 717451e40c..0000000000
--- a/server/db/migrate/20260317146072_add_counter_caches_to_spree_products.spree.rb
+++ /dev/null
@@ -1,10 +0,0 @@
-# This migration comes from spree (originally 20260119120000)
-class AddCounterCachesToSpreeProducts < ActiveRecord::Migration[7.2]
- def change
- add_column :spree_products, :variant_count, :integer, default: 0, null: false, if_not_exists: true
- add_column :spree_products, :classification_count, :integer, default: 0, null: false, if_not_exists: true
-
- add_index :spree_products, :variant_count, if_not_exists: true
- add_index :spree_products, :classification_count, if_not_exists: true
- end
-end
diff --git a/server/db/migrate/20260317146073_add_counter_caches_to_spree_taxons.spree.rb b/server/db/migrate/20260317146073_add_counter_caches_to_spree_taxons.spree.rb
deleted file mode 100644
index da8317db16..0000000000
--- a/server/db/migrate/20260317146073_add_counter_caches_to_spree_taxons.spree.rb
+++ /dev/null
@@ -1,10 +0,0 @@
-# This migration comes from spree (originally 20260119170000)
-class AddCounterCachesToSpreeTaxons < ActiveRecord::Migration[7.2]
- def change
- add_column :spree_taxons, :children_count, :integer, default: 0, null: false, if_not_exists: true
- add_column :spree_taxons, :classification_count, :integer, default: 0, null: false, if_not_exists: true
-
- add_index :spree_taxons, :children_count, if_not_exists: true
- add_index :spree_taxons, :classification_count, if_not_exists: true
- end
-end
diff --git a/server/db/migrate/20260317146074_add_image_count_to_spree_variants.spree.rb b/server/db/migrate/20260317146074_add_image_count_to_spree_variants.spree.rb
deleted file mode 100644
index 448a95e2a9..0000000000
--- a/server/db/migrate/20260317146074_add_image_count_to_spree_variants.spree.rb
+++ /dev/null
@@ -1,10 +0,0 @@
-# This migration comes from spree (originally 20260120120000)
-class AddImageCountToSpreeVariants < ActiveRecord::Migration[7.2]
- def change
- add_column :spree_variants, :image_count, :integer, default: 0, null: false, if_not_exists: true
- add_column :spree_products, :total_image_count, :integer, default: 0, null: false, if_not_exists: true
-
- add_index :spree_variants, :image_count, if_not_exists: true
- add_index :spree_products, :total_image_count, if_not_exists: true
- end
-end
diff --git a/server/db/migrate/20260317146075_create_spree_api_keys.spree.rb b/server/db/migrate/20260317146075_create_spree_api_keys.spree.rb
deleted file mode 100644
index 15e15a8b58..0000000000
--- a/server/db/migrate/20260317146075_create_spree_api_keys.spree.rb
+++ /dev/null
@@ -1,20 +0,0 @@
-# This migration comes from spree (originally 20260123000000)
-class CreateSpreeApiKeys < ActiveRecord::Migration[7.2]
- def change
- create_table :spree_api_keys do |t|
- t.string :name, null: false
- t.string :key_type, null: false
- t.string :token, null: false
- t.references :store, null: false, index: true
- t.references :created_by, null: true, polymorphic: true, index: true
- t.datetime :last_used_at
- t.datetime :revoked_at
- t.references :revoked_by, null: true, polymorphic: true, index: true
- t.timestamps
- end
-
- add_index :spree_api_keys, :token, unique: true
- add_index :spree_api_keys, :key_type
- add_index :spree_api_keys, [:store_id, :key_type]
- end
-end
diff --git a/server/db/migrate/20260317146076_add_thumbnail_id_to_spree_variants_and_products.spree.rb b/server/db/migrate/20260317146076_add_thumbnail_id_to_spree_variants_and_products.spree.rb
deleted file mode 100644
index 63d9e76eea..0000000000
--- a/server/db/migrate/20260317146076_add_thumbnail_id_to_spree_variants_and_products.spree.rb
+++ /dev/null
@@ -1,10 +0,0 @@
-# This migration comes from spree (originally 20260131000000)
-class AddThumbnailIdToSpreeVariantsAndProducts < ActiveRecord::Migration[7.2]
- def change
- add_column :spree_variants, :thumbnail_id, :bigint, if_not_exists: true
- add_column :spree_products, :thumbnail_id, :bigint, if_not_exists: true
-
- add_index :spree_variants, :thumbnail_id, if_not_exists: true
- add_index :spree_products, :thumbnail_id, if_not_exists: true
- end
-end
diff --git a/server/db/migrate/20260317146077_create_spree_payment_sessions.spree.rb b/server/db/migrate/20260317146077_create_spree_payment_sessions.spree.rb
deleted file mode 100644
index 51598eec93..0000000000
--- a/server/db/migrate/20260317146077_create_spree_payment_sessions.spree.rb
+++ /dev/null
@@ -1,28 +0,0 @@
-# This migration comes from spree (originally 20260213000000)
-class CreateSpreePaymentSessions < ActiveRecord::Migration[7.2]
- def change
- create_table :spree_payment_sessions do |t|
- t.string :type, null: false, index: true
- t.references :order, null: false, index: true
- t.references :payment_method, null: false, index: true
- t.references :customer, index: true
- t.decimal :amount, precision: 10, scale: 2, null: false
- t.string :currency, null: false
- t.string :status, null: false, index: true
- t.string :external_id, null: false
- if t.respond_to? :jsonb
- t.jsonb :external_data
- else
- t.json :external_data
- end
- t.datetime :expires_at, index: true
- t.string :customer_external_id
- t.datetime :deleted_at, index: true
- t.timestamps
- end
-
- add_index :spree_payment_sessions, [:order_id, :payment_method_id, :external_id],
- unique: true, name: 'idx_payment_sessions_order_method_external'
- add_index :spree_payment_sessions, :external_id
- end
-end
diff --git a/server/db/migrate/20260317146078_create_spree_payment_setup_sessions.spree.rb b/server/db/migrate/20260317146078_create_spree_payment_setup_sessions.spree.rb
deleted file mode 100644
index 0a602b8010..0000000000
--- a/server/db/migrate/20260317146078_create_spree_payment_setup_sessions.spree.rb
+++ /dev/null
@@ -1,25 +0,0 @@
-# This migration comes from spree (originally 20260218000000)
-class CreateSpreePaymentSetupSessions < ActiveRecord::Migration[7.2]
- def change
- create_table :spree_payment_setup_sessions do |t|
- t.references :customer, index: true
- t.references :payment_method, null: false, index: true
- t.references :payment_source, polymorphic: true, index: { name: 'idx_spree_pss_on_payment_source' }
- t.string :status, null: false
- t.string :external_id
- t.string :external_client_secret
- if t.respond_to? :jsonb
- t.jsonb :external_data
- else
- t.json :external_data
- end
- t.datetime :deleted_at, index: true
- t.timestamps
- end
-
- add_index :spree_payment_setup_sessions, :status
- add_index :spree_payment_setup_sessions, [:external_id, :payment_method_id],
- unique: true,
- name: 'idx_spree_pss_unique_external_id_per_pm'
- end
-end
diff --git a/server/db/migrate/20260317146079_create_spree_markets.spree.rb b/server/db/migrate/20260317146079_create_spree_markets.spree.rb
deleted file mode 100644
index 0229907337..0000000000
--- a/server/db/migrate/20260317146079_create_spree_markets.spree.rb
+++ /dev/null
@@ -1,30 +0,0 @@
-# This migration comes from spree (originally 20260220000000)
-class CreateSpreeMarkets < ActiveRecord::Migration[7.2]
- def change
- create_table :spree_markets do |t|
- t.references :store, null: false, foreign_key: false, index: true
- t.string :name, null: false
- t.string :currency, null: false
- t.string :default_locale, null: false
- t.string :supported_locales
- t.boolean :tax_inclusive, null: false, default: false
- t.boolean :default, null: false, default: false
- t.integer :position, null: false, default: 0
- t.timestamps
- t.datetime :deleted_at
- end
-
- add_index :spree_markets, [:store_id, :name], unique: true, where: 'deleted_at IS NULL'
- add_index :spree_markets, [:store_id, :default], where: 'deleted_at IS NULL'
- add_index :spree_markets, [:store_id, :position]
- add_index :spree_markets, :deleted_at
-
- create_table :spree_market_countries do |t|
- t.references :market, null: false, foreign_key: false
- t.references :country, null: false, foreign_key: false
- t.timestamps
- end
-
- add_index :spree_market_countries, [:market_id, :country_id], unique: true
- end
-end
diff --git a/server/db/migrate/20260317146080_add_locale_to_spree_orders.spree.rb b/server/db/migrate/20260317146080_add_locale_to_spree_orders.spree.rb
deleted file mode 100644
index 803bd50130..0000000000
--- a/server/db/migrate/20260317146080_add_locale_to_spree_orders.spree.rb
+++ /dev/null
@@ -1,6 +0,0 @@
-# This migration comes from spree (originally 20260226000000)
-class AddLocaleToSpreeOrders < ActiveRecord::Migration[7.2]
- def change
- add_column :spree_orders, :locale, :string
- end
-end
diff --git a/server/db/migrate/20260317146081_add_token_digest_to_spree_api_keys.spree.rb b/server/db/migrate/20260317146081_add_token_digest_to_spree_api_keys.spree.rb
deleted file mode 100644
index 90f24849ca..0000000000
--- a/server/db/migrate/20260317146081_add_token_digest_to_spree_api_keys.spree.rb
+++ /dev/null
@@ -1,22 +0,0 @@
-# This migration comes from spree (originally 20260226100000)
-class AddTokenDigestToSpreeApiKeys < ActiveRecord::Migration[7.2]
- def change
- add_column :spree_api_keys, :token_digest, :string
- add_column :spree_api_keys, :token_prefix, :string
-
- add_index :spree_api_keys, :token_digest, unique: true
-
- # Replace the unconditional unique index on token with one that only covers
- # non-NULL values (publishable keys). Secret keys store token as NULL
- # and use token_digest for lookups instead.
- change_column_null :spree_api_keys, :token, true
- remove_index :spree_api_keys, :token
- if ActiveRecord::Base.connection.adapter_name == 'Mysql2'
- # MySQL doesn't support partial indexes, but treats NULL as distinct
- # in unique indexes so multiple secret keys with NULL token are allowed
- add_index :spree_api_keys, :token, unique: true
- else
- add_index :spree_api_keys, :token, unique: true, where: 'token IS NOT NULL'
- end
- end
-end
diff --git a/server/db/migrate/20260317146082_create_spree_allowed_origins.spree.rb b/server/db/migrate/20260317146082_create_spree_allowed_origins.spree.rb
deleted file mode 100644
index 1d32de9535..0000000000
--- a/server/db/migrate/20260317146082_create_spree_allowed_origins.spree.rb
+++ /dev/null
@@ -1,15 +0,0 @@
-# frozen_string_literal: true
-
-# This migration comes from spree (originally 20260315000000)
-class CreateSpreeAllowedOrigins < ActiveRecord::Migration[7.2]
- def change
- create_table :spree_allowed_origins do |t|
- t.references :store, null: false
- t.string :origin, null: false
- t.timestamps
- end
-
- add_index :spree_allowed_origins, [:store_id, :origin], unique: true,
- name: 'index_spree_allowed_origins_on_store_id_and_origin'
- end
-end
diff --git a/server/db/migrate/20260317146083_add_product_media_support.spree.rb b/server/db/migrate/20260317146083_add_product_media_support.spree.rb
deleted file mode 100644
index 2b4a34e5ba..0000000000
--- a/server/db/migrate/20260317146083_add_product_media_support.spree.rb
+++ /dev/null
@@ -1,22 +0,0 @@
-# This migration comes from spree (originally 20260315100000)
-class AddProductMediaSupport < ActiveRecord::Migration[7.2]
- def change
- add_column :spree_assets, :media_type, :string
- add_column :spree_assets, :focal_point_x, :decimal, precision: 5, scale: 4
- add_column :spree_assets, :focal_point_y, :decimal, precision: 5, scale: 4
- add_column :spree_assets, :external_video_url, :string
-
- add_index :spree_assets, :media_type
-
- rename_column :spree_variants, :image_count, :media_count
- rename_column :spree_products, :total_image_count, :media_count
- rename_column :spree_variants, :thumbnail_id, :primary_media_id
- rename_column :spree_products, :thumbnail_id, :primary_media_id
-
- reversible do |dir|
- dir.up do
- Spree::Asset.unscoped.where(media_type: nil).update_all(media_type: 'image')
- end
- end
- end
-end
diff --git a/server/db/migrate/20260317146084_create_spree_refresh_tokens.spree.rb b/server/db/migrate/20260317146084_create_spree_refresh_tokens.spree.rb
deleted file mode 100644
index 2b0fb25b9b..0000000000
--- a/server/db/migrate/20260317146084_create_spree_refresh_tokens.spree.rb
+++ /dev/null
@@ -1,17 +0,0 @@
-# This migration comes from spree (originally 20260317000000)
-class CreateSpreeRefreshTokens < ActiveRecord::Migration[7.2]
- def change
- create_table :spree_refresh_tokens do |t|
- t.string :token, null: false
- t.references :user, polymorphic: true, null: false
- t.datetime :expires_at, null: false
- t.string :ip_address
- t.string :user_agent
- t.timestamps
- end
-
- add_index :spree_refresh_tokens, :token, unique: true
- add_index :spree_refresh_tokens, :expires_at
- add_index :spree_refresh_tokens, [:user_type, :user_id], name: 'idx_refresh_tokens_user'
- end
-end
diff --git a/server/db/migrate/20260317150033_setup_spree_stripe_models.spree_stripe.rb b/server/db/migrate/20260317150033_setup_spree_stripe_models.spree_stripe.rb
deleted file mode 100644
index cea40baa50..0000000000
--- a/server/db/migrate/20260317150033_setup_spree_stripe_models.spree_stripe.rb
+++ /dev/null
@@ -1,42 +0,0 @@
-# This migration comes from spree_stripe (originally 20250310152812)
-class SetupSpreeStripeModels < ActiveRecord::Migration[7.2]
- def change
- create_table :spree_stripe_payment_intents do |t|
- t.decimal :amount, precision: 10, scale: 2, default: '0.0', null: false
- t.bigint :order_id, null: false
- t.bigint :payment_method_id, null: false
- t.string :stripe_id, null: false
- t.string :client_secret, null: false
- t.string :customer_id
- t.string :ephemeral_key_secret
- t.string :stripe_payment_method_id
-
- t.timestamps
-
- t.index ['order_id', 'stripe_id'], name: 'index_spree_stripe_payment_intents_on_order_id_and_stripe_id', unique: true
- t.index ['order_id'], name: 'index_spree_stripe_payment_intents_on_order_id'
- t.index ['payment_method_id'], name: 'index_spree_stripe_payment_intents_on_payment_method_id'
- end
-
- create_table :spree_stripe_webhook_keys do |t|
- t.string :stripe_id, null: false
- t.string :signing_secret, null: false
-
- t.timestamps
-
- t.index ['signing_secret'], name: 'index_spree_stripe_webhook_keys_on_signing_secret', unique: true
- t.index ['stripe_id'], name: 'index_spree_stripe_webhook_keys_on_stripe_id', unique: true
- end
-
- create_table :spree_stripe_payment_methods_webhook_keys do |t|
- t.bigint :payment_method_id, null: false
- t.bigint :webhook_key_id, null: false
-
- t.timestamps
-
- t.index ['payment_method_id', 'webhook_key_id'], name: 'index_payment_method_id_webhook_key_id_uniqueness', unique: true
- t.index ['payment_method_id'], name: 'index_payment_methods_webhook_keys_on_payment_method_id'
- t.index ['webhook_key_id'], name: 'index_payment_methods_webhook_keys_on_webhook_key_id'
- end
- end
-end
diff --git a/server/db/schema.rb b/server/db/schema.rb
deleted file mode 100644
index 38ec0832a5..0000000000
--- a/server/db/schema.rb
+++ /dev/null
@@ -1,2055 +0,0 @@
-# This file is auto-generated from the current state of the database. Instead
-# of editing this file, please use the migrations feature of Active Record to
-# incrementally modify your database, and then regenerate this schema definition.
-#
-# This file is the source Rails uses to define your schema when running `bin/rails
-# db:schema:load`. When creating a new database, `bin/rails db:schema:load` tends to
-# be faster and is potentially less error prone than running all of your
-# migrations from scratch. Old migrations may fail to apply correctly if those
-# migrations use external dependencies or application code.
-#
-# It's strongly recommended that you check this file into your version control system.
-
-ActiveRecord::Schema[8.1].define(version: 2026_03_17_150033) do
- # These are extensions that must be enabled in order to support this database
- enable_extension "pg_catalog.plpgsql"
- enable_extension "pg_trgm"
-
- create_table "action_text_rich_texts", force: :cascade do |t|
- t.text "body"
- t.datetime "created_at", null: false
- t.string "locale", default: "en", null: false
- t.string "name", null: false
- t.bigint "record_id", null: false
- t.string "record_type", null: false
- t.datetime "updated_at", null: false
- t.index ["record_type", "record_id", "name", "locale"], name: "index_action_text_rich_texts_uniqueness", unique: true
- end
-
- create_table "action_text_video_embeds", force: :cascade do |t|
- t.datetime "created_at", null: false
- t.text "raw_html", null: false
- t.string "thumbnail_url", null: false
- t.datetime "updated_at", null: false
- t.string "url", null: false
- end
-
- create_table "active_storage_attachments", force: :cascade do |t|
- t.bigint "blob_id", null: false
- t.datetime "created_at", null: false
- t.string "name", null: false
- t.bigint "record_id", null: false
- t.string "record_type", null: false
- t.index ["blob_id"], name: "index_active_storage_attachments_on_blob_id"
- t.index ["record_type", "record_id", "name", "blob_id"], name: "index_active_storage_attachments_uniqueness", unique: true
- end
-
- create_table "active_storage_blobs", force: :cascade do |t|
- t.bigint "byte_size", null: false
- t.string "checksum"
- t.string "content_type"
- t.datetime "created_at", null: false
- t.string "filename", null: false
- t.string "key", null: false
- t.text "metadata"
- t.string "service_name", null: false
- t.index ["key"], name: "index_active_storage_blobs_on_key", unique: true
- end
-
- create_table "active_storage_variant_records", force: :cascade do |t|
- t.bigint "blob_id", null: false
- t.string "variation_digest", null: false
- t.index ["blob_id", "variation_digest"], name: "index_active_storage_variant_records_uniqueness", unique: true
- end
-
- create_table "friendly_id_slugs", force: :cascade do |t|
- t.datetime "created_at", precision: nil
- t.datetime "deleted_at", precision: nil
- t.string "locale"
- t.string "scope"
- t.string "slug", null: false
- t.bigint "sluggable_id", null: false
- t.string "sluggable_type", limit: 50
- t.index ["deleted_at"], name: "index_friendly_id_slugs_on_deleted_at"
- t.index ["locale"], name: "index_friendly_id_slugs_on_locale"
- t.index ["slug", "sluggable_type", "locale"], name: "index_friendly_id_slugs_on_slug_and_sluggable_type_and_locale"
- t.index ["slug", "sluggable_type", "scope", "locale"], name: "index_friendly_id_slugs_unique", unique: true
- t.index ["sluggable_id"], name: "index_friendly_id_slugs_on_sluggable_id"
- t.index ["sluggable_type"], name: "index_friendly_id_slugs_on_sluggable_type"
- end
-
- create_table "spree_addresses", force: :cascade do |t|
- t.string "address1"
- t.string "address2"
- t.string "alternative_phone"
- t.string "city"
- t.string "company"
- t.bigint "country_id"
- t.datetime "created_at", null: false
- t.datetime "deleted_at", precision: nil
- t.string "firstname"
- t.string "label"
- t.string "lastname"
- t.decimal "latitude"
- t.decimal "longitude"
- t.string "phone"
- t.jsonb "private_metadata"
- t.jsonb "public_metadata"
- t.boolean "quick_checkout", default: false
- t.bigint "state_id"
- t.string "state_name"
- t.datetime "updated_at", null: false
- t.bigint "user_id"
- t.string "zipcode"
- t.index ["country_id"], name: "index_spree_addresses_on_country_id"
- t.index ["deleted_at"], name: "index_spree_addresses_on_deleted_at"
- t.index ["firstname"], name: "index_addresses_on_firstname"
- t.index ["lastname"], name: "index_addresses_on_lastname"
- t.index ["quick_checkout"], name: "index_spree_addresses_on_quick_checkout"
- t.index ["state_id"], name: "index_spree_addresses_on_state_id"
- t.index ["user_id"], name: "index_spree_addresses_on_user_id"
- end
-
- create_table "spree_adjustments", force: :cascade do |t|
- t.bigint "adjustable_id"
- t.string "adjustable_type"
- t.decimal "amount", precision: 10, scale: 2
- t.datetime "created_at", null: false
- t.boolean "eligible", default: true
- t.boolean "included", default: false
- t.string "label"
- t.boolean "mandatory"
- t.bigint "order_id", null: false
- t.bigint "source_id"
- t.string "source_type"
- t.string "state"
- t.datetime "updated_at", null: false
- t.index ["adjustable_id", "adjustable_type"], name: "index_spree_adjustments_on_adjustable_id_and_adjustable_type"
- t.index ["adjustable_type", "adjustable_id", "source_type"], name: "index_spree_adjustments_on_adjustable_and_source_type"
- t.index ["amount"], name: "index_spree_adjustments_on_amount"
- t.index ["eligible"], name: "index_spree_adjustments_on_eligible"
- t.index ["order_id", "eligible", "source_type"], name: "index_spree_adjustments_on_order_eligible_source_type"
- t.index ["order_id", "state"], name: "index_spree_adjustments_on_order_id_and_state"
- t.index ["order_id"], name: "index_spree_adjustments_on_order_id"
- t.index ["source_id", "source_type"], name: "index_spree_adjustments_on_source_id_and_source_type"
- t.index ["source_type"], name: "index_spree_adjustments_on_source_type"
- end
-
- create_table "spree_admin_users", force: :cascade do |t|
- t.datetime "confirmation_sent_at"
- t.string "confirmation_token"
- t.datetime "confirmed_at"
- t.datetime "created_at", null: false
- t.datetime "current_sign_in_at"
- t.string "current_sign_in_ip"
- t.string "email", default: "", null: false
- t.string "encrypted_password", default: "", null: false
- t.integer "failed_attempts", default: 0, null: false
- t.string "first_name"
- t.string "last_name"
- t.datetime "last_sign_in_at"
- t.string "last_sign_in_ip"
- t.datetime "locked_at"
- t.string "login"
- t.jsonb "private_metadata"
- t.jsonb "public_metadata"
- t.datetime "remember_created_at"
- t.datetime "reset_password_sent_at"
- t.string "reset_password_token"
- t.string "selected_locale"
- t.integer "sign_in_count", default: 0, null: false
- t.string "unconfirmed_email"
- t.string "unlock_token"
- t.datetime "updated_at", null: false
- t.index ["confirmation_token"], name: "index_spree_admin_users_on_confirmation_token", unique: true
- t.index ["email"], name: "index_spree_admin_users_on_email", unique: true
- t.index ["reset_password_token"], name: "index_spree_admin_users_on_reset_password_token", unique: true
- t.index ["unlock_token"], name: "index_spree_admin_users_on_unlock_token", unique: true
- end
-
- create_table "spree_allowed_origins", force: :cascade do |t|
- t.datetime "created_at", null: false
- t.string "origin", null: false
- t.bigint "store_id", null: false
- t.datetime "updated_at", null: false
- t.index ["store_id", "origin"], name: "index_spree_allowed_origins_on_store_id_and_origin", unique: true
- t.index ["store_id"], name: "index_spree_allowed_origins_on_store_id"
- end
-
- create_table "spree_api_keys", force: :cascade do |t|
- t.datetime "created_at", null: false
- t.bigint "created_by_id"
- t.string "created_by_type"
- t.string "key_type", null: false
- t.datetime "last_used_at"
- t.string "name", null: false
- t.datetime "revoked_at"
- t.bigint "revoked_by_id"
- t.string "revoked_by_type"
- t.bigint "store_id", null: false
- t.string "token"
- t.string "token_digest"
- t.string "token_prefix"
- t.datetime "updated_at", null: false
- t.index ["created_by_type", "created_by_id"], name: "index_spree_api_keys_on_created_by"
- t.index ["key_type"], name: "index_spree_api_keys_on_key_type"
- t.index ["revoked_by_type", "revoked_by_id"], name: "index_spree_api_keys_on_revoked_by"
- t.index ["store_id", "key_type"], name: "index_spree_api_keys_on_store_id_and_key_type"
- t.index ["store_id"], name: "index_spree_api_keys_on_store_id"
- t.index ["token"], name: "index_spree_api_keys_on_token", unique: true, where: "(token IS NOT NULL)"
- t.index ["token_digest"], name: "index_spree_api_keys_on_token_digest", unique: true
- end
-
- create_table "spree_assets", force: :cascade do |t|
- t.text "alt"
- t.string "attachment_content_type"
- t.string "attachment_file_name"
- t.integer "attachment_file_size"
- t.integer "attachment_height"
- t.datetime "attachment_updated_at", precision: nil
- t.integer "attachment_width"
- t.datetime "created_at", precision: nil
- t.string "external_video_url"
- t.decimal "focal_point_x", precision: 5, scale: 4
- t.decimal "focal_point_y", precision: 5, scale: 4
- t.string "media_type"
- t.integer "position"
- t.jsonb "private_metadata"
- t.jsonb "public_metadata"
- t.string "session_id"
- t.string "type", limit: 75
- t.datetime "updated_at", precision: nil
- t.bigint "viewable_id"
- t.string "viewable_type"
- t.index ["media_type"], name: "index_spree_assets_on_media_type"
- t.index ["position"], name: "index_spree_assets_on_position"
- t.index ["viewable_id"], name: "index_assets_on_viewable_id"
- t.index ["viewable_type", "type"], name: "index_assets_on_viewable_type_and_type"
- end
-
- create_table "spree_calculators", force: :cascade do |t|
- t.bigint "calculable_id"
- t.string "calculable_type"
- t.datetime "created_at", null: false
- t.datetime "deleted_at", precision: nil
- t.text "preferences"
- t.string "type"
- t.datetime "updated_at", null: false
- t.index ["calculable_id", "calculable_type"], name: "index_spree_calculators_on_calculable_id_and_calculable_type"
- t.index ["deleted_at"], name: "index_spree_calculators_on_deleted_at"
- t.index ["id", "type"], name: "index_spree_calculators_on_id_and_type"
- end
-
- create_table "spree_countries", force: :cascade do |t|
- t.datetime "created_at", precision: nil
- t.string "iso", null: false
- t.string "iso3", null: false
- t.string "iso_name"
- t.string "name"
- t.integer "numcode"
- t.boolean "states_required", default: false
- t.datetime "updated_at", precision: nil
- t.boolean "zipcode_required", default: true
- t.index ["iso"], name: "index_spree_countries_on_iso", unique: true
- t.index ["iso3"], name: "index_spree_countries_on_iso3", unique: true
- t.index ["iso_name"], name: "index_spree_countries_on_iso_name", unique: true
- t.index ["name"], name: "index_spree_countries_on_name", unique: true
- end
-
- create_table "spree_coupon_codes", force: :cascade do |t|
- t.string "code"
- t.datetime "created_at", null: false
- t.datetime "deleted_at", precision: nil
- t.bigint "order_id"
- t.bigint "promotion_id"
- t.integer "state", default: 0, null: false
- t.datetime "updated_at", null: false
- t.index ["code"], name: "index_spree_coupon_codes_on_code", unique: true
- t.index ["deleted_at"], name: "index_spree_coupon_codes_on_deleted_at"
- t.index ["order_id"], name: "index_spree_coupon_codes_on_order_id"
- t.index ["promotion_id"], name: "index_spree_coupon_codes_on_promotion_id"
- t.index ["state"], name: "index_spree_coupon_codes_on_state"
- end
-
- create_table "spree_credit_cards", force: :cascade do |t|
- t.bigint "address_id"
- t.string "cc_type"
- t.datetime "created_at", null: false
- t.boolean "default", default: false, null: false
- t.datetime "deleted_at", precision: nil
- t.bigint "gateway_customer_id"
- t.string "gateway_customer_profile_id"
- t.string "gateway_payment_profile_id"
- t.string "last_digits"
- t.string "month"
- t.string "name"
- t.bigint "payment_method_id"
- t.jsonb "private_metadata"
- t.jsonb "public_metadata"
- t.datetime "updated_at", null: false
- t.bigint "user_id"
- t.string "year"
- t.index ["address_id"], name: "index_spree_credit_cards_on_address_id"
- t.index ["deleted_at"], name: "index_spree_credit_cards_on_deleted_at"
- t.index ["gateway_customer_id"], name: "index_spree_credit_cards_on_gateway_customer_id"
- t.index ["payment_method_id"], name: "index_spree_credit_cards_on_payment_method_id"
- t.index ["user_id"], name: "index_spree_credit_cards_on_user_id"
- end
-
- create_table "spree_custom_domains", force: :cascade do |t|
- t.datetime "created_at", null: false
- t.boolean "default", default: false, null: false
- t.jsonb "private_metadata"
- t.jsonb "public_metadata"
- t.boolean "status", default: false
- t.bigint "store_id", null: false
- t.datetime "updated_at", null: false
- t.string "url", null: false
- t.index ["store_id"], name: "index_spree_custom_domains_on_store_id"
- t.index ["url"], name: "index_spree_custom_domains_on_url", unique: true
- end
-
- create_table "spree_customer_group_users", force: :cascade do |t|
- t.datetime "created_at", null: false
- t.bigint "customer_group_id", null: false
- t.datetime "updated_at", null: false
- t.bigint "user_id", null: false
- t.string "user_type", null: false
- t.index ["customer_group_id", "user_id", "user_type"], name: "index_spree_customer_group_users_unique", unique: true
- t.index ["customer_group_id"], name: "index_spree_customer_group_users_on_customer_group_id"
- t.index ["user_type", "user_id"], name: "index_spree_customer_group_users_on_user"
- end
-
- create_table "spree_customer_groups", force: :cascade do |t|
- t.datetime "created_at", null: false
- t.datetime "deleted_at"
- t.text "description"
- t.string "name", null: false
- t.bigint "store_id", null: false
- t.datetime "updated_at", null: false
- t.index ["deleted_at"], name: "index_spree_customer_groups_on_deleted_at"
- t.index ["store_id", "name"], name: "index_spree_customer_groups_on_store_id_and_name", unique: true, where: "(deleted_at IS NULL)"
- t.index ["store_id"], name: "index_spree_customer_groups_on_store_id"
- end
-
- create_table "spree_customer_returns", force: :cascade do |t|
- t.datetime "created_at", null: false
- t.string "number"
- t.jsonb "private_metadata"
- t.jsonb "public_metadata"
- t.bigint "stock_location_id"
- t.bigint "store_id"
- t.datetime "updated_at", null: false
- t.index ["number"], name: "index_spree_customer_returns_on_number", unique: true
- t.index ["stock_location_id"], name: "index_spree_customer_returns_on_stock_location_id"
- t.index ["store_id"], name: "index_spree_customer_returns_on_store_id"
- end
-
- create_table "spree_digital_links", force: :cascade do |t|
- t.integer "access_counter"
- t.datetime "created_at", precision: nil, null: false
- t.bigint "digital_id"
- t.bigint "line_item_id"
- t.string "token"
- t.datetime "updated_at", precision: nil, null: false
- t.index ["digital_id"], name: "index_spree_digital_links_on_digital_id"
- t.index ["line_item_id"], name: "index_spree_digital_links_on_line_item_id"
- t.index ["token"], name: "index_spree_digital_links_on_token", unique: true
- end
-
- create_table "spree_digitals", force: :cascade do |t|
- t.datetime "created_at", precision: nil, null: false
- t.datetime "updated_at", precision: nil, null: false
- t.bigint "variant_id"
- t.index ["variant_id"], name: "index_spree_digitals_on_variant_id"
- end
-
- create_table "spree_exports", force: :cascade do |t|
- t.datetime "created_at", null: false
- t.integer "format", null: false
- t.string "number", limit: 32, null: false
- t.jsonb "search_params"
- t.bigint "store_id", null: false
- t.string "type", null: false
- t.datetime "updated_at", null: false
- t.bigint "user_id"
- t.index ["format"], name: "index_spree_exports_on_format"
- t.index ["number"], name: "index_spree_exports_on_number", unique: true
- t.index ["store_id"], name: "index_spree_exports_on_store_id"
- t.index ["user_id"], name: "index_spree_exports_on_user_id"
- end
-
- create_table "spree_gateway_customers", force: :cascade do |t|
- t.datetime "created_at", null: false
- t.bigint "payment_method_id", null: false
- t.string "profile_id", null: false
- t.datetime "updated_at", null: false
- t.bigint "user_id", null: false
- t.index ["payment_method_id"], name: "index_spree_gateway_customers_on_payment_method_id"
- t.index ["user_id", "payment_method_id"], name: "index_spree_gateway_customers_on_user_id_and_payment_method_id", unique: true
- t.index ["user_id"], name: "index_spree_gateway_customers_on_user_id"
- end
-
- create_table "spree_gateways", force: :cascade do |t|
- t.boolean "active", default: true
- t.datetime "created_at", null: false
- t.text "description"
- t.string "environment", default: "development"
- t.string "name"
- t.text "preferences"
- t.string "server", default: "test"
- t.boolean "test_mode", default: true
- t.string "type"
- t.datetime "updated_at", null: false
- t.index ["active"], name: "index_spree_gateways_on_active"
- t.index ["test_mode"], name: "index_spree_gateways_on_test_mode"
- end
-
- create_table "spree_gift_card_batches", force: :cascade do |t|
- t.decimal "amount", precision: 10, scale: 2, null: false
- t.integer "codes_count", default: 1, null: false
- t.datetime "created_at", null: false
- t.bigint "created_by_id"
- t.string "currency", null: false
- t.date "expires_at"
- t.string "prefix"
- t.bigint "store_id", null: false
- t.datetime "updated_at", null: false
- t.index ["created_by_id"], name: "index_spree_gift_card_batches_on_created_by_id"
- t.index ["store_id"], name: "index_spree_gift_card_batches_on_store_id"
- end
-
- create_table "spree_gift_cards", force: :cascade do |t|
- t.decimal "amount", precision: 10, scale: 2, null: false
- t.decimal "amount_authorized", precision: 10, scale: 2, default: "0.0", null: false
- t.decimal "amount_used", precision: 10, scale: 2, default: "0.0", null: false
- t.string "code", null: false
- t.datetime "created_at", null: false
- t.bigint "created_by_id"
- t.string "currency", null: false
- t.date "expires_at"
- t.bigint "gift_card_batch_id"
- t.datetime "redeemed_at"
- t.string "state", null: false
- t.bigint "store_id", null: false
- t.datetime "updated_at", null: false
- t.bigint "user_id"
- t.index ["code"], name: "index_spree_gift_cards_on_code", unique: true
- t.index ["created_by_id"], name: "index_spree_gift_cards_on_created_by_id"
- t.index ["expires_at"], name: "index_spree_gift_cards_on_expires_at"
- t.index ["gift_card_batch_id"], name: "index_spree_gift_cards_on_gift_card_batch_id"
- t.index ["redeemed_at"], name: "index_spree_gift_cards_on_redeemed_at"
- t.index ["state"], name: "index_spree_gift_cards_on_state"
- t.index ["store_id"], name: "index_spree_gift_cards_on_store_id"
- t.index ["user_id"], name: "index_spree_gift_cards_on_user_id"
- end
-
- create_table "spree_import_mappings", force: :cascade do |t|
- t.datetime "created_at", null: false
- t.string "file_column"
- t.bigint "import_id", null: false
- t.string "schema_field", null: false
- t.datetime "updated_at", null: false
- t.index ["file_column"], name: "index_spree_import_mappings_on_file_column"
- t.index ["import_id", "schema_field"], name: "index_spree_import_mappings_on_import_id_and_schema_field", unique: true
- t.index ["import_id"], name: "index_spree_import_mappings_on_import_id"
- end
-
- create_table "spree_import_rows", force: :cascade do |t|
- t.datetime "created_at", null: false
- t.text "data", null: false
- t.bigint "import_id", null: false
- t.bigint "item_id"
- t.string "item_type"
- t.integer "row_number", null: false
- t.string "status", null: false
- t.datetime "updated_at", null: false
- t.text "validation_errors"
- t.index ["import_id", "row_number"], name: "index_spree_import_rows_on_import_id_and_row_number", unique: true
- t.index ["import_id"], name: "index_spree_import_rows_on_import_id"
- t.index ["item_type", "item_id"], name: "index_spree_import_rows_on_item"
- t.index ["status"], name: "index_spree_import_rows_on_status"
- end
-
- create_table "spree_imports", force: :cascade do |t|
- t.datetime "created_at", null: false
- t.string "number", limit: 32, null: false
- t.bigint "owner_id", null: false
- t.string "owner_type", null: false
- t.text "preferences"
- t.text "processing_errors"
- t.integer "rows_count", default: 0, null: false
- t.string "status", null: false
- t.string "type", null: false
- t.datetime "updated_at", null: false
- t.bigint "user_id", null: false
- t.index ["number"], name: "index_spree_imports_on_number", unique: true
- t.index ["owner_type", "owner_id"], name: "index_spree_imports_on_owner"
- t.index ["status"], name: "index_spree_imports_on_status"
- t.index ["type"], name: "index_spree_imports_on_type"
- t.index ["user_id"], name: "index_spree_imports_on_user_id"
- end
-
- create_table "spree_integrations", force: :cascade do |t|
- t.boolean "active", default: false, null: false
- t.datetime "created_at", null: false
- t.text "preferences"
- t.bigint "store_id", null: false
- t.string "type", null: false
- t.datetime "updated_at", null: false
- t.index ["active"], name: "index_spree_integrations_on_active"
- t.index ["store_id"], name: "index_spree_integrations_on_store_id"
- t.index ["type"], name: "index_spree_integrations_on_type"
- end
-
- create_table "spree_inventory_units", force: :cascade do |t|
- t.datetime "created_at", null: false
- t.bigint "line_item_id"
- t.bigint "order_id"
- t.bigint "original_return_item_id"
- t.boolean "pending", default: true
- t.integer "quantity", default: 1
- t.bigint "shipment_id"
- t.string "state"
- t.datetime "updated_at", null: false
- t.bigint "variant_id"
- t.index ["line_item_id"], name: "index_spree_inventory_units_on_line_item_id"
- t.index ["order_id"], name: "index_inventory_units_on_order_id"
- t.index ["original_return_item_id"], name: "index_spree_inventory_units_on_original_return_item_id"
- t.index ["shipment_id"], name: "index_inventory_units_on_shipment_id"
- t.index ["variant_id"], name: "index_inventory_units_on_variant_id"
- end
-
- create_table "spree_invitations", force: :cascade do |t|
- t.datetime "accepted_at"
- t.datetime "created_at", null: false
- t.datetime "deleted_at"
- t.string "email", null: false
- t.datetime "expires_at"
- t.bigint "invitee_id"
- t.string "invitee_type"
- t.bigint "inviter_id", null: false
- t.string "inviter_type", null: false
- t.bigint "resource_id", null: false
- t.string "resource_type", null: false
- t.bigint "role_id", null: false
- t.string "status", null: false
- t.string "token", null: false
- t.datetime "updated_at", null: false
- t.index ["deleted_at"], name: "index_spree_invitations_on_deleted_at"
- t.index ["email"], name: "index_spree_invitations_on_email"
- t.index ["expires_at"], name: "index_spree_invitations_on_expires_at"
- t.index ["invitee_type", "invitee_id"], name: "index_spree_invitations_on_invitee"
- t.index ["inviter_type", "inviter_id"], name: "index_spree_invitations_on_inviter"
- t.index ["resource_type", "resource_id"], name: "index_spree_invitations_on_resource"
- t.index ["role_id"], name: "index_spree_invitations_on_role_id"
- t.index ["status"], name: "index_spree_invitations_on_status"
- t.index ["token"], name: "index_spree_invitations_on_token", unique: true
- end
-
- create_table "spree_line_items", force: :cascade do |t|
- t.decimal "additional_tax_total", precision: 10, scale: 2, default: "0.0"
- t.decimal "adjustment_total", precision: 10, scale: 2, default: "0.0"
- t.decimal "cost_price", precision: 10, scale: 2
- t.datetime "created_at", null: false
- t.string "currency"
- t.decimal "included_tax_total", precision: 10, scale: 2, default: "0.0", null: false
- t.decimal "non_taxable_adjustment_total", precision: 10, scale: 2, default: "0.0", null: false
- t.bigint "order_id"
- t.decimal "pre_tax_amount", precision: 12, scale: 4, default: "0.0", null: false
- t.decimal "price", precision: 10, scale: 2, null: false
- t.bigint "price_list_id"
- t.jsonb "private_metadata"
- t.decimal "promo_total", precision: 10, scale: 2, default: "0.0"
- t.jsonb "public_metadata"
- t.integer "quantity", null: false
- t.bigint "tax_category_id"
- t.decimal "taxable_adjustment_total", precision: 10, scale: 2, default: "0.0", null: false
- t.datetime "updated_at", null: false
- t.bigint "variant_id"
- t.index ["order_id"], name: "index_spree_line_items_on_order_id"
- t.index ["price_list_id"], name: "index_spree_line_items_on_price_list_id"
- t.index ["tax_category_id"], name: "index_spree_line_items_on_tax_category_id"
- t.index ["variant_id"], name: "index_spree_line_items_on_variant_id"
- end
-
- create_table "spree_log_entries", force: :cascade do |t|
- t.datetime "created_at", null: false
- t.text "details"
- t.bigint "source_id"
- t.string "source_type"
- t.datetime "updated_at", null: false
- t.index ["source_id", "source_type"], name: "index_spree_log_entries_on_source_id_and_source_type"
- end
-
- create_table "spree_market_countries", force: :cascade do |t|
- t.bigint "country_id", null: false
- t.datetime "created_at", null: false
- t.bigint "market_id", null: false
- t.datetime "updated_at", null: false
- t.index ["country_id"], name: "index_spree_market_countries_on_country_id"
- t.index ["market_id", "country_id"], name: "index_spree_market_countries_on_market_id_and_country_id", unique: true
- t.index ["market_id"], name: "index_spree_market_countries_on_market_id"
- end
-
- create_table "spree_markets", force: :cascade do |t|
- t.datetime "created_at", null: false
- t.string "currency", null: false
- t.boolean "default", default: false, null: false
- t.string "default_locale", null: false
- t.datetime "deleted_at"
- t.string "name", null: false
- t.integer "position", default: 0, null: false
- t.bigint "store_id", null: false
- t.string "supported_locales"
- t.boolean "tax_inclusive", default: false, null: false
- t.datetime "updated_at", null: false
- t.index ["deleted_at"], name: "index_spree_markets_on_deleted_at"
- t.index ["store_id", "default"], name: "index_spree_markets_on_store_id_and_default", where: "(deleted_at IS NULL)"
- t.index ["store_id", "name"], name: "index_spree_markets_on_store_id_and_name", unique: true, where: "(deleted_at IS NULL)"
- t.index ["store_id", "position"], name: "index_spree_markets_on_store_id_and_position"
- t.index ["store_id"], name: "index_spree_markets_on_store_id"
- end
-
- create_table "spree_metafield_definitions", force: :cascade do |t|
- t.datetime "created_at", null: false
- t.string "display_on", default: "both", null: false
- t.string "key", null: false
- t.string "metafield_type", null: false
- t.string "name", null: false
- t.string "namespace", null: false
- t.string "resource_type", null: false
- t.datetime "updated_at", null: false
- t.index ["display_on"], name: "index_spree_metafield_definitions_on_display_on"
- t.index ["namespace", "key"], name: "index_spree_metafield_definitions_on_namespace_and_key"
- t.index ["resource_type", "namespace", "key"], name: "idx_on_resource_type_namespace_key_60c784bc3e", unique: true
- t.index ["resource_type"], name: "index_spree_metafield_definitions_on_resource_type"
- end
-
- create_table "spree_metafields", force: :cascade do |t|
- t.datetime "created_at", null: false
- t.bigint "metafield_definition_id", null: false
- t.bigint "resource_id", null: false
- t.string "resource_type", null: false
- t.string "type", null: false
- t.datetime "updated_at", null: false
- t.text "value"
- t.index ["metafield_definition_id"], name: "index_spree_metafields_on_metafield_definition_id"
- t.index ["resource_type", "resource_id", "metafield_definition_id"], name: "index_metafields_on_resource_and_definition", unique: true
- t.index ["resource_type", "resource_id"], name: "index_spree_metafields_on_resource"
- t.index ["type"], name: "index_spree_metafields_on_type"
- end
-
- create_table "spree_newsletter_subscribers", force: :cascade do |t|
- t.datetime "created_at", null: false
- t.string "email", null: false
- t.jsonb "private_metadata"
- t.jsonb "public_metadata"
- t.datetime "updated_at", null: false
- t.bigint "user_id"
- t.string "verification_token"
- t.datetime "verified_at"
- t.index ["email"], name: "index_spree_newsletter_subscribers_on_email", unique: true
- t.index ["user_id"], name: "index_spree_newsletter_subscribers_on_user_id"
- t.index ["verification_token"], name: "index_spree_newsletter_subscribers_on_verification_token", unique: true
- t.index ["verified_at"], name: "index_spree_newsletter_subscribers_on_verified_at"
- end
-
- create_table "spree_option_type_prototypes", force: :cascade do |t|
- t.datetime "created_at", precision: nil
- t.bigint "option_type_id"
- t.bigint "prototype_id"
- t.datetime "updated_at", precision: nil
- t.index ["option_type_id"], name: "index_spree_option_type_prototypes_on_option_type_id"
- t.index ["prototype_id", "option_type_id"], name: "spree_option_type_prototypes_prototype_id_option_type_id", unique: true
- t.index ["prototype_id"], name: "index_spree_option_type_prototypes_on_prototype_id"
- end
-
- create_table "spree_option_type_translations", force: :cascade do |t|
- t.datetime "created_at", null: false
- t.string "locale", null: false
- t.string "presentation"
- t.bigint "spree_option_type_id", null: false
- t.datetime "updated_at", null: false
- t.index ["locale"], name: "index_spree_option_type_translations_on_locale"
- t.index ["spree_option_type_id", "locale"], name: "unique_option_type_id_per_locale", unique: true
- end
-
- create_table "spree_option_types", force: :cascade do |t|
- t.datetime "created_at", null: false
- t.boolean "filterable", default: true, null: false
- t.string "name", limit: 100
- t.integer "position", default: 0, null: false
- t.string "presentation", limit: 100
- t.jsonb "private_metadata"
- t.jsonb "public_metadata"
- t.datetime "updated_at", null: false
- t.index ["filterable"], name: "index_spree_option_types_on_filterable"
- t.index ["name"], name: "index_spree_option_types_on_name", unique: true
- t.index ["position"], name: "index_spree_option_types_on_position"
- end
-
- create_table "spree_option_value_translations", force: :cascade do |t|
- t.datetime "created_at", null: false
- t.string "locale", null: false
- t.string "presentation"
- t.bigint "spree_option_value_id", null: false
- t.datetime "updated_at", null: false
- t.index ["locale"], name: "index_spree_option_value_translations_on_locale"
- t.index ["spree_option_value_id", "locale"], name: "unique_option_value_id_per_locale", unique: true
- end
-
- create_table "spree_option_value_variants", force: :cascade do |t|
- t.datetime "created_at", precision: nil
- t.bigint "option_value_id"
- t.datetime "updated_at", precision: nil
- t.bigint "variant_id"
- t.index ["option_value_id"], name: "index_spree_option_value_variants_on_option_value_id"
- t.index ["variant_id", "option_value_id"], name: "index_option_values_variants_on_variant_id_and_option_value_id", unique: true
- t.index ["variant_id"], name: "index_spree_option_value_variants_on_variant_id"
- end
-
- create_table "spree_option_values", force: :cascade do |t|
- t.datetime "created_at", null: false
- t.string "name"
- t.bigint "option_type_id"
- t.integer "position"
- t.string "presentation"
- t.jsonb "private_metadata"
- t.jsonb "public_metadata"
- t.datetime "updated_at", null: false
- t.index ["name"], name: "index_spree_option_values_on_name"
- t.index ["option_type_id", "name"], name: "index_spree_option_values_on_option_type_id_and_name", unique: true
- t.index ["option_type_id"], name: "index_spree_option_values_on_option_type_id"
- t.index ["position"], name: "index_spree_option_values_on_position"
- end
-
- create_table "spree_order_promotions", force: :cascade do |t|
- t.datetime "created_at", precision: nil
- t.bigint "order_id"
- t.bigint "promotion_id"
- t.datetime "updated_at", precision: nil
- t.index ["order_id"], name: "index_spree_order_promotions_on_order_id"
- t.index ["promotion_id", "order_id"], name: "index_spree_order_promotions_on_promotion_id_and_order_id", unique: true
- t.index ["promotion_id"], name: "index_spree_order_promotions_on_promotion_id"
- end
-
- create_table "spree_orders", force: :cascade do |t|
- t.boolean "accept_marketing", default: false
- t.decimal "additional_tax_total", precision: 10, scale: 2, default: "0.0"
- t.decimal "adjustment_total", precision: 10, scale: 2, default: "0.0", null: false
- t.datetime "approved_at", precision: nil
- t.bigint "approver_id"
- t.bigint "bill_address_id"
- t.datetime "canceled_at", precision: nil
- t.bigint "canceler_id"
- t.string "channel", default: "spree"
- t.datetime "completed_at", precision: nil
- t.boolean "confirmation_delivered", default: false
- t.boolean "considered_risky", default: false
- t.datetime "created_at", null: false
- t.bigint "created_by_id"
- t.string "currency"
- t.string "email"
- t.bigint "gift_card_id"
- t.decimal "included_tax_total", precision: 10, scale: 2, default: "0.0", null: false
- t.text "internal_note"
- t.integer "item_count", default: 0
- t.decimal "item_total", precision: 10, scale: 2, default: "0.0", null: false
- t.string "last_ip_address"
- t.string "locale"
- t.decimal "non_taxable_adjustment_total", precision: 10, scale: 2, default: "0.0", null: false
- t.string "number", limit: 32
- t.string "payment_state"
- t.decimal "payment_total", precision: 10, scale: 2, default: "0.0"
- t.jsonb "private_metadata"
- t.decimal "promo_total", precision: 10, scale: 2, default: "0.0"
- t.jsonb "public_metadata"
- t.bigint "ship_address_id"
- t.string "shipment_state"
- t.decimal "shipment_total", precision: 10, scale: 2, default: "0.0", null: false
- t.boolean "signup_for_an_account", default: false
- t.text "special_instructions"
- t.string "state"
- t.integer "state_lock_version", default: 0, null: false
- t.bigint "store_id"
- t.boolean "store_owner_notification_delivered"
- t.decimal "taxable_adjustment_total", precision: 10, scale: 2, default: "0.0", null: false
- t.string "token"
- t.decimal "total", precision: 10, scale: 2, default: "0.0", null: false
- t.datetime "updated_at", null: false
- t.bigint "user_id"
- t.index ["approver_id"], name: "index_spree_orders_on_approver_id"
- t.index ["bill_address_id"], name: "index_spree_orders_on_bill_address_id"
- t.index ["canceler_id"], name: "index_spree_orders_on_canceler_id"
- t.index ["completed_at"], name: "index_spree_orders_on_completed_at"
- t.index ["confirmation_delivered"], name: "index_spree_orders_on_confirmation_delivered"
- t.index ["considered_risky"], name: "index_spree_orders_on_considered_risky"
- t.index ["created_by_id"], name: "index_spree_orders_on_created_by_id"
- t.index ["gift_card_id"], name: "index_spree_orders_on_gift_card_id"
- t.index ["number"], name: "index_spree_orders_on_number", unique: true
- t.index ["ship_address_id"], name: "index_spree_orders_on_ship_address_id"
- t.index ["store_id"], name: "index_spree_orders_on_store_id"
- t.index ["token"], name: "index_spree_orders_on_token"
- t.index ["user_id", "created_by_id"], name: "index_spree_orders_on_user_id_and_created_by_id"
- end
-
- create_table "spree_payment_capture_events", force: :cascade do |t|
- t.decimal "amount", precision: 10, scale: 2, default: "0.0"
- t.datetime "created_at", null: false
- t.bigint "payment_id"
- t.datetime "updated_at", null: false
- t.index ["payment_id"], name: "index_spree_payment_capture_events_on_payment_id"
- end
-
- create_table "spree_payment_methods", force: :cascade do |t|
- t.boolean "active", default: true
- t.boolean "auto_capture"
- t.datetime "created_at", null: false
- t.datetime "deleted_at", precision: nil
- t.text "description"
- t.string "display_on", default: "both"
- t.string "name"
- t.integer "position", default: 0
- t.text "preferences"
- t.jsonb "private_metadata"
- t.jsonb "public_metadata"
- t.jsonb "settings"
- t.string "type"
- t.datetime "updated_at", null: false
- t.index ["id", "type"], name: "index_spree_payment_methods_on_id_and_type"
- end
-
- create_table "spree_payment_methods_stores", id: false, force: :cascade do |t|
- t.bigint "payment_method_id"
- t.bigint "store_id"
- t.index ["payment_method_id", "store_id"], name: "payment_mentod_id_store_id_unique_index", unique: true
- t.index ["payment_method_id"], name: "index_spree_payment_methods_stores_on_payment_method_id"
- t.index ["store_id"], name: "index_spree_payment_methods_stores_on_store_id"
- end
-
- create_table "spree_payment_sessions", force: :cascade do |t|
- t.decimal "amount", precision: 10, scale: 2, null: false
- t.datetime "created_at", null: false
- t.string "currency", null: false
- t.string "customer_external_id"
- t.bigint "customer_id"
- t.datetime "deleted_at"
- t.datetime "expires_at"
- t.jsonb "external_data"
- t.string "external_id", null: false
- t.bigint "order_id", null: false
- t.bigint "payment_method_id", null: false
- t.string "status", null: false
- t.string "type", null: false
- t.datetime "updated_at", null: false
- t.index ["customer_id"], name: "index_spree_payment_sessions_on_customer_id"
- t.index ["deleted_at"], name: "index_spree_payment_sessions_on_deleted_at"
- t.index ["expires_at"], name: "index_spree_payment_sessions_on_expires_at"
- t.index ["external_id"], name: "index_spree_payment_sessions_on_external_id"
- t.index ["order_id", "payment_method_id", "external_id"], name: "idx_payment_sessions_order_method_external", unique: true
- t.index ["order_id"], name: "index_spree_payment_sessions_on_order_id"
- t.index ["payment_method_id"], name: "index_spree_payment_sessions_on_payment_method_id"
- t.index ["status"], name: "index_spree_payment_sessions_on_status"
- t.index ["type"], name: "index_spree_payment_sessions_on_type"
- end
-
- create_table "spree_payment_setup_sessions", force: :cascade do |t|
- t.datetime "created_at", null: false
- t.bigint "customer_id"
- t.datetime "deleted_at"
- t.string "external_client_secret"
- t.jsonb "external_data"
- t.string "external_id"
- t.bigint "payment_method_id", null: false
- t.bigint "payment_source_id"
- t.string "payment_source_type"
- t.string "status", null: false
- t.datetime "updated_at", null: false
- t.index ["customer_id"], name: "index_spree_payment_setup_sessions_on_customer_id"
- t.index ["deleted_at"], name: "index_spree_payment_setup_sessions_on_deleted_at"
- t.index ["external_id", "payment_method_id"], name: "idx_spree_pss_unique_external_id_per_pm", unique: true
- t.index ["payment_method_id"], name: "index_spree_payment_setup_sessions_on_payment_method_id"
- t.index ["payment_source_type", "payment_source_id"], name: "idx_spree_pss_on_payment_source"
- t.index ["status"], name: "index_spree_payment_setup_sessions_on_status"
- end
-
- create_table "spree_payment_sources", force: :cascade do |t|
- t.datetime "created_at", precision: nil, null: false
- t.string "gateway_customer_profile_id"
- t.string "gateway_payment_profile_id"
- t.bigint "payment_method_id"
- t.jsonb "private_metadata"
- t.jsonb "public_metadata"
- t.string "type"
- t.datetime "updated_at", precision: nil, null: false
- t.bigint "user_id"
- t.index ["payment_method_id"], name: "index_spree_payment_sources_on_payment_method_id"
- t.index ["type", "gateway_payment_profile_id"], name: "index_payment_sources_on_type_and_gateway_payment_profile_id", unique: true
- t.index ["type"], name: "index_spree_payment_sources_on_type"
- t.index ["user_id"], name: "index_spree_payment_sources_on_user_id"
- end
-
- create_table "spree_payments", force: :cascade do |t|
- t.decimal "amount", precision: 10, scale: 2, default: "0.0", null: false
- t.string "avs_response"
- t.datetime "created_at", null: false
- t.string "cvv_response_code"
- t.string "cvv_response_message"
- t.string "number"
- t.bigint "order_id"
- t.bigint "payment_method_id"
- t.jsonb "private_metadata"
- t.jsonb "public_metadata"
- t.string "response_code"
- t.bigint "source_id"
- t.string "source_type"
- t.string "state"
- t.datetime "updated_at", null: false
- t.index ["number"], name: "index_spree_payments_on_number", unique: true
- t.index ["order_id"], name: "index_spree_payments_on_order_id"
- t.index ["payment_method_id"], name: "index_spree_payments_on_payment_method_id"
- t.index ["source_id", "source_type"], name: "index_spree_payments_on_source_id_and_source_type"
- end
-
- create_table "spree_policies", force: :cascade do |t|
- t.datetime "created_at", null: false
- t.string "name"
- t.bigint "owner_id"
- t.string "owner_type"
- t.string "slug", null: false
- t.datetime "updated_at", null: false
- t.index ["owner_id", "owner_type", "slug"], name: "index_spree_policies_on_owner_id_and_owner_type_and_slug", unique: true
- t.index ["owner_type", "owner_id"], name: "index_spree_policies_on_owner"
- end
-
- create_table "spree_policy_translations", force: :cascade do |t|
- t.datetime "created_at", null: false
- t.string "locale", null: false
- t.string "name"
- t.bigint "spree_policy_id", null: false
- t.datetime "updated_at", null: false
- t.index ["spree_policy_id", "locale"], name: "index_spree_policy_translations_on_spree_policy_id_and_locale", unique: true
- t.index ["spree_policy_id"], name: "index_spree_policy_translations_on_spree_policy_id"
- end
-
- create_table "spree_preferences", force: :cascade do |t|
- t.datetime "created_at", null: false
- t.string "key"
- t.datetime "updated_at", null: false
- t.text "value"
- t.index ["key"], name: "index_spree_preferences_on_key", unique: true
- end
-
- create_table "spree_price_lists", force: :cascade do |t|
- t.datetime "created_at", null: false
- t.datetime "deleted_at"
- t.text "description"
- t.datetime "ends_at"
- t.string "match_policy", default: "all", null: false
- t.string "name", null: false
- t.integer "position", default: 0, null: false
- t.datetime "starts_at"
- t.string "status", default: "draft", null: false
- t.bigint "store_id", null: false
- t.datetime "updated_at", null: false
- t.index ["deleted_at"], name: "index_spree_price_lists_on_deleted_at"
- t.index ["position"], name: "index_spree_price_lists_on_position"
- t.index ["starts_at", "ends_at"], name: "index_spree_price_lists_on_starts_at_and_ends_at"
- t.index ["status"], name: "index_spree_price_lists_on_status"
- t.index ["store_id", "status", "position"], name: "index_spree_price_lists_on_store_id_and_status_and_position"
- t.index ["store_id"], name: "index_spree_price_lists_on_store_id"
- end
-
- create_table "spree_price_rules", force: :cascade do |t|
- t.datetime "created_at", null: false
- t.text "preferences"
- t.bigint "price_list_id", null: false
- t.string "type", null: false
- t.datetime "updated_at", null: false
- t.index ["price_list_id", "type"], name: "index_spree_price_rules_on_price_list_id_and_type"
- t.index ["price_list_id"], name: "index_spree_price_rules_on_price_list_id"
- t.index ["type"], name: "index_spree_price_rules_on_type"
- end
-
- create_table "spree_prices", force: :cascade do |t|
- t.decimal "amount", precision: 10, scale: 2
- t.decimal "compare_at_amount", precision: 10, scale: 2
- t.datetime "created_at", precision: nil, null: false
- t.string "currency"
- t.datetime "deleted_at", precision: nil
- t.bigint "price_list_id"
- t.datetime "updated_at", precision: nil, null: false
- t.bigint "variant_id", null: false
- t.index ["deleted_at"], name: "index_spree_prices_on_deleted_at"
- t.index ["price_list_id"], name: "index_spree_prices_on_price_list_id"
- t.index ["variant_id", "currency", "price_list_id"], name: "index_spree_prices_on_variant_currency_price_list", unique: true, where: "((price_list_id IS NOT NULL) AND (deleted_at IS NULL) AND (amount IS NOT NULL))"
- t.index ["variant_id", "currency"], name: "index_spree_prices_on_variant_id_and_currency", unique: true, where: "((price_list_id IS NULL) AND (deleted_at IS NULL) AND (amount IS NOT NULL))"
- t.index ["variant_id"], name: "index_spree_prices_on_variant_id"
- end
-
- create_table "spree_product_option_types", force: :cascade do |t|
- t.datetime "created_at", null: false
- t.bigint "option_type_id"
- t.integer "position"
- t.bigint "product_id"
- t.datetime "updated_at", null: false
- t.index ["option_type_id"], name: "index_spree_product_option_types_on_option_type_id"
- t.index ["position"], name: "index_spree_product_option_types_on_position"
- t.index ["product_id"], name: "index_spree_product_option_types_on_product_id"
- end
-
- create_table "spree_product_promotion_rules", force: :cascade do |t|
- t.datetime "created_at", precision: nil
- t.bigint "product_id"
- t.bigint "promotion_rule_id"
- t.datetime "updated_at", precision: nil
- t.index ["product_id", "promotion_rule_id"], name: "idx_on_product_id_promotion_rule_id_aaea0385c9", unique: true
- t.index ["product_id"], name: "index_products_promotion_rules_on_product_id"
- t.index ["promotion_rule_id", "product_id"], name: "index_products_promotion_rules_on_promotion_rule_and_product"
- end
-
- create_table "spree_product_translations", force: :cascade do |t|
- t.datetime "created_at", null: false
- t.datetime "deleted_at", precision: nil
- t.text "description"
- t.string "locale", null: false
- t.text "meta_description"
- t.string "meta_keywords"
- t.string "meta_title"
- t.string "name"
- t.string "slug"
- t.bigint "spree_product_id", null: false
- t.datetime "updated_at", null: false
- t.index ["deleted_at"], name: "index_spree_product_translations_on_deleted_at"
- t.index ["locale", "slug"], name: "unique_slug_per_locale", unique: true
- t.index ["locale"], name: "index_spree_product_translations_on_locale"
- t.index ["spree_product_id", "locale"], name: "unique_product_id_per_locale", unique: true
- end
-
- create_table "spree_products", force: :cascade do |t|
- t.datetime "available_on", precision: nil
- t.integer "classification_count", default: 0, null: false
- t.datetime "created_at", null: false
- t.datetime "deleted_at", precision: nil
- t.text "description"
- t.datetime "discontinue_on", precision: nil
- t.datetime "make_active_at", precision: nil
- t.integer "media_count", default: 0, null: false
- t.text "meta_description"
- t.string "meta_keywords"
- t.string "meta_title"
- t.string "name", default: "", null: false
- t.bigint "primary_media_id"
- t.jsonb "private_metadata"
- t.boolean "promotionable", default: true
- t.jsonb "public_metadata"
- t.bigint "shipping_category_id"
- t.string "slug"
- t.string "status", default: "draft", null: false
- t.bigint "tax_category_id"
- t.datetime "updated_at", null: false
- t.integer "variant_count", default: 0, null: false
- t.index ["available_on"], name: "index_spree_products_on_available_on"
- t.index ["classification_count"], name: "index_spree_products_on_classification_count"
- t.index ["deleted_at"], name: "index_spree_products_on_deleted_at"
- t.index ["discontinue_on"], name: "index_spree_products_on_discontinue_on"
- t.index ["make_active_at"], name: "index_spree_products_on_make_active_at"
- t.index ["media_count"], name: "index_spree_products_on_media_count"
- t.index ["name"], name: "index_spree_products_on_name"
- t.index ["primary_media_id"], name: "index_spree_products_on_primary_media_id"
- t.index ["promotionable"], name: "index_spree_products_on_promotionable"
- t.index ["shipping_category_id"], name: "index_spree_products_on_shipping_category_id"
- t.index ["slug"], name: "index_spree_products_on_slug", unique: true
- t.index ["status", "deleted_at"], name: "index_spree_products_on_status_and_deleted_at"
- t.index ["status"], name: "index_spree_products_on_status"
- t.index ["tax_category_id"], name: "index_spree_products_on_tax_category_id"
- t.index ["variant_count"], name: "index_spree_products_on_variant_count"
- end
-
- create_table "spree_products_stores", force: :cascade do |t|
- t.datetime "created_at", precision: nil, null: false
- t.bigint "product_id"
- t.decimal "revenue", precision: 10, scale: 2, default: "0.0", null: false
- t.bigint "store_id"
- t.integer "units_sold_count", default: 0, null: false
- t.datetime "updated_at", precision: nil, null: false
- t.index ["product_id", "store_id"], name: "index_spree_products_stores_on_product_id_and_store_id", unique: true
- t.index ["product_id"], name: "index_spree_products_stores_on_product_id"
- t.index ["store_id", "revenue"], name: "index_products_stores_on_store_and_revenue"
- t.index ["store_id", "units_sold_count"], name: "index_products_stores_on_store_and_units_sold"
- t.index ["store_id"], name: "index_spree_products_stores_on_store_id"
- end
-
- create_table "spree_products_taxons", force: :cascade do |t|
- t.datetime "created_at", precision: nil
- t.integer "position"
- t.bigint "product_id"
- t.bigint "taxon_id"
- t.datetime "updated_at", precision: nil
- t.index ["position"], name: "index_spree_products_taxons_on_position"
- t.index ["product_id", "taxon_id"], name: "index_spree_products_taxons_on_product_id_and_taxon_id", unique: true
- t.index ["product_id"], name: "index_spree_products_taxons_on_product_id"
- t.index ["taxon_id"], name: "index_spree_products_taxons_on_taxon_id"
- end
-
- create_table "spree_promotion_action_line_items", force: :cascade do |t|
- t.datetime "created_at", precision: nil
- t.bigint "promotion_action_id"
- t.integer "quantity", default: 1
- t.datetime "updated_at", precision: nil
- t.bigint "variant_id"
- t.index ["promotion_action_id", "variant_id"], name: "idx_on_promotion_action_id_variant_id_90d181a88a", unique: true
- t.index ["promotion_action_id"], name: "index_spree_promotion_action_line_items_on_promotion_action_id"
- t.index ["variant_id"], name: "index_spree_promotion_action_line_items_on_variant_id"
- end
-
- create_table "spree_promotion_actions", force: :cascade do |t|
- t.datetime "created_at", precision: nil
- t.datetime "deleted_at", precision: nil
- t.integer "position"
- t.bigint "promotion_id"
- t.string "type"
- t.datetime "updated_at", precision: nil
- t.index ["deleted_at"], name: "index_spree_promotion_actions_on_deleted_at"
- t.index ["id", "type"], name: "index_spree_promotion_actions_on_id_and_type"
- t.index ["promotion_id"], name: "index_spree_promotion_actions_on_promotion_id"
- end
-
- create_table "spree_promotion_categories", force: :cascade do |t|
- t.string "code"
- t.datetime "created_at", null: false
- t.string "name"
- t.datetime "updated_at", null: false
- end
-
- create_table "spree_promotion_rule_taxons", force: :cascade do |t|
- t.datetime "created_at", precision: nil
- t.bigint "promotion_rule_id"
- t.bigint "taxon_id"
- t.datetime "updated_at", precision: nil
- t.index ["promotion_rule_id"], name: "index_spree_promotion_rule_taxons_on_promotion_rule_id"
- t.index ["taxon_id", "promotion_rule_id"], name: "idx_on_taxon_id_promotion_rule_id_3c91a6f5d7", unique: true
- t.index ["taxon_id"], name: "index_spree_promotion_rule_taxons_on_taxon_id"
- end
-
- create_table "spree_promotion_rule_users", force: :cascade do |t|
- t.datetime "created_at", precision: nil
- t.bigint "promotion_rule_id"
- t.datetime "updated_at", precision: nil
- t.bigint "user_id"
- t.index ["promotion_rule_id"], name: "index_promotion_rules_users_on_promotion_rule_id"
- t.index ["user_id", "promotion_rule_id"], name: "idx_on_user_id_promotion_rule_id_ad0307a89b", unique: true
- t.index ["user_id", "promotion_rule_id"], name: "index_promotion_rules_users_on_user_id_and_promotion_rule_id"
- end
-
- create_table "spree_promotion_rules", force: :cascade do |t|
- t.string "code"
- t.datetime "created_at", null: false
- t.text "preferences"
- t.bigint "product_group_id"
- t.bigint "promotion_id"
- t.string "type"
- t.datetime "updated_at", null: false
- t.bigint "user_id"
- t.index ["product_group_id"], name: "index_promotion_rules_on_product_group_id"
- t.index ["promotion_id"], name: "index_spree_promotion_rules_on_promotion_id"
- t.index ["user_id"], name: "index_promotion_rules_on_user_id"
- end
-
- create_table "spree_promotions", force: :cascade do |t|
- t.boolean "advertise", default: false
- t.string "code"
- t.string "code_prefix"
- t.datetime "created_at", null: false
- t.string "description"
- t.datetime "expires_at", precision: nil
- t.integer "kind", default: 0
- t.string "match_policy", default: "all"
- t.boolean "multi_codes", default: false
- t.string "name"
- t.integer "number_of_codes"
- t.string "path"
- t.jsonb "private_metadata"
- t.bigint "promotion_category_id"
- t.jsonb "public_metadata"
- t.datetime "starts_at", precision: nil
- t.string "type"
- t.datetime "updated_at", null: false
- t.integer "usage_limit"
- t.index ["advertise"], name: "index_spree_promotions_on_advertise"
- t.index ["code"], name: "index_spree_promotions_on_code"
- t.index ["expires_at"], name: "index_spree_promotions_on_expires_at"
- t.index ["id", "type"], name: "index_spree_promotions_on_id_and_type"
- t.index ["kind"], name: "index_spree_promotions_on_kind"
- t.index ["path"], name: "index_spree_promotions_on_path"
- t.index ["promotion_category_id"], name: "index_spree_promotions_on_promotion_category_id"
- t.index ["starts_at"], name: "index_spree_promotions_on_starts_at"
- end
-
- create_table "spree_promotions_stores", force: :cascade do |t|
- t.datetime "created_at", precision: nil, null: false
- t.bigint "promotion_id"
- t.bigint "store_id"
- t.datetime "updated_at", precision: nil, null: false
- t.index ["promotion_id", "store_id"], name: "index_spree_promotions_stores_on_promotion_id_and_store_id", unique: true
- t.index ["promotion_id"], name: "index_spree_promotions_stores_on_promotion_id"
- t.index ["store_id"], name: "index_spree_promotions_stores_on_store_id"
- end
-
- create_table "spree_prototype_taxons", force: :cascade do |t|
- t.datetime "created_at", precision: nil
- t.bigint "prototype_id"
- t.bigint "taxon_id"
- t.datetime "updated_at", precision: nil
- t.index ["prototype_id", "taxon_id"], name: "index_spree_prototype_taxons_on_prototype_id_and_taxon_id"
- t.index ["prototype_id"], name: "index_spree_prototype_taxons_on_prototype_id"
- t.index ["taxon_id"], name: "index_spree_prototype_taxons_on_taxon_id"
- end
-
- create_table "spree_prototypes", force: :cascade do |t|
- t.datetime "created_at", null: false
- t.string "name"
- t.jsonb "private_metadata"
- t.jsonb "public_metadata"
- t.datetime "updated_at", null: false
- end
-
- create_table "spree_refresh_tokens", force: :cascade do |t|
- t.datetime "created_at", null: false
- t.datetime "expires_at", null: false
- t.string "ip_address"
- t.string "token", null: false
- t.datetime "updated_at", null: false
- t.string "user_agent"
- t.bigint "user_id", null: false
- t.string "user_type", null: false
- t.index ["expires_at"], name: "index_spree_refresh_tokens_on_expires_at"
- t.index ["token"], name: "index_spree_refresh_tokens_on_token", unique: true
- t.index ["user_type", "user_id"], name: "idx_refresh_tokens_user"
- t.index ["user_type", "user_id"], name: "index_spree_refresh_tokens_on_user"
- end
-
- create_table "spree_refund_reasons", force: :cascade do |t|
- t.boolean "active", default: true
- t.datetime "created_at", null: false
- t.boolean "mutable", default: true
- t.string "name"
- t.datetime "updated_at", null: false
- t.index ["name"], name: "index_spree_refund_reasons_on_name", unique: true
- end
-
- create_table "spree_refunds", force: :cascade do |t|
- t.decimal "amount", precision: 10, scale: 2, default: "0.0", null: false
- t.datetime "created_at", null: false
- t.bigint "payment_id"
- t.jsonb "private_metadata"
- t.jsonb "public_metadata"
- t.bigint "refund_reason_id"
- t.bigint "refunder_id"
- t.bigint "reimbursement_id"
- t.string "transaction_id"
- t.datetime "updated_at", null: false
- t.index ["payment_id"], name: "index_spree_refunds_on_payment_id"
- t.index ["refund_reason_id"], name: "index_refunds_on_refund_reason_id"
- t.index ["refunder_id"], name: "index_spree_refunds_on_refunder_id"
- t.index ["reimbursement_id"], name: "index_spree_refunds_on_reimbursement_id"
- end
-
- create_table "spree_reimbursement_credits", force: :cascade do |t|
- t.decimal "amount", precision: 10, scale: 2, default: "0.0", null: false
- t.datetime "created_at", precision: nil
- t.bigint "creditable_id"
- t.string "creditable_type"
- t.bigint "reimbursement_id"
- t.datetime "updated_at", precision: nil
- t.index ["creditable_id", "creditable_type"], name: "index_reimbursement_credits_on_creditable_id_and_type"
- t.index ["reimbursement_id"], name: "index_spree_reimbursement_credits_on_reimbursement_id"
- end
-
- create_table "spree_reimbursement_types", force: :cascade do |t|
- t.boolean "active", default: true
- t.datetime "created_at", null: false
- t.boolean "mutable", default: true
- t.string "name"
- t.string "type"
- t.datetime "updated_at", null: false
- t.index ["name"], name: "index_spree_reimbursement_types_on_name", unique: true
- t.index ["type"], name: "index_spree_reimbursement_types_on_type"
- end
-
- create_table "spree_reimbursements", force: :cascade do |t|
- t.datetime "created_at", null: false
- t.bigint "customer_return_id"
- t.string "number"
- t.bigint "order_id"
- t.bigint "performed_by_id"
- t.string "reimbursement_status"
- t.decimal "total", precision: 10, scale: 2
- t.datetime "updated_at", null: false
- t.index ["customer_return_id"], name: "index_spree_reimbursements_on_customer_return_id"
- t.index ["number"], name: "index_spree_reimbursements_on_number", unique: true
- t.index ["order_id"], name: "index_spree_reimbursements_on_order_id"
- t.index ["performed_by_id"], name: "index_spree_reimbursements_on_performed_by_id"
- end
-
- create_table "spree_reports", force: :cascade do |t|
- t.datetime "created_at", null: false
- t.string "currency"
- t.datetime "date_from", precision: nil
- t.datetime "date_to", precision: nil
- t.bigint "store_id", null: false
- t.string "type"
- t.datetime "updated_at", null: false
- t.bigint "user_id"
- t.index ["store_id"], name: "index_spree_reports_on_store_id"
- t.index ["user_id"], name: "index_spree_reports_on_user_id"
- end
-
- create_table "spree_return_authorization_reasons", force: :cascade do |t|
- t.boolean "active", default: true
- t.datetime "created_at", null: false
- t.boolean "mutable", default: true
- t.string "name"
- t.datetime "updated_at", null: false
- t.index ["name"], name: "index_spree_return_authorization_reasons_on_name", unique: true
- end
-
- create_table "spree_return_authorizations", force: :cascade do |t|
- t.datetime "created_at", precision: nil
- t.text "memo"
- t.string "number"
- t.bigint "order_id"
- t.bigint "return_authorization_reason_id"
- t.string "state"
- t.bigint "stock_location_id"
- t.datetime "updated_at", precision: nil
- t.index ["number"], name: "index_spree_return_authorizations_on_number", unique: true
- t.index ["order_id"], name: "index_spree_return_authorizations_on_order_id"
- t.index ["return_authorization_reason_id"], name: "index_return_authorizations_on_return_authorization_reason_id"
- t.index ["stock_location_id"], name: "index_spree_return_authorizations_on_stock_location_id"
- end
-
- create_table "spree_return_items", force: :cascade do |t|
- t.string "acceptance_status"
- t.text "acceptance_status_errors"
- t.decimal "additional_tax_total", precision: 12, scale: 4, default: "0.0", null: false
- t.datetime "created_at", null: false
- t.bigint "customer_return_id"
- t.bigint "exchange_variant_id"
- t.decimal "included_tax_total", precision: 12, scale: 4, default: "0.0", null: false
- t.bigint "inventory_unit_id"
- t.bigint "override_reimbursement_type_id"
- t.decimal "pre_tax_amount", precision: 12, scale: 4, default: "0.0", null: false
- t.bigint "preferred_reimbursement_type_id"
- t.string "reception_status"
- t.bigint "reimbursement_id"
- t.boolean "resellable", default: true, null: false
- t.bigint "return_authorization_id"
- t.datetime "updated_at", null: false
- t.index ["customer_return_id"], name: "index_return_items_on_customer_return_id"
- t.index ["exchange_variant_id"], name: "index_spree_return_items_on_exchange_variant_id"
- t.index ["inventory_unit_id"], name: "index_spree_return_items_on_inventory_unit_id"
- t.index ["override_reimbursement_type_id"], name: "index_spree_return_items_on_override_reimbursement_type_id"
- t.index ["preferred_reimbursement_type_id"], name: "index_spree_return_items_on_preferred_reimbursement_type_id"
- t.index ["reimbursement_id"], name: "index_spree_return_items_on_reimbursement_id"
- t.index ["return_authorization_id"], name: "index_spree_return_items_on_return_authorization_id"
- end
-
- create_table "spree_role_users", force: :cascade do |t|
- t.datetime "created_at", precision: nil
- t.bigint "invitation_id"
- t.bigint "resource_id"
- t.string "resource_type"
- t.bigint "role_id"
- t.datetime "updated_at", precision: nil
- t.bigint "user_id"
- t.string "user_type", null: false
- t.index ["invitation_id"], name: "index_spree_role_users_on_invitation_id"
- t.index ["resource_id", "resource_type", "user_id", "user_type", "role_id"], name: "idx_on_resource_id_resource_type_user_id_user_type__5600304ec6", unique: true
- t.index ["resource_type", "resource_id"], name: "index_spree_role_users_on_resource"
- t.index ["role_id"], name: "index_spree_role_users_on_role_id"
- t.index ["user_id"], name: "index_spree_role_users_on_user_id"
- t.index ["user_type"], name: "index_spree_role_users_on_user_type"
- end
-
- create_table "spree_roles", force: :cascade do |t|
- t.datetime "created_at", precision: nil
- t.string "name"
- t.datetime "updated_at", precision: nil
- t.index ["name"], name: "index_spree_roles_on_name", unique: true
- end
-
- create_table "spree_shipments", force: :cascade do |t|
- t.decimal "additional_tax_total", precision: 10, scale: 2, default: "0.0"
- t.bigint "address_id"
- t.decimal "adjustment_total", precision: 10, scale: 2, default: "0.0"
- t.decimal "cost", precision: 10, scale: 2, default: "0.0"
- t.datetime "created_at", null: false
- t.decimal "included_tax_total", precision: 10, scale: 2, default: "0.0", null: false
- t.decimal "non_taxable_adjustment_total", precision: 10, scale: 2, default: "0.0", null: false
- t.string "number"
- t.bigint "order_id"
- t.decimal "pre_tax_amount", precision: 12, scale: 4, default: "0.0", null: false
- t.jsonb "private_metadata"
- t.decimal "promo_total", precision: 10, scale: 2, default: "0.0"
- t.jsonb "public_metadata"
- t.datetime "shipped_at", precision: nil
- t.string "state"
- t.bigint "stock_location_id"
- t.decimal "taxable_adjustment_total", precision: 10, scale: 2, default: "0.0", null: false
- t.string "tracking"
- t.datetime "updated_at", null: false
- t.index ["address_id"], name: "index_spree_shipments_on_address_id"
- t.index ["number"], name: "index_spree_shipments_on_number", unique: true
- t.index ["order_id"], name: "index_spree_shipments_on_order_id"
- t.index ["stock_location_id"], name: "index_spree_shipments_on_stock_location_id"
- end
-
- create_table "spree_shipping_categories", force: :cascade do |t|
- t.datetime "created_at", null: false
- t.string "name"
- t.datetime "updated_at", null: false
- t.index ["name"], name: "index_spree_shipping_categories_on_name"
- end
-
- create_table "spree_shipping_method_categories", force: :cascade do |t|
- t.datetime "created_at", null: false
- t.bigint "shipping_category_id", null: false
- t.bigint "shipping_method_id", null: false
- t.datetime "updated_at", null: false
- t.index ["shipping_category_id", "shipping_method_id"], name: "unique_spree_shipping_method_categories", unique: true
- t.index ["shipping_category_id"], name: "index_spree_shipping_method_categories_on_shipping_category_id"
- t.index ["shipping_method_id"], name: "index_spree_shipping_method_categories_on_shipping_method_id"
- end
-
- create_table "spree_shipping_method_zones", force: :cascade do |t|
- t.datetime "created_at", precision: nil
- t.bigint "shipping_method_id"
- t.datetime "updated_at", precision: nil
- t.bigint "zone_id"
- t.index ["shipping_method_id"], name: "index_spree_shipping_method_zones_on_shipping_method_id"
- t.index ["zone_id"], name: "index_spree_shipping_method_zones_on_zone_id"
- end
-
- create_table "spree_shipping_methods", force: :cascade do |t|
- t.string "admin_name"
- t.string "code"
- t.datetime "created_at", null: false
- t.datetime "deleted_at", precision: nil
- t.string "display_on"
- t.integer "estimated_transit_business_days_max"
- t.integer "estimated_transit_business_days_min"
- t.string "name"
- t.jsonb "private_metadata"
- t.jsonb "public_metadata"
- t.bigint "tax_category_id"
- t.string "tracking_url"
- t.datetime "updated_at", null: false
- t.index ["deleted_at"], name: "index_spree_shipping_methods_on_deleted_at"
- t.index ["tax_category_id"], name: "index_spree_shipping_methods_on_tax_category_id"
- end
-
- create_table "spree_shipping_rates", force: :cascade do |t|
- t.decimal "cost", precision: 8, scale: 2, default: "0.0"
- t.datetime "created_at", null: false
- t.boolean "selected", default: false
- t.bigint "shipment_id"
- t.bigint "shipping_method_id"
- t.bigint "tax_rate_id"
- t.datetime "updated_at", null: false
- t.index ["selected"], name: "index_spree_shipping_rates_on_selected"
- t.index ["shipment_id", "shipping_method_id"], name: "spree_shipping_rates_join_index", unique: true
- t.index ["shipment_id"], name: "index_spree_shipping_rates_on_shipment_id"
- t.index ["shipping_method_id"], name: "index_spree_shipping_rates_on_shipping_method_id"
- t.index ["tax_rate_id"], name: "index_spree_shipping_rates_on_tax_rate_id"
- end
-
- create_table "spree_state_changes", force: :cascade do |t|
- t.datetime "created_at", null: false
- t.string "name"
- t.string "next_state"
- t.string "previous_state"
- t.bigint "stateful_id"
- t.string "stateful_type"
- t.datetime "updated_at", null: false
- t.bigint "user_id"
- t.index ["stateful_id", "stateful_type"], name: "index_spree_state_changes_on_stateful_id_and_stateful_type"
- end
-
- create_table "spree_states", force: :cascade do |t|
- t.string "abbr"
- t.bigint "country_id"
- t.datetime "created_at", precision: nil
- t.string "name"
- t.datetime "updated_at", precision: nil
- t.index ["country_id"], name: "index_spree_states_on_country_id"
- end
-
- create_table "spree_stock_items", force: :cascade do |t|
- t.boolean "backorderable", default: false
- t.integer "count_on_hand", default: 0, null: false
- t.datetime "created_at", null: false
- t.datetime "deleted_at", precision: nil
- t.jsonb "private_metadata"
- t.jsonb "public_metadata"
- t.bigint "stock_location_id"
- t.datetime "updated_at", null: false
- t.bigint "variant_id"
- t.index ["backorderable"], name: "index_spree_stock_items_on_backorderable"
- t.index ["deleted_at"], name: "index_spree_stock_items_on_deleted_at"
- t.index ["stock_location_id", "variant_id", "deleted_at"], name: "stock_item_by_loc_var_id_deleted_at", unique: true
- t.index ["stock_location_id", "variant_id"], name: "stock_item_by_loc_and_var_id"
- t.index ["stock_location_id"], name: "index_spree_stock_items_on_stock_location_id"
- t.index ["variant_id", "stock_location_id"], name: "index_spree_stock_items_unique_without_deleted_at", unique: true, where: "(deleted_at IS NULL)"
- t.index ["variant_id"], name: "index_spree_stock_items_on_variant_id"
- end
-
- create_table "spree_stock_locations", force: :cascade do |t|
- t.boolean "active", default: true
- t.string "address1"
- t.string "address2"
- t.string "admin_name"
- t.boolean "backorderable_default", default: false
- t.string "city"
- t.string "company"
- t.bigint "country_id"
- t.datetime "created_at", null: false
- t.boolean "default", default: false, null: false
- t.datetime "deleted_at", precision: nil
- t.string "name"
- t.string "phone"
- t.boolean "propagate_all_variants", default: false
- t.bigint "state_id"
- t.string "state_name"
- t.datetime "updated_at", null: false
- t.string "zipcode"
- t.index ["active"], name: "index_spree_stock_locations_on_active"
- t.index ["backorderable_default"], name: "index_spree_stock_locations_on_backorderable_default"
- t.index ["country_id"], name: "index_spree_stock_locations_on_country_id"
- t.index ["deleted_at"], name: "index_spree_stock_locations_on_deleted_at"
- t.index ["propagate_all_variants"], name: "index_spree_stock_locations_on_propagate_all_variants"
- t.index ["state_id"], name: "index_spree_stock_locations_on_state_id"
- end
-
- create_table "spree_stock_movements", force: :cascade do |t|
- t.string "action"
- t.datetime "created_at", null: false
- t.bigint "originator_id"
- t.string "originator_type"
- t.integer "quantity", default: 0
- t.bigint "stock_item_id"
- t.datetime "updated_at", null: false
- t.index ["originator_id", "originator_type"], name: "index_stock_movements_on_originator_id_and_originator_type"
- t.index ["stock_item_id"], name: "index_spree_stock_movements_on_stock_item_id"
- end
-
- create_table "spree_stock_transfers", force: :cascade do |t|
- t.datetime "created_at", null: false
- t.bigint "destination_location_id"
- t.string "number"
- t.jsonb "private_metadata"
- t.jsonb "public_metadata"
- t.string "reference"
- t.bigint "source_location_id"
- t.string "type"
- t.datetime "updated_at", null: false
- t.index ["destination_location_id"], name: "index_spree_stock_transfers_on_destination_location_id"
- t.index ["number"], name: "index_spree_stock_transfers_on_number", unique: true
- t.index ["source_location_id"], name: "index_spree_stock_transfers_on_source_location_id"
- end
-
- create_table "spree_store_credit_categories", force: :cascade do |t|
- t.datetime "created_at", null: false
- t.string "name"
- t.datetime "updated_at", null: false
- end
-
- create_table "spree_store_credit_events", force: :cascade do |t|
- t.string "action", null: false
- t.decimal "amount", precision: 8, scale: 2
- t.string "authorization_code", null: false
- t.datetime "created_at", null: false
- t.datetime "deleted_at", precision: nil
- t.bigint "originator_id"
- t.string "originator_type"
- t.bigint "store_credit_id", null: false
- t.datetime "updated_at", null: false
- t.decimal "user_total_amount", precision: 8, scale: 2, default: "0.0", null: false
- t.index ["originator_id", "originator_type"], name: "spree_store_credit_events_originator"
- t.index ["store_credit_id"], name: "index_spree_store_credit_events_on_store_credit_id"
- end
-
- create_table "spree_store_credit_types", force: :cascade do |t|
- t.datetime "created_at", null: false
- t.string "name"
- t.integer "priority"
- t.datetime "updated_at", null: false
- t.index ["priority"], name: "index_spree_store_credit_types_on_priority"
- end
-
- create_table "spree_store_credits", force: :cascade do |t|
- t.decimal "amount", precision: 8, scale: 2, default: "0.0", null: false
- t.decimal "amount_authorized", precision: 8, scale: 2, default: "0.0", null: false
- t.decimal "amount_used", precision: 8, scale: 2, default: "0.0", null: false
- t.bigint "category_id"
- t.datetime "created_at", null: false
- t.bigint "created_by_id"
- t.string "currency"
- t.datetime "deleted_at", precision: nil
- t.text "memo"
- t.bigint "originator_id"
- t.string "originator_type"
- t.jsonb "private_metadata"
- t.jsonb "public_metadata"
- t.bigint "store_id"
- t.bigint "type_id"
- t.datetime "updated_at", null: false
- t.bigint "user_id"
- t.index ["deleted_at"], name: "index_spree_store_credits_on_deleted_at"
- t.index ["originator_id", "originator_type"], name: "spree_store_credits_originator"
- t.index ["store_id"], name: "index_spree_store_credits_on_store_id"
- t.index ["type_id"], name: "index_spree_store_credits_on_type_id"
- t.index ["user_id"], name: "index_spree_store_credits_on_user_id"
- end
-
- create_table "spree_store_translations", force: :cascade do |t|
- t.text "address"
- t.string "contact_phone"
- t.datetime "created_at", null: false
- t.string "customer_support_email"
- t.datetime "deleted_at", precision: nil
- t.text "description"
- t.string "facebook"
- t.string "instagram"
- t.string "locale", null: false
- t.text "meta_description"
- t.text "meta_keywords"
- t.string "name"
- t.string "new_order_notifications_email"
- t.string "seo_title"
- t.bigint "spree_store_id", null: false
- t.string "twitter"
- t.datetime "updated_at", null: false
- t.index ["deleted_at"], name: "index_spree_store_translations_on_deleted_at"
- t.index ["locale"], name: "index_spree_store_translations_on_locale"
- t.index ["spree_store_id", "locale"], name: "index_spree_store_translations_on_spree_store_id_locale", unique: true
- end
-
- create_table "spree_stores", force: :cascade do |t|
- t.text "address"
- t.bigint "checkout_zone_id"
- t.string "code"
- t.string "contact_phone"
- t.datetime "created_at", null: false
- t.string "customer_support_email"
- t.boolean "default", default: false, null: false
- t.bigint "default_country_id"
- t.string "default_currency"
- t.string "default_locale"
- t.datetime "deleted_at", precision: nil
- t.text "description"
- t.string "facebook"
- t.string "instagram"
- t.string "mail_from_address"
- t.text "meta_description"
- t.text "meta_keywords"
- t.string "name"
- t.string "new_order_notifications_email"
- t.text "preferences"
- t.jsonb "private_metadata"
- t.jsonb "public_metadata"
- t.string "seo_robots"
- t.string "seo_title"
- t.jsonb "settings"
- t.text "storefront_custom_code_body_end"
- t.text "storefront_custom_code_body_start"
- t.text "storefront_custom_code_head"
- t.string "supported_currencies"
- t.string "supported_locales"
- t.string "twitter"
- t.datetime "updated_at", null: false
- t.string "url"
- t.index ["code"], name: "index_spree_stores_on_code", unique: true
- t.index ["default"], name: "index_spree_stores_on_default"
- t.index ["deleted_at"], name: "index_spree_stores_on_deleted_at"
- t.index ["url"], name: "index_spree_stores_on_url"
- end
-
- create_table "spree_stripe_payment_intents", force: :cascade do |t|
- t.decimal "amount", precision: 10, scale: 2, default: "0.0", null: false
- t.string "client_secret", null: false
- t.datetime "created_at", null: false
- t.string "customer_id"
- t.string "ephemeral_key_secret"
- t.bigint "order_id", null: false
- t.bigint "payment_method_id", null: false
- t.string "stripe_id", null: false
- t.string "stripe_payment_method_id"
- t.datetime "updated_at", null: false
- t.index ["order_id", "stripe_id"], name: "index_spree_stripe_payment_intents_on_order_id_and_stripe_id", unique: true
- t.index ["order_id"], name: "index_spree_stripe_payment_intents_on_order_id"
- t.index ["payment_method_id"], name: "index_spree_stripe_payment_intents_on_payment_method_id"
- end
-
- create_table "spree_stripe_payment_methods_webhook_keys", force: :cascade do |t|
- t.datetime "created_at", null: false
- t.bigint "payment_method_id", null: false
- t.datetime "updated_at", null: false
- t.bigint "webhook_key_id", null: false
- t.index ["payment_method_id", "webhook_key_id"], name: "index_payment_method_id_webhook_key_id_uniqueness", unique: true
- t.index ["payment_method_id"], name: "index_payment_methods_webhook_keys_on_payment_method_id"
- t.index ["webhook_key_id"], name: "index_payment_methods_webhook_keys_on_webhook_key_id"
- end
-
- create_table "spree_stripe_webhook_keys", force: :cascade do |t|
- t.datetime "created_at", null: false
- t.string "signing_secret", null: false
- t.string "stripe_id", null: false
- t.datetime "updated_at", null: false
- t.index ["signing_secret"], name: "index_spree_stripe_webhook_keys_on_signing_secret", unique: true
- t.index ["stripe_id"], name: "index_spree_stripe_webhook_keys_on_stripe_id", unique: true
- end
-
- create_table "spree_taggings", force: :cascade do |t|
- t.string "context", limit: 128
- t.datetime "created_at", precision: nil
- t.bigint "tag_id"
- t.bigint "taggable_id"
- t.string "taggable_type"
- t.bigint "tagger_id"
- t.string "tagger_type"
- t.string "tenant", limit: 128
- t.index ["context"], name: "index_spree_taggings_on_context"
- t.index ["tag_id", "taggable_id", "taggable_type", "context", "tagger_id", "tagger_type"], name: "spree_taggings_idx", unique: true
- t.index ["tag_id"], name: "index_spree_taggings_on_tag_id"
- t.index ["taggable_id", "taggable_type", "context"], name: "spree_taggings_taggable_context_idx"
- t.index ["taggable_id", "taggable_type", "tagger_id", "context"], name: "spree_taggings_idy"
- t.index ["taggable_id"], name: "index_spree_taggings_on_taggable_id"
- t.index ["taggable_type", "taggable_id"], name: "index_spree_taggings_on_taggable_type_and_taggable_id"
- t.index ["taggable_type"], name: "index_spree_taggings_on_taggable_type"
- t.index ["tagger_id", "tagger_type"], name: "index_spree_taggings_on_tagger_id_and_tagger_type"
- t.index ["tagger_id"], name: "index_spree_taggings_on_tagger_id"
- t.index ["tagger_type", "tagger_id"], name: "index_spree_taggings_on_tagger_type_and_tagger_id"
- t.index ["tenant"], name: "index_spree_taggings_on_tenant"
- end
-
- create_table "spree_tags", force: :cascade do |t|
- t.datetime "created_at", null: false
- t.string "name"
- t.integer "taggings_count", default: 0
- t.datetime "updated_at", null: false
- t.index "lower((name)::text) varchar_pattern_ops", name: "index_spree_tags_on_lower_name"
- t.index ["name"], name: "index_spree_tags_on_name", unique: true
- end
-
- create_table "spree_tax_categories", force: :cascade do |t|
- t.datetime "created_at", null: false
- t.datetime "deleted_at", precision: nil
- t.string "description"
- t.boolean "is_default", default: false
- t.string "name"
- t.string "tax_code"
- t.datetime "updated_at", null: false
- t.index ["deleted_at"], name: "index_spree_tax_categories_on_deleted_at"
- t.index ["is_default"], name: "index_spree_tax_categories_on_is_default"
- end
-
- create_table "spree_tax_rates", force: :cascade do |t|
- t.decimal "amount", precision: 8, scale: 5
- t.datetime "created_at", null: false
- t.datetime "deleted_at", precision: nil
- t.boolean "included_in_price", default: false
- t.string "name"
- t.jsonb "private_metadata"
- t.jsonb "public_metadata"
- t.boolean "show_rate_in_label", default: true
- t.bigint "tax_category_id"
- t.datetime "updated_at", null: false
- t.bigint "zone_id"
- t.index ["deleted_at"], name: "index_spree_tax_rates_on_deleted_at"
- t.index ["included_in_price"], name: "index_spree_tax_rates_on_included_in_price"
- t.index ["show_rate_in_label"], name: "index_spree_tax_rates_on_show_rate_in_label"
- t.index ["tax_category_id"], name: "index_spree_tax_rates_on_tax_category_id"
- t.index ["zone_id"], name: "index_spree_tax_rates_on_zone_id"
- end
-
- create_table "spree_taxon_rules", force: :cascade do |t|
- t.datetime "created_at", null: false
- t.string "match_policy", default: "is_equal_to", null: false
- t.bigint "taxon_id", null: false
- t.string "type", null: false
- t.datetime "updated_at", null: false
- t.string "value", null: false
- t.index ["taxon_id"], name: "index_spree_taxon_rules_on_taxon_id"
- end
-
- create_table "spree_taxon_translations", force: :cascade do |t|
- t.datetime "created_at", null: false
- t.text "description"
- t.string "locale", null: false
- t.string "meta_description"
- t.string "meta_keywords"
- t.string "meta_title"
- t.string "name"
- t.string "permalink"
- t.string "pretty_name"
- t.bigint "spree_taxon_id", null: false
- t.datetime "updated_at", null: false
- t.index ["locale"], name: "index_spree_taxon_translations_on_locale"
- t.index ["pretty_name"], name: "index_spree_taxon_translations_on_pretty_name"
- t.index ["spree_taxon_id", "locale"], name: "index_spree_taxon_translations_on_spree_taxon_id_and_locale", unique: true
- end
-
- create_table "spree_taxonomies", force: :cascade do |t|
- t.datetime "created_at", null: false
- t.string "name", null: false
- t.integer "position", default: 0
- t.jsonb "private_metadata"
- t.jsonb "public_metadata"
- t.bigint "store_id"
- t.datetime "updated_at", null: false
- t.index ["name", "store_id"], name: "index_spree_taxonomies_on_name_and_store_id", unique: true
- t.index ["position"], name: "index_spree_taxonomies_on_position"
- t.index ["store_id"], name: "index_spree_taxonomies_on_store_id"
- end
-
- create_table "spree_taxonomy_translations", force: :cascade do |t|
- t.datetime "created_at", null: false
- t.string "locale", null: false
- t.string "name"
- t.bigint "spree_taxonomy_id", null: false
- t.datetime "updated_at", null: false
- t.index ["locale"], name: "index_spree_taxonomy_translations_on_locale"
- t.index ["spree_taxonomy_id", "locale"], name: "index_spree_taxonomy_translations_on_spree_taxonomy_id_locale", unique: true
- end
-
- create_table "spree_taxons", force: :cascade do |t|
- t.boolean "automatic", default: false, null: false
- t.integer "children_count", default: 0, null: false
- t.integer "classification_count", default: 0, null: false
- t.datetime "created_at", null: false
- t.integer "depth"
- t.text "description"
- t.boolean "hide_from_nav", default: false
- t.bigint "lft"
- t.string "meta_description"
- t.string "meta_keywords"
- t.string "meta_title"
- t.string "name", null: false
- t.bigint "parent_id"
- t.string "permalink"
- t.integer "position", default: 0
- t.string "pretty_name"
- t.jsonb "private_metadata"
- t.jsonb "public_metadata"
- t.bigint "rgt"
- t.string "rules_match_policy", default: "all", null: false
- t.string "sort_order", default: "manual", null: false
- t.bigint "taxonomy_id"
- t.datetime "updated_at", null: false
- t.index ["children_count"], name: "index_spree_taxons_on_children_count"
- t.index ["classification_count"], name: "index_spree_taxons_on_classification_count"
- t.index ["lft"], name: "index_spree_taxons_on_lft"
- t.index ["name", "parent_id", "taxonomy_id"], name: "index_spree_taxons_on_name_and_parent_id_and_taxonomy_id", unique: true
- t.index ["name"], name: "index_spree_taxons_on_name"
- t.index ["parent_id"], name: "index_taxons_on_parent_id"
- t.index ["permalink", "parent_id", "taxonomy_id"], name: "index_spree_taxons_on_permalink_and_parent_id_and_taxonomy_id", unique: true
- t.index ["permalink"], name: "index_taxons_on_permalink"
- t.index ["position"], name: "index_spree_taxons_on_position"
- t.index ["pretty_name"], name: "index_spree_taxons_on_pretty_name"
- t.index ["rgt"], name: "index_spree_taxons_on_rgt"
- t.index ["taxonomy_id"], name: "index_taxons_on_taxonomy_id"
- end
-
- create_table "spree_trackers", force: :cascade do |t|
- t.boolean "active", default: true
- t.string "analytics_id"
- t.datetime "created_at", null: false
- t.integer "engine", default: 0, null: false
- t.datetime "updated_at", null: false
- t.index ["active"], name: "index_spree_trackers_on_active"
- end
-
- create_table "spree_user_identities", force: :cascade do |t|
- t.string "access_token"
- t.datetime "created_at", null: false
- t.datetime "expires_at"
- t.json "info"
- t.string "provider", null: false
- t.string "refresh_token"
- t.string "uid", null: false
- t.datetime "updated_at", null: false
- t.bigint "user_id", null: false
- t.string "user_type", null: false
- t.index ["provider", "uid", "user_type"], name: "index_spree_user_identities_on_provider_uid_user_type", unique: true
- t.index ["user_type", "user_id"], name: "index_spree_user_identities_on_user"
- end
-
- create_table "spree_users", force: :cascade do |t|
- t.boolean "accepts_email_marketing", default: false, null: false
- t.string "authentication_token"
- t.bigint "bill_address_id"
- t.datetime "created_at", null: false
- t.datetime "current_sign_in_at", precision: nil
- t.string "current_sign_in_ip"
- t.string "email"
- t.string "encrypted_password", limit: 128
- t.integer "failed_attempts", default: 0, null: false
- t.string "first_name"
- t.string "last_name"
- t.datetime "last_request_at", precision: nil
- t.datetime "last_sign_in_at", precision: nil
- t.string "last_sign_in_ip"
- t.datetime "locked_at", precision: nil
- t.string "login"
- t.string "password_salt", limit: 128
- t.string "perishable_token"
- t.string "persistence_token"
- t.string "phone"
- t.jsonb "private_metadata"
- t.jsonb "public_metadata"
- t.datetime "remember_created_at", precision: nil
- t.string "remember_token"
- t.datetime "reset_password_sent_at", precision: nil
- t.string "reset_password_token"
- t.string "selected_locale"
- t.bigint "ship_address_id"
- t.integer "sign_in_count", default: 0, null: false
- t.string "unlock_token"
- t.datetime "updated_at", null: false
- t.index ["accepts_email_marketing"], name: "index_spree_users_on_accepts_email_marketing"
- t.index ["bill_address_id"], name: "index_spree_users_on_bill_address_id"
- t.index ["ship_address_id"], name: "index_spree_users_on_ship_address_id"
- end
-
- create_table "spree_variants", force: :cascade do |t|
- t.string "barcode"
- t.string "cost_currency"
- t.decimal "cost_price", precision: 10, scale: 2
- t.datetime "created_at", precision: nil, null: false
- t.datetime "deleted_at", precision: nil
- t.decimal "depth", precision: 8, scale: 2
- t.string "dimensions_unit"
- t.datetime "discontinue_on", precision: nil
- t.decimal "height", precision: 8, scale: 2
- t.boolean "is_master", default: false
- t.integer "media_count", default: 0, null: false
- t.integer "position"
- t.bigint "primary_media_id"
- t.jsonb "private_metadata"
- t.bigint "product_id"
- t.jsonb "public_metadata"
- t.string "sku", default: "", null: false
- t.bigint "tax_category_id"
- t.boolean "track_inventory", default: true
- t.datetime "updated_at", precision: nil, null: false
- t.decimal "weight", precision: 8, scale: 2, default: "0.0"
- t.string "weight_unit"
- t.decimal "width", precision: 8, scale: 2
- t.index ["barcode"], name: "index_spree_variants_on_barcode"
- t.index ["deleted_at"], name: "index_spree_variants_on_deleted_at"
- t.index ["discontinue_on"], name: "index_spree_variants_on_discontinue_on"
- t.index ["is_master"], name: "index_spree_variants_on_is_master"
- t.index ["media_count"], name: "index_spree_variants_on_media_count"
- t.index ["position"], name: "index_spree_variants_on_position"
- t.index ["primary_media_id"], name: "index_spree_variants_on_primary_media_id"
- t.index ["product_id"], name: "index_spree_variants_on_product_id"
- t.index ["sku"], name: "index_spree_variants_on_sku"
- t.index ["tax_category_id"], name: "index_spree_variants_on_tax_category_id"
- t.index ["track_inventory"], name: "index_spree_variants_on_track_inventory"
- end
-
- create_table "spree_webhook_deliveries", force: :cascade do |t|
- t.datetime "created_at", null: false
- t.datetime "delivered_at"
- t.string "error_type"
- t.string "event_name", null: false
- t.integer "execution_time"
- t.jsonb "payload", null: false
- t.text "request_errors"
- t.text "response_body"
- t.integer "response_code"
- t.boolean "success"
- t.datetime "updated_at", null: false
- t.bigint "webhook_endpoint_id", null: false
- t.index ["delivered_at"], name: "index_spree_webhook_deliveries_on_delivered_at"
- t.index ["event_name"], name: "index_spree_webhook_deliveries_on_event_name"
- t.index ["response_code"], name: "index_spree_webhook_deliveries_on_response_code"
- t.index ["success"], name: "index_spree_webhook_deliveries_on_success"
- t.index ["webhook_endpoint_id"], name: "index_spree_webhook_deliveries_on_webhook_endpoint_id"
- end
-
- create_table "spree_webhook_endpoints", force: :cascade do |t|
- t.boolean "active", default: true, null: false
- t.datetime "created_at", null: false
- t.datetime "deleted_at"
- t.string "secret_key", null: false
- t.bigint "store_id", null: false
- t.jsonb "subscriptions", null: false
- t.datetime "updated_at", null: false
- t.string "url", null: false
- t.index ["active"], name: "index_spree_webhook_endpoints_on_active"
- t.index ["deleted_at"], name: "index_spree_webhook_endpoints_on_deleted_at"
- t.index ["store_id"], name: "index_spree_webhook_endpoints_on_store_id"
- end
-
- create_table "spree_wished_items", force: :cascade do |t|
- t.datetime "created_at", precision: nil, null: false
- t.integer "quantity", default: 1, null: false
- t.datetime "updated_at", precision: nil, null: false
- t.bigint "variant_id"
- t.bigint "wishlist_id"
- t.index ["variant_id", "wishlist_id"], name: "index_spree_wished_items_on_variant_id_and_wishlist_id", unique: true
- t.index ["variant_id"], name: "index_spree_wished_items_on_variant_id"
- t.index ["wishlist_id"], name: "index_spree_wished_items_on_wishlist_id"
- end
-
- create_table "spree_wishlists", force: :cascade do |t|
- t.datetime "created_at", precision: nil, null: false
- t.boolean "is_default", default: false, null: false
- t.boolean "is_private", default: true, null: false
- t.string "name"
- t.bigint "store_id"
- t.string "token", null: false
- t.datetime "updated_at", precision: nil, null: false
- t.bigint "user_id"
- t.index ["store_id"], name: "index_spree_wishlists_on_store_id"
- t.index ["token"], name: "index_spree_wishlists_on_token", unique: true
- t.index ["user_id", "is_default"], name: "index_spree_wishlists_on_user_id_and_is_default"
- t.index ["user_id"], name: "index_spree_wishlists_on_user_id"
- end
-
- create_table "spree_zone_members", force: :cascade do |t|
- t.datetime "created_at", null: false
- t.datetime "updated_at", null: false
- t.bigint "zone_id"
- t.bigint "zoneable_id"
- t.string "zoneable_type"
- t.index ["zone_id"], name: "index_spree_zone_members_on_zone_id"
- t.index ["zoneable_id", "zoneable_type"], name: "index_spree_zone_members_on_zoneable_id_and_zoneable_type"
- end
-
- create_table "spree_zones", force: :cascade do |t|
- t.datetime "created_at", null: false
- t.boolean "default_tax", default: false
- t.string "description"
- t.string "kind", default: "state"
- t.string "name"
- t.datetime "updated_at", null: false
- t.integer "zone_members_count", default: 0
- t.index ["default_tax"], name: "index_spree_zones_on_default_tax"
- t.index ["kind"], name: "index_spree_zones_on_kind"
- end
-
- add_foreign_key "active_storage_attachments", "active_storage_blobs", column: "blob_id"
- add_foreign_key "active_storage_variant_records", "active_storage_blobs", column: "blob_id"
- add_foreign_key "spree_option_type_translations", "spree_option_types"
- add_foreign_key "spree_option_value_translations", "spree_option_values"
- add_foreign_key "spree_payment_sources", "spree_payment_methods", column: "payment_method_id"
- add_foreign_key "spree_payment_sources", "spree_users", column: "user_id"
- add_foreign_key "spree_product_translations", "spree_products"
- add_foreign_key "spree_store_translations", "spree_stores"
- add_foreign_key "spree_taxon_translations", "spree_taxons"
- add_foreign_key "spree_taxonomy_translations", "spree_taxonomies"
-end
diff --git a/server/db/seeds.rb b/server/db/seeds.rb
deleted file mode 100644
index a7416153d3..0000000000
--- a/server/db/seeds.rb
+++ /dev/null
@@ -1,11 +0,0 @@
-# This file should ensure the existence of records required to run the application in every environment (production,
-# development, test). The code here should be idempotent so that it can be executed at any point in every environment.
-# The data can then be loaded with the bin/rails db:seed command (or created alongside the database with db:setup).
-#
-# Example:
-#
-# ["Action", "Comedy", "Drama", "Horror"].each do |genre_name|
-# MovieGenre.find_or_create_by!(name: genre_name)
-# end
-
-Spree::Core::Engine.load_seed if defined?(Spree::Core)
diff --git a/server/lib/spree/authentication_helpers.rb b/server/lib/spree/authentication_helpers.rb
deleted file mode 100644
index 331cb30d22..0000000000
--- a/server/lib/spree/authentication_helpers.rb
+++ /dev/null
@@ -1,50 +0,0 @@
-module Spree
- module AuthenticationHelpers
- def self.included(receiver)
- receiver.helper_method(
- :spree_current_user,
- :spree_login_path,
- :spree_signup_path,
- :spree_logout_path,
- :spree_forgot_password_path,
- :spree_edit_password_path,
- :spree_admin_login_path,
- :spree_admin_logout_path
- )
- end
-
- def spree_current_user
- send("current_#{Spree.user_class.model_name.singular_route_key}")
- end
-
- def spree_login_path(opts = {})
- new_session_path(Spree.user_class.model_name.singular_route_key, opts)
- end
-
- def spree_signup_path(opts = {})
- new_registration_path(Spree.user_class.model_name.singular_route_key, opts)
- end
-
- def spree_logout_path(opts = {})
- destroy_session_path(Spree.user_class.model_name.singular_route_key, opts)
- end
-
- def spree_forgot_password_path(opts = {})
- new_password_path(Spree.user_class.model_name.singular_route_key, opts)
- end
-
- def spree_edit_password_path(opts = {})
- edit_registration_path(Spree.user_class.model_name.singular_route_key, opts)
- end
-
- def spree_admin_login_path(opts = {})
- new_session_path(Spree.admin_user_class.model_name.singular_route_key, opts)
- end
-
- def spree_admin_logout_path(opts = {})
- destroy_session_path(Spree.admin_user_class.model_name.singular_route_key, opts)
- end
- end
-end
-
-ApplicationController.include Spree::AuthenticationHelpers if defined?(ApplicationController)
diff --git a/server/lib/tasks/.keep b/server/lib/tasks/.keep
deleted file mode 100644
index e69de29bb2..0000000000
diff --git a/server/log/.keep b/server/log/.keep
deleted file mode 100644
index e69de29bb2..0000000000
diff --git a/server/public/400.html b/server/public/400.html
deleted file mode 100644
index 640de03397..0000000000
--- a/server/public/400.html
+++ /dev/null
@@ -1,135 +0,0 @@
-<!doctype html>
-
-<html lang="en">
-
- <head>
-
- <title>The server cannot process the request due to a client error (400 Bad Request)</title>
-
- <meta charset="utf-8">
- <meta name="viewport" content="initial-scale=1, width=device-width">
- <meta name="robots" content="noindex, nofollow">
-
- <style>
-
- *, *::before, *::after {
- box-sizing: border-box;
- }
-
- * {
- margin: 0;
- }
-
- html {
- font-size: 16px;
- }
-
- body {
- background: #FFF;
- color: #261B23;
- display: grid;
- font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, Aptos, Roboto, "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
- font-size: clamp(1rem, 2.5vw, 2rem);
- -webkit-font-smoothing: antialiased;
- font-style: normal;
- font-weight: 400;
- letter-spacing: -0.0025em;
- line-height: 1.4;
- min-height: 100dvh;
- place-items: center;
- text-rendering: optimizeLegibility;
- -webkit-text-size-adjust: 100%;
- }
-
- #error-description {
- fill: #d30001;
- }
-
- #error-id {
- fill: #f0eff0;
- }
-
- @media (prefers-color-scheme: dark) {
- body {
- background: #101010;
- color: #e0e0e0;
- }
-
- #error-description {
- fill: #FF6161;
- }
-
- #error-id {
- fill: #2c2c2c;
- }
- }
-
- a {
- color: inherit;
- font-weight: 700;
- text-decoration: underline;
- text-underline-offset: 0.0925em;
- }
-
- b, strong {
- font-weight: 700;
- }
-
- i, em {
- font-style: italic;
- }
-
- main {
- display: grid;
- gap: 1em;
- padding: 2em;
- place-items: center;
- text-align: center;
- }
-
- main header {
- width: min(100%, 12em);
- }
-
- main header svg {
- height: auto;
- max-width: 100%;
- width: 100%;
- }
-
- main article {
- width: min(100%, 30em);
- }
-
- main article p {
- font-size: 75%;
- }
-
- main article br {
- display: none;
-
- @media(min-width: 48em) {
- display: inline;
- }
- }
-
- </style>
-
- </head>
-
- <body>
-
- <!-- This file lives in public/400.html -->
-
- <main>
- <header>
- <svg height="172" viewBox="0 0 480 172" width="480" xmlns="http://www.w3.org/2000/svg"><path d="m124.48 3.00509-45.6889 100.02991h26.2239v-28.1168h38.119v28.1168h21.628v35.145h-21.628v30.82h-37.308v-30.82h-72.1833v-31.901l50.2851-103.27391zm115.583 168.69891c-40.822 0-64.884-35.146-64.884-85.7015 0-50.5554 24.062-85.700907 64.884-85.700907 40.823 0 64.884 35.145507 64.884 85.700907 0 50.5555-24.061 85.7015-64.884 85.7015zm0-133.2831c-17.572 0-22.709 21.8984-22.709 47.5816 0 25.6835 5.137 47.5815 22.709 47.5815 17.303 0 22.71-21.898 22.71-47.5815 0-25.6832-5.407-47.5816-22.71-47.5816zm140.456 133.2831c-40.823 0-64.884-35.146-64.884-85.7015 0-50.5554 24.061-85.700907 64.884-85.700907 40.822 0 64.884 35.145507 64.884 85.700907 0 50.5555-24.062 85.7015-64.884 85.7015zm0-133.2831c-17.573 0-22.71 21.8984-22.71 47.5816 0 25.6835 5.137 47.5815 22.71 47.5815 17.302 0 22.709-21.898 22.709-47.5815 0-25.6832-5.407-47.5816-22.709-47.5816z" id="error-id"/><path d="m123.606 85.4445c3.212 1.0523 5.538 4.2089 5.538 8.0301 0 6.1472-4.209 9.5254-11.298 9.5254h-15.617v-34.0033h14.565c7.089 0 11.353 3.1566 11.353 9.2484 0 3.6551-2.049 6.3134-4.541 7.1994zm-12.904-2.9905h5.095c2.603 0 3.988-.9968 3.988-3.1013 0-2.1044-1.385-3.0459-3.988-3.0459h-5.095zm0 6.6456v6.5902h5.981c2.492 0 3.877-1.3291 3.877-3.2674 0-2.049-1.385-3.3228-3.877-3.3228zm43.786 13.9004h-8.362v-1.274c-.831.831-3.323 1.717-5.981 1.717-4.929 0-9.083-2.769-9.083-8.0301 0-4.818 4.154-7.9193 9.581-7.9193 2.049 0 4.486.6646 5.483 1.3845v-1.606c0-1.606-.942-2.9905-3.046-2.9905-1.606 0-2.548.7199-2.935 1.8275h-8.197c.72-4.8181 4.985-8.6393 11.409-8.6393 7.088 0 11.131 3.7659 11.131 10.2453zm-8.362-6.9779v-1.4399c-.554-1.0522-2.049-1.7167-3.655-1.7167-1.717 0-3.434.7199-3.434 2.3813 0 1.7168 1.717 2.4367 3.434 2.4367 1.606 0 3.101-.6645 3.655-1.6614zm27.996 6.9779v-1.994c-1.163 1.329-3.599 2.548-6.147 2.548-7.199 0-11.131-5.8151-11.131-13.0145s3.932-13.0143 11.131-13.0143c2.548 0 4.984 1.2184 6.147 2.5475v-13.0697h8.695v35.997zm0-9.1931v-6.5902c-.664-1.3291-2.159-2.326-3.821-2.326-2.99 0-4.763 2.4368-4.763 5.6488s1.773 5.5934 4.763 5.5934c1.717 0 3.157-.9415 3.821-2.326zm35.471-2.049h-3.101v11.2421h-8.806v-34.0033h15.285c7.31 0 12.35 4.1535 12.35 11.5744 0 5.1503-2.603 8.6947-6.757 10.2453l7.975 12.1836h-9.858zm-3.101-15.2849v8.1962h5.538c3.156 0 4.596-1.606 4.596-4.0981s-1.44-4.0981-4.596-4.0981zm36.957 17.8323h8.03c-.886 5.7597-5.206 9.2487-11.685 9.2487-7.643 0-12.682-5.2613-12.682-13.0145 0-7.6978 5.316-13.0143 12.515-13.0143 7.643 0 11.962 5.095 11.962 12.5159v2.1598h-16.115c.277 2.9905 1.827 4.5965 4.32 4.5965 1.772 0 3.156-.7753 3.655-2.4921zm-3.822-10.0237c-2.049 0-3.433 1.2737-3.987 3.5997h7.532c-.111-2.0491-1.385-3.5997-3.545-3.5997zm30.98 27.5234v-10.799c-1.163 1.329-3.6 2.548-6.147 2.548-7.2 0-11.132-5.9259-11.132-13.0145 0-7.144 3.932-13.0143 11.132-13.0143 2.547 0 4.984 1.2184 6.147 2.5475v-1.9937h8.695v33.726zm0-17.9981v-6.5902c-.665-1.3291-2.105-2.326-3.821-2.326-2.991 0-4.763 2.4368-4.763 5.6488s1.772 5.5934 4.763 5.5934c1.661 0 3.156-.9415 3.821-2.326zm36.789-15.7279v24.921h-8.695v-2.16c-1.329 1.551-3.821 2.714-6.646 2.714-5.482 0-8.75-3.5999-8.75-9.1379v-16.3371h8.64v14.288c0 2.1045.996 3.5997 3.212 3.5997 1.606 0 3.101-1.0522 3.544-2.769v-15.1187zm19.084 16.2263h8.03c-.886 5.7597-5.206 9.2487-11.685 9.2487-7.643 0-12.682-5.2613-12.682-13.0145 0-7.6978 5.316-13.0143 12.515-13.0143 7.643 0 11.963 5.095 11.963 12.5159v2.1598h-16.116c.277 2.9905 1.828 4.5965 4.32 4.5965 1.772 0 3.156-.7753 3.655-2.4921zm-3.822-10.0237c-2.049 0-3.433 1.2737-3.987 3.5997h7.532c-.111-2.0491-1.385-3.5997-3.545-3.5997zm13.428 11.0206h8.474c.387 1.3845 1.606 2.1598 3.156 2.1598 1.44 0 2.548-.5538 2.548-1.7168 0-.9414-.72-1.2737-1.939-1.5506l-4.873-.9969c-4.154-.886-6.867-2.8797-6.867-7.2547 0-5.3165 4.762-8.4178 10.633-8.4178 6.812 0 10.522 3.1567 11.297 8.0855h-8.03c-.277-1.0522-1.052-1.9937-3.046-1.9937-1.273 0-2.326.5538-2.326 1.6614 0 .7753.554 1.163 1.717 1.3845l4.929 1.163c4.541 1.0522 6.978 3.4335 6.978 7.4763 0 5.3168-4.818 8.2518-10.91 8.2518-6.369 0-10.965-2.88-11.741-8.2518zm27.538-.8861v-9.5807h-3.655v-6.7564h3.655v-6.8671h8.584v6.8671h5.205v6.7564h-5.205v8.307c0 1.9383.941 2.769 2.658 2.769.941 0 1.993-.2216 2.769-.5538v7.3654c-.997.443-2.88.775-4.818.775-5.871 0-9.193-2.769-9.193-9.0819z" id="error-description"/></svg>
- </header>
- <article>
- <p><strong>The server cannot process the request due to a client error.</strong> Please check the request and try again. If you're the application owner check the logs for more information.</p>
- </article>
- </main>
-
- </body>
-
-</html>
diff --git a/server/public/404.html b/server/public/404.html
deleted file mode 100644
index d7f0f14222..0000000000
--- a/server/public/404.html
+++ /dev/null
@@ -1,135 +0,0 @@
-<!doctype html>
-
-<html lang="en">
-
- <head>
-
- <title>The page you were looking for doesn't exist (404 Not found)</title>
-
- <meta charset="utf-8">
- <meta name="viewport" content="initial-scale=1, width=device-width">
- <meta name="robots" content="noindex, nofollow">
-
- <style>
-
- *, *::before, *::after {
- box-sizing: border-box;
- }
-
- * {
- margin: 0;
- }
-
- html {
- font-size: 16px;
- }
-
- body {
- background: #FFF;
- color: #261B23;
- display: grid;
- font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, Aptos, Roboto, "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
- font-size: clamp(1rem, 2.5vw, 2rem);
- -webkit-font-smoothing: antialiased;
- font-style: normal;
- font-weight: 400;
- letter-spacing: -0.0025em;
- line-height: 1.4;
- min-height: 100dvh;
- place-items: center;
- text-rendering: optimizeLegibility;
- -webkit-text-size-adjust: 100%;
- }
-
- #error-description {
- fill: #d30001;
- }
-
- #error-id {
- fill: #f0eff0;
- }
-
- @media (prefers-color-scheme: dark) {
- body {
- background: #101010;
- color: #e0e0e0;
- }
-
- #error-description {
- fill: #FF6161;
- }
-
- #error-id {
- fill: #2c2c2c;
- }
- }
-
- a {
- color: inherit;
- font-weight: 700;
- text-decoration: underline;
- text-underline-offset: 0.0925em;
- }
-
- b, strong {
- font-weight: 700;
- }
-
- i, em {
- font-style: italic;
- }
-
- main {
- display: grid;
- gap: 1em;
- padding: 2em;
- place-items: center;
- text-align: center;
- }
-
- main header {
- width: min(100%, 12em);
- }
-
- main header svg {
- height: auto;
- max-width: 100%;
- width: 100%;
- }
-
- main article {
- width: min(100%, 30em);
- }
-
- main article p {
- font-size: 75%;
- }
-
- main article br {
- display: none;
-
- @media(min-width: 48em) {
- display: inline;
- }
- }
-
- </style>
-
- </head>
-
- <body>
-
- <!-- This file lives in public/404.html -->
-
- <main>
- <header>
- <svg height="172" viewBox="0 0 480 172" width="480" xmlns="http://www.w3.org/2000/svg"><path d="m124.48 3.00509-45.6889 100.02991h26.2239v-28.1168h38.119v28.1168h21.628v35.145h-21.628v30.82h-37.308v-30.82h-72.1833v-31.901l50.2851-103.27391zm115.583 168.69891c-40.822 0-64.884-35.146-64.884-85.7015 0-50.5554 24.062-85.700907 64.884-85.700907 40.823 0 64.884 35.145507 64.884 85.700907 0 50.5555-24.061 85.7015-64.884 85.7015zm0-133.2831c-17.572 0-22.709 21.8984-22.709 47.5816 0 25.6835 5.137 47.5815 22.709 47.5815 17.303 0 22.71-21.898 22.71-47.5815 0-25.6832-5.407-47.5816-22.71-47.5816zm165.328-35.41581-45.689 100.02991h26.224v-28.1168h38.119v28.1168h21.628v35.145h-21.628v30.82h-37.308v-30.82h-72.184v-31.901l50.285-103.27391z" id="error-id"/><path d="m157.758 68.9967v34.0033h-7.199l-14.233-19.8814v19.8814h-8.584v-34.0033h8.307l13.125 18.7184v-18.7184zm28.454 21.5428c0 7.6978-5.15 13.0145-12.737 13.0145-7.532 0-12.738-5.3167-12.738-13.0145s5.206-13.0143 12.738-13.0143c7.587 0 12.737 5.3165 12.737 13.0143zm-8.528 0c0-3.4336-1.496-5.8703-4.209-5.8703-2.659 0-4.154 2.4367-4.154 5.8703s1.495 5.8149 4.154 5.8149c2.713 0 4.209-2.3813 4.209-5.8149zm13.184 3.8766v-9.5807h-3.655v-6.7564h3.655v-6.8671h8.584v6.8671h5.205v6.7564h-5.205v8.307c0 1.9383.941 2.769 2.658 2.769.941 0 1.994-.2216 2.769-.5538v7.3654c-.997.443-2.88.775-4.818.775-5.87 0-9.193-2.769-9.193-9.0819zm37.027 8.5839h-8.806v-34.0033h23.924v7.6978h-15.118v6.7564h13.9v7.5316h-13.9zm41.876-12.4605c0 7.6978-5.15 13.0145-12.737 13.0145-7.532 0-12.738-5.3167-12.738-13.0145s5.206-13.0143 12.738-13.0143c7.587 0 12.737 5.3165 12.737 13.0143zm-8.529 0c0-3.4336-1.495-5.8703-4.208-5.8703-2.659 0-4.154 2.4367-4.154 5.8703s1.495 5.8149 4.154 5.8149c2.713 0 4.208-2.3813 4.208-5.8149zm35.337-12.4605v24.921h-8.695v-2.16c-1.329 1.551-3.821 2.714-6.646 2.714-5.482 0-8.75-3.5999-8.75-9.1379v-16.3371h8.64v14.288c0 2.1045.997 3.5997 3.212 3.5997 1.606 0 3.101-1.0522 3.544-2.769v-15.1187zm4.076 24.921v-24.921h8.694v2.1598c1.385-1.5506 3.822-2.7136 6.701-2.7136 5.538 0 8.806 3.5997 8.806 9.1377v16.3371h-8.639v-14.2327c0-2.049-1.053-3.5443-3.268-3.5443-1.717 0-3.156.9969-3.6 2.7136v15.0634zm44.113 0v-1.994c-1.163 1.329-3.6 2.548-6.147 2.548-7.2 0-11.132-5.8151-11.132-13.0145s3.932-13.0143 11.132-13.0143c2.547 0 4.984 1.2184 6.147 2.5475v-13.0697h8.695v35.997zm0-9.1931v-6.5902c-.665-1.3291-2.16-2.326-3.821-2.326-2.991 0-4.763 2.4368-4.763 5.6488s1.772 5.5934 4.763 5.5934c1.717 0 3.156-.9415 3.821-2.326z" id="error-description"/></svg>
- </header>
- <article>
- <p><strong>The page you were looking for doesn't exist.</strong> You may have mistyped the address or the page may have moved. If you're the application owner check the logs for more information.</p>
- </article>
- </main>
-
- </body>
-
-</html>
diff --git a/server/public/406-unsupported-browser.html b/server/public/406-unsupported-browser.html
deleted file mode 100644
index 43d2811e8c..0000000000
--- a/server/public/406-unsupported-browser.html
+++ /dev/null
@@ -1,135 +0,0 @@
-<!doctype html>
-
-<html lang="en">
-
- <head>
-
- <title>Your browser is not supported (406 Not Acceptable)</title>
-
- <meta charset="utf-8">
- <meta name="viewport" content="initial-scale=1, width=device-width">
- <meta name="robots" content="noindex, nofollow">
-
- <style>
-
- *, *::before, *::after {
- box-sizing: border-box;
- }
-
- * {
- margin: 0;
- }
-
- html {
- font-size: 16px;
- }
-
- body {
- background: #FFF;
- color: #261B23;
- display: grid;
- font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, Aptos, Roboto, "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
- font-size: clamp(1rem, 2.5vw, 2rem);
- -webkit-font-smoothing: antialiased;
- font-style: normal;
- font-weight: 400;
- letter-spacing: -0.0025em;
- line-height: 1.4;
- min-height: 100dvh;
- place-items: center;
- text-rendering: optimizeLegibility;
- -webkit-text-size-adjust: 100%;
- }
-
- #error-description {
- fill: #d30001;
- }
-
- #error-id {
- fill: #f0eff0;
- }
-
- @media (prefers-color-scheme: dark) {
- body {
- background: #101010;
- color: #e0e0e0;
- }
-
- #error-description {
- fill: #FF6161;
- }
-
- #error-id {
- fill: #2c2c2c;
- }
- }
-
- a {
- color: inherit;
- font-weight: 700;
- text-decoration: underline;
- text-underline-offset: 0.0925em;
- }
-
- b, strong {
- font-weight: 700;
- }
-
- i, em {
- font-style: italic;
- }
-
- main {
- display: grid;
- gap: 1em;
- padding: 2em;
- place-items: center;
- text-align: center;
- }
-
- main header {
- width: min(100%, 12em);
- }
-
- main header svg {
- height: auto;
- max-width: 100%;
- width: 100%;
- }
-
- main article {
- width: min(100%, 30em);
- }
-
- main article p {
- font-size: 75%;
- }
-
- main article br {
- display: none;
-
- @media(min-width: 48em) {
- display: inline;
- }
- }
-
- </style>
-
- </head>
-
- <body>
-
- <!-- This file lives in public/406-unsupported-browser.html -->
-
- <main>
- <header>
- <svg height="172" viewBox="0 0 480 172" width="480" xmlns="http://www.w3.org/2000/svg"><path d="m124.48 3.00509-45.6889 100.02991h26.2239v-28.1168h38.119v28.1168h21.628v35.145h-21.628v30.82h-37.308v-30.82h-72.1833v-31.901l50.2851-103.27391zm115.583 168.69891c-40.822 0-64.884-35.146-64.884-85.7015 0-50.5554 24.062-85.700907 64.884-85.700907 40.823 0 64.884 35.145507 64.884 85.700907 0 50.5555-24.061 85.7015-64.884 85.7015zm0-133.2831c-17.572 0-22.709 21.8984-22.709 47.5816 0 25.6835 5.137 47.5815 22.709 47.5815 17.303 0 22.71-21.898 22.71-47.5815 0-25.6832-5.407-47.5816-22.71-47.5816zm202.906 9.7326h-41.093c-2.433-7.2994-7.84-12.4361-17.302-12.4361-16.221 0-25.413 17.5728-25.954 34.8752v1.3517c5.137-7.0291 16.221-12.4361 30.82-12.4361 33.524 0 54.881 24.0612 54.881 53.7998 0 33.253-23.791 58.396-61.64 58.396-21.628 0-39.741-10.003-50.825-27.576-9.733-14.599-13.788-32.442-13.788-54.3406 0-51.9072 24.331-89.485807 66.236-89.485807 32.712 0 53.258 18.654107 58.665 47.851907zm-82.727 66.2355c0 13.247 9.463 22.439 22.71 22.439 12.977 0 22.439-9.192 22.439-22.439 0-13.517-9.462-22.7091-22.439-22.7091-13.247 0-22.71 9.1921-22.71 22.7091z" id="error-id"/><path d="m100.761 68.9967v34.0033h-7.1991l-14.2326-19.8814v19.8814h-8.5839v-34.0033h8.307l13.125 18.7184v-18.7184zm28.454 21.5428c0 7.6978-5.15 13.0145-12.737 13.0145-7.532 0-12.738-5.3167-12.738-13.0145s5.206-13.0143 12.738-13.0143c7.587 0 12.737 5.3165 12.737 13.0143zm-8.529 0c0-3.4336-1.495-5.8703-4.208-5.8703-2.659 0-4.154 2.4367-4.154 5.8703s1.495 5.8149 4.154 5.8149c2.713 0 4.208-2.3813 4.208-5.8149zm13.185 3.8766v-9.5807h-3.655v-6.7564h3.655v-6.8671h8.584v6.8671h5.205v6.7564h-5.205v8.307c0 1.9383.941 2.769 2.658 2.769.941 0 1.994-.2216 2.769-.5538v7.3654c-.997.443-2.88.775-4.818.775-5.87 0-9.193-2.769-9.193-9.0819zm39.02-25.4194h9.083l12.958 34.0033h-9.027l-2.436-6.5902h-12.35l-2.381 6.5902h-8.806zm4.431 10.5222-3.489 9.5807h6.978zm17.44 11.0206c0-7.6978 5.095-13.0143 12.572-13.0143 6.701 0 10.854 3.9874 11.574 9.8023h-8.418c-.221-1.4953-1.384-2.6029-3.156-2.6029-2.437 0-3.988 2.2706-3.988 5.8149s1.551 5.7595 3.988 5.7595c1.772 0 2.935-1.0522 3.156-2.5475h8.418c-.72 5.7596-4.873 9.8025-11.574 9.8025-7.477 0-12.572-5.3167-12.572-13.0145zm25.676 0c0-7.6978 5.095-13.0143 12.572-13.0143 6.701 0 10.854 3.9874 11.574 9.8023h-8.418c-.221-1.4953-1.384-2.6029-3.156-2.6029-2.437 0-3.988 2.2706-3.988 5.8149s1.551 5.7595 3.988 5.7595c1.772 0 2.935-1.0522 3.156-2.5475h8.418c-.72 5.7596-4.873 9.8025-11.574 9.8025-7.477 0-12.572-5.3167-12.572-13.0145zm42.013 3.7658h8.031c-.887 5.7597-5.206 9.2487-11.686 9.2487-7.642 0-12.682-5.2613-12.682-13.0145 0-7.6978 5.317-13.0143 12.516-13.0143 7.643 0 11.962 5.095 11.962 12.5159v2.1598h-16.115c.277 2.9905 1.827 4.5965 4.319 4.5965 1.773 0 3.157-.7753 3.655-2.4921zm-3.821-10.0237c-2.049 0-3.433 1.2737-3.987 3.5997h7.532c-.111-2.0491-1.385-3.5997-3.545-3.5997zm23.4 16.7244v10.799h-8.694v-33.726h8.694v1.9937c1.163-1.3291 3.6-2.5475 6.148-2.5475 7.199 0 11.131 5.8703 11.131 13.0143 0 7.0886-3.932 13.0145-11.131 13.0145-2.548 0-4.985-1.219-6.148-2.548zm0-13.7893v6.5902c.665 1.3845 2.16 2.326 3.822 2.326 2.99 0 4.762-2.3814 4.762-5.5934s-1.772-5.6488-4.762-5.6488c-1.717 0-3.157.9969-3.822 2.326zm21.892 7.1994v-9.5807h-3.655v-6.7564h3.655v-6.8671h8.584v6.8671h5.206v6.7564h-5.206v8.307c0 1.9383.941 2.769 2.658 2.769.942 0 1.994-.2216 2.769-.5538v7.3654c-.997.443-2.88.775-4.818.775-5.87 0-9.193-2.769-9.193-9.0819zm39.458 8.5839h-8.363v-1.274c-.83.831-3.322 1.717-5.981 1.717-4.928 0-9.082-2.769-9.082-8.0301 0-4.818 4.154-7.9193 9.581-7.9193 2.049 0 4.486.6646 5.482 1.3845v-1.606c0-1.606-.941-2.9905-3.045-2.9905-1.606 0-2.548.7199-2.936 1.8275h-8.196c.72-4.8181 4.984-8.6393 11.408-8.6393 7.089 0 11.132 3.7659 11.132 10.2453zm-8.363-6.9779v-1.4399c-.553-1.0522-2.049-1.7167-3.655-1.7167-1.716 0-3.433.7199-3.433 2.3813 0 1.7168 1.717 2.4367 3.433 2.4367 1.606 0 3.102-.6645 3.655-1.6614zm20.742 4.9839v1.994h-8.694v-35.997h8.694v13.0697c1.163-1.3291 3.6-2.5475 6.148-2.5475 7.199 0 11.131 5.8149 11.131 13.0143s-3.932 13.0145-11.131 13.0145c-2.548 0-4.985-1.219-6.148-2.548zm0-13.7893v6.5902c.665 1.3845 2.105 2.326 3.822 2.326 2.99 0 4.762-2.3814 4.762-5.5934s-1.772-5.6488-4.762-5.6488c-1.662 0-3.157.9969-3.822 2.326zm28.759-20.2137v35.997h-8.695v-35.997zm19.172 27.3023h8.03c-.886 5.7597-5.206 9.2487-11.685 9.2487-7.643 0-12.682-5.2613-12.682-13.0145 0-7.6978 5.316-13.0143 12.516-13.0143 7.642 0 11.962 5.095 11.962 12.5159v2.1598h-16.116c.277 2.9905 1.828 4.5965 4.32 4.5965 1.772 0 3.157-.7753 3.655-2.4921zm-3.821-10.0237c-2.049 0-3.434 1.2737-3.988 3.5997h7.532c-.111-2.0491-1.384-3.5997-3.544-3.5997z" id="error-description"/></svg>
- </header>
- <article>
- <p><strong>Your browser is not supported.</strong><br> Please upgrade your browser to continue.</p>
- </article>
- </main>
-
- </body>
-
-</html>
diff --git a/server/public/422.html b/server/public/422.html
deleted file mode 100644
index f12fb4aa17..0000000000
--- a/server/public/422.html
+++ /dev/null
@@ -1,135 +0,0 @@
-<!doctype html>
-
-<html lang="en">
-
- <head>
-
- <title>The change you wanted was rejected (422 Unprocessable Entity)</title>
-
- <meta charset="utf-8">
- <meta name="viewport" content="initial-scale=1, width=device-width">
- <meta name="robots" content="noindex, nofollow">
-
- <style>
-
- *, *::before, *::after {
- box-sizing: border-box;
- }
-
- * {
- margin: 0;
- }
-
- html {
- font-size: 16px;
- }
-
- body {
- background: #FFF;
- color: #261B23;
- display: grid;
- font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, Aptos, Roboto, "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
- font-size: clamp(1rem, 2.5vw, 2rem);
- -webkit-font-smoothing: antialiased;
- font-style: normal;
- font-weight: 400;
- letter-spacing: -0.0025em;
- line-height: 1.4;
- min-height: 100dvh;
- place-items: center;
- text-rendering: optimizeLegibility;
- -webkit-text-size-adjust: 100%;
- }
-
- #error-description {
- fill: #d30001;
- }
-
- #error-id {
- fill: #f0eff0;
- }
-
- @media (prefers-color-scheme: dark) {
- body {
- background: #101010;
- color: #e0e0e0;
- }
-
- #error-description {
- fill: #FF6161;
- }
-
- #error-id {
- fill: #2c2c2c;
- }
- }
-
- a {
- color: inherit;
- font-weight: 700;
- text-decoration: underline;
- text-underline-offset: 0.0925em;
- }
-
- b, strong {
- font-weight: 700;
- }
-
- i, em {
- font-style: italic;
- }
-
- main {
- display: grid;
- gap: 1em;
- padding: 2em;
- place-items: center;
- text-align: center;
- }
-
- main header {
- width: min(100%, 12em);
- }
-
- main header svg {
- height: auto;
- max-width: 100%;
- width: 100%;
- }
-
- main article {
- width: min(100%, 30em);
- }
-
- main article p {
- font-size: 75%;
- }
-
- main article br {
- display: none;
-
- @media(min-width: 48em) {
- display: inline;
- }
- }
-
- </style>
-
- </head>
-
- <body>
-
- <!-- This file lives in public/422.html -->
-
- <main>
- <header>
- <svg height="172" viewBox="0 0 480 172" width="480" xmlns="http://www.w3.org/2000/svg"><path d="m124.48 3.00509-45.6889 100.02991h26.2239v-28.1168h38.119v28.1168h21.628v35.145h-21.628v30.82h-37.308v-30.82h-72.1833v-31.901l50.2851-103.27391zm130.453 51.63681c0-8.9215-6.218-15.4099-15.681-15.4099-10.273 0-15.95 7.5698-16.491 16.4913h-44.608c3.244-30.8199 25.683-55.421707 61.099-55.421707 36.498 0 59.477 20.816907 59.477 51.636807 0 21.3577-14.869 36.7676-31.901 52.7186l-27.305 27.035h59.747v37.308h-120.306v-27.846l57.044-56.7736c11.084-11.8954 18.925-20.0059 18.925-29.7385zm140.455 0c0-8.9215-6.218-15.4099-15.68-15.4099-10.274 0-15.951 7.5698-16.492 16.4913h-44.608c3.245-30.8199 25.684-55.421707 61.1-55.421707 36.497 0 59.477 20.816907 59.477 51.636807 0 21.3577-14.87 36.7676-31.902 52.7186l-27.305 27.035h59.747v37.308h-120.305v-27.846l57.043-56.7736c11.085-11.8954 18.925-20.0059 18.925-29.7385z" id="error-id"/><path d="m19.3936 103.554c-8.9715 0-14.84183-5.0952-14.84183-14.4544v-20.1029h8.86083v19.3276c0 4.8181 2.2706 7.3102 5.981 7.3102 3.6551 0 5.9257-2.4921 5.9257-7.3102v-19.3276h8.8608v20.1583c0 9.3038-5.8149 14.399-14.7865 14.399zm18.734-.554v-24.921h8.6947v2.1598c1.3845-1.5506 3.8212-2.7136 6.701-2.7136 5.538 0 8.8054 3.5997 8.8054 9.1377v16.3371h-8.6393v-14.2327c0-2.049-1.0522-3.5443-3.2674-3.5443-1.7168 0-3.1567.9969-3.5997 2.7136v15.0634zm36.8584-1.994v10.799h-8.6946v-33.726h8.6946v1.9937c1.163-1.3291 3.5997-2.5475 6.1472-2.5475 7.1994 0 11.1314 5.8703 11.1314 13.0143 0 7.0886-3.932 13.0145-11.1314 13.0145-2.5475 0-4.9842-1.219-6.1472-2.548zm0-13.7893v6.5902c.6646 1.3845 2.1599 2.326 3.8213 2.326 2.9905 0 4.7626-2.3814 4.7626-5.5934s-1.7721-5.6488-4.7626-5.6488c-1.7168 0-3.1567.9969-3.8213 2.326zm36.789-9.2485v8.3624c-1.052-.5538-2.215-.7753-3.6-.7753-2.381 0-3.987 1.0522-4.43 2.8244v14.6203h-8.6949v-24.921h8.6949v2.2152c1.218-1.6614 3.156-2.769 5.648-2.769 1.108 0 1.994.2215 2.382.443zm26.769 12.5713c0 7.6978-5.15 13.0145-12.737 13.0145-7.532 0-12.738-5.3167-12.738-13.0145s5.206-13.0143 12.738-13.0143c7.587 0 12.737 5.3165 12.737 13.0143zm-8.528 0c0-3.4336-1.496-5.8703-4.209-5.8703-2.659 0-4.154 2.4367-4.154 5.8703s1.495 5.8149 4.154 5.8149c2.713 0 4.209-2.3813 4.209-5.8149zm10.352 0c0-7.6978 5.095-13.0143 12.571-13.0143 6.701 0 10.855 3.9874 11.574 9.8023h-8.417c-.222-1.4953-1.385-2.6029-3.157-2.6029-2.437 0-3.987 2.2706-3.987 5.8149s1.55 5.7595 3.987 5.7595c1.772 0 2.935-1.0522 3.157-2.5475h8.417c-.719 5.7596-4.873 9.8025-11.574 9.8025-7.476 0-12.571-5.3167-12.571-13.0145zm42.013 3.7658h8.03c-.886 5.7597-5.206 9.2487-11.685 9.2487-7.643 0-12.682-5.2613-12.682-13.0145 0-7.6978 5.316-13.0143 12.516-13.0143 7.642 0 11.962 5.095 11.962 12.5159v2.1598h-16.116c.277 2.9905 1.828 4.5965 4.32 4.5965 1.772 0 3.156-.7753 3.655-2.4921zm-3.821-10.0237c-2.049 0-3.434 1.2737-3.988 3.5997h7.532c-.111-2.0491-1.385-3.5997-3.544-3.5997zm13.428 11.0206h8.473c.387 1.3845 1.606 2.1598 3.156 2.1598 1.44 0 2.548-.5538 2.548-1.7168 0-.9414-.72-1.2737-1.938-1.5506l-4.874-.9969c-4.153-.886-6.867-2.8797-6.867-7.2547 0-5.3165 4.763-8.4178 10.633-8.4178 6.812 0 10.522 3.1567 11.297 8.0855h-8.03c-.277-1.0522-1.052-1.9937-3.046-1.9937-1.273 0-2.326.5538-2.326 1.6614 0 .7753.554 1.163 1.717 1.3845l4.929 1.163c4.541 1.0522 6.978 3.4335 6.978 7.4763 0 5.3168-4.818 8.2518-10.91 8.2518-6.369 0-10.965-2.88-11.74-8.2518zm24.269 0h8.474c.387 1.3845 1.606 2.1598 3.156 2.1598 1.44 0 2.548-.5538 2.548-1.7168 0-.9414-.72-1.2737-1.939-1.5506l-4.873-.9969c-4.154-.886-6.867-2.8797-6.867-7.2547 0-5.3165 4.763-8.4178 10.633-8.4178 6.812 0 10.522 3.1567 11.297 8.0855h-8.03c-.277-1.0522-1.052-1.9937-3.046-1.9937-1.273 0-2.326.5538-2.326 1.6614 0 .7753.554 1.163 1.717 1.3845l4.929 1.163c4.541 1.0522 6.978 3.4335 6.978 7.4763 0 5.3168-4.818 8.2518-10.91 8.2518-6.369 0-10.965-2.88-11.741-8.2518zm47.918 7.6978h-8.363v-1.274c-.831.831-3.323 1.717-5.981 1.717-4.929 0-9.082-2.769-9.082-8.0301 0-4.818 4.153-7.9193 9.581-7.9193 2.049 0 4.485.6646 5.482 1.3845v-1.606c0-1.606-.941-2.9905-3.046-2.9905-1.606 0-2.547.7199-2.935 1.8275h-8.196c.72-4.8181 4.984-8.6393 11.408-8.6393 7.089 0 11.132 3.7659 11.132 10.2453zm-8.363-6.9779v-1.4399c-.554-1.0522-2.049-1.7167-3.655-1.7167-1.717 0-3.434.7199-3.434 2.3813 0 1.7168 1.717 2.4367 3.434 2.4367 1.606 0 3.101-.6645 3.655-1.6614zm20.742 4.9839v1.994h-8.695v-35.997h8.695v13.0697c1.163-1.3291 3.6-2.5475 6.147-2.5475 7.2 0 11.132 5.8149 11.132 13.0143s-3.932 13.0145-11.132 13.0145c-2.547 0-4.984-1.219-6.147-2.548zm0-13.7893v6.5902c.665 1.3845 2.105 2.326 3.821 2.326 2.991 0 4.763-2.3814 4.763-5.5934s-1.772-5.6488-4.763-5.6488c-1.661 0-3.156.9969-3.821 2.326zm28.759-20.2137v35.997h-8.695v-35.997zm19.172 27.3023h8.03c-.886 5.7597-5.206 9.2487-11.685 9.2487-7.643 0-12.682-5.2613-12.682-13.0145 0-7.6978 5.316-13.0143 12.515-13.0143 7.643 0 11.962 5.095 11.962 12.5159v2.1598h-16.115c.277 2.9905 1.827 4.5965 4.32 4.5965 1.772 0 3.156-.7753 3.655-2.4921zm-3.822-10.0237c-2.049 0-3.433 1.2737-3.987 3.5997h7.532c-.111-2.0491-1.385-3.5997-3.545-3.5997zm25.461-15.2849h24.311v7.6424h-15.561v5.3165h14.232v7.4763h-14.232v5.8703h15.561v7.6978h-24.311zm27.942 34.0033v-24.921h8.694v2.1598c1.385-1.5506 3.822-2.7136 6.701-2.7136 5.538 0 8.806 3.5997 8.806 9.1377v16.3371h-8.639v-14.2327c0-2.049-1.053-3.5443-3.268-3.5443-1.717 0-3.157.9969-3.6 2.7136v15.0634zm29.991-8.5839v-9.5807h-3.655v-6.7564h3.655v-6.8671h8.584v6.8671h5.206v6.7564h-5.206v8.307c0 1.9383.941 2.769 2.658 2.769.942 0 1.994-.2216 2.769-.5538v7.3654c-.997.443-2.88.775-4.818.775-5.87 0-9.193-2.769-9.193-9.0819zm26.161-16.3371v24.921h-8.694v-24.921zm.61-6.7564c0 2.8244-2.271 4.652-4.929 4.652s-4.929-1.8276-4.929-4.652c0-2.8797 2.271-4.7073 4.929-4.7073s4.929 1.8276 4.929 4.7073zm5.382 23.0935v-9.5807h-3.655v-6.7564h3.655v-6.8671h8.584v6.8671h5.206v6.7564h-5.206v8.307c0 1.9383.941 2.769 2.658 2.769.941 0 1.994-.2216 2.769-.5538v7.3654c-.997.443-2.88.775-4.818.775-5.87 0-9.193-2.769-9.193-9.0819zm29.22 17.3889h-8.584l3.655-9.414-9.303-24.312h9.026l4.763 14.1773 4.652-14.1773h8.639z" id="error-description"/></svg>
- </header>
- <article>
- <p><strong>The change you wanted was rejected.</strong> Maybe you tried to change something you didn't have access to. If you're the application owner check the logs for more information.</p>
- </article>
- </main>
-
- </body>
-
-</html>
diff --git a/server/public/500.html b/server/public/500.html
deleted file mode 100644
index e4eb18a759..0000000000
--- a/server/public/500.html
+++ /dev/null
@@ -1,135 +0,0 @@
-<!doctype html>
-
-<html lang="en">
-
- <head>
-
- <title>We're sorry, but something went wrong (500 Internal Server Error)</title>
-
- <meta charset="utf-8">
- <meta name="viewport" content="initial-scale=1, width=device-width">
- <meta name="robots" content="noindex, nofollow">
-
- <style>
-
- *, *::before, *::after {
- box-sizing: border-box;
- }
-
- * {
- margin: 0;
- }
-
- html {
- font-size: 16px;
- }
-
- body {
- background: #FFF;
- color: #261B23;
- display: grid;
- font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, Aptos, Roboto, "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
- font-size: clamp(1rem, 2.5vw, 2rem);
- -webkit-font-smoothing: antialiased;
- font-style: normal;
- font-weight: 400;
- letter-spacing: -0.0025em;
- line-height: 1.4;
- min-height: 100dvh;
- place-items: center;
- text-rendering: optimizeLegibility;
- -webkit-text-size-adjust: 100%;
- }
-
- #error-description {
- fill: #d30001;
- }
-
- #error-id {
- fill: #f0eff0;
- }
-
- @media (prefers-color-scheme: dark) {
- body {
- background: #101010;
- color: #e0e0e0;
- }
-
- #error-description {
- fill: #FF6161;
- }
-
- #error-id {
- fill: #2c2c2c;
- }
- }
-
- a {
- color: inherit;
- font-weight: 700;
- text-decoration: underline;
- text-underline-offset: 0.0925em;
- }
-
- b, strong {
- font-weight: 700;
- }
-
- i, em {
- font-style: italic;
- }
-
- main {
- display: grid;
- gap: 1em;
- padding: 2em;
- place-items: center;
- text-align: center;
- }
-
- main header {
- width: min(100%, 12em);
- }
-
- main header svg {
- height: auto;
- max-width: 100%;
- width: 100%;
- }
-
- main article {
- width: min(100%, 30em);
- }
-
- main article p {
- font-size: 75%;
- }
-
- main article br {
- display: none;
-
- @media(min-width: 48em) {
- display: inline;
- }
- }
-
- </style>
-
- </head>
-
- <body>
-
- <!-- This file lives in public/500.html -->
-
- <main>
- <header>
- <svg height="172" viewBox="0 0 480 172" width="480" xmlns="http://www.w3.org/2000/svg"><path d="m101.23 93.8427c-8.1103 0-15.4098 3.7849-19.7354 8.3813h-36.2269v-99.21891h103.8143v37.03791h-68.3984v24.8722c5.1366-2.7035 15.1396-5.9477 24.6014-5.9477 35.146 0 56.233 22.7094 56.233 55.4215 0 34.605-23.791 57.315-60.558 57.315-37.8492 0-61.64-22.169-63.8028-55.963h42.9857c1.0814 10.814 9.1919 19.195 21.6281 19.195 11.355 0 19.465-8.381 19.465-20.547 0-11.625-7.299-20.5463-20.006-20.5463zm138.833 77.8613c-40.822 0-64.884-35.146-64.884-85.7015 0-50.5554 24.062-85.700907 64.884-85.700907 40.823 0 64.884 35.145507 64.884 85.700907 0 50.5555-24.061 85.7015-64.884 85.7015zm0-133.2831c-17.572 0-22.709 21.8984-22.709 47.5816 0 25.6835 5.137 47.5815 22.709 47.5815 17.303 0 22.71-21.898 22.71-47.5815 0-25.6832-5.407-47.5816-22.71-47.5816zm140.456 133.2831c-40.823 0-64.884-35.146-64.884-85.7015 0-50.5554 24.061-85.700907 64.884-85.700907 40.822 0 64.884 35.145507 64.884 85.700907 0 50.5555-24.062 85.7015-64.884 85.7015zm0-133.2831c-17.573 0-22.71 21.8984-22.71 47.5816 0 25.6835 5.137 47.5815 22.71 47.5815 17.302 0 22.709-21.898 22.709-47.5815 0-25.6832-5.407-47.5816-22.709-47.5816z" id="error-id"/><path d="m23.1377 68.9967v34.0033h-8.9162v-34.0033zm4.3157 34.0033v-24.921h8.6947v2.1598c1.3845-1.5506 3.8212-2.7136 6.701-2.7136 5.538 0 8.8054 3.5997 8.8054 9.1377v16.3371h-8.6393v-14.2327c0-2.049-1.0522-3.5443-3.2674-3.5443-1.7168 0-3.1567.9969-3.5997 2.7136v15.0634zm29.9913-8.5839v-9.5807h-3.655v-6.7564h3.655v-6.8671h8.5839v6.8671h5.2058v6.7564h-5.2058v8.307c0 1.9383.9415 2.769 2.6583 2.769.9414 0 1.9937-.2216 2.769-.5538v7.3654c-.9969.443-2.8798.775-4.8181.775-5.8703 0-9.1931-2.769-9.1931-9.0819zm32.3666-.1108h8.0301c-.8861 5.7597-5.2057 9.2487-11.6852 9.2487-7.6424 0-12.682-5.2613-12.682-13.0145 0-7.6978 5.3165-13.0143 12.5159-13.0143 7.6424 0 11.9621 5.095 11.9621 12.5159v2.1598h-16.1156c.2769 2.9905 1.8275 4.5965 4.3196 4.5965 1.7722 0 3.1567-.7753 3.6551-2.4921zm-3.8212-10.0237c-2.0491 0-3.4336 1.2737-3.9874 3.5997h7.5317c-.1107-2.0491-1.3845-3.5997-3.5443-3.5997zm31.4299-6.3134v8.3624c-1.052-.5538-2.215-.7753-3.599-.7753-2.382 0-3.988 1.0522-4.431 2.8244v14.6203h-8.694v-24.921h8.694v2.2152c1.219-1.6614 3.157-2.769 5.649-2.769 1.108 0 1.994.2215 2.381.443zm2.949 25.0318v-24.921h8.694v2.1598c1.385-1.5506 3.821-2.7136 6.701-2.7136 5.538 0 8.806 3.5997 8.806 9.1377v16.3371h-8.64v-14.2327c0-2.049-1.052-3.5443-3.267-3.5443-1.717 0-3.157.9969-3.6 2.7136v15.0634zm50.371 0h-8.363v-1.274c-.83.831-3.323 1.717-5.981 1.717-4.929 0-9.082-2.769-9.082-8.0301 0-4.818 4.153-7.9193 9.581-7.9193 2.049 0 4.485.6646 5.482 1.3845v-1.606c0-1.606-.941-2.9905-3.046-2.9905-1.606 0-2.547.7199-2.935 1.8275h-8.196c.72-4.8181 4.984-8.6393 11.408-8.6393 7.089 0 11.132 3.7659 11.132 10.2453zm-8.363-6.9779v-1.4399c-.554-1.0522-2.049-1.7167-3.655-1.7167-1.717 0-3.433.7199-3.433 2.3813 0 1.7168 1.716 2.4367 3.433 2.4367 1.606 0 3.101-.6645 3.655-1.6614zm20.742-29.0191v35.997h-8.694v-35.997zm13.036 25.9178h9.248c.72 2.326 2.714 3.489 5.483 3.489 2.713 0 4.596-1.163 4.596-3.2674 0-1.6061-1.052-2.326-3.212-2.8244l-6.534-1.3845c-4.985-1.1076-8.751-3.7105-8.751-9.47 0-6.6456 5.538-11.0206 13.07-11.0206 8.307 0 13.014 4.5411 13.956 10.4114h-8.695c-.72-1.8829-2.27-3.3228-5.205-3.3228-2.548 0-4.265 1.1076-4.265 2.9905 0 1.4953 1.052 2.326 2.825 2.7137l6.645 1.5506c5.815 1.3845 9.027 4.5412 9.027 9.8023 0 6.9778-5.87 10.9654-13.291 10.9654-8.141 0-13.679-3.9322-14.897-10.6332zm46.509 1.3845h8.031c-.887 5.7597-5.206 9.2487-11.686 9.2487-7.642 0-12.682-5.2613-12.682-13.0145 0-7.6978 5.317-13.0143 12.516-13.0143 7.643 0 11.962 5.095 11.962 12.5159v2.1598h-16.115c.277 2.9905 1.827 4.5965 4.319 4.5965 1.773 0 3.157-.7753 3.655-2.4921zm-3.821-10.0237c-2.049 0-3.433 1.2737-3.987 3.5997h7.532c-.111-2.0491-1.385-3.5997-3.545-3.5997zm31.431-6.3134v8.3624c-1.053-.5538-2.216-.7753-3.6-.7753-2.381 0-3.988 1.0522-4.431 2.8244v14.6203h-8.694v-24.921h8.694v2.2152c1.219-1.6614 3.157-2.769 5.649-2.769 1.108 0 1.994.2215 2.382.443zm18.288 25.0318h-7.809l-9.47-24.921h8.861l4.763 14.288 4.652-14.288h8.528zm25.614-8.6947h8.03c-.886 5.7597-5.206 9.2487-11.685 9.2487-7.642 0-12.682-5.2613-12.682-13.0145 0-7.6978 5.316-13.0143 12.516-13.0143 7.642 0 11.962 5.095 11.962 12.5159v2.1598h-16.116c.277 2.9905 1.828 4.5965 4.32 4.5965 1.772 0 3.157-.7753 3.655-2.4921zm-3.821-10.0237c-2.049 0-3.434 1.2737-3.988 3.5997h7.532c-.111-2.0491-1.384-3.5997-3.544-3.5997zm31.43-6.3134v8.3624c-1.052-.5538-2.215-.7753-3.6-.7753-2.381 0-3.987 1.0522-4.43 2.8244v14.6203h-8.695v-24.921h8.695v2.2152c1.218-1.6614 3.157-2.769 5.649-2.769 1.107 0 1.993.2215 2.381.443zm13.703-8.9715h24.312v7.6424h-15.562v5.3165h14.232v7.4763h-14.232v5.8703h15.562v7.6978h-24.312zm44.667 8.9715v8.3624c-1.052-.5538-2.215-.7753-3.6-.7753-2.381 0-3.987 1.0522-4.43 2.8244v14.6203h-8.695v-24.921h8.695v2.2152c1.218-1.6614 3.156-2.769 5.648-2.769 1.108 0 1.994.2215 2.382.443zm19.673 0v8.3624c-1.053-.5538-2.216-.7753-3.6-.7753-2.381 0-3.987 1.0522-4.43 2.8244v14.6203h-8.695v-24.921h8.695v2.2152c1.218-1.6614 3.156-2.769 5.648-2.769 1.108 0 1.994.2215 2.382.443zm26.769 12.5713c0 7.6978-5.15 13.0145-12.737 13.0145-7.532 0-12.738-5.3167-12.738-13.0145s5.206-13.0143 12.738-13.0143c7.587 0 12.737 5.3165 12.737 13.0143zm-8.529 0c0-3.4336-1.495-5.8703-4.208-5.8703-2.659 0-4.154 2.4367-4.154 5.8703s1.495 5.8149 4.154 5.8149c2.713 0 4.208-2.3813 4.208-5.8149zm28.082-12.5713v8.3624c-1.052-.5538-2.215-.7753-3.6-.7753-2.381 0-3.987 1.0522-4.43 2.8244v14.6203h-8.695v-24.921h8.695v2.2152c1.218-1.6614 3.157-2.769 5.649-2.769 1.107 0 1.993.2215 2.381.443z" id="error-description"/></svg>
- </header>
- <article>
- <p><strong>We're sorry, but something went wrong.</strong><br> If you're the application owner check the logs for more information.</p>
- </article>
- </main>
-
- </body>
-
-</html>
diff --git a/server/public/icon.png b/server/public/icon.png
deleted file mode 100644
index c4c9dbfbbd..0000000000
Binary files a/server/public/icon.png and /dev/null differ
diff --git a/server/public/icon.svg b/server/public/icon.svg
deleted file mode 100644
index 04b34bf83f..0000000000
--- a/server/public/icon.svg
+++ /dev/null
@@ -1,3 +0,0 @@
-<svg width="512" height="512" xmlns="http://www.w3.org/2000/svg">
- <circle cx="256" cy="256" r="256" fill="red"/>
-</svg>
diff --git a/server/public/robots.txt b/server/public/robots.txt
deleted file mode 100644
index c19f78ab68..0000000000
--- a/server/public/robots.txt
+++ /dev/null
@@ -1 +0,0 @@
-# See https://www.robotstxt.org/robotstxt.html for documentation on how to use the robots.txt file
diff --git a/server/script/.keep b/server/script/.keep
deleted file mode 100644
index e69de29bb2..0000000000
diff --git a/server/storage/.keep b/server/storage/.keep
deleted file mode 100644
index e69de29bb2..0000000000
diff --git a/server/vendor/.keep b/server/vendor/.keep
deleted file mode 100644
index e69de29bb2..0000000000
diff --git a/server/vendor/javascript/.keep b/server/vendor/javascript/.keep
deleted file mode 100644
index e69de29bb2..0000000000