```ruby
require 'rubygems'
require 'sinatra'
require 'sinatra/reloader'
require 'sqlite3'

def init_db
	db = SQLite3::Database.new 'db/leprosorium.db'
	db.results_as_hash = true
	return db
end

before '/new' do
	db = init_db
	db.close
end

get '/' do
  	erb "Hello! <a href=\"https://github.com/bootstrap-ruby/sinatra-bootstrap\">Original</a> pattern has been modified here."
end

get '/new' do
	erb :new
end

post '/new' do
	message=params[:content]
	erb "Your typed:</br> #{message}"
end```

Create table 'Posts' in db file
user
```ruby
require 'rubygems'
require 'sinatra'
require 'sinatra/reloader'
require 'sqlite3'

def init_db
	db = SQLite3::Database.new 'db/leprosorium.db'
	db.results_as_hash = true
	return db
end

configure do
	db = init_db
	db.execute 'CREATE TABLE IF NOT EXISTS
	"Posts"
		(
			"Id" INTEGER PRIMARY KEY AUTOINCREMENT,
			"Creation_date" DATE,
			"Content" TEXT
		)'
	db.close
end

before '/new' do
	db = init_db
	db.close
end

get '/' do
  	erb "Hello! <a href=\"https://github.com/bootstrap-ruby/sinatra-bootstrap\">Original</a> pattern has been modified here."
end

get '/new' do
	erb :new
end

post '/new' do
	message=params[:content]
	erb "Your typed:</br> #{message}"
end```
assistant