Compare commits
No commits in common. "8b742cfed7814ad2e981d8fbd613e5b394a5ae52" and "fb7f99d67be2db2494f982d988eb28fe0455631a" have entirely different histories.
8b742cfed7
...
fb7f99d67b
@ -1,2 +0,0 @@
|
||||
---
|
||||
BUNDLE_PATH: "vendor/bundle"
|
@ -4,4 +4,4 @@ $conf = Config.new(File.join(__dir__, 'config/defaults.yaml'))
|
||||
|
||||
root = ::File.dirname(__FILE__)
|
||||
require ::File.join( root, 'src', 'server' )
|
||||
run Destructo.new
|
||||
run GameData.new
|
||||
|
@ -2,5 +2,5 @@ database:
|
||||
adapter: 'sqlite'
|
||||
database: 'data/destructo.db'
|
||||
|
||||
messages:
|
||||
soft_delete: false
|
||||
testing:
|
||||
minimum_results_required: 3
|
||||
|
@ -1,16 +0,0 @@
|
||||
Sequel.migration do
|
||||
|
||||
up do
|
||||
create_table(:messages) do
|
||||
primary_key :id
|
||||
String :body, null: false
|
||||
DateTime :created_at, default: Sequel::CURRENT_TIMESTAMP
|
||||
DateTime :updated_at, default: Sequel::CURRENT_TIMESTAMP
|
||||
end
|
||||
end
|
||||
|
||||
down do
|
||||
drop_table(:messages)
|
||||
end
|
||||
|
||||
end
|
@ -1,3 +1,3 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
require_relative 'message'
|
||||
# Will add models to load here
|
||||
|
@ -1,5 +0,0 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
# Message - database model for messages
|
||||
class Message < Sequel::Model
|
||||
end
|
Loading…
Reference in New Issue
Block a user