aboutsummaryrefslogtreecommitdiff
path: root/db/migrate/20240227085442_add_last_search_id_to_users.rb
diff options
context:
space:
mode:
authorMiquel Sabaté Solà <msabate@suse.com>2024-03-13 18:03:43 +0100
committerMiquel Sabaté Solà <msabate@suse.com>2024-03-13 18:03:43 +0100
commita7791635aa98f012d35f97c3c5288494bbb28e38 (patch)
treebad987e6b4d10ad2f7cd02e40658d464907595ee /db/migrate/20240227085442_add_last_search_id_to_users.rb
downloadoperum-a7791635aa98f012d35f97c3c5288494bbb28e38.tar.gz
operum-a7791635aa98f012d35f97c3c5288494bbb28e38.zip
Initial commit
Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
Diffstat (limited to 'db/migrate/20240227085442_add_last_search_id_to_users.rb')
-rw-r--r--db/migrate/20240227085442_add_last_search_id_to_users.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/db/migrate/20240227085442_add_last_search_id_to_users.rb b/db/migrate/20240227085442_add_last_search_id_to_users.rb
new file mode 100644
index 0000000..be58999
--- /dev/null
+++ b/db/migrate/20240227085442_add_last_search_id_to_users.rb
@@ -0,0 +1,5 @@
+class AddLastSearchIdToUsers < ActiveRecord::Migration[7.1]
+ def change
+ add_column :users, :last_search_id, :integer
+ end
+end