Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix local communities marked as federated in the database by #3075 #3257

Merged
merged 1 commit into from
Jun 22, 2023

Conversation

kartikynwa
Copy link
Contributor

Fixes #3256

@dessalines
Copy link
Member

Thanks for this one.

@dessalines dessalines merged commit 4f2fb68 into LemmyNet:main Jun 22, 2023
@kartikynwa kartikynwa deleted the fix-local-communities-3075 branch June 22, 2023 12:24
@RocketDerp

This comment was marked as abuse.

@Neshura87
Copy link
Contributor

@kartikynwa How did you add the migration? Just manually create the files or is there some process I need to follow?

@kartikynwa
Copy link
Contributor Author

@Neshura87 you have first install diesel's CLI: https://github.com/diesel-rs/diesel/tree/master/diesel_cli

Then generate empty empty migrations using diesel migration generate mingration_name. This will create empty SQL files. You will then have to populate these files with SQL statements.

The process is similar to what is described here: http://diesel.rs/guides/getting-started.html

@Neshura87
Copy link
Contributor

thx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: DB fix for Communities affected by #3075
5 participants