Initial commit
This commit is contained in:
9
db/migrate/20230103085913_add_slug_to_bookmarks.rb
Normal file
9
db/migrate/20230103085913_add_slug_to_bookmarks.rb
Normal file
@@ -0,0 +1,9 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
ROM::SQL.migration do
|
||||
change do
|
||||
alter_table :bookmarks do
|
||||
add_column :slug, :text, null: false, unique: true
|
||||
end
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user