about summary refs log tree commit diff stats
path: root/db/migrate
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2023-10-30 14:34:22 -0400
committerStar Rauchenberger <fefferburbia@gmail.com>2023-10-30 14:34:22 -0400
commite9f3ed0795b1827472337e9bd0b108dec8d7cdea (patch)
tree4956a4c359e3840c068f2c8625812bd2efd864ab /db/migrate
parent94e2fa2ac32a88dfd802653f30f536c45845159b (diff)
downloadthoughts-e9f3ed0795b1827472337e9bd0b108dec8d7cdea.tar.gz
thoughts-e9f3ed0795b1827472337e9bd0b108dec8d7cdea.tar.bz2
thoughts-e9f3ed0795b1827472337e9bd0b108dec8d7cdea.zip
Installed Wittle
Diffstat (limited to 'db/migrate')
-rw-r--r--db/migrate/20231030181439_create_wittle_puzzles.wittle.rb12
-rw-r--r--db/migrate/20231030181440_create_wittle_scores.wittle.rb13
2 files changed, 25 insertions, 0 deletions
diff --git a/db/migrate/20231030181439_create_wittle_puzzles.wittle.rb b/db/migrate/20231030181439_create_wittle_puzzles.wittle.rb new file mode 100644 index 0000000..9accf92 --- /dev/null +++ b/db/migrate/20231030181439_create_wittle_puzzles.wittle.rb
@@ -0,0 +1,12 @@
1# This migration comes from wittle (originally 20231028205751)
2class CreateWittlePuzzles < ActiveRecord::Migration[7.1]
3 def change
4 create_table :wittle_puzzles do |t|
5 t.text :data
6 t.text :solved_data
7 t.string :category
8
9 t.timestamps
10 end
11 end
12end
diff --git a/db/migrate/20231030181440_create_wittle_scores.wittle.rb b/db/migrate/20231030181440_create_wittle_scores.wittle.rb new file mode 100644 index 0000000..5110221 --- /dev/null +++ b/db/migrate/20231030181440_create_wittle_scores.wittle.rb
@@ -0,0 +1,13 @@
1# This migration comes from wittle (originally 20231028210722)
2class CreateWittleScores < ActiveRecord::Migration[7.1]
3 def change
4 create_table :wittle_scores do |t|
5 t.references :puzzle, null: false
6 t.string :name
7 t.string :ip
8 t.integer :seconds_taken
9
10 t.timestamps
11 end
12 end
13end