Skip to content

Commit

Permalink
Switch sqlite
Browse files Browse the repository at this point in the history
  • Loading branch information
hwbrzzl committed Jul 12, 2024
1 parent 30c6c23 commit 8b8d0a7
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
10 changes: 5 additions & 5 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ JWT_SECRET=L9qknFZyWHDSVXXe1TjUsR7XQsxkbb8B
LOG_CHANNEL=stack
LOG_LEVEL=debug

DB_CONNECTION=postgres
DB_HOST=127.0.0.1
DB_PORT=5432
DB_CONNECTION=sqlite
DB_HOST=
DB_PORT=
DB_DATABASE=goravel
DB_USERNAME=goravel
DB_PASSWORD=goravel
DB_USERNAME=
DB_PASSWORD=

REDIS_HOST=127.0.0.1
REDIS_PASSWORD=
Expand Down
8 changes: 4 additions & 4 deletions database/migrations/20230219170634_create_users_table.up.sql
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
CREATE TABLE users (
id SERIAL PRIMARY KEY NOT NULL,
id integer PRIMARY KEY AUTOINCREMENT NOT NULL,
name varchar(255) DEFAULT '' NOT NULL,
avatar varchar(255) DEFAULT '' NOT NULL,
created_at timestamp NOT NULL,
updated_at timestamp NOT NULL,
deleted_at timestamp DEFAULT NULL
created_at datetime NOT NULL,
updated_at datetime NOT NULL,
deleted_at datetime DEFAULT NULL
);

0 comments on commit 8b8d0a7

Please sign in to comment.