-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Slim down installer and have it use a final schema instead of migrations * Update README to detail new installation * Update README.md Co-authored-by: Nick Pezza <pezza@hey.com> * Update README.md Co-authored-by: Nick Pezza <pezza@hey.com> * Update install_generator.rb --------- Co-authored-by: Nick Pezza <pezza@hey.com>
- Loading branch information
1 parent
5faf524
commit a76c64e
Showing
5 changed files
with
85 additions
and
51 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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
13 changes: 13 additions & 0 deletions
13
lib/generators/solid_cable/install/templates/cable_schema.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,13 @@ | ||
# frozen_string_literal: true | ||
|
||
ActiveRecord::Schema[7.1].define(version: 1) do | ||
create_table "solid_cable_messages", force: :cascade do |t| | ||
t.text "channel" | ||
t.text "payload" | ||
t.datetime "created_at", null: false | ||
t.datetime "updated_at", null: false | ||
t.index ["channel"], name: "index_solid_cable_messages_on_channel", | ||
length: 500 | ||
t.index ["created_at"], name: "index_solid_cable_messages_on_created_at" | ||
end | ||
end |