Remove "save as draft"
Removes the creating status completely as well as the abandoned cards system. It will always resume drafts if they exist, for a given collection and user. https://app.box-car.com/5986089/cards/2489
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
class ChangeCardsStatusDefaultToDrafted < ActiveRecord::Migration[8.2]
|
||||
def change
|
||||
change_column_default :cards, :status, from: "creating", to: "drafted"
|
||||
end
|
||||
end
|
||||
Generated
+1
-1
@@ -144,7 +144,7 @@ ActiveRecord::Schema[8.2].define(version: 2025_11_02_115338) do
|
||||
t.integer "creator_id", null: false
|
||||
t.date "due_on"
|
||||
t.datetime "last_active_at", null: false
|
||||
t.text "status", default: "creating", null: false
|
||||
t.text "status", default: "drafted", null: false
|
||||
t.string "title"
|
||||
t.datetime "updated_at", null: false
|
||||
t.index ["collection_id"], name: "index_cards_on_collection_id"
|
||||
|
||||
+1
-1
@@ -496,7 +496,7 @@ columns:
|
||||
cast_type: *15
|
||||
sql_type_metadata: *16
|
||||
'null': false
|
||||
default: creating
|
||||
default: drafted
|
||||
default_function:
|
||||
collation:
|
||||
comment:
|
||||
|
||||
Reference in New Issue
Block a user