-
-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introduce site option to enable put saver
I chose not to support this for Tiddlyspot sites. There's no technical reason not to I guess, but I don't want to invest time adding and testing this kind of new feature for legacy Tiddlyspot sites. Rolling it out as an option allows it to be soft-launched as a kind of tech preview. Maybe in future it will become the default saving method, but not immediately. The option doesn't do anything yet, but see next commit.
- Loading branch information
1 parent
d2793ce
commit 9c6c3f1
Showing
4 changed files
with
17 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
rails/db/migrate/20220404022507_add_put_saver_option_to_sites.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
class AddPutSaverOptionToSites < ActiveRecord::Migration[6.1] | ||
def change | ||
add_column :sites, :enable_put_saver, :boolean, default: false | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters