initial data model implementation

This commit is contained in:
2026-01-22 13:47:01 +01:00
parent bf2f9e9af7
commit c2436fab13
101 changed files with 2667 additions and 0 deletions
@@ -0,0 +1,21 @@
class CreateEntries < ActiveRecord::Migration[8.1]
def change
create_table :entries do |t|
t.integer :category, null: false
t.string :fi
t.string :en
t.string :sv
t.string :no
t.string :ru
t.string :de
t.text :notes
t.boolean :verified, null: false, default: false
t.references :created_by, null: true, foreign_key: { to_table: :users }
t.references :updated_by, null: true, foreign_key: { to_table: :users }
t.index :category
t.timestamps
end
end
end