about summary refs log tree commit diff stats
path: root/db/migrate/20240320145033_create_globals.rb
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2024-03-20 11:00:31 -0400
committerStar Rauchenberger <fefferburbia@gmail.com>2024-03-20 11:00:31 -0400
commit5462a1e56abf70486dc59593dde6ecb95a072026 (patch)
tree3e956e0ca3bfbf773af3a9dd303cb4743615fe67 /db/migrate/20240320145033_create_globals.rb
parent2e1365d37bddf787c7089126c1a5ff1c623ab0e2 (diff)
downloadthoughts-5462a1e56abf70486dc59593dde6ecb95a072026.tar.gz
thoughts-5462a1e56abf70486dc59593dde6ecb95a072026.tar.bz2
thoughts-5462a1e56abf70486dc59593dde6ecb95a072026.zip
Added some admin dashboard stats
Diffstat (limited to 'db/migrate/20240320145033_create_globals.rb')
-rw-r--r--db/migrate/20240320145033_create_globals.rb11
1 files changed, 11 insertions, 0 deletions
diff --git a/db/migrate/20240320145033_create_globals.rb b/db/migrate/20240320145033_create_globals.rb new file mode 100644 index 0000000..6ac9a29 --- /dev/null +++ b/db/migrate/20240320145033_create_globals.rb
@@ -0,0 +1,11 @@
1class CreateGlobals < ActiveRecord::Migration[7.1]
2 def change
3 create_table :globals do |t|
4 t.string :key
5 t.string :string_value
6 t.integer :int_value
7
8 t.timestamps
9 end
10 end
11end