Initial commit
This commit is contained in:
13
db/migrate/20230102075558_create_bookmarks.rb
Normal file
13
db/migrate/20230102075558_create_bookmarks.rb
Normal file
@@ -0,0 +1,13 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
ROM::SQL.migration do
|
||||
change do
|
||||
create_table :bookmarks do
|
||||
primary_key :id
|
||||
column :url, :text, null: false
|
||||
column :name, :text, null: false
|
||||
column :content, :text, null: false, default: ""
|
||||
column :published_at, :timestamp
|
||||
end
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user