aboutsummaryrefslogtreecommitdiff
path: root/db/init.rb
blob: 7c08faff59886aa49f4d6e64e33bc8c1d8e2ab91 (plain)
1
2
3
4
5
6
7
8
9
10
11
require 'active_record'

ActiveRecord::Base.establish_connection(
  adapter: 'sqlite3',
  database: 'db.sqlite3'
)

require_relative 'config'
require_relative 'comment'
require_relative 'post'
require_relative 'tag'