Skip to content

Commit 411553e

Browse files
create new table for ga4 data
1 parent 93bbd82 commit 411553e

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
exports.up = function(knex) {
2+
return knex.schema.createTable("analytics_data_ga4", table => {
3+
table.increments("id")
4+
table.string("report_name")
5+
table.string("report_agency")
6+
table.dateTime("date")
7+
table.jsonb("data")
8+
table.timestamps(true, true)
9+
table.string("version")
10+
})
11+
};
12+
13+
exports.down = function(knex) {
14+
return knex.schema.dropTable('analytics_data_ga4')
15+
};

0 commit comments

Comments
 (0)