Started working on a blog for the website; adjusted some styles
This commit is contained in:
11
db/migrate/20230316173633_create_posts.rb
Normal file
11
db/migrate/20230316173633_create_posts.rb
Normal file
@ -0,0 +1,11 @@
|
||||
class CreatePosts < ActiveRecord::Migration[7.0]
|
||||
def change
|
||||
create_table :posts do |t|
|
||||
t.string :title
|
||||
t.string :author
|
||||
t.text :body
|
||||
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user