You've already forked focalboard
							
							
				mirror of
				https://github.com/mattermost/focalboard.git
				synced 2025-10-31 00:17:42 +02:00 
			
		
		
		
	require build tag to include sqlite (#4213)
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
This commit is contained in:
		
							
								
								
									
										2
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								Makefile
									
									
									
									
									
								
							| @@ -12,7 +12,7 @@ ifeq ($(BUILD_NUMBER),) | ||||
| 	BUILD_DATE := n/a | ||||
| endif | ||||
|  | ||||
| BUILD_TAGS += json1 | ||||
| BUILD_TAGS += json1 sqlite3 | ||||
|  | ||||
| LDFLAGS += -X "github.com/mattermost/focalboard/server/model.BuildNumber=$(BUILD_NUMBER)" | ||||
| LDFLAGS += -X "github.com/mattermost/focalboard/server/model.BuildDate=$(BUILD_DATE)" | ||||
|   | ||||
| @@ -10,7 +10,6 @@ import ( | ||||
| 	sq "github.com/Masterminds/squirrel" | ||||
| 	_ "github.com/lib/pq" // postgres driver | ||||
| 	"github.com/mattermost/focalboard/server/model" | ||||
| 	_ "github.com/mattn/go-sqlite3" // sqlite driver | ||||
|  | ||||
| 	"github.com/mattermost/mattermost-server/v6/shared/mlog" | ||||
| ) | ||||
|   | ||||
| @@ -12,7 +12,6 @@ import ( | ||||
| 	sq "github.com/Masterminds/squirrel" | ||||
| 	_ "github.com/lib/pq" // postgres driver | ||||
| 	"github.com/mattermost/focalboard/server/model" | ||||
| 	_ "github.com/mattn/go-sqlite3" // sqlite driver | ||||
|  | ||||
| 	"github.com/mattermost/mattermost-server/v6/shared/mlog" | ||||
| ) | ||||
|   | ||||
							
								
								
									
										5
									
								
								server/services/store/sqlstore/sqlite.go
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								server/services/store/sqlstore/sqlite.go
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,5 @@ | ||||
| //go:build sqlite3 | ||||
|  | ||||
| package sqlstore | ||||
|  | ||||
| import _ "github.com/mattn/go-sqlite3" // sqlite driver | ||||
		Reference in New Issue
	
	Block a user