Skip to content

Commit

Permalink
Fix keyspace example
Browse files Browse the repository at this point in the history
  • Loading branch information
mscoutermarsh authored Apr 9, 2024
1 parent 2a8a055 commit 29efc18
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,8 @@ For adding a new table, you must specify the `keyspace` for the table. When runn
the keyspace will be ignored and the table will be created as normal within the same database.

```ruby
create_table(:correlation, id: { type: :bigint, unsigned: true, keyspace: "keyspace-name" }) do |t|
t.string(:database_branch_public_id, null: false, limit: 12)
create_table(:new_table, id: { type: :bigint, unsigned: true }, keyspace: "keyspace-name") do |t|
t.string :name
end
```

Expand Down

0 comments on commit 29efc18

Please sign in to comment.