Refresh migrations

This commit is contained in:
Jorge Manrubia
2025-04-23 17:25:11 +02:00
parent b08326ccbe
commit bd5a41a0a1
2 changed files with 23 additions and 34 deletions
+23 -33
View File
@@ -31,7 +31,7 @@ columns:
default_function:
collation:
comment:
- &28 !ruby/object:ActiveRecord::ConnectionAdapters::SQLite3::Column
- &26 !ruby/object:ActiveRecord::ConnectionAdapters::SQLite3::Column
auto_increment:
name: user_id
cast_type: *1
@@ -374,7 +374,7 @@ columns:
- *9
cards:
- *5
- &31 !ruby/object:ActiveRecord::ConnectionAdapters::SQLite3::Column
- &29 !ruby/object:ActiveRecord::ConnectionAdapters::SQLite3::Column
auto_increment:
name: title
cast_type: *6
@@ -399,12 +399,12 @@ columns:
- !ruby/object:ActiveRecord::ConnectionAdapters::SQLite3::Column
auto_increment:
name: due_on
cast_type: &24 !ruby/object:ActiveRecord::Type::Date
cast_type: !ruby/object:ActiveRecord::Type::Date
precision:
scale:
limit:
timezone:
sql_type_metadata: &25 !ruby/object:ActiveRecord::ConnectionAdapters::SqlTypeMetadata
sql_type_metadata: !ruby/object:ActiveRecord::ConnectionAdapters::SqlTypeMetadata
sql_type: date
type: :date
limit:
@@ -494,11 +494,11 @@ columns:
- !ruby/object:ActiveRecord::ConnectionAdapters::SQLite3::Column
auto_increment:
name: all_access
cast_type: &32 !ruby/object:ActiveModel::Type::Boolean
cast_type: &30 !ruby/object:ActiveModel::Type::Boolean
precision:
scale:
limit:
sql_type_metadata: &33 !ruby/object:ActiveRecord::ConnectionAdapters::SqlTypeMetadata
sql_type_metadata: &31 !ruby/object:ActiveRecord::ConnectionAdapters::SqlTypeMetadata
sql_type: boolean
type: :boolean
limit:
@@ -540,11 +540,11 @@ columns:
- !ruby/object:ActiveRecord::ConnectionAdapters::SQLite3::Column
auto_increment:
name: particulars
cast_type: &26 !ruby/object:ActiveRecord::Type::Json
cast_type: &24 !ruby/object:ActiveRecord::Type::Json
precision:
scale:
limit:
sql_type_metadata: &27 !ruby/object:ActiveRecord::ConnectionAdapters::SqlTypeMetadata
sql_type_metadata: &25 !ruby/object:ActiveRecord::ConnectionAdapters::SqlTypeMetadata
sql_type: json
type: :json
limit:
@@ -578,16 +578,6 @@ columns:
collation:
comment:
- *21
- !ruby/object:ActiveRecord::ConnectionAdapters::SQLite3::Column
auto_increment:
name: due_date
cast_type: *24
sql_type_metadata: *25
'null': true
default:
default_function:
collation:
comment:
filters:
- *5
- *23
@@ -606,8 +596,8 @@ columns:
- !ruby/object:ActiveRecord::ConnectionAdapters::SQLite3::Column
auto_increment:
name: fields
cast_type: *26
sql_type_metadata: *27
cast_type: *24
sql_type_metadata: *25
'null': false
default: "{}"
default_function:
@@ -627,7 +617,7 @@ columns:
comment:
filters_tags:
- *18
- &30 !ruby/object:ActiveRecord::ConnectionAdapters::SQLite3::Column
- &28 !ruby/object:ActiveRecord::ConnectionAdapters::SQLite3::Column
auto_increment:
name: tag_id
cast_type: *1
@@ -639,7 +629,7 @@ columns:
comment:
mentions:
- *5
- &29 !ruby/object:ActiveRecord::ConnectionAdapters::SQLite3::Column
- &27 !ruby/object:ActiveRecord::ConnectionAdapters::SQLite3::Column
auto_increment:
name: source_type
cast_type: *6
@@ -708,7 +698,7 @@ columns:
- *9
notifications:
- *5
- *28
- *26
- *8
- *9
- !ruby/object:ActiveRecord::ConnectionAdapters::SQLite3::Column
@@ -721,7 +711,7 @@ columns:
default_function:
collation:
comment:
- *29
- *27
- !ruby/object:ActiveRecord::ConnectionAdapters::SQLite3::Column
auto_increment:
name: source_id
@@ -745,7 +735,7 @@ columns:
pins:
- *5
- *21
- *28
- *26
- *8
- *9
reactions:
@@ -805,7 +795,7 @@ columns:
comment:
sessions:
- *5
- *28
- *26
- !ruby/object:ActiveRecord::ConnectionAdapters::SQLite3::Column
auto_increment:
name: ip_address
@@ -831,12 +821,12 @@ columns:
taggings:
- *5
- *21
- *30
- *28
- *8
- *9
tags:
- *5
- *31
- *29
- *8
- *9
users:
@@ -865,8 +855,8 @@ columns:
- !ruby/object:ActiveRecord::ConnectionAdapters::SQLite3::Column
auto_increment:
name: active
cast_type: *32
sql_type_metadata: *33
cast_type: *30
sql_type_metadata: *31
'null': false
default: true
default_function:
@@ -886,13 +876,13 @@ columns:
comment:
watches:
- *5
- *28
- *26
- *21
- !ruby/object:ActiveRecord::ConnectionAdapters::SQLite3::Column
auto_increment:
name: watching
cast_type: *32
sql_type_metadata: *33
cast_type: *30
sql_type_metadata: *31
'null': false
default: true
default_function: