snf_core 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8bbdb9fc819f9aa25f6205f9dbab89513ac530866199ebc89f3d5da5641866b8
|
4
|
+
data.tar.gz: 4b8b29a62bb45e970ff61415dd130c1366c54625a99ecd34969d426af0742e82
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 831b9ded43b06f7c2b2a2ed0d882db10d29d2e5485412a6d3a7a634226a2285383a25ec9f2fb87ecaf632a961da0a4ffa1cf86d9100960748a47fbec34dfd772
|
7
|
+
data.tar.gz: 19099f2135ab88e6799ec4971343fe5aafa2f799a769299347ee27591706aa55ab9093ab129687771dc9dd8aae2c1557af4832a460a4078c55fe75753a711597
|
@@ -0,0 +1,11 @@
|
|
1
|
+
class CreateSnfCoreCategories < ActiveRecord::Migration[8.0]
|
2
|
+
def change
|
3
|
+
create_table :snf_core_categories do |t|
|
4
|
+
t.string :name, null: false
|
5
|
+
t.string :description
|
6
|
+
t.references :parent, null: true, foreign_key: { to_table: :snf_core_categories }
|
7
|
+
|
8
|
+
t.timestamps
|
9
|
+
end
|
10
|
+
end
|
11
|
+
end
|
data/lib/snf_core/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: snf_core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Asrat
|
@@ -289,9 +289,11 @@ files:
|
|
289
289
|
- app/jobs/snf_core/application_job.rb
|
290
290
|
- app/mailers/snf_core/application_mailer.rb
|
291
291
|
- app/models/snf_core/application_record.rb
|
292
|
+
- app/models/snf_core/category.rb
|
292
293
|
- app/models/snf_core/user.rb
|
293
294
|
- config/routes.rb
|
294
295
|
- db/migrate/20250226042622_create_snf_core_users.rb
|
296
|
+
- db/migrate/20250226064444_create_snf_core_categories.rb
|
295
297
|
- lib/snf_core.rb
|
296
298
|
- lib/snf_core/engine.rb
|
297
299
|
- lib/snf_core/version.rb
|