diff --git a/container/Containerfile b/container/Containerfile index c064cb8..d399b33 100644 --- a/container/Containerfile +++ b/container/Containerfile @@ -17,9 +17,6 @@ WORKDIR /build # COPY --from=client /build/dist /runner/public COPY --from=client /build/dist /build/static -# Get the dependencies -RUN go mod download - # RUN go build -o server RUN CGO_ENABLED=1 GOOS=linux go build -a -installsuffix cgo -o server diff --git a/server/migrations/0010.sql b/server/migrations/0010.sql index 4943bcc..63502f8 100644 --- a/server/migrations/0010.sql +++ b/server/migrations/0010.sql @@ -1,7 +1,7 @@ PRAGMA foreign_keys = ON; CREATE TABLE IF NOT EXISTS users ( - id INTEGER PRIMARY KEY, + id SERIAL PRIMARY KEY, username VARCHAR(255) NOT NULL, password VARCHAR(255) NOT NULL ); \ No newline at end of file