mirror of
https://github.com/lordmathis/lemma.git
synced 2025-11-06 16:04:23 +00:00
Fix migration error
This commit is contained in:
@@ -34,10 +34,6 @@ var migrations = []Migration{
|
|||||||
FOREIGN KEY (user_id) REFERENCES users (id)
|
FOREIGN KEY (user_id) REFERENCES users (id)
|
||||||
);
|
);
|
||||||
|
|
||||||
-- Add foreign key constraint to users table
|
|
||||||
ALTER TABLE users ADD CONSTRAINT fk_last_workspace
|
|
||||||
FOREIGN KEY (last_workspace_id) REFERENCES workspaces (id);
|
|
||||||
|
|
||||||
-- Create workspace_settings table
|
-- Create workspace_settings table
|
||||||
CREATE TABLE IF NOT EXISTS workspace_settings (
|
CREATE TABLE IF NOT EXISTS workspace_settings (
|
||||||
workspace_id INTEGER PRIMARY KEY,
|
workspace_id INTEGER PRIMARY KEY,
|
||||||
|
|||||||
Reference in New Issue
Block a user